:root{
  --bg:#F4F2EC; --side:#ECE9E1; --hover:#E2DED3;
  --line:#D9D5CA; --line2:#B9B4A6; --line3:#9A968A;
  --ink:#141414; --mute:#5C5C63; --nav-ink:#3A3A40; --lime:#C6F432; --coral:#FF6B4A;
  --mono:'Geist Mono',ui-monospace,monospace; --sans:'Geist',system-ui,sans-serif;
  --pixel:'Geist Pixel','Geist',sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--mono);-webkit-font-smoothing:antialiased}
button{font-family:inherit;cursor:pointer}
a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

.app{min-height:100vh;display:flex;flex-wrap:wrap;align-items:stretch}

/* sidebar */
.side{flex:0 0 210px;padding:28px 14px 22px;background:var(--side);border-right:1px solid var(--line);display:flex;flex-direction:column;gap:28px}
.brand{padding:0 8px;font-family:var(--pixel);font-size:20px;font-weight:400;line-height:1.05;letter-spacing:0}
.kinds{display:flex;flex-direction:column;gap:2px}
.nv{display:flex;justify-content:space-between;align-items:center;min-height:36px;padding:0 10px;border:0;border-radius:8px;text-align:left;font-family:var(--mono);font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--nav-ink);background:transparent}
.nv:hover{background:var(--hover)}
.nv.on,.nv.on:hover{background:var(--ink);color:var(--lime)}
.side-foot{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.curated{padding:0 4px;font-size:10px;letter-spacing:.02em;white-space:nowrap;text-decoration:none}
.curated:hover{color:var(--ink);text-decoration:underline}
.sponsor{display:flex;align-items:center;gap:10px;width:100%;padding:6px 14px 6px 6px;border-radius:24px;border:1px solid var(--line2);color:var(--mute);text-decoration:none;font-size:10.5px;letter-spacing:.06em}
.sponsor:hover{border-color:var(--ink)}
.logo-slot{flex:0 0 auto;width:46px;height:46px;border-radius:16px;border:1px dashed var(--line2);display:flex;align-items:center;justify-content:center;text-align:center;font-size:7.5px;line-height:1.25;letter-spacing:.04em}

/* list column */
.main{flex:999 1 460px;min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--line)}
.head{padding:28px 28px 16px;display:flex;flex-direction:column;gap:16px}
.title-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}
h1{margin:0;font-size:48px;line-height:.92;font-family:var(--pixel);font-weight:400;letter-spacing:0;text-transform:uppercase}
.count{font-size:11.5px;letter-spacing:.14em;color:var(--mute)}
.controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.filter{display:flex;align-items:center;gap:10px;flex:1 1 240px;min-height:42px;padding:0 14px;border-radius:999px;background:var(--bg);border:1px solid var(--line2)}
.filter span{font-size:11px;letter-spacing:.14em;color:var(--mute)}
.filter input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-family:var(--mono);font-size:13px}
.filter:focus-within{border-color:var(--ink)}
.orders{display:flex;gap:6px}
.orders button,.chips button{min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line2);background:transparent;color:var(--ink);font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase}
.orders button.on{background:var(--ink);color:var(--lime);border-color:var(--ink)}
.chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.chips-set{display:contents}
.chips-label{font-size:10.5px;letter-spacing:.14em;color:var(--mute)}
.chips .chip{display:inline-flex;align-items:center;gap:6px;letter-spacing:.08em}
.chip i{width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 1px transparent}
.chip.on i{box-shadow:0 0 0 1px #0E0E0F}
.chip.on.all{background:var(--ink);color:var(--lime);border-color:var(--ink)}
.chip.on.all i{box-shadow:0 0 0 1px var(--lime)}
.chip.on:not(.all){color:#0E0E0F}
.chips .clear{border-style:dashed}
.chips .clear[hidden]{display:none}

.table{flex:1;min-width:0}
.cols,.row{display:grid;grid-template-columns:44px minmax(0,1.2fr) minmax(0,1.3fr) 112px;gap:8px;align-items:center}
.cols{padding:12px 20px;border-bottom:1px solid var(--line2);font-size:10.5px;letter-spacing:.14em;color:var(--mute)}
.rows{scrollbar-width:thin}
.row{width:100%;min-height:46px;padding:0 20px;border:0;border-bottom:1px solid var(--line);background:transparent;box-shadow:inset 3px 0 0 transparent;text-align:left;color:var(--ink)}
.row:hover{background:var(--hover)}
.row.on{background:var(--hover);box-shadow:inset 3px 0 0 var(--ink)}
.no{font-size:11px;color:var(--mute)}
.who{display:flex;align-items:center;gap:10px;min-width:0}
.mark{flex:0 0 auto;width:28px;height:28px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#0E0E0F}
.nm{font-family:var(--sans);font-size:18px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.host{font-size:12px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tag{justify-self:start;display:inline-block;padding:4px 10px;border-radius:999px;color:#0E0E0F;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.empty{padding:40px 20px;font-size:12px;letter-spacing:.1em;color:var(--mute)}

/* preview stage */
.stage{flex:0 0 600px;padding:28px 0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:26px;background:#E9E5D9;transition:background .4s}
.browser{width:85%;flex:0 0 auto;border-radius:22px;overflow:hidden;border:1px solid var(--ink);display:flex;flex-direction:column;box-shadow:0 28px 56px rgba(20,20,20,.2);transition:background .4s}
.bar{display:flex;align-items:center;gap:12px;padding:12px 14px;background:rgba(255,255,255,.72);border-bottom:1px solid rgba(20,20,20,.25)}
.lights{display:flex;gap:6px}
.lights i{width:10px;height:10px;border-radius:50%;background:rgba(20,20,20,.3)}
.url{flex:1;min-width:0;padding:6px 14px;border-radius:999px;background:#fff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page{flex:0 0 auto;aspect-ratio:8/5;min-height:0;overflow:hidden;padding:22px 24px;display:flex;flex-direction:column;gap:12px}
.mock-nav{display:flex;justify-content:space-between;align-items:center}
.m-logo{width:56px;height:12px;border-radius:999px;background:rgba(20,20,20,.75)}
.m-links{display:flex;gap:8px}
.m-links i{width:34px;height:8px;border-radius:999px;background:rgba(20,20,20,.3)}
.mock-title{margin-top:8px;font-family:var(--pixel);font-size:30px;line-height:1;text-transform:uppercase;overflow-wrap:anywhere}
.line{height:10px;border-radius:999px;background:rgba(20,20,20,.35)}
.l70{width:70%}.l50{width:50%}
.mock-cta{align-self:flex-start;padding:10px 20px;border-radius:999px;background:var(--ink);color:#fff;font-size:11px;letter-spacing:.1em}
.mock-cards{margin-top:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mock-cards i{height:52px;border-radius:14px;background:rgba(255,255,255,.6)}
.mock-cards i:nth-child(2){background:rgba(255,255,255,.45)}
.mock-cards i:nth-child(3){background:rgba(255,255,255,.3)}
.info{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:0 20px}
.pos{font-size:11px;letter-spacing:.14em}
h2{margin:0;font-size:34px;line-height:1;font-family:var(--pixel);font-weight:400;letter-spacing:0;overflow-wrap:anywhere}
.meta{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;font-size:12.5px}
.go{display:inline-flex;align-items:center;min-height:46px;margin-top:4px;padding:0 26px;border-radius:999px;background:var(--ink);color:var(--lime);font-size:15px;font-weight:700;text-decoration:none}
.go:hover{opacity:.85}
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px;padding:0 20px}
.arrow{width:44px;height:44px;border-radius:50%;border:1px solid var(--line3);background:transparent;color:var(--ink);font-size:18px}
.arrow:hover{background:var(--ink);color:var(--bg)}
.dots{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:300px}
.dots button{height:8px;padding:0;border:0;border-radius:999px;background:var(--line3);transition:width .3s}
.pp{display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:0 16px;border-radius:999px;border:1px solid var(--line3);background:transparent;color:var(--ink);font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.pp:hover{background:var(--hover)}
.pp i{width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 1px var(--ink)}


/* real favicon in the row mark */
.mark.has-icon{background:#fff;border:1px solid var(--line);overflow:hidden}
.mark.has-icon img{width:20px;height:20px;object-fit:contain;display:block}
.mark.dashed{background:transparent;border:1px dashed var(--line3);color:var(--mute);font-weight:400;font-size:15px}

/* pinned sponsor row (top of every list) */
.sponsor-row{display:grid;text-decoration:none;color:var(--ink);background:#EEF9B8;box-shadow:inset 3px 0 0 var(--ink);border-bottom:1px solid var(--line2);flex:0 0 auto}
.sponsor-row:hover{background:#E6F4A0}
.sponsor-row .who{gap:10px}
.sponsor-row .nm{flex:0 0 auto}
.sponsor-row .tagline{font-size:12px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sponsor-row .no{font-size:10px;letter-spacing:.1em;font-weight:500}
.sp-tag{background:var(--ink);color:var(--lime)}
.sponsor-row.open{background:transparent;box-shadow:inset 3px 0 0 var(--line3)}
.sponsor-row.open:hover{background:var(--hover)}
.sponsor-row.open .sp-tag{background:transparent;color:var(--ink);border:1px dashed var(--line3)}

/* sidebar sponsor card */
.sponsor.filled{border-radius:18px;align-items:flex-start;padding:10px;gap:10px;color:var(--ink);border-color:var(--ink);background:var(--bg)}
.logo-slot.filled{border:1px solid var(--line);background:#fff;font-size:13px;font-weight:700;letter-spacing:0;overflow:hidden;color:var(--ink)}
.logo-slot.filled img{width:100%;height:100%;object-fit:contain}
.sp-text{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:10px;line-height:1.3;letter-spacing:.02em}
.sp-text b{font-family:var(--sans);font-size:13px;letter-spacing:0}
.sp-text em{font-style:normal;color:var(--mute);letter-spacing:.1em;text-transform:uppercase;font-size:8.5px}
.sp-text span{color:var(--mute);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* hero screenshot inside the browser mock */
.page{position:relative}
.shot{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:top center;background:#fff}
.browser.has-shot .shot{display:block}
.browser.has-shot .page > :not(.shot){visibility:hidden}

/* desktop: three full-height columns, the list fills the page to the bottom */
@media (min-width:1241px){
  .app{height:100vh;flex-wrap:nowrap;overflow:hidden}
  .side{overflow-y:auto}
  .main{height:100vh}
  .table{display:flex;flex-direction:column;min-height:0}
  .rows{flex:1 1 auto;min-height:0;overflow-y:auto}
  .stage{height:100vh;overflow-y:auto}
}

/* tablet: preview drops under the list */
@media (max-width:1240px){
  .stage{flex:1 1 100%;border-top:1px solid var(--line);padding:36px 0}
  .browser{max-width:560px}
}
/* phone: sidebar becomes a scrolling strip */
@media (max-width:760px){
  .side{flex:1 1 100%;border-right:0;border-bottom:1px solid var(--line);padding:18px 14px 14px;gap:14px}
  .brand br{display:none}
  .kinds{flex-direction:row;overflow-x:auto;gap:6px;padding-bottom:4px;scrollbar-width:none}
  .nv{flex:0 0 auto;gap:10px;white-space:nowrap;border:1px solid var(--line2)}
  .side-foot{display:none}
  .main{flex:1 1 100%;border-right:0}
  .head{padding:20px 16px 14px}
  h1{font-size:34px}
  .cols,.row{grid-template-columns:34px minmax(0,1fr) auto}
  .sponsor-row .tagline{display:none}
  .c-host,.host{display:none}
  .cols,.row{padding-left:16px;padding-right:16px}
  .stage{padding:28px 0}
  .browser{width:92%}
  .mock-title,h2{font-size:28px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
