/* Port mockup final (mockup-src/template.html <style> + mod.css). Token: nuxhub-fe globals.css. */
/* Token: nuxhub-fe src/app/globals.css (:root / .dark) + brand-kit §2b status tokens */
:root{
  --background:oklch(0.87 0.02 320);--foreground:oklch(0.05 0.02 290);
  --card:oklch(0.95 0.01 320);--card-foreground:oklch(0.05 0.02 290);
  --muted:oklch(0.15 0.03 50 / 0.08);--muted-foreground:oklch(0.35 0.03 50);
  --border:oklch(0.84 0.01 240);--input:oklch(0.75 0.02 50);
  --sidebar:oklch(0.9 0.01 80);--sidebar-border:oklch(0 0 0 / 10%);
  --status-ok:#0B5D2A;--status-review:#7D460B;--destructive-text:#C52937;
  --ring:oklch(0.05 0.02 290 / .45);
  --radius:8px;
  --font-sans:Inter,ui-sans-serif,system-ui,sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,Menlo,monospace;
}
@media (prefers-color-scheme:dark){:root{
  --background:oklch(0.14 0.03 250);--foreground:oklch(1 0 0);
  --card:oklch(0.12 0.02 240);--card-foreground:oklch(1 0 0);
  --muted:oklch(0.93 0.02 240 / 0.08);--muted-foreground:oklch(0.73 0.01 240);
  --border:oklch(0.22 0.02 240);--input:oklch(0.18 0.02 240);
  --sidebar:oklch(0.1 0.02 240);--sidebar-border:oklch(1 0 0 / 10%);
  --status-ok:#65C67D;--status-review:#ECA851;--destructive-text:#F85C60;
  --ring:oklch(1 0 0 / .5);
}}
*{box-sizing:border-box}
html,body{margin:0;background:var(--background);color:var(--foreground);font-family:var(--font-sans);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit}
:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.mono{font-family:var(--font-mono);font-size:12px}
.tnum{font-variant-numeric:tabular-nums}
.muted{color:var(--muted-foreground)}
svg.i{width:16px;height:16px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* shell */
.app{display:grid;grid-template-columns:1fr;min-height:100dvh}
.side{display:none}
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;height:56px;padding:0 16px;background:var(--background);border-bottom:1px solid var(--border)}
.top .logo{height:28px;width:28px;object-fit:contain;flex-shrink:0}
.top .ttl{font-weight:600;white-space:nowrap}
.top .sp{flex:1}
.brand-sw{display:flex;align-items:center;gap:6px;height:44px;min-width:44px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);max-width:46vw}
.brand-sw select{border:0;height:100%;min-height:44px;background:transparent;appearance:none;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.main{padding:16px 16px 96px;min-width:0}
.tabs{position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);background:var(--card);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom)}
.tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;font-size:11px;text-decoration:none;color:var(--muted-foreground);position:relative}
.tabs a[aria-current=page]{color:var(--foreground);font-weight:600}
.tabs a[aria-current=page]::before{content:"";position:absolute;top:0;left:30%;right:30%;height:2px;background:var(--foreground);border-radius:0 0 2px 2px}
.tabs svg.i{width:20px;height:20px}
.cnt{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--foreground);color:var(--background);font-size:11px;font-weight:600}
.tabs .cnt{position:absolute;top:6px;left:calc(50% + 6px)}
@media (min-width:1024px){
  .app{grid-template-columns:232px minmax(0,1fr)}
  .side{display:flex;flex-direction:column;gap:2px;position:sticky;top:0;height:100dvh;padding:16px 12px;background:var(--sidebar);border-right:1px solid var(--sidebar-border)}
  .side .logo{height:44px;width:auto;aspect-ratio:1401/516;object-fit:contain;align-self:flex-start;margin:0 4px 2px}
  .side .ttl{margin:0 8px 18px;font-size:12px;color:var(--muted-foreground)}
  .side a{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:var(--radius);text-decoration:none}
  .side a:hover{background:var(--muted)}
  .side a[aria-current=page]{background:var(--card);font-weight:600;box-shadow:0 0 0 1px var(--border)}
  .side a .cnt{margin-left:auto}
  .side .foot{margin-top:auto;font-size:12px;color:var(--muted-foreground);padding:8px}
  .side kbd{font-family:var(--font-mono);font-size:11px;border:1px solid var(--border);border-radius:4px;padding:0 4px;background:var(--card)}
  .tabs{display:none}
  .top .logo,.top .ttl{display:none}
  .main{padding:20px 24px 40px}
}

/* type + bits */
h1{overflow-wrap:anywhere;font-size:20px;line-height:1.25;margin:0;font-weight:650;letter-spacing:-.01em}
h2{font-size:15px;margin:0;font-weight:600}
.head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:4px}
.sub{color:var(--muted-foreground);font-size:13px;margin:0 0 16px}
.badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border:1px solid var(--border);border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;flex-shrink:0;background:var(--card)}
.badge svg.i{width:12px;height:12px}
.hitwrap{display:inline-flex;align-items:center;min-height:44px;margin:-11px 0;padding:0;border:0;background:none;cursor:pointer}
.chips{align-items:center}
.st-review{color:var(--status-review);border-color:color-mix(in oklab,var(--status-review) 35%,transparent)}
.st-ok{color:var(--status-ok);border-color:color-mix(in oklab,var(--status-ok) 35%,transparent)}
.st-live{color:var(--card);background:var(--status-ok);border-color:var(--status-ok)}
.st-rev{color:var(--muted-foreground)}
.st-warn{color:var(--status-review);background:color-mix(in oklab,var(--status-review) 8%,var(--card))}
.st-bad{color:var(--destructive-text);border-color:color-mix(in oklab,var(--destructive-text) 35%,transparent)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 14px;border-radius:var(--radius);border:1px solid var(--border);background:var(--card);font-weight:500;cursor:pointer;white-space:nowrap;text-decoration:none;transition:background .15s,transform .1s}
.btn:hover{background:color-mix(in oklab,var(--foreground) 5%,var(--card))}
.btn:active{transform:scale(.98)}
.btn[disabled]{opacity:.45;pointer-events:none}
.btn-ink{background:var(--foreground);color:var(--background);border-color:var(--foreground)}
.btn-ink:hover{background:color-mix(in oklab,var(--foreground) 86%,var(--background))}
.btn-danger{color:var(--destructive-text);border-color:color-mix(in oklab,var(--destructive-text) 40%,transparent)}
.btn-ghost{border-color:transparent;background:transparent}
.btn-lg{height:48px;font-size:15px;padding:0 18px}
.icon-btn{width:44px;height:44px;padding:0}
.card{background:var(--card);border:1px solid var(--border);border-radius:calc(var(--radius) + 4px)}
.kv{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 14px;font-size:13px;margin:0}
.kv dt{color:var(--muted-foreground)}
.kv dd{margin:0;min-width:0;overflow-wrap:anywhere}
.clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.note{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:var(--radius);font-size:13px;border:1px solid color-mix(in oklab,var(--status-review) 30%,transparent);background:color-mix(in oklab,var(--status-review) 7%,var(--card));color:var(--foreground)}
.note svg.i{color:var(--status-review);margin-top:2px}
.note.bad{border-color:color-mix(in oklab,var(--destructive-text) 35%,transparent);background:color-mix(in oklab,var(--destructive-text) 6%,var(--card))}
.note.bad svg.i{color:var(--destructive-text)}
.note.info{border-color:var(--border);background:var(--card)}
.note.info svg.i{color:var(--muted-foreground)}

/* queue */
.pkgs{display:flex;flex-direction:column;gap:8px}
.pkg{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;text-decoration:none}
.pkg:hover{border-color:color-mix(in oklab,var(--foreground) 25%,var(--border))}
.pkg .th{width:56px;height:70px;border-radius:6px;object-fit:cover;background:var(--muted);flex-shrink:0}
.pkg .th.wide{object-fit:cover;object-position:top}
.pkg .meta{font-size:12px;color:var(--muted-foreground)}
.bar{height:4px;border-radius:2px;background:var(--muted);overflow:hidden;margin-top:6px}
.bar i{display:block;height:100%;background:var(--foreground);border-radius:2px;transition:width .3s}
.split{display:block}
.list{display:none}
@media (min-width:1024px){
  .split{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start}
  .list{display:flex;flex-direction:column;gap:14px;position:sticky;top:20px;max-height:calc(100dvh - 40px);overflow:auto;padding-right:4px}
  .split .pkgs-m{display:none}
}
.grp h3{font-size:12px;font-weight:600;color:var(--muted-foreground);margin:0 0 6px;display:flex;justify-content:space-between}
.row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:6px 8px;border-radius:var(--radius);text-decoration:none;min-height:52px}
.row:hover{background:var(--muted)}
.row[aria-current=true]{background:var(--card);box-shadow:0 0 0 1px var(--border)}
.row img{width:40px;height:50px;border-radius:4px;object-fit:cover;background:var(--muted)}
.row .t{font-size:13px;font-weight:500}
.row .m{font-size:12px;color:var(--muted-foreground)}
.dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.dot.review{background:var(--status-review)}.dot.ok{background:var(--status-ok)}.dot.rev{background:transparent;border:1.5px solid var(--muted-foreground)}

/* detail */
.dbar{display:flex;align-items:center;gap:8px;margin:-4px 0 12px}
.dbar .pos{font-size:13px;color:var(--muted-foreground);padding:0 4px}
.dgrid{display:grid;gap:16px}
.dwrap{container-type:inline-size}
@container (min-width:620px){.dgrid{grid-template-columns:minmax(0,320px) minmax(0,1fr)}.dgrid .ig{max-width:320px}.dgrid .reel{max-height:560px}}
.dgrid>.span2{grid-column:1/-1}
.dhead{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.decide{position:fixed;left:0;right:0;bottom:56px;z-index:25;display:flex;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:color-mix(in oklab,var(--background) 92%,transparent);backdrop-filter:blur(8px);border-top:1px solid var(--border)}
.decide .btn{flex:1}
.decide .btn-ink{flex:1.4}
.decide-sub-m{flex-basis:100%;text-align:center;font-size:12px;color:var(--muted-foreground);margin:-2px 0 0}
.decide{flex-wrap:wrap}
.decide-sub{display:none}
@media (min-width:1024px){
  .decide{position:static;background:none;backdrop-filter:none;border:0;padding:0;margin:4px 0 0}
  .decide .btn{flex:0 0 auto}.decide-sub-m{display:none}.decide{flex-wrap:wrap}
  .decide-sub{display:block;font-size:12px;color:var(--muted-foreground);margin-top:6px}
}
.sec{padding:14px;display:flex;flex-direction:column;gap:10px}
.sec h2{font-size:13px;color:var(--muted-foreground);font-weight:600}
.caption{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13.5px}
.caption.short{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.linkbtn{background:none;border:0;padding:0 4px;min-height:44px;margin:-8px 0 -10px -4px;color:var(--muted-foreground);font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}

/* previews */
.ig{background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden;max-width:440px}
.ig-h{display:flex;align-items:center;gap:8px;padding:8px 10px;font-size:13px}
.ig-h img{width:30px;height:30px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#000}
.ig-h b{font-weight:600}
.ig-h .x{color:var(--muted-foreground);font-size:12px}
.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:4/5;background:#000}
.slides::-webkit-scrollbar{display:none}
.slides img{flex:0 0 100%;width:100%;height:100%;object-fit:cover;scroll-snap-align:center}
.dots{display:flex;justify-content:center;align-items:center;gap:4px;padding:8px;min-height:30px}
.dots i{width:6px;height:6px;border-radius:50%;background:var(--border)}
.dots i.on{background:var(--foreground)}
.slide-n{font-size:12px;color:var(--muted-foreground)}
.reel{position:relative;aspect-ratio:9/16;max-height:70vh;margin:0 auto;background:#000;border-radius:12px;overflow:hidden}
.reel video{width:100%;height:100%;object-fit:cover;display:block}
.safe{position:absolute;inset:0;pointer-events:none;display:none}
.safe.on{display:block}
.safe .b{position:absolute;left:0;right:0;bottom:0;height:35%;background:repeating-linear-gradient(135deg,rgb(255 255 255 / .16) 0 6px,transparent 6px 12px);border-top:1px dashed rgb(255 255 255 / .7)}
.safe .t{position:absolute;left:0;right:0;top:0;height:14%;background:repeating-linear-gradient(135deg,rgb(255 255 255 / .16) 0 6px,transparent 6px 12px);border-bottom:1px dashed rgb(255 255 255 / .7)}
.safe .r{position:absolute;top:14%;bottom:35%;right:0;width:6%;background:rgb(255 255 255 / .14)}
.safe span{position:absolute;left:8px;bottom:calc(35% + 6px);font-size:11px;color:#fff;background:rgb(0 0 0 / .6);padding:2px 6px;border-radius:4px}
.ad .spon{font-size:12px;color:var(--muted-foreground)}
.ad .pt{padding:0 10px 8px;font-size:13.5px;overflow-wrap:anywhere}
.ad .cta{display:flex;align-items:center;gap:10px;padding:10px;border-top:1px solid var(--border);background:color-mix(in oklab,var(--foreground) 3%,var(--card))}
.ad .cta .h{font-weight:600;font-size:13.5px}
.ad .cta .u{font-size:11.5px;color:var(--muted-foreground)}
.ad .cta .btn{margin-left:auto;height:32px}
.ad .reel{border-radius:0;max-height:62vh}
.lpv{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.phone{width:min(100%,300px);aspect-ratio:390/780;border:8px solid #111;border-radius:28px;overflow:hidden;background:#fff;position:relative;flex-shrink:0}
.phone,.desk .vp,.lpcard .vp{background:linear-gradient(90deg,#f1f1f1,#fafafa,#f1f1f1);background-size:200% 100%;animation:sh 1.2s linear infinite}
.phone iframe{position:absolute;top:0;left:0;width:390px;height:780px;border:0;transform-origin:0 0}
.desk{flex:1;min-width:260px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}
.desk .bar2{height:24px;background:var(--muted);display:flex;align-items:center;gap:5px;padding:0 8px;border-bottom:1px solid var(--border)}
.desk .bar2 i{width:7px;height:7px;border-radius:50%;background:var(--border)}
.desk .vp{position:relative;aspect-ratio:1280/800;overflow:hidden}
.desk iframe{position:absolute;top:0;left:0;width:1280px;height:800px;border:0;transform-origin:0 0}
.lpcard .vp{position:relative;aspect-ratio:1280/720;overflow:hidden;background:#fff;border-bottom:1px solid var(--border);border-radius:12px 12px 0 0}
.lpcard iframe{position:absolute;top:0;left:0;width:1280px;height:720px;border:0;transform-origin:0 0;pointer-events:none}
.vtog{display:inline-flex;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.vtog button{border:0;background:transparent;height:32px;padding:0 12px;cursor:pointer}
.vtog button[aria-pressed=true]{background:var(--foreground);color:var(--background)}

/* calendar */
.weeknav{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.day{min-height:220px;padding:8px;display:flex;flex-direction:column;gap:8px}
.day .dh{display:flex;justify-content:space-between;font-size:12px;color:var(--muted-foreground)}
.day .dh b{color:var(--foreground);font-weight:600}
.day.today{box-shadow:inset 0 0 0 2px var(--foreground)}
.cell{display:flex;flex-direction:column;gap:6px;text-decoration:none}
.cell img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:6px;background:var(--muted)}
.cell .t{font-size:12.5px;font-weight:500;line-height:1.3}
.cell .badge{align-self:flex-start}
.cell .f{display:flex;align-items:center;gap:4px;font-size:11.5px;color:var(--muted-foreground)}
.empty-d{color:var(--muted-foreground);margin:auto;font-size:13px}
.daystrip{display:none}
@media (max-width:767px){
  .cal{grid-template-columns:1fr}
  .cal .day{display:none}
  .cal .day.sel{display:flex;min-height:0}
  .cal .day.sel .cell{flex-direction:row;align-items:flex-start;gap:12px}
  .cal .day.sel .cell img{width:96px;flex-shrink:0}
  .daystrip{display:flex;gap:6px;overflow-x:auto;margin-bottom:10px;scrollbar-width:none}
  .daystrip button{flex:0 0 auto;min-width:52px;height:56px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;cursor:pointer}
  .daystrip button b{font-size:15px}
  .daystrip button[aria-pressed=true]{background:var(--foreground);color:var(--background);border-color:var(--foreground)}
  .daystrip button .n{width:5px;height:5px;border-radius:50%;background:currentColor;margin-top:2px}
}

/* ads + lp lists */
.acc{overflow:hidden}
.acc>summary{list-style:none;cursor:pointer;padding:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.acc>summary::-webkit-details-marker{display:none}
.acc[open]>summary .chev{transform:rotate(90deg)}
.chev{transition:transform .2s}
.adgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;padding:0 14px 14px}
.adc{display:flex;flex-direction:column;gap:6px}
.adc a{color:inherit;text-decoration:none}
.adc .th{display:block}
.adc .th{position:relative;border-radius:8px;overflow:hidden;background:#000}
.adc .th img{width:100%;display:block;object-fit:cover}
.adc .th .id{position:absolute;top:6px;left:6px;background:rgb(0 0 0 / .72);color:#fff;font-family:var(--font-mono);font-size:11px;padding:1px 6px;border-radius:4px}
.adc .t{font-size:12.5px;font-weight:500;line-height:1.3}
.subh{font-size:12px;font-weight:600;color:var(--muted-foreground);padding:4px 14px 8px;margin:0}
.lpgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.lpcard{text-decoration:none;display:flex;flex-direction:column}
.lpcard .b{padding:12px;display:flex;flex-direction:column;gap:6px}

/* overlays */
.skel{margin-bottom:12px;background:linear-gradient(90deg,#f1f1f1,#fafafa,#f1f1f1);background-size:200% 100%;animation:sh 1.2s linear infinite}
.scrim{position:fixed;inset:0;z-index:50;background:rgb(0 0 0 / .45);display:flex;align-items:flex-end;justify-content:center;animation:fade .15s ease-out}
.sheet{width:100%;max-width:480px;max-height:88dvh;overflow:auto;background:var(--card);border-radius:16px 16px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));animation:up .22s cubic-bezier(.2,.8,.2,1)}
@media (min-width:768px){.scrim{align-items:center}.sheet{border-radius:14px}}
.sheet h2{font-size:16px;margin-bottom:4px}
.grab{width:36px;height:4px;border-radius:2px;background:var(--border);margin:-6px auto 12px}
.fld{display:flex;flex-direction:column;gap:6px;margin:12px 0}
.fld label{font-size:13px;font-weight:500}
.fld select,.fld input,.fld textarea{border:1px solid var(--input);background:var(--background);border-radius:var(--radius);padding:9px 10px;min-height:40px}
.fld textarea{min-height:96px;resize:vertical}
.fld .hint{font-size:12px;color:var(--muted-foreground)}
.fld .err{font-size:12px;color:var(--destructive-text)}
.sheet .acts{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
.claims{display:grid;gap:8px;margin:12px 0}
@media (min-width:600px){.claims{grid-template-columns:1fr 1fr}}
.claim{padding:10px;border:1px solid var(--border);border-radius:var(--radius);font-size:13px}
.claim .s{font-size:11.5px;color:var(--muted-foreground);margin-top:6px;overflow-wrap:anywhere}
.toast{position:fixed;left:50%;bottom:140px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:10px 10px 10px 14px;background:var(--foreground);color:var(--background);border-radius:10px;box-shadow:0 8px 24px rgb(0 0 0 / .25);animation:up .2s ease-out;font-size:13.5px}
.toast>span{min-width:0;flex:1 1 auto}
.toast{min-width:min(320px,calc(100% - 32px))}
.toast .btn{flex-shrink:0;height:32px;background:transparent;color:inherit;border-color:color-mix(in oklab,var(--background) 40%,transparent)}
.toast.err{background:var(--destructive-text);color:#fff}
@media (min-width:1024px){.toast{bottom:24px}}
.banner{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 12px;margin-bottom:12px;border-radius:var(--radius)}
.done{text-align:left;padding:28px 20px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.done h2{font-size:17px}
.log{display:flex;flex-direction:column}
.log li{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--border);font-size:13px}
.log ul{list-style:none;margin:0;padding:0}
.skel{background:linear-gradient(90deg,var(--muted),color-mix(in oklab,var(--muted) 40%,transparent),var(--muted));background-size:200% 100%;animation:sh 1.2s linear infinite;border-radius:8px}
@keyframes sh{to{background-position:-200% 0}}
@keyframes fade{from{opacity:0}}
@keyframes up{from{opacity:0;transform:translate(var(--tx,0),12px)}}
.toast{--tx:-50%}
.out{animation:out .2s ease-in forwards}
@keyframes out{to{opacity:0;transform:translateX(-24px)}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.kbd-help{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:13px}
.kbd-help kbd{font-family:var(--font-mono);font-size:12px;border:1px solid var(--border);border-radius:4px;padding:1px 6px;background:var(--background);justify-self:start}
.hide-m{display:none}
@media (min-width:1024px){.hide-m{display:initial}.hide-d{display:none!important}}
/* ---- v2 moderasi ---- */
.st-auto{color:var(--status-ok);border-style:dashed;border-color:color-mix(in oklab,var(--status-ok) 55%,transparent)}
.st-wait{color:var(--status-review);border-style:dashed}
.st-back{color:var(--muted-foreground);border-style:dashed}
.why{border:1px solid var(--border);background:var(--card);border-radius:var(--radius);padding:12px 14px;display:flex;flex-direction:column;gap:6px;min-width:0}
.why.flag{border-color:color-mix(in oklab,var(--status-review) 40%,transparent);border-left:3px solid var(--status-review)}
.why.auto{border-left:3px solid var(--status-ok)}
.why .k{font-size:12px;font-weight:600;color:var(--muted-foreground);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.why.flag .k{color:var(--status-review)}
.why .s{font-size:16px;font-weight:600;line-height:1.35;margin:0;overflow-wrap:anywhere}
.why .ev{font-size:12.5px;color:var(--muted-foreground);overflow-wrap:anywhere;margin:0}
.why .row2{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.why details>summary{min-height:44px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;font-weight:600;list-style:none}
.why details>summary::-webkit-details-marker{display:none}
.why details[open]>summary svg.i{transform:rotate(90deg)}
.rl{list-style:none;margin:0;padding:0;font-size:12.5px}
.rl li{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:2px 10px;padding:7px 0;border-top:1px solid var(--border)}
.rl li .ev{grid-column:2/-1;color:var(--muted-foreground);overflow-wrap:anywhere}
.rl li.na{opacity:.6}
.rl .id{font-family:var(--font-mono);font-size:11.5px;padding-top:1px}
.res{font-size:11.5px;font-weight:600;white-space:nowrap}
.res.lolos{color:var(--status-ok)}.res.tandai{color:var(--status-review)}.res.kembali{color:var(--destructive-text)}.res.na{color:var(--muted-foreground);font-weight:500}
.mem{display:flex;gap:8px;overflow-x:auto;padding:2px 0 6px;scroll-snap-type:x mandatory}
.mem a{flex:0 0 76px;text-decoration:none;font-size:11.5px;line-height:1.3;display:flex;flex-direction:column;gap:4px;scroll-snap-align:start}
.mem img{width:76px;height:95px;object-fit:cover;border-radius:4px;background:var(--muted);display:block}
.mem a .t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pair{display:grid;gap:12px}
@container (min-width:620px){.pair{grid-template-columns:1fr 1fr}.pair .ig{max-width:none}}
.pair h3{font-size:13px;margin:0 0 6px;font-weight:600}
.sec-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12.5px;font-weight:600;color:var(--muted-foreground);margin:18px 0 8px}
.sec-h:first-child{margin-top:4px}
.kcs{display:flex;flex-direction:column;gap:8px}
.kc{display:grid;grid-template-columns:56px minmax(0,1fr) 16px;gap:12px;padding:12px;text-decoration:none;align-items:center;min-height:64px}
.kc:hover{background:color-mix(in oklab,var(--foreground) 3%,var(--card))}
.ths{position:relative;width:56px;height:70px}
.ths img,.ths .ph{width:56px;height:70px;object-fit:cover;border-radius:4px;background:var(--muted);display:grid;place-items:center;position:absolute;inset:0}
.ths.two img:first-child{width:44px;height:55px}
.ths.two img+img{width:44px;height:55px;left:12px;top:15px;box-shadow:0 0 0 2px var(--card)}
.kc .t{font-weight:600;font-size:14px;overflow-wrap:anywhere}
.kc .r{font-size:13px;margin-top:2px;overflow-wrap:anywhere}
.kc .m{font-size:12px;color:var(--muted-foreground);margin-top:4px}
.krow{grid-template-columns:44px minmax(0,1fr)!important;align-items:start!important}
.krow .ths{width:44px;height:55px}.krow .ths img,.krow .ths .ph{width:44px;height:55px}
.krow .ths.two img:first-child{width:34px;height:43px}.krow .ths.two img+img{width:34px;height:43px;left:10px;top:12px}
.krow .r{font-size:12px;color:var(--muted-foreground)}
.sum{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;margin-top:16px}
.sum p{margin:0;flex:1;min-width:200px;font-size:13.5px}
.pk4{display:grid;gap:10px;margin-top:10px}
.pk4 .pr{display:grid;gap:4px;padding:10px 14px}
.seg4{display:flex;height:6px;border-radius:3px;overflow:hidden;background:var(--muted)}
.seg4 i{display:block;height:100%}
.seg4 .o{background:var(--foreground)}.seg4 .a{background:var(--status-ok)}.seg4 .w{background:var(--status-review)}.seg4 .b{background:var(--muted-foreground);opacity:.5}
.lg4{display:flex;gap:4px 12px;flex-wrap:wrap;font-size:12px;color:var(--muted-foreground)}
.lg4 b{color:var(--foreground);font-weight:600}
.segtabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin:0 0 12px;overflow-x:auto}
.segtabs a{min-height:44px;display:flex;align-items:center;gap:6px;padding:0 12px;text-decoration:none;color:var(--muted-foreground);white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px}
.segtabs a[aria-current=page]{color:var(--foreground);border-color:var(--foreground);font-weight:600}
.grpc{padding:0;overflow:hidden;margin-bottom:12px}
.grpc>header{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid var(--border)}
.grpc>header h2{font-size:14px;margin:0;flex:1;min-width:180px}
.grpc>header .muted{font-size:12px}
.arow{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 14px;text-decoration:none;min-height:56px;border-top:1px solid var(--border)}
.arow:first-of-type{border-top:0}
.arow:hover{background:var(--muted)}
.arow img,.arow .ph{width:40px;height:50px;border-radius:4px;object-fit:cover;background:var(--muted);display:grid;place-items:center}
.arow .t{font-size:13px;font-weight:500;overflow-wrap:anywhere}
.arow .m{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}
.rtab{width:100%;border-collapse:collapse;font-size:13px}
.rtab th{text-align:left;font-size:12px;color:var(--muted-foreground);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--border)}
.rtab td{padding:9px 10px;border-top:1px solid var(--border);vertical-align:top;overflow-wrap:anywhere}
.rtab td:first-child{font-family:var(--font-mono);font-size:12px;white-space:nowrap}
@media (max-width:767px){.rtab thead{display:none}.rtab,.rtab tbody,.rtab tr,.rtab td{display:block}.rtab tr{padding:10px 0;border-top:1px solid var(--border)}.rtab td{border:0;padding:2px 0}.rtab td[data-l]::before{content:attr(data-l) ": ";color:var(--muted-foreground);font-size:12px}}
.why-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.why-chips button{min-height:44px;padding:0 12px;border-radius:999px;border:1px solid color-mix(in oklab,var(--background) 40%,transparent);background:transparent;color:inherit;cursor:pointer;font-size:13px}
.toast{flex-wrap:wrap}
.toast .btn{height:44px}
.hb{width:44px;height:44px;display:inline-grid;place-items:center;border-radius:var(--radius);border:1px solid var(--border);background:var(--card);color:inherit;text-decoration:none}
.kdet{container-type:inline-size;display:flex;flex-direction:column;gap:12px;min-width:0}
.inlinef .fld{margin:8px 0}

.fld input{min-height:44px}
.segtabs{mask-image:linear-gradient(90deg,#000 85%,transparent)}

/* r3: semua target sentuh >=44 */
.btn{min-height:44px}
a.badge{height:auto;min-height:44px;padding:0 12px}
.toast .btn{min-height:44px}
.btn{min-height:44px!important}
.side a{height:44px}
.sub a,.kv a,.why .ev a{display:inline-flex;align-items:center;min-height:44px;vertical-align:middle}
details>summary{min-height:44px}
.fld select{min-height:44px}

/* K1-THREADS */
.platf{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.platf button{min-height:44px;padding:0 14px;border:1px solid var(--border);border-radius:999px;background:var(--card);cursor:pointer}
.platf button[aria-pressed=true]{background:var(--foreground);color:var(--background);border-color:var(--foreground);font-weight:600}
.th-wrap{border:1px solid var(--border);border-radius:12px;background:var(--card);padding:14px 14px 6px;max-width:520px}
.th-post{display:grid;grid-template-columns:36px minmax(0,1fr);gap:0 10px;position:relative;padding-bottom:12px}
.th-post .av{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:#000 center/70% no-repeat;display:block}
.th-post:not(:last-child)::after{content:"";position:absolute;left:17px;top:42px;bottom:2px;width:2px;background:var(--border)}
.th-post .hd{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;font-size:13.5px}
.th-post .hd b{font-weight:650}
.th-post .tx{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14.5px;line-height:1.45;margin:2px 0 6px}
.th-post img{width:100%;max-width:360px;border-radius:8px;border:1px solid var(--border);display:block;margin:4px 0 6px}
.th-post .cc{font-size:11.5px;font-variant-numeric:tabular-nums;color:var(--muted-foreground)}
.th-post .cc.over{color:var(--destructive-text);font-weight:600}
.badge.ex{border-style:dashed;color:var(--muted-foreground)}

.chipr{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:999px;cursor:pointer}
.chipr:has(input:checked){background:var(--foreground);color:var(--background)}
.lpcard .hero{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius) var(--radius) 0 0;display:block}
.lph{width:100%;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius) var(--radius) 0 0;background:var(--muted,#f1f1f1);color:var(--muted-foreground,#666);font-size:13px}
.adc .th{aspect-ratio:9/16}.adc .th img{height:100%}
