/* Post Kit by BIG Reach Media (rebrand Nov 27 2026, logo 10): black and white like the BRM logo, thin Montserrat capitals.
   Ink/white = do something (save, install, enable). Green = growth and posted, never orange or red for growth. Amber = coming soon. */
:root {
  --paper: #F5F5F3;
  --card: #FFFFFF;
  --ink: #0B0B0B;
  --ink-2: #4A4A46;
  --ink-3: #85857F;
  --rule: #E0E0DB;
  --signal: #0B0B0B;
  --signal-press: #000000;
  --on-signal: #FFFFFF;
  --accent: #1B8A4B;
  --dark: #0B0B0B;
  --on-dark: #F4F4F2;
  --ok: #1B8A4B;
  --ok-bg: #DFF1E6;
  --soon: #8E5C0C;
  --soon-bg: #F5E6C6;
  --down: #C0182B;
  --radius: 14px;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B0B0B; --card: #161616; --ink: #F4F4F2; --ink-2: #C4C4BF; --ink-3: #8C8C87; --rule: #2B2B2B;
    --signal: #F4F4F2; --signal-press: #FFFFFF; --on-signal: #0B0B0B; --accent: #3CC47A;
    --dark: #000000; --on-dark: #F4F4F2; --ok: #3CC47A; --ok-bg: #14301F; --soon: #E7B35A; --soon-bg: #3A2D16; --down: #FF6B7A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B0B0B; --card: #161616; --ink: #F4F4F2; --ink-2: #C4C4BF; --ink-3: #8C8C87; --rule: #2B2B2B;
  --signal: #F4F4F2; --signal-press: #FFFFFF; --on-signal: #0B0B0B; --accent: #3CC47A;
  --dark: #000000; --on-dark: #F4F4F2; --ok: #3CC47A; --ok-bg: #14301F; --soon: #E7B35A; --soon-bg: #3A2D16; --down: #FF6B7A;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 48px; }
.loading { color: var(--ink-3); padding: 40px 0; }

/* masthead */
.mast {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--dark); color: var(--on-dark);
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand-mark { display: block; color: var(--on-dark); flex: none; }
.brand-by { font: 500 8.5px/1.25 var(--display); letter-spacing: .22em; text-transform: uppercase; color: #a3a3a0; padding-left: 10px; border-left: 1px solid #ffffff33; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.mast-install {
  border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px;
  background: var(--on-dark); color: var(--dark); cursor: pointer;
}

/* shared bits */
.kicker { font: 600 12px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.section { margin-top: 28px; }
.section > h2 { font-size: 26px; margin-bottom: 12px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 18px; border-radius: 12px; border: 0;
  font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .08s ease, background-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.primary { background: var(--signal); color: var(--on-signal); }
.btn.primary:active { background: var(--signal-press); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--rule); }
.btn.small { min-height: 40px; font-size: 15px; padding: 0 14px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn.done { background: var(--ok); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* home: next up */
.hero { margin-top: 20px; }
.hero h1 { font-size: 34px; }
.hero p { margin: 8px 0 0; color: var(--ink-2); }
.next {
  margin-top: 20px; display: grid; grid-template-columns: 1fr 96px; gap: 14px; align-items: center;
  background: var(--dark); color: var(--on-dark); border-radius: 18px; padding: 18px; text-decoration: none;
}
.next .kicker { color: #B9AE9C; }
.next h2 { font-size: 28px; }
.next p { margin: 6px 0 14px; color: #D8CFC0; font-size: 15px; }
.next img { width: 96px; height: 170px; object-fit: cover; border-radius: 12px; }
.next.empty { grid-template-columns: 1fr; }

/* home: page cards */
.pages { display: grid; gap: 12px; }
.pagecard { display: block; padding: 16px; text-decoration: none; }
.pagecard-top { display: flex; align-items: center; gap: 14px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--rule); }
.pagecard h3 { font-size: 22px; }
.pagecard .handle { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border-top: 1px solid var(--rule); }
.stat { padding-top: 10px; }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: 12px; }
.stat b { display: block; font: 800 30px/1 var(--display); }
.stat span { font-size: 13px; color: var(--ink-2); }
.stat.hot b { color: var(--signal); }
.pagecard .go { margin-top: 12px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; }

/* note from Tom */
.note {
  margin-top: 20px; padding: 14px 16px; border-radius: var(--radius);
  border: 1.5px dashed var(--ink-3); font-size: 15px; color: var(--ink-2);
}
.note b { color: var(--ink); }

/* video model update note (owner, Nov 23 2026): only while the status is red */
.upd {
  display: flex; flex-direction: column; gap: 4px; margin: 16px 0; padding: 14px 16px 14px 18px;
  border-radius: var(--radius); background: var(--soon-bg); border: 1.5px solid var(--soon);
  border-left-width: 6px; color: var(--ink); font-size: 15px; line-height: 1.45;
}
.upd b { font-family: var(--display); font-size: 17px; color: var(--soon); }
.upd span { color: var(--ink); }
.upd.upd-home { margin: 10px 0 0; }
[data-upd][hidden], [data-upd-off][hidden] { display: none !important; }

/* page screen */
.back { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.pagehead { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.pagehead .avatar { width: 84px; height: 84px; }
.pagehead h1 { font-size: 30px; }
.pagehead p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; counter-reset: s; }
.steps li { list-style: none; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 8px 9px; font-size: 13px; line-height: 1.25; font-weight: 600; }
.steps li::before { counter-increment: s; content: counter(s); display: block; font: 800 20px/1 var(--display); color: var(--signal); margin-bottom: 4px; }
.steps { padding: 0; }

details.setup { margin-top: 24px; padding: 0; overflow: hidden; }
details.setup > summary {
  list-style: none; cursor: pointer; padding: 16px; display: flex; justify-content: space-between; align-items: center;
  font: 800 22px/1.1 var(--display);
}
details.setup > summary::-webkit-details-marker { display: none; }
details.setup > summary::after { content: "+"; font-size: 28px; color: var(--ink-3); }
details.setup[open] > summary::after { content: "–"; }
.setup-body { padding: 0 16px 16px; display: grid; gap: 16px; }
.setup-pic { display: flex; gap: 14px; align-items: center; }
.setup-pic img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rule); }
.field { border-top: 1px solid var(--rule); padding-top: 12px; }
.field-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.field-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.field-value { margin-top: 6px; font-size: 17px; font-weight: 600; white-space: pre-wrap; word-break: break-word; }
.field-value.plain { font-weight: 400; font-size: 15px; line-height: 1.55; }
.alt { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

.zip { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.zip p { margin: 0; font-size: 14px; color: var(--ink-2); }
.zip b { display: block; color: var(--ink); font-size: 16px; }

/* post cards */
.posts { display: grid; gap: 16px; margin-top: 12px; }
/* "New" badge on pages we just started tracking (owner, Nov 13 2026) */
.badge-new,
.top-t .badge-new, .toplist .top-t .badge-new, .show-t .badge-new, .pagecard .badge-new {
  display: inline-block; width: auto; margin: 0 0 0 6px; padding: 1px 6px; border-radius: 999px; vertical-align: 2px;
  background: var(--signal); color: var(--on-signal); white-space: nowrap; overflow: visible;
  font: 800 9px/1.4 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
}
.pagecard .handle .badge-new { margin: 0 6px 0 0; }
/* posted posts: folded away at the bottom of the list (owner, Nov 12 2026) */
details.archive { padding: 0; overflow: hidden; background: transparent; border-style: dashed; }
details.archive > summary {
  list-style: none; cursor: pointer; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; color: var(--ink-2);
}
details.archive > summary b { color: var(--ink); }
details.archive > summary::-webkit-details-marker { display: none; }
details.archive > summary::after { content: "+"; font-size: 24px; color: var(--ink-3); }
details.archive[open] > summary::after { content: "–"; }
details.archive > .posts { margin: 0; padding: 0 10px 12px; }
.post { padding: 16px; scroll-margin-top: 72px; }
.post-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.num { font: 800 50px/0.85 var(--display); letter-spacing: -0.04em; min-width: 64px; }
.post-meta { flex: 1; }
.when { font-weight: 700; font-size: 16px; }
.chip { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--rule); color: var(--ink-2); }
.chip.ready { background: var(--signal); color: var(--on-signal); }
.chip.posted { background: var(--ok-bg); color: var(--ok); }
.chip.soon { background: var(--soon-bg); color: var(--soon); }
.player { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; max-height: 62vh; margin: 0 auto; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.actions .btn { padding: 0 10px; font-size: 16px; gap: 6px; white-space: nowrap; }
@media (max-width: 379px) { .actions .btn svg { display: none; } }
.field-value .ch { display: block; font-weight: 700; letter-spacing: .06em; font-size: 13px; color: var(--ink); margin-top: 4px; }
.hint { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; }
.caption { margin-top: 12px; background: var(--paper); border-radius: 10px; padding: 12px; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.caption .tags { color: var(--ink-2); display: block; margin-top: 10px; }
.post.is-posted { opacity: .72; }
.post.is-posted .num { text-decoration: line-through; text-decoration-thickness: 4px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-weight: 700; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 56px; height: 32px; border-radius: 999px; background: var(--rule); position: relative; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.toggle input:checked + .switch { background: var(--ok); }
.toggle input:checked + .switch::after { transform: translateX(24px); }
.toggle input:focus-visible + .switch { outline: 3px solid var(--signal); outline-offset: 2px; }
.ig-link { font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-block; margin-top: 8px; }

/* reminders + install */
.panel { padding: 16px; }
.panel h3 { font-size: 22px; margin-bottom: 6px; }
.panel p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.panel .row { display: flex; flex-wrap: wrap; gap: 10px; }
.status-on { color: var(--ok); font-weight: 700; }
.warn { background: var(--soon-bg); color: var(--soon); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.install-grid { display: grid; gap: 12px; }
.how { padding: 16px; }
.how h3 { font-size: 20px; margin-bottom: 8px; }
.how ol { margin: 0; padding-left: 22px; }
.how li { margin: 6px 0; }
.how li b { white-space: nowrap; }
.how.mine { border: 2px solid var(--ink); }
.tag-mine { font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 4px 6px; border-radius: 5px; margin-left: 6px; vertical-align: middle; }
.foot { margin-top: 32px; font-size: 13px; color: var(--ink-3); text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform .2s ease, visibility 0s linear .2s; z-index: 50; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .2s ease; }

/* ---------- look chooser (a page whose look is still to be picked) ---------- */
.looks-intro { margin: -4px 0 14px; color: var(--ink-2); font-size: 15px; }
.looks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.look { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.look.is-mine { border-color: var(--ok); box-shadow: 0 0 0 2px var(--ok); }
.look-media { position: relative; aspect-ratio: 9 / 14; background: #0B0A08; }
.look-media video, .look-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.look-wait { height: 100%; display: grid; place-items: center; color: #B9AE9C; font-size: 14px; }
.look-n { position: absolute; left: 8px; top: 8px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--paper); color: var(--ink); font: 800 20px/1 var(--display); }
.look.is-mine .look-n { background: var(--ok); color: #fff; }
.look-text { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.look-text h3 { font-size: 18px; margin: 0; }
.look-text p { margin: 0 0 6px; font-size: 14px; line-height: 1.4; color: var(--ink-2); flex: 1; }
.look:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
.look:last-child:nth-child(odd) .look-media { width: calc(50% - 6px); flex: none; }
.look:last-child:nth-child(odd) .look-text { justify-content: center; }
.look:last-child:nth-child(odd) .look-text p { flex: none; }
.pickstate { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-bottom: 14px; border-radius: var(--radius); background: var(--ok-bg); border: 1px solid var(--ok); }
.pickstate > svg { width: 26px; height: 26px; flex: none; color: var(--ok); margin-top: 1px; }
.pickstate b { font: 800 19px/1.2 var(--display); display: block; }
.pickstate p { margin: 4px 0 0; font-size: 15px; color: var(--ink); }
.pickstate p.pickstate-sub { font-size: 13px; color: var(--ink-2); }
.pickstate.final { align-items: center; margin-bottom: 0; }
.pickstate.final h2 { font-size: 22px; }
.pickstate.final.set-multi { margin-bottom: 12px; }
.pickstate.final .kicker { color: var(--ok); margin-bottom: 6px; }
.pickstate-media { width: 92px; aspect-ratio: 9 / 16; flex: none; border-radius: 10px; overflow: hidden; background: #0B0A08; }
.pickstate-media video, .pickstate-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pickcall { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; background: var(--card); border: 2px solid var(--signal); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.pickcall .kicker { margin-bottom: 6px; color: var(--signal-press); }
.pickcall h2 { font-size: 21px; }
.pickcall p:not(.kicker) { margin: 3px 0 0; font-size: 14px; color: var(--ink-2); }
.pickcall-go { margin-left: auto; font: 800 26px/1 var(--display); color: var(--signal); }
.pickcall:active { transform: scale(0.99); }

@media (min-width: 600px) {
  .hero h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* own idea / script: a script sheet with a margin rule */
.idea { padding: 18px 16px 16px 20px; border-left: 4px solid var(--signal); }
.idea h2 { font-size: 26px; margin: 0 0 6px; }
.idea-lead { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.idea-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.idea textarea {
  display: block; width: 100%; min-height: 148px; resize: vertical; box-sizing: border-box;
  padding: 12px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--body); -webkit-appearance: none; appearance: none;
}
.idea textarea::placeholder { color: var(--ink-3); opacity: 1; }
.idea textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.idea-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.idea-count { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.idea-sent-h { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.idea-list { list-style: none; margin: 0; padding: 0; }
.idea-list li { padding: 12px 0; border-bottom: 1px dashed var(--rule); }
.idea-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.idea-text { margin: 0; font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.idea-meta { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.idea-meta .chip { margin-top: 0; text-decoration: none; }

/* a post made from a poster's own idea */
.chip.yours { background: var(--ink); color: var(--card); margin-left: 6px; }
.post.is-idea { border-left: 5px solid var(--signal); }
.from-idea { margin: -2px 0 12px; padding: 9px 12px; border-radius: 8px; background: var(--soon-bg); color: var(--soon); font-size: 14px; }
.from-idea b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.from-idea span { color: var(--ink); }
.ideabar { margin-top: 12px; padding: 14px 16px; border-left: 5px solid var(--signal); }
.ideabar ul { list-style: none; margin: 0; padding: 0; }
.ideabar li + li { border-top: 1px dashed var(--rule); }
.ideabar a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: inherit; text-decoration: none; }
.ideabar-n { font: 800 30px/0.9 var(--display); letter-spacing: -0.03em; min-width: 40px; }
.ideabar-t { flex: 1; font-size: 14px; color: var(--ink-2); }
.ideabar-t b { display: block; color: var(--ink); font-size: 15px; }
.ideabar .chip { margin-top: 0; white-space: nowrap; }

/* ---------- the three steps of a page: profile setup, character, videos ---------- */
#step-setup, #looks, #gen, #install { scroll-margin-top: 72px; }
.stepno { display: block; font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
details.setup > summary { gap: 12px; }
.setup-body { grid-template-columns: minmax(0, 1fr); }
.setup-title { min-width: 0; }
.setup-state { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 15px/1.2 var(--body); letter-spacing: 0; color: var(--ok); }
.userfield .hint { margin: 6px 0 10px; }
.userrow { display: flex; gap: 8px; align-items: stretch; }
.userbox { flex: 1; min-width: 0; display: flex; align-items: center; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--paper); padding-left: 12px; }
.userbox > span { font-weight: 700; color: var(--ink-3); }
.userbox input { flex: 1; width: 0; min-width: 0; height: 52px; border: 0; background: transparent; color: var(--ink); font: 600 17px/1 var(--body); padding: 0 10px 0 2px; outline: none; }
.userbox input::placeholder { color: var(--ink-3); opacity: 1; font-weight: 400; }
.userbox:focus-within { outline: 3px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.userrow .btn { flex: none; }
.steplock { margin-top: 12px; padding: 14px 16px; border: 1.5px dashed var(--rule); border-radius: var(--radius); color: var(--ink-3); }
.steplock b { display: block; font: 800 20px/1.15 var(--display); letter-spacing: -0.02em; color: var(--ink-2); }
.steplock > span:last-child { display: block; margin-top: 4px; font-size: 14px; }
.pickstate.final .avatar { width: 72px; height: 72px; border-color: var(--ok); }

.genblock { background: var(--dark); color: var(--on-dark); border-radius: 18px; padding: 18px; }
.genblock .kicker { display: flex; align-items: center; gap: 8px; color: #B9AE9C; }
.genblock h2 { font-size: 26px; }
.genblock p:not(.kicker) { margin: 8px 0 0; color: #D8CFC0; font-size: 15px; }
.genblock p.gen-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(251, 243, 228, .18); font-size: 14px; color: var(--on-dark); }
.gen-line [data-stage] { font-weight: 700; }
.gen-line b { font-variant-numeric: tabular-nums; }
.genblock.is-ready { background: var(--card); color: var(--ink); border: 1px solid var(--rule); }
.genblock.is-ready .kicker { color: var(--ok); }
.genblock.is-ready p:not(.kicker) { color: var(--ink-2); }
#gen > .panel, #gen > details.setup { margin-top: 12px; }
.installfold > summary { font-size: 19px; }
.installfold .how { padding: 0; border: 0; background: none; border-radius: 0; }
.installfold .how + .how { padding-top: 12px; border-top: 1px solid var(--rule); }
.installfold .how.mine { border: 0; }
.installfold .how + .how.mine { border-top: 1px solid var(--rule); }

/* the on-air light: a small square that blinks like a studio tally lamp */
.tally { width: 9px; height: 9px; border-radius: 2px; background: var(--signal); flex: none; animation: tally 1.4s steps(2, jump-none) infinite; }
@keyframes tally { from { opacity: 1; } to { opacity: .25; } }

/* a post whose video is still being made */
.aibox { border: 1.5px solid var(--ink); border-radius: 12px; padding: 16px 16px 14px; background: var(--paper); }
.aibox .kicker { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.ai-stage { display: block; font: 800 24px/1.1 var(--display); letter-spacing: -0.02em; min-height: 27px; }
.airule { position: relative; height: 3px; margin-top: 14px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.airule i { position: absolute; inset: 0 auto 0 0; width: 34%; background: var(--signal); border-radius: 2px; animation: airule 2.2s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes airule { from { transform: translateX(-105%); } to { transform: translateX(300%); } }
.ai-sub { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.queuebox { border: 1.5px dashed var(--rule); border-radius: 12px; padding: 14px 16px; color: var(--ink-3); font-size: 14px; }
.queuebox b { display: block; font: 800 18px/1.15 var(--display); letter-spacing: -0.02em; color: var(--ink-2); margin-bottom: 2px; }

/* ---------- home: the top, the other pages, the example ---------- */
.toplist, .showlist { list-style: none; margin: 0; padding: 2px 16px; }
.toplist li + li, .showlist li + li { border-top: 1px solid var(--rule); }
.showlist a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: inherit; text-decoration: none; }
.top-n { font: 800 30px/0.9 var(--display); letter-spacing: -0.04em; min-width: 26px; color: var(--ink-3); }
.toplist li:first-child .top-n { color: var(--signal); }
.top-av { width: 44px; height: 44px; }
.top-t, .show-t { flex: 1; min-width: 0; }
.top-t b, .show-t b { display: block; font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-t span { display: block; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-v { text-align: right; flex: none; }
.top-v b { display: block; font: 800 22px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.top-v span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.top-v .chip { display: inline-block; margin-top: 0; color: var(--ink-2); }
.top-note { margin: 10px 2px 0; font-size: 13px; color: var(--ink-3); }
/* top pages as a market list: rank, page, 48 h line, biggest reel + 24 h change; channel icons below */
.topcard { padding: 0; }
.top-head, .top-row { display: grid; grid-template-columns: 22px 38px minmax(0, 1fr) 46px 62px; column-gap: 8px; align-items: center; }
.top-head { padding: 10px 16px 8px; border-bottom: 1px solid var(--rule); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.top-head span:nth-child(4) { text-align: center; }
.top-head span:nth-child(5) { text-align: right; }
.top-row { position: relative; padding: 12px 0; row-gap: 8px; }
.toplist .top-n { font-size: 19px; line-height: 1; min-width: 0; letter-spacing: -0.03em; }
.toplist .top-av { width: 38px; height: 38px; }
.toplist .top-t b { font-size: 15px; line-height: 1.2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.toplist .top-t span { font-size: 12px; margin-top: 2px; }
.top-link { color: inherit; text-decoration: none; }
.top-link::after { content: ""; position: absolute; inset: 0; }
.top-s { display: block; height: 24px; }
.mini { display: block; width: 100%; height: 24px; overflow: visible; }
.mini polyline { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.mini path { fill: currentColor; opacity: .13; }
.g-up { color: var(--ok); }
.g-down { color: var(--down); }
.g-new { color: var(--ink-3); }
.toplist .top-v b { font-size: 20px; }
.chg { display: block; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.top-ch { grid-column: 3 / -1; position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.today { font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ch .chd { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
/* channel links: icon + followers */
.chs { display: flex; flex-wrap: wrap; gap: 6px; }
.ch { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 10px 4px 8px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink-2); text-decoration: none; font-size: 12px; line-height: 1; white-space: nowrap; }
.ch svg { width: 15px; height: 15px; flex: none; }
.ch b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ch:active { border-color: var(--ink); }
.chs.big { gap: 8px; margin: 14px 0 0; }
.chs.big .ch { min-height: 42px; padding: 8px 14px 8px 12px; font-size: 14px; }
.chs.big .ch svg { width: 18px; height: 18px; }
.chs.big .ch b { font-size: 15px; }
#pchs:empty { display: none; }
.showlist .avatar { width: 52px; height: 52px; }
.show-t span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.35; color: var(--ink-2); margin-top: 2px; }
.show-n { flex: none; font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.pickcall.example { border-color: var(--ink); margin-top: 24px; }
.pickcall.example .kicker { color: var(--ink-3); }
.pickcall.example .pickcall-go { color: var(--ink); }
.pickcall.example .avatar { width: 56px; height: 56px; }

/* the example page and the view-only pages */
.demobar { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); }
.demobar b { display: block; font: 800 18px/1.15 var(--display); letter-spacing: -0.02em; }
.demobar span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.demobar .btn { margin-left: auto; flex: none; }
.demobar .btn span { display: inline; font-size: inherit; color: inherit; margin: 0; }
.format { padding: 14px 16px; margin-top: 16px; }
.format p:not(.kicker) { margin: 0; font-size: 15px; color: var(--ink-2); white-space: pre-wrap; }

/* ---------- the demo: five steps, everything filled in ---------- */
.is-demo .mast-install { display: none; }
.demohead { margin-top: 14px; }
.demohead .back { margin-top: 0; }
.demohead-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demohead-top .kicker { margin: 0; }
.demohead h1 { font-size: 30px; margin-top: 4px; }
.demohead > p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }

/* the rail: five ruled cells that stay under the masthead */
.rail { position: sticky; top: calc(54px + env(safe-area-inset-top)); z-index: 15; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  margin: 14px -16px 0; padding: 8px 16px 7px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.rail li { min-width: 0; }
.rail button { width: 100%; display: grid; justify-items: center; gap: 3px; padding: 6px 0 0; border: 0; border-top: 3px solid var(--rule); background: none; color: var(--ink-3); cursor: pointer; }
.rail b { font: 800 17px/1 var(--display); }
.rail span { font: 600 11px/1.15 var(--body); white-space: nowrap; }
.rail .is-now button { color: var(--ink); border-top-color: var(--signal); }
.rail .is-done button { color: var(--ok); border-top-color: var(--ok); }

.dsteps { display: grid; gap: 10px; margin-top: 14px; grid-template-columns: minmax(0, 1fr); }
.dstep { scroll-margin-top: 128px; border-radius: var(--radius); min-width: 0; }
.dstep-head, .dstep > summary, .dstep.is-next { display: flex; align-items: center; gap: 12px; }
.dstep-n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--rule); color: var(--ink-2); font: 800 20px/1 var(--display); }
.dstep-t { min-width: 0; font: 800 21px/1.1 var(--display); letter-spacing: -0.02em; }
.dstep-t .stepno { margin-bottom: 3px; font-family: var(--body); }
.dstep-s { margin-left: auto; min-width: 0; font-size: 13px; color: var(--ink-3); text-align: right; }
.dstep.is-next { padding: 12px 14px; border: 1.5px dashed var(--rule); }
.dstep.is-next .dstep-t { color: var(--ink-3); }
.dstep.is-now { padding: 14px; background: var(--card); border: 2px solid var(--ink); }
.dstep.is-now .dstep-n { background: var(--signal); color: var(--on-signal); }
.dstep.is-done { background: var(--card); border: 1px solid var(--rule); }
.dstep.is-done > summary { padding: 12px 14px; cursor: pointer; list-style: none; }
.dstep.is-done > summary::-webkit-details-marker { display: none; }
.dstep.is-done > summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--ink-3); }
.dstep.is-done[open] > summary::after { content: "–"; }
.dstep.is-done .dstep-n { background: var(--ok); color: #fff; }
.dstep.is-done .dstep-s { font-weight: 700; color: var(--ok); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dstep-body { margin-top: 14px; min-width: 0; }
.dstep.is-done .dstep-body { margin: 0; padding: 2px 14px 14px; }
.dstep-body > .hint.dlead { margin: 0 0 12px; font-size: 14px; }

/* the sign next to the button to press: a small arrow that nods three times, then stays still */
.cue { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font: 700 15px/1.25 var(--body); color: var(--ink); }
.cue:first-child { margin-top: 0; }
.cue i { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 5px; background: var(--signal); color: var(--on-signal); font: 800 15px/1 var(--display); font-style: normal; animation: cuenod .7s ease-in-out 3; }
@keyframes cuenod { 50% { transform: translateY(4px); } }

.dfield { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.dfield:first-child { padding-top: 0; border-top: 0; }
.dfield > div { flex: 1; min-width: 0; }
.dfield-v { margin-top: 3px; font-size: 16px; font-weight: 600; line-height: 1.35; white-space: pre-line; word-break: break-word; }
.dfield .avatar { width: 52px; height: 52px; }
.dfield .btn { flex: none; }
.dfield.stack { display: block; }
.dfield-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dfield.stack .dfield-v { margin-top: 6px; font-size: 15px; }
.dstep-body > .hint.dnote { margin: 12px 0 0; font-size: 13px; }
.look[data-demo-look] { cursor: pointer; }

.genblock .airule { background: rgba(251, 243, 228, .18); }
.airule.is-run i { width: 100%; transform: scaleX(0); transform-origin: left center; transition: transform 2s linear; animation: none; }
.genblock p.gen-line { align-items: center; }
.genblock .btn.ghost { color: var(--on-dark); border-color: rgba(251, 243, 228, .4); }

.pushmock { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; padding: 12px; border-radius: 14px; background: var(--dark); color: var(--on-dark); }
.pushmock img { width: 38px; height: 38px; flex: none; border-radius: 9px; }
.pushmock span { display: block; font-size: 12px; color: #B9AE9C; }
.pushmock b { display: block; font-size: 15px; line-height: 1.3; }
.pushmock p { margin: 1px 0 0; font-size: 14px; color: #D8CFC0; }
.dposts { margin-top: 0; }
.dposts .post { padding: 14px; background: var(--paper); }
.dposts .caption { background: var(--card); }
.dposts .player { max-height: 54vh; }
.dthumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.dthumbs span { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px; background: var(--rule); }
.dthumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dthumbs b { position: absolute; left: 6px; top: 6px; padding: 2px 5px; border-radius: 5px; background: var(--paper); color: var(--ink); font: 800 12px/1 var(--display); }
.dmore { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.dmore b { color: var(--ink); }

/* step 5: the app, drawn as two phones */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phone { margin: 0; min-width: 0; }
.phone figcaption { margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--ink-2); text-align: center; }
.phone-screen { position: relative; aspect-ratio: 9 / 17; overflow: hidden; padding: 32px 12px 12px; border: 5px solid var(--ink); border-radius: 26px; background: var(--dark); color: var(--on-dark); }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 33%; width: 34%; height: 9px; border-radius: 6px; background: rgba(251, 243, 228, .2); }
.phone-screen.home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; align-content: start; }
.ph-tile { aspect-ratio: 1; border-radius: 26%; background: rgba(251, 243, 228, .13); }
.ph-app { position: relative; }
.ph-app img { width: 100%; aspect-ratio: 1; border-radius: 26%; outline: 2px solid var(--signal); outline-offset: 2px; }
.ph-app em { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 4px; font: 700 9px/1 var(--body); font-style: normal; white-space: nowrap; }
.phone-screen.lock { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.ph-time { margin: 4px 0 10px; font: 800 34px/1 var(--display); letter-spacing: -0.03em; text-align: center; }
.ph-note { display: flex; gap: 6px; padding: 7px; border-radius: 10px; background: rgba(251, 243, 228, .14); }
.ph-note img { width: 18px; height: 18px; flex: none; border-radius: 5px; }
.ph-note div { min-width: 0; }
.ph-note span { display: block; font: 600 8px/1.2 var(--body); color: #B9AE9C; }
.ph-note p { margin: 2px 0 0; font: 600 10px/1.3 var(--body); }
.applist { list-style: none; margin: 16px 0 0; padding: 0; }
.applist li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.applist li:last-child { padding-bottom: 0; }
.applist b { display: block; font-size: 16px; color: var(--ink); }

.demoend { margin-top: 18px; padding: 20px 18px; border-radius: 18px; background: var(--dark); color: var(--on-dark); }
.demoend .kicker { color: #B9AE9C; }
.demoend h2 { font-size: 28px; }
.demoend + .btn { margin-top: 12px; }

/* ---------- records and growth: a ledger with rule lines, no tiles ---------- */
.rec-hero { display: block; text-decoration: none; padding: 2px 0 16px; }
.rec-num { display: block; font: 800 88px/0.84 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.rec-cap { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.rec-cap b { color: var(--ink); }
.ledger { margin: 0; }
.ledger > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); }
.ledger dt { font-size: 15px; color: var(--ink-2); }
.ledger dd { margin: 0; text-align: right; white-space: nowrap; flex: none; }
.ledger dd b { font: 800 24px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ledger dd i { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--ink-2); }
.up::before { content: "▲"; margin-right: 4px; font-size: 9px; vertical-align: 1px; color: var(--ok); }
.rec-line { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.rec-line b { color: var(--ink); }
.pstat { padding: 16px 16px 14px; }
.pstat-hero { padding-bottom: 14px; }
.pstat-hero b { display: block; font: 800 64px/0.86 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.pstat-hero span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.spark { padding-top: 14px; border-top: 1px solid var(--rule); }
.spark-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.spark-title { font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.spark-read { flex: none; text-align: right; font-variant-numeric: tabular-nums; }
.spark-read b { display: block; font: 800 24px/1 var(--display); letter-spacing: -0.02em; }
.spark-read span { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); }
.spark-plot { position: relative; height: 104px; margin: 12px 6px 0 0; touch-action: pan-y; cursor: crosshair; }
.spark-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.spark-area { fill: var(--ink); opacity: .07; }
.spark-line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.spark-rule { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink-3); display: none; pointer-events: none; }
.spark-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px var(--card); pointer-events: none; }
.spark-axis { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.spark-hint { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.chip.top { background: var(--ink); color: var(--paper); }
.spark { --surface: var(--card); }
.rec .spark { --surface: var(--paper); }
.spark-dot { box-shadow: 0 0 0 2px var(--surface); }
.spark-pt { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--surface); pointer-events: none; }
.rec-sub { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font: 800 21px/1.15 var(--display); letter-spacing: -0.02em; }
.rec-sub + .spark { border-top: 0; padding-top: 10px; }
.rec .spark + .spark { margin-top: 18px; }
@media (max-width: 379px) { .rec-num { font-size: 76px; } .ledger dt { font-size: 14px; } }

/* start link: #/start/<page> (owner, Nov 14 2026) */
.obwrap { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
.obwrap h1 { font-size: 32px; }
.obwrap .kicker { margin: 0; }
.obwrap .hint { margin: 0; }
.oblead { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.obtop { display: flex; justify-content: space-between; align-items: center; }
.obdots { display: flex; gap: 6px; }
.obdots i { width: 8px; height: 8px; border-radius: 4px; background: var(--rule); }
.obdots i.is-done { background: var(--ink); }
.obdots i.is-now { width: 24px; background: var(--ink); }
.obopts { display: grid; gap: 14px; margin-top: 6px; }
.obopt { position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 16px; padding: 14px; cursor: pointer; }
.obopt.is-on { border: 2px solid var(--ink); }
.obopt:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.obtag { position: absolute; top: -11px; right: 14px; background: var(--signal); color: var(--on-signal); border-radius: 8px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.obopt-top { display: flex; gap: 12px; align-items: center; }
.obopt-top .avatar { width: 60px; height: 60px; }
.obopt-top > span { display: flex; flex-direction: column; gap: 2px; }
.obopt-top b { font-size: 18px; }
.obopt-top > span > span { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.obemoji { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.obchar { border-top: 1px solid var(--rule); padding-top: 10px; font-size: 15px; line-height: 1.45; }
.obsel { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--ok-bg); color: var(--ok); border-radius: 8px; padding: 4px 9px; font-size: 13px; font-weight: 700; }
.obsel svg { width: 14px; height: 14px; }
.obnames { display: flex; flex-wrap: wrap; gap: 8px; }
.obname { border: 1.5px solid var(--rule); background: var(--card); color: var(--ink); border-radius: 999px; padding: 10px 14px; font-weight: 600; font-size: 15px; cursor: pointer; min-height: 44px; }
.obname.is-top { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.obuser { padding: 14px; display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--ink); }
.obuser-l { font-weight: 700; font-size: 15px; }
.obcheck { font-size: 14px; font-weight: 600; color: var(--ok); }
.obprof { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.obnote { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.obnote span { color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.obnext { margin-top: 6px; }
.obback { align-self: center; font-size: 14px; color: var(--ink-2); padding: 6px 10px; }
.obwelcome { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); background: var(--ok-bg); color: var(--ok); font-size: 14px; line-height: 1.45; }
.obwelcome svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.obwelcome b { display: block; font-size: 15px; }

/* page steps: finished ones are small rows with a green tick, the current one stands out (owner, Nov 14 2026) */
details.setup.is-done { margin-top: 10px; }
#step-setup.is-done { margin-top: 24px; }
details.setup.is-done > summary .setup-title { font-size: 18px; }
.stepdot { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--ok); }
.stepdot svg { width: 16px; height: 16px; }
#gen { margin-top: 16px; }
.genblock:not(.is-ready) { box-shadow: 0 0 0 2px var(--signal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .genblock:not(.is-ready) { background: var(--card); } }
:root[data-theme="dark"] .genblock:not(.is-ready) { background: var(--card); }

/* own idea: one fold, three choices (owner, Nov 14 2026) */
details.ideafold { margin-top: 28px; padding: 0; border-left: 4px solid var(--signal); }
details.ideafold > summary { list-style: none; cursor: pointer; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 800 22px/1.1 var(--display); }
details.ideafold > summary::-webkit-details-marker { display: none; }
details.ideafold > summary::after { content: "+"; font-size: 28px; color: var(--ink-3); }
details.ideafold[open] > summary::after { content: "–"; }
.ideafold-body { padding: 0 16px 16px; }
.ideatabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ideatab { border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 9px 13px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 42px; }
.ideatab.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ideatab:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.idea-note { margin: -6px 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--soon-bg); color: var(--soon); font-size: 14px; font-weight: 600; line-height: 1.4; }
.idea-kind { margin: 0 0 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.obwait { border: 2px solid var(--soon); }
/* general start link #/join: our pages of the picked kind as examples, swipe sideways (owner, Nov 14 2026) */
.jexwrap { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.jexrow { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.jexrow::-webkit-scrollbar { display: none; }
.jex { flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; text-align: left; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 14px; padding: 8px; cursor: pointer; }
.jex.is-on { border: 2px solid var(--ink); }
.jex:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.jex-media { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper); }
.jex-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jex-play { position: absolute; right: 6px; bottom: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.jex b { font-size: 14px; line-height: 1.2; }
.jex-v { font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.jex .obsel { font-size: 12px; padding: 3px 7px; }
.jexplay { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.jexplay .player video { max-height: 70vh; }
.jsexrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jsex { min-height: 52px; border: 1.5px solid var(--rule); background: var(--card); color: var(--ink); border-radius: 14px; font-size: 17px; font-weight: 700; cursor: pointer; }
.jsex.is-on { border: 2px solid var(--ink); background: var(--ink); color: var(--paper); }
.jsex:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.jname { width: 100%; font: 600 20px/1.2 var(--body, inherit); padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); }
.jname:focus { outline: none; border-color: var(--signal); }
.jnames .obname { cursor: default; }
/* waiting for the admin's approval: a turning ring, the running rule, what to do (owner, Nov 14 2026) */
.jwait { padding: 16px; display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--soon); }
.jwait .airule { margin-top: 0; }
.jwait-top { display: flex; align-items: center; gap: 12px; }
.jwait-top b { font-size: 18px; }
.jspin { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 3px solid var(--rule); border-top-color: var(--signal); animation: jspin .9s linear infinite; }
@keyframes jspin { to { transform: rotate(360deg); } }
.jwait-pay { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.jwait-pay b { color: var(--ink); }
.jwait-sub { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
/* #/join product promos: visible, can't be picked (not in the test month) */
.jpromo { cursor: default; background: var(--paper); border-style: dashed; margin-top: 4px; }
.jpromo .obopt-top { opacity: .6; }
.jpromo .jlock { background: var(--ink-2); color: var(--paper); }
.jpromo-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.jpromo .jex { flex-basis: 112px; }
.jpx-media { aspect-ratio: 9 / 16; }
.jpx.is-on { border: 2px solid var(--ink-2); }
.jpromo-player { display: block; }
.jpromo-player video { max-height: 60vh; width: 100%; border-radius: 12px; background: #0B0A08; }
.jpromo-off { font-size: 14px; font-weight: 700; color: var(--ink-2); }
/* upcoming pages on the home (owner, Nov 14 2026) */
.up-hint { margin: 0 0 6px; }
.up-group { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.adminreq .joinrow { border-bottom: 0; padding: 8px 0 0; font-size: 14px; color: var(--ink-2); }
/* admin */
.adminlist { padding: 4px 14px; }
.adminrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.adminrow:last-child { border-bottom: 0; }
.adminrow b { display: block; font-size: 16px; }
.adminrow span { font-size: 13px; color: var(--ink-2); }
.adminrow .btn span { color: inherit; font-size: inherit; }
.adminh { font-size: 24px; margin-top: 10px; }
.adminreq { list-style: none; margin: 0; padding: 4px 14px; }
.adminreq li { padding: 12px 0; border-bottom: 1px dashed var(--rule); }
.adminreq li:last-child { border-bottom: 0; }
.userchange > summary { cursor: pointer; font-size: 14px; color: var(--ink-2); text-decoration: underline; padding: 4px 0; }
.userchange[open] > summary { margin-bottom: 8px; }

/* posted posts: one line each with views, rating and the last check (owner, Nov 14 2026) */
.posted-h { margin: 22px 0 8px; }
details.postmini { padding: 0; overflow: hidden; }
details.postmini > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
details.postmini > summary::-webkit-details-marker { display: none; }
details.postmini > summary::after { content: "+"; font-size: 24px; color: var(--ink-3); margin-left: auto; padding-left: 6px; }
details.postmini[open] > summary::after { content: "–"; }
details.postmini .num { font-size: 30px; min-width: 40px; text-decoration: line-through; text-decoration-thickness: 3px; color: var(--ink-3); }
.pm-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.pm-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.pm-at { font-size: 12px; color: var(--ink-3); }
.pm-cap { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-full > .post { border: 0; border-top: 1px solid var(--rule); border-radius: 0; }
.rate { border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.rate.r-low { background: var(--paper); color: var(--ink-3); border: 1px solid var(--rule); }
.rate.r-ok { background: var(--soon-bg); color: var(--soon); }
.rate.r-good { background: var(--ok-bg); color: var(--ok); }
.rate.r-great { background: var(--ok); color: #fff; }
.rate.r-top { background: var(--ink); color: var(--paper); }

/* product promo section (owner, Nov 14 2026) */
.promo-head { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; border-left: 4px solid var(--ink); }
.promo-head b { font: 800 20px/1.15 var(--display); }
.promo-head span { font-size: 14px; color: var(--ink-2); }
.promo .posts { margin-top: 12px; }
.promo-chip { background: var(--ink); color: var(--paper); }
.promo-photo img { width: 100%; border-radius: 12px; }
.promo-wait { margin-top: 12px; }
.player.promo-photo { aspect-ratio: auto; max-height: none; background: none; }
.player.promo-photo img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }

/* posted posts: a grid like the Instagram profile (owner, Nov 14 2026: option B) */
.postedwrap { margin-top: 22px; }
.pg-hint { margin: -2px 0 10px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ptile { position: relative; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #0B0A08; cursor: pointer; display: block; }
.ptile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ptile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.ptile.is-open { outline: 3px solid var(--signal); outline-offset: 2px; }
.ptile:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.pt-n { position: absolute; z-index: 1; right: 6px; top: 6px; background: rgba(0, 0, 0, .55); color: #fff; border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 700; }
.pt-v { position: absolute; z-index: 1; left: 7px; bottom: 28px; color: #fff; font-weight: 700; font-size: 15px; }
.pt-v.pt-wait { bottom: 8px; font-size: 12px; font-weight: 600; opacity: .85; }
.ptile .rate { position: absolute; z-index: 1; left: 6px; bottom: 6px; font-size: 10px; }
.pg-open { margin-top: 12px; display: grid; gap: 8px; }
/* no crossed-out numbers anywhere (owner, Nov 14 2026) */
.post.is-posted .num, details.postmini .num { text-decoration: none; }
.morebtn { margin-top: 10px; }
details.installfold.is-small > summary { padding: 12px 16px; font-size: 16px; }
details.installfold.is-small > summary::after { font-size: 22px; }
/* posted grid sits first in the list now (owner, Nov 14 2026) */
#postlist > .postedwrap { margin-top: 0; }
#postlist > .postedwrap .posted-h { margin-top: 0; }
.next-h { margin: 18px 0 0; }

/* place among all pages, on top of a page (owner, Nov 14 2026) */
.rankcard { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 16px; border: 2px solid var(--ink); }
.rank-n { font: 800 40px/1 var(--display); letter-spacing: -0.03em; min-width: 64px; text-align: center; }
.rankcard b { display: block; font-size: 16px; }
.rankcard span:not(.rank-n) { display: block; font-size: 13px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }
.rankcard .rank-today { color: var(--ok); font-weight: 600; }

/* hourly history next to every number; tap a row for the full chart (owner, Nov 14 2026) */
.ledger > .lrow.has-chart { cursor: pointer; align-items: center; }
.ledger > .lrow.has-chart dt::after { content: " ›"; color: var(--ink-3); }
.ledger > .lrow.is-open dt::after { content: " ⌄"; }
.ledger > .lrow:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 6px; }
.ledger dd { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.ledger dd i { flex-basis: 100%; text-align: right; }
.mini-spark { width: 64px; height: 24px; flex: none; overflow: visible; }
.mini-spark polyline { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.mini-spark.g-up polyline { stroke: var(--ok); }
.mini-spark.g-down polyline { stroke: var(--down); }
.mini-spark.g-flat polyline { stroke: var(--ink-3); }
.ledger > .lchart { display: block; padding: 0 0 12px; border-top: 0; }
.ledger > .lchart[hidden] { display: none; }

/* your ideas, mockup A (owner, Nov 14 2026): 3 tiles, the form, a tracker with progress bars */
.ideabox h2 { font-size: 26px; margin: 0 0 12px; }
.ideatiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ideatile { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; padding: 12px 10px; border-radius: 14px;
  border: 1.5px solid var(--rule); background: var(--card); color: var(--ink); cursor: pointer; min-height: 112px; font: inherit; }
.ideatile.is-on { border: 2px solid var(--ink); background: var(--card); color: var(--ink); }
.ideatile .ti-ic { font-size: 22px; line-height: 1; }
.ideatile b { font-size: 14px; line-height: 1.2; }
.ideatile span:not(.ti-ic) { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.ideatile:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.idea-form { margin-top: 10px; }
.idea-form-h { font: 800 20px/1.15 var(--display); margin: 0 0 6px; }
.idea-track-h { margin: 18px 0 8px; }
.idea-track { padding: 0 12px; }
.it-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.it-row:last-child { border-bottom: 0; }
.it-row img, .it-ph { width: 40px; height: 58px; border-radius: 7px; object-fit: cover; flex: none; }
.it-ph { background: var(--paper); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.it-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.it-body b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-bars { display: flex; gap: 3px; }
.it-bars i { flex: 1; height: 5px; border-radius: 3px; background: var(--rule); }
.it-bars i.on { background: var(--ok); }
.it-meta { font-size: 12px; color: var(--ink-3); }
.it-note { font-size: 12px; color: var(--ink-2); }
/* an idea opens to its full text (owner, Nov 14 2026) */
.it-item { border-bottom: 1px solid var(--rule); }
.it-item:last-child { border-bottom: 0; }
.it-item > summary.it-row { list-style: none; cursor: pointer; border-bottom: 0; }
.it-item > summary::-webkit-details-marker { display: none; }
.it-item > summary::after { content: "+"; font-size: 22px; color: var(--ink-3); margin-left: 6px; }
.it-item[open] > summary::after { content: "–"; }
.it-full { padding: 0 0 12px 50px; display: grid; gap: 8px; justify-items: start; }
.it-full .idea-text { margin: 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 50vh; overflow: auto; }

/* what's working (owner, Nov 14 2026) */
.working { display: grid; gap: 10px; margin-bottom: 18px; }
.working > .kicker { margin: 0; }
.wai { background: var(--dark); color: var(--on-dark); border-radius: 16px; padding: 14px 16px; }
.wai-tag { display: inline-block; background: var(--signal); color: var(--on-signal); border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.wai p { margin: 0; font-size: 15px; line-height: 1.45; }
.wrow { padding: 12px; display: grid; gap: 9px; }
.wrow-top { display: flex; gap: 10px; align-items: center; }
.wrow-img img { width: 46px; height: 68px; object-fit: cover; border-radius: 8px; display: block; }
.wrow-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wrow-t b { font-size: 15px; line-height: 1.25; }
.wrow-t span { font-size: 12px; color: var(--ink-2); }
.wrow-v { text-align: right; }
.wrow-v b { display: block; font: 800 24px/1 var(--display); font-variant-numeric: tabular-nums; }
.wrow-v span { font-size: 11px; color: var(--ink-3); }
.wrow-v.w-good b { color: var(--ok); } .wrow-v.w-low b { color: var(--down); } .wrow-v.w-mid b { color: var(--soon); }
.wrow-why { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.wseg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--rule); border-radius: 10px; overflow: hidden; }
.wseg button { border: 0; background: transparent; color: var(--ink); font: 700 14px/1 var(--body); padding: 11px 0; cursor: pointer; min-height: 42px; }
.wseg button + button { border-left: 1.5px solid var(--rule); }
.wseg button.on { background: var(--ink); color: var(--paper); }
.wseg button i { font-style: normal; font-size: 10px; font-weight: 700; opacity: .65; margin-left: 2px; }
.wplan { padding: 14px; display: grid; gap: 9px; border: 2px solid var(--ink); }
.wplan.is-ok { border-color: var(--ok); }
.wplan > b { font-size: 15px; }
.wbar { display: flex; gap: 3px; height: 12px; }
.wbar span { border-radius: 3px; }
.wbar-0 { background: var(--ok); } .wbar-1 { background: var(--soon); } .wbar-2 { background: var(--ink-3); } .wbar-3 { background: var(--signal); }
.wplan-t { font-size: 13px; color: var(--ink-2); }
.wplan-btns .btn { width: 100%; }
.wplan-ok { display: flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 600; font-size: 14px; }
.wplan-ok svg { width: 18px; height: 18px; flex: none; }
.zip-bottom { margin-top: 28px; }
/* the plan: 5 equal slots in one ink, darkest = the first story (no traffic-light colours) */
.wbar { gap: 4px; height: 14px; }
.wbar span { flex: 1; border-radius: 4px; }
.wbar-0 { background: var(--ink); } .wbar-1 { background: var(--ink-3); } .wbar-2 { background: var(--rule); }
.wplan-t { display: flex; flex-direction: column; gap: 4px; }
.wleg { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
.wleg i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.rate.r-new { background: var(--card); color: var(--ink); border: 1px solid var(--rule); }

/* what's working, BE 6 (owner, Nov 14 2026) */
.wwin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wwin-t { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #0B0A08; }
.wwin-t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwin-t::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.wwin-tag { position: absolute; z-index: 1; left: 8px; top: 8px; background: var(--ok); color: #fff; border-radius: 6px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.wwin-v { position: absolute; z-index: 1; left: 10px; bottom: 9px; color: #fff; font: 800 20px/1 var(--display); }
.wline { margin: 0; font-size: 14px; line-height: 1.45; }
.wrow-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wrow-h b { font-size: 16px; } .wrow-h span { font-size: 12px; color: var(--ink-3); }
.wvids { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.wvids::-webkit-scrollbar { display: none; }
.wv { position: relative; flex: none; width: 54px; height: 80px; border-radius: 8px; overflow: hidden; background: #0B0A08; display: block; }
.wv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wv::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.wv-v { position: absolute; z-index: 1; left: 4px; bottom: 3px; color: #fff; font-size: 11px; font-weight: 700; }
.wv-new { position: absolute; z-index: 1; right: 3px; top: 3px; background: var(--card); color: var(--ink); border-radius: 4px; padding: 0 4px; font-size: 9px; font-weight: 700; }
.wavg { display: flex; align-items: center; gap: 8px; }
.wavg-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--rule); overflow: hidden; }
.wavg-bar i { display: block; height: 100%; border-radius: 4px; background: var(--ink-3); }
.wavg.w-good .wavg-bar i { background: var(--ok); } .wavg.w-mid .wavg-bar i { background: var(--soon); } .wavg.w-low .wavg-bar i { background: var(--down); }
.wavg b { font: 800 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.wavg > span { font-size: 12px; color: var(--ink-3); }

/* new home preview #/home2 (owner, Nov 14 2026) */
.h2-preview { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); }
.h2-rec { margin-top: 12px; background: var(--dark); color: var(--on-dark); border-radius: 18px; overflow: hidden; }
.h2-car { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h2-car::-webkit-scrollbar { display: none; }
.h2-sl { flex: 0 0 100%; box-sizing: border-box; scroll-snap-align: start; padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.h2-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #B9AE9C; font-weight: 600; }
.h2-big { font: 800 64px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.h2-l { font-size: 16px; } .h2-s { font-size: 13px; color: #B9AE9C; min-height: 18px; }
.hc-line { width: 100%; height: 60px; margin-top: 8px; }
.hc-line polyline { fill: none; stroke: #63C891; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.h2-dots { display: flex; gap: 6px; align-items: center; padding: 4px 18px 14px; }
.h2-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(251, 243, 228, .35); cursor: pointer; transition: width .2s; }
.h2-dots button.on { width: 22px; background: var(--on-dark); }
.h2-dots span { margin-left: auto; font-size: 12px; color: #B9AE9C; }
.h2-next { margin-top: 14px; display: flex; gap: 12px; align-items: center; padding: 12px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.h2-next img { width: 74px; height: 120px; object-fit: cover; border-radius: 10px; flex: none; }
.h2-next h2 { font-size: 22px; margin: 2px 0 8px; }
.h2-next .kicker { margin: 0; }
.h2-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.h2-page { padding: 12px; text-decoration: none; color: var(--ink); }
.h2-pt { display: flex; gap: 10px; align-items: center; min-width: 0; }
.h2-pt .avatar { width: 42px; height: 42px; }
.h2-pt div { min-width: 0; } .h2-pt b { display: block; font-size: 15px; } .h2-pt span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2-st { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 10px; }
.h2-st div { background: var(--paper); border-radius: 9px; padding: 7px 4px; text-align: center; }
.h2-st div.hot { background: var(--soon-bg); }
.h2-st b { display: block; font: 800 19px/1.1 var(--display); } .h2-st span { font-size: 10px; color: var(--ink-2); }
.h2-top { overflow: hidden; }
.h2-tr { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.h2-tr img, .h2-ph { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: var(--rule); }
.h2-n { width: 22px; font-family: var(--display); }
.h2-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .h2-tt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2-tt span { font-size: 12px; color: var(--ok); font-weight: 600; }
.h2-tv { font: 800 17px/1 var(--display); font-variant-numeric: tabular-nums; }
.h2-tr.me { background: var(--soon-bg); } .h2-tr.me .h2-tt span { color: var(--soon); }
.h2-gap { text-align: center; color: var(--ink-3); font-size: 12px; padding: 4px; }
.h2-all > summary { list-style: none; text-align: center; font-weight: 700; font-size: 14px; padding: 12px; cursor: pointer; }
.h2-all > summary::-webkit-details-marker { display: none; }
.h2-all[open] > summary { border-bottom: 1px solid var(--rule); }
.h2-more > a, .h2-more > details > summary { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.h2-more > * + * { border-top: 1px solid var(--rule); }
.h2-more > details > summary::-webkit-details-marker { display: none; }
.h2-more span { color: var(--ink-3); font-weight: 400; font-size: 20px; }
.h2-more details > section, .h2-more details > .panel { margin: 0 12px 12px; }
.stale-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--soon-bg); color: var(--soon); font-size: 13px; font-weight: 600; line-height: 1.4; }
.adminreq .custlink span { word-break: break-all; }
.adminreq .custlink a { color: inherit; text-decoration: underline; }
.adminreq .joinpic { display: flex; gap: 12px; align-items: center; margin: 6px 0 8px; color: inherit; text-decoration: none; }
.adminreq .joinpic img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.adminreq .joinpic span { font-size: 14px; line-height: 1.35; }

/* Nov 15 2026: post links, "New" tag, promo "used" timeline */
.chip.new { background: #16A34A; color: #fff; margin-left: 6px; box-shadow: 0 0 0 2px rgba(22,163,74,.25); }
.linkrow { margin: 8px 0 2px; }
.linkrow .linkbtn { width: 100%; justify-content: center; }
.post.is-focus { animation: postFocus 2.4s ease-out 1; }
@keyframes postFocus { 0%, 35% { box-shadow: 0 0 0 3px var(--signal); } 100% { box-shadow: 0 0 0 0 transparent; } }
.promo-count { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.promo-used { margin-top: 14px; }
.promo-used > summary { cursor: pointer; font-weight: 700; padding: 10px 0; color: var(--ink-2); }

/* "get a ping on new videos" card at the top of an installed page (Nov 15 2026) */
.nudge { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 8px 0 14px; border-left: 4px solid #16A34A; }
.nudge p { margin: 0; flex: 1; font-size: 14px; line-height: 1.35; }
.nudge p b { display: block; }
.nudge p span { opacity: .7; font-size: 13px; }
.nudge .btn { flex: none; }

/* send one video back to improve (Nov 20 2026) */
.redo-open { margin-top: 12px; }
.redo-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.redo-form textarea { width: 100%; box-sizing: border-box; min-height: 88px; padding: 12px; border: 1.5px solid var(--rule); border-radius: 12px; background: transparent; color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.redo-form textarea::placeholder { color: var(--ink-3); opacity: 1; }
.redo-form textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.redo-form .hint { margin: 0; }
.redo-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.redo-box { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--soon-bg); color: var(--soon); display: grid; gap: 4px; font-size: 14px; }
.redo-box b { font-size: 15px; }
.redo-note { margin: 4px 0 0; font-style: italic; color: var(--ink-2); overflow-wrap: anywhere; }
.post.is-redo .player { opacity: .55; }
.redo-form[hidden], .redo-open[hidden] { display: none; }

/* bonus pictures + stories (Nov 21 2026) */
.bonus-h { margin: 2px 0 12px; }
.bonus-card { display: grid; gap: 10px; margin-bottom: 14px; }
.bonus-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.bonus-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.bonus-tile { flex: 0 0 150px; margin: 0; display: grid; gap: 6px; scroll-snap-align: start; position: relative; }
.bonus-tile img { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; display: block; }
.bonus-tile figcaption { position: absolute; top: 6px; left: 6px; background: rgba(11,10,8,.75); color: #FBF3E4; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.bonus-cap { white-space: pre-wrap; font-size: 14px; line-height: 1.45; background: var(--paper); border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
.bonus-pic { grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
.bonus-pic > img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.bonus-pic-body { display: grid; gap: 8px; min-width: 0; }
.bonus-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bonus-sub { margin-top: 6px; }
.bonus-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bonus-story { margin: 0; display: grid; gap: 6px; background: var(--card); border-radius: var(--radius); padding: 8px; }
.bonus-story img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; display: block; }
.bonus-story figcaption { display: grid; gap: 2px; font-size: 13px; }
.bonus-story figcaption span { color: var(--ink-2); }

/* viral scenes (Nov 21 2026) */
.flame { flex-shrink: 0; vertical-align: -2px; }
.chip.viral { background: var(--signal); color: var(--on-signal); display: inline-flex; align-items: center; gap: 5px; }
.viral-strip { border: 2px solid var(--signal); border-radius: var(--radius); background: var(--card); padding: 16px; display: grid; gap: 8px; }
.viral-strip h2 { margin: 0; }
.viral-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.viral-sub { margin: 0; color: var(--ink-2); font-size: 14px; }
.viral-preview { margin: 0; font-size: 12px; font-weight: 700; color: var(--soon); background: var(--soon-bg); border-radius: 8px; padding: 6px 10px; }
.viral-cards { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.viral-card { flex: 0 0 150px; display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.viral-thumb { position: relative; display: block; }
.viral-thumb img { width: 150px; aspect-ratio: 9 / 16; height: auto; max-height: 230px; object-fit: cover; border-radius: 12px; display: block; }
.viral-thumb b { position: absolute; left: 8px; bottom: 8px; background: rgba(11,10,8,.82); color: #FBF3E4; font-size: 12px; padding: 3px 8px; border-radius: 8px; }
.viral-title { font-weight: 700; font-size: 14px; line-height: 1.25; }
.post.is-viral { border: 2px solid var(--signal); }
.viral-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--signal) 14%, var(--card)); color: var(--ink); margin-bottom: 12px; }
.viral-note .flame { width: 22px; height: 22px; color: var(--signal); }
.viral-note div { display: grid; gap: 3px; font-size: 14px; }
.viral-note span { color: var(--ink-2); line-height: 1.4; }

/* system load pill in the top bar (owner, Nov 21 2026): green / orange / red, no numbers */
.mast .brand { margin-right: auto; }
.sys {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(251, 243, 228, 0.18); border-radius: 999px;
  padding: 6px 12px 6px 10px; background: rgba(251, 243, 228, 0.06); color: var(--on-dark);
  font: 700 13px/1 var(--body); cursor: pointer; white-space: nowrap;
}
.sys-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sys-bars i { display: block; width: 4px; border-radius: 1px; background: rgba(251, 243, 228, 0.22); }
.sys-bars i:nth-child(1) { height: 5px; } .sys-bars i:nth-child(2) { height: 8px; } .sys-bars i:nth-child(3) { height: 12px; }
.sys.is-green { --sys: #63C891; } .sys.is-orange { --sys: #E7B35A; } .sys.is-red { --sys: #FF6B7A; }
.sys .sys-label { color: var(--sys); }
.sys.is-green .sys-bars i:nth-child(1),
.sys.is-orange .sys-bars i:nth-child(-n+2),
.sys.is-red .sys-bars i { background: var(--sys); }
.syspanel {
  position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 19;
  background: var(--dark); color: var(--on-dark); border-top: 1px solid rgba(251, 243, 228, 0.12);
  padding: 10px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  font: 500 14px/1.45 var(--body);
}
.syspanel b { color: var(--sys, var(--on-dark)); }
@media (max-width: 380px) { .brand-name { font-size: 19px; } .sys { padding: 6px 9px; } }
.sys[hidden], .syspanel[hidden] { display: none; }

/* extras shortcut under the page header (owner, Nov 21 2026: highlighted, impossible to miss) */
.extras-link {
  display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 14px 14px 12px; text-decoration: none;
  background: var(--signal); color: var(--on-signal); border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.extras-link:active { background: var(--signal-press); }
.extras-link[hidden] { display: none; }
.extras-thumbs { display: flex; flex: none; }
.extras-thumbs img { width: 46px; height: 60px; object-fit: cover; border-radius: 9px; border: 2px solid var(--on-signal); display: block; }
.extras-thumbs img + img { margin-left: -18px; }
.extras-thumbs img:nth-child(1) { transform: rotate(-6deg); } .extras-thumbs img:nth-child(3) { transform: rotate(6deg); }
.extras-text { display: grid; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--on-signal); }
.extras-kick { font: 700 11px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.extras-text b { font: 800 17px/1.15 var(--display); letter-spacing: -0.01em; }
.extras-go { margin-left: auto; flex: none; font: 800 14px/1 var(--body); background: var(--on-signal); color: var(--signal); padding: 9px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 380px) { .extras-go { padding: 8px 10px; font-size: 13px; } .extras-thumbs img { width: 40px; height: 52px; } }
.queue-more { margin-top: 14px; }
.queue-more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none;
  padding: 14px 16px; border: 1.5px dashed var(--rule); border-radius: 12px; font-weight: 700; color: var(--ink-2);
}
.queue-more > summary::-webkit-details-marker { display: none; }
.queue-more-n { font-weight: 600; color: var(--ink-3); font-size: 14px; }
.queue-more[open] > summary { margin-bottom: 14px; }
.queue-more[open] .queue-more-n::after { content: " · hide"; }

/* New characters in the making (Nov 26 2026): a count, then a sideways strip of the newest finds. Amber chip = coming soon. */
.nc { padding: 16px 0 14px; overflow: hidden; }
.nc-head { display: flex; align-items: center; gap: 12px; padding: 0 16px 12px; }
.nc-big { font: 800 44px/0.9 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.nc-l { display: flex; flex-direction: column; gap: 2px; }
.nc-l b { font-size: 15px; }
.nc-l span { font-size: 13px; color: var(--ink-2); }
.nc-strip { list-style: none; margin: 0; padding: 0 16px 4px; display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.nc-c { flex: 0 0 120px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nc-f { position: relative; display: block; width: 120px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden;
  background: var(--rule); }
.nc-f img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nc-chip { position: absolute; left: 6px; bottom: 6px; margin: 0; font-size: 10px; padding: 2px 6px; }
.nc-n { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-i { font-size: 12px; line-height: 1.3; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-t { font-size: 11px; color: var(--ink-3); }
.nc-plus { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--soon-bg); color: var(--soon); border: 1.5px dashed var(--soon); }
.nc-plus b { font: 800 30px/1 var(--display); }
.nc-plus span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nc-strip > .nc-c:first-child { margin-left: 16px; }
.nc-strip > .nc-c:last-child { margin-right: 16px; }
.nc-strip { padding-left: 0; padding-right: 0; scroll-padding-left: 16px; }

/* #/join2 plan step (Nov 26 2026) */
.jincl ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.jincl li { line-height: 1.4; }
.jplan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
.jplan-top > b { font-size: 18px; }
.jplan-price { white-space: nowrap; color: var(--ink-2); }
.jplan-price b { font-size: 24px; color: var(--ink); }
.jplan-line { color: var(--ink-2); line-height: 1.4; }
.jterms { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 4px; line-height: 1.4; cursor: pointer; }
.jterms input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.jfine { margin-top: 10px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.jtrial { margin: 4px 0 10px; font-size: 17px; }

/* tap a new character = watch its reel (Nov 26 2026) */
.nc-btn { all: unset; display: flex; flex-direction: column; gap: inherit; cursor: pointer; width: 100%; }
.nc-btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 12px; }
.nc-f { position: relative; }
.nc-play { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--signal); color: var(--on-signal);
  display: grid; place-items: center; font-style: normal; font-size: 12px; box-shadow: 0 2px 8px #0006; }
.ncview { position: fixed; inset: 0; z-index: 200; background: #000c; display: grid; place-items: center; padding: 16px; }
.ncview[hidden] { display: none; }
.ncview-box { position: relative; width: min(400px, 100%); height: min(720px, calc(100dvh - 32px)); background: #000; border-radius: 14px; overflow: hidden; }
.ncview-f, .ncview-f iframe { width: 100%; height: 100%; border: 0; display: block; }
.ncview-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #ffffffd9; color: #000; font: 400 26px/40px sans-serif; cursor: pointer; }
body.ncview-on { overflow: hidden; }

/* section feedback (Nov 26 2026) */
.fbw { margin-top: 14px; padding: 10px 12px; border: 1px dashed var(--rule); border-radius: 12px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 8px 12px; background: color-mix(in srgb, var(--card) 70%, transparent);
  transition: opacity .35s, transform .35s; }
.fbw-q { font-size: 14px; color: var(--ink-2); min-width: 0; }
.fbw-q b { color: var(--ink); font-weight: 600; }
.fbw-b { display: flex; gap: 8px; }
.fbw-t { width: 44px; height: 40px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); font-size: 20px; cursor: pointer;
  display: grid; place-items: center; transition: transform .15s, background .15s; }
.fbw-t:active { transform: scale(.92); }
.fbw-t.on { background: var(--signal); border-color: var(--signal); }
.fbw.is-open { display: block; border-style: solid; }
.fbw-thx { margin: 0 0 8px; font-weight: 600; }
.fbw-thx span { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.fbw-end { margin: 0; }
.fbw-opts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.fbw-o { border: 1px solid var(--rule); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: 500 13px/1.2 var(--body); cursor: pointer; }
.fbw-o.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fbw-txt { width: 100%; box-sizing: border-box; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink);
  font: 400 15px/1.4 var(--body); padding: 9px 11px; resize: vertical; }
.fbw-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.fbw-skip, .fbn-later { background: none; border: 0; color: var(--ink-2); font: 500 14px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fbw-gone { opacity: 0; transform: scale(.97); }
@keyframes fbpulse { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 40% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--signal) 45%, transparent); } }
.fbw-pulse { animation: fbpulse 1.1s ease 2; border-color: var(--signal); }
.fbnudge { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.fbnudge[hidden] { display: none; }
.fbn-in { pointer-events: auto; max-width: 520px; margin: 0 auto; background: var(--dark); color: var(--on-dark); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 10px 30px #0006; display: grid; gap: 6px; animation: fbup .35s ease; }
@keyframes fbup { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.fbn-in > b { font: 800 18px/1.2 var(--display); }
.fbn-in > span { font-size: 14px; line-height: 1.4; opacity: .85; }
.fbn-bar { height: 6px; border-radius: 6px; background: #ffffff26; overflow: hidden; margin-top: 4px; }
.fbn-bar i { display: block; height: 100%; background: var(--signal); border-radius: 6px; }
.fbn-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.fbn-p { font-size: 13px; opacity: .75; margin-right: auto; }
.fbnudge .fbn-later { color: var(--on-dark); opacity: .8; }
.fbfab { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 110;
  display: flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 10px 14px; background: var(--ink); color: var(--paper);
  font: 600 14px/1 var(--body); box-shadow: 0 6px 18px #0005; cursor: pointer; }
.fbfab[hidden] { display: none; }
body:has(#fbNudge:not([hidden])) .fbfab { display: none; }
.fbsheet-wrap { position: fixed; inset: 0; z-index: 210; background: #000a; display: flex; align-items: flex-end; justify-content: center; }
.fbsheet-wrap[hidden] { display: none; }
.fbsheet { position: relative; width: min(520px, 100%); max-height: 92dvh; overflow: auto; background: var(--paper); color: var(--ink);
  border-radius: 18px 18px 0 0; padding: 20px max(16px, env(safe-area-inset-left, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)); animation: fbup .3s ease; }
.fbsheet h2 { font: 800 26px/1.1 var(--display); margin: 4px 0 6px; }
.fbsheet-sub { color: var(--ink-2); margin: 0 0 12px; }
.fbsheet-v { margin-bottom: 4px; }
.fbsheet-v .fbw-t { width: 56px; height: 48px; font-size: 24px; }
.fbsheet-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font: 400 24px/40px sans-serif; cursor: pointer; }
body.fbsheet-on { overflow: hidden; }

/* new characters v2 (Nov 26 2026): big cards in groups */
.nx { display: grid; gap: 22px; }
.nx-hero { position: relative; border-radius: 18px; padding: 18px 18px 16px; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.nx-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 55%, transparent), transparent 70%); pointer-events: none; }
.nx-live { display: inline-flex; align-items: center; gap: 7px; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.nx-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: nxlive 1.6s ease-in-out infinite; }
@keyframes nxlive { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.nx-num { display: flex; align-items: flex-end; gap: 10px; margin-top: 8px; }
.nx-num b { font: 800 64px/.85 var(--display); letter-spacing: -.03em; }
.nx-num span { font: 600 16px/1.2 var(--body); padding-bottom: 4px; max-width: 9em; }
.nx-sub { margin: 10px 0 0; font-size: 14px; opacity: .8; }
.nx-sub b { color: var(--signal); opacity: 1; }
.nx-pitch { margin: 10px 0 0; font-size: 14px; line-height: 1.4; opacity: .7; max-width: 34em; }
.nx-gh { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.nx-gh b { font: 800 22px/1.1 var(--display); }
.nx-gh span { font-size: 13px; color: var(--ink-2); }
.nx-row { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scrollbar-width: none; max-width: 100%; min-width: 0; }
.nx-row::-webkit-scrollbar { display: none; }
.nx-c { flex: 0 0 158px; scroll-snap-align: start; }
.nx-c.nx-big { flex-basis: 214px; }
.nx-btn { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  background: var(--card); cursor: pointer; box-shadow: 0 6px 18px #0003; transition: transform .2s; }
.nx-btn:active { transform: scale(.97); }
.nx-btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.nx-img, .nx-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 45%, #000c 100%); pointer-events: none; }
.nx-tag { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 4px 8px; border-radius: 999px; background: #000a; color: #fff;
  font: 700 10.5px/1 var(--body); letter-spacing: .04em; backdrop-filter: blur(4px); }
.nx-play { position: absolute; right: 8px; top: 8px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--signal); color: var(--on-signal);
  display: grid; place-items: center; font-size: 12px; box-shadow: 0 2px 8px #0006; }
.nx-txt { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: grid; gap: 4px; color: #fff; }
.nx-txt b { font: 800 16px/1.15 var(--display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 6px #0008; }
.nx-big .nx-txt b { font-size: 19px; }
.nx-txt i { font: italic 400 12.5px/1.3 var(--body); opacity: .9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 700px) { .nx-c { flex-basis: 180px; } .nx-c.nx-big { flex-basis: 240px; } }
@media (prefers-reduced-motion: reduce) { .nx-live i { animation: none; } }

/* phones: the character rows scroll sideways inside the page instead of widening it (Nov 26 2026) */
.nx { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.nx-grp, #newchars { min-width: 0; max-width: 100%; }
#newchars { overflow: hidden; }
/* collapse x on every section (Nov 26 2026) */
section.has-colx { position: relative; }
.colx { position: absolute; top: -4px; right: 0; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule);
  background: var(--card); color: var(--ink-2); font: 400 19px/1 sans-serif; display: grid; place-items: center; cursor: pointer; opacity: .75; }
.colx:hover, .colx:focus-visible { opacity: 1; color: var(--ink); }
section.is-col { display: none !important; }
.coltray { margin: 36px 0 8px; padding: 12px 14px; border: 1px dashed var(--rule); border-radius: 14px; }
.coltray-h { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.coltray-c { display: flex; flex-wrap: wrap; gap: 6px; }
.colchip { border: 1px solid var(--rule); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: 500 13px/1.2 var(--body); cursor: pointer; }

.ncview-box { display: flex; flex-direction: column; }
.ncview-f { flex: 1; min-height: 0; }
.ncview-out { display: block; text-align: center; padding: 12px; background: #111; color: #fff; font: 600 14px/1.2 var(--body); text-decoration: none; }
.ncview-out[hidden] { display: none; }

/* the whole frame is always visible (no zoomed crops): sharp picture on a blurred copy of itself */
.nx-img .nx-bgi { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(14px) brightness(.7); transform: scale(1.05); }
.nx-img .nx-fgi { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center 40%; }

/* views on a character + start a page with it (Nov 26 2026) */
.nx-views { justify-self: start; padding: 3px 8px; border-radius: 999px; background: var(--signal); color: var(--on-signal); font: 800 11.5px/1.2 var(--body); letter-spacing: .02em; }
.ncview-start { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; padding: 13px 12px; background: var(--signal); color: var(--on-signal);
  font: 800 16px/1.2 var(--body); cursor: pointer; }
.ncview-start small { font: 500 12px/1.2 var(--body); opacity: .8; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ncview-start[hidden] { display: none; }
.jchar { position: relative; display: block; width: min(260px, 70vw); aspect-ratio: 9 / 16; margin: 6px auto 18px; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px #0005; }
.jchar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 45%, #000c 100%); }
.jchar-img { position: absolute; inset: 0; overflow: hidden; }
.jchar-img img { position: absolute; }
.jchar-img .nx-bgi { inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(14px) brightness(.7); }
.jchar-img .nx-fgi { inset: 0; width: 100%; height: 100%; object-fit: contain; }
.jchar-txt { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: grid; gap: 5px; color: #fff; }
.jchar-txt b { font: 800 20px/1.15 var(--display); }
.jchar-txt i { font: italic 400 13px/1.3 var(--body); opacity: .9; }
.jchar-other { display: block; margin: 10px auto 0; background: none; border: 0; cursor: pointer; }
.nx-c { transition: flex-basis .45s ease; }
.nx-row { position: relative; }

/* live front-card effect (Nov 26 2026): one width for all, the scale is set per scroll frame by nxAuto */
.nx-c, .nx-c.nx-big { flex: 0 0 min(210px, 62vw); transition: none; transform-origin: center bottom; will-change: transform, opacity; }
.nx-c .nx-txt b { font-size: 18px; }
.nx-row { scroll-snap-type: x mandatory; gap: 6px; }
.nx-c { scroll-snap-align: start; }
@media (min-width: 700px) { .nx-c, .nx-c.nx-big { flex-basis: 230px; } }

/* the front card sits in the MIDDLE (owner, Nov 26 2026); side padding lets the first and last card reach the centre */
.nx-row { padding-left: calc(50% - min(105px, 31vw)); padding-right: calc(50% - min(105px, 31vw)); scroll-padding: 0; }
.nx-c { scroll-snap-align: center; transform-origin: center center; }
@media (min-width: 700px) { .nx-row { padding-left: calc(50% - 115px); padding-right: calc(50% - 115px); } }

/* #/join2 viral character picker (Nov 26 2026) */
.jp-tabs { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 14px -16px 4px; padding: 8px 16px; background: var(--paper); }
.jp-tabs::-webkit-scrollbar { display: none; }
.jp-tab { flex: none; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); text-decoration: none; font: 600 13px/1 var(--body); white-space: nowrap; }
.jp-tab i { font-style: normal; color: var(--ink-2); font-weight: 500; }
.jp-grp { margin-top: 22px; scroll-margin-top: 130px; }
.jp-top { padding: 14px; margin-left: -6px; margin-right: -6px; border-radius: 18px; border: 2px solid var(--signal); background: color-mix(in srgb, var(--signal) 8%, var(--paper)); }
.jp-gh { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 10px; }
.jp-gh b { font: 800 22px/1.1 var(--display); }
.jp-gh span:last-child { font-size: 13px; color: var(--ink-2); }
.jp-gh .obtag { position: static; margin-bottom: 4px; }
.jp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .jp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jp-c { min-width: 0; }
.jp-c .nx-txt b { font-size: 15px; }
.jp-more { margin-top: 12px; }
.jp-own { margin-top: 26px; display: grid; gap: 6px; justify-items: start; }
.jp-own span { color: var(--ink-2); font-size: 14px; }

/* the rows loop now (copies on both sides), so no big empty side padding */
.nx-row { padding-left: 0; padding-right: 0; }
@media (min-width: 700px) { .nx-row { padding-left: 0; padding-right: 0; } }
.nx-views { white-space: nowrap; }
.jp-c .nx-views { font-size: 10.5px; padding: 3px 7px; }

/* viral products (Nov 26 2026) */
.nx-hero-prod::after { background: radial-gradient(circle, color-mix(in srgb, #2fbf71 55%, transparent), transparent 70%); }
.jp-prod { padding: 14px; margin-left: -6px; margin-right: -6px; border-radius: 18px; border: 2px dashed var(--rule); }
.jprod { margin: 4px 0 14px; }
.jprod li { line-height: 1.45; }

.nx-num { flex-wrap: wrap; row-gap: 6px; }
.nx-num b { font-size: clamp(44px, 14vw, 64px); }
.nx-num span { min-width: 0; }

/* viral remakes (Nov 26 2026) */
.vrpromo .vr-in { border-radius: 18px; padding: 18px; background: var(--dark); color: var(--on-dark); display: grid; gap: 8px; position: relative; overflow: hidden; }
.vrpromo .vr-in::after { content: ""; position: absolute; left: -50px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 50%, transparent), transparent 70%); pointer-events: none; }
.vr-tag { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--signal); color: var(--on-signal); font: 800 12px/1.2 var(--body); }
.vrpromo h2 { font: 800 26px/1.1 var(--display); margin: 2px 0 0; color: var(--on-dark); }
.vrpromo p { margin: 0; line-height: 1.45; opacity: .85; position: relative; z-index: 1; }
.vr-bar { height: 8px; border-radius: 8px; background: #ffffff26; overflow: hidden; }
.vr-bar i { display: block; height: 100%; width: var(--vr, 0%); background: var(--signal); border-radius: 8px; transition: width .5s; }
.vr-used { font-size: 13px; opacity: .75 !important; }
.vrpromo .btn { position: relative; z-index: 1; }
.vr-count { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; }
.vr-count b { font: 800 48px/1 var(--display); color: var(--signal); }
.vr-count small { color: var(--ink-2); }
.ncview-remake { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; padding: 12px; background: var(--dark); color: var(--on-dark);
  font: 800 15px/1.2 var(--body); cursor: pointer; border-top: 1px solid #ffffff22; }
.ncview-remake small { font: 500 12px/1.2 var(--body); opacity: .75; }
.ncview-remake[hidden] { display: none; }
.vr-choose { position: absolute; inset: 0; z-index: 5; background: var(--paper); color: var(--ink); overflow: auto; }
.vr-choose[hidden] { display: none; }
.vr-ch-in { padding: 18px 16px; }
.vr-ch-in h3 { font: 800 24px/1.1 var(--display); margin: 4px 0 6px; }
.vr-ch-sub { color: var(--ink-2); margin: 0 0 12px; }
.vr-ch-x { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); font: 400 24px/38px sans-serif; cursor: pointer; }
.vr-ch-in ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vr-pg { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); cursor: pointer; }
.vr-pg img, .vr-ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--rule); }
.vr-pg span { display: grid; gap: 2px; }
.vr-pg small { color: var(--ink-2); font-size: 12.5px; }
.vr-pg[disabled] { opacity: .5; }

/* product pitch v2 (Nov 26 2026) */
.nx-h { font: 800 26px/1.1 var(--display); margin: 10px 0 2px; color: var(--on-dark); position: relative; z-index: 1; }
.nx-pitch b { color: var(--on-dark); }
.nx-ticks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font: 600 14px/1.3 var(--body); position: relative; z-index: 1; }
.jsteps { list-style: none; counter-reset: js; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.jsteps li { counter-increment: js; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; }
.jsteps li::before { content: counter(js); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--signal); color: var(--on-signal);
  display: grid; place-items: center; font: 800 14px/1 var(--body); }
.jsteps b { font-size: 16px; }
.jsteps span { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.jnope { margin: 12px 0 0; font-weight: 700; }
.jhome { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 12px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); text-decoration: none; font: 600 14px/1 var(--body); }

/* launch card under the product rows (Nov 26 2026) */
.nx-launch { position: relative; overflow: hidden; border-radius: 20px; padding: 20px 18px 16px; color: #fff; display: grid; gap: 10px;
  background: linear-gradient(160deg, #1e7a4e 0%, #0f3f29 100%); box-shadow: 0 12px 30px #0005; }
.nx-launch::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, #ffffff33, transparent 70%); }
.nx-launch-tag { justify-self: start; padding: 5px 11px; border-radius: 999px; background: var(--signal); color: var(--on-signal); font: 800 13px/1.2 var(--body); position: relative; z-index: 1; }
.nx-launch h3 { margin: 0; font: 800 28px/1.08 var(--display); color: #fff; position: relative; z-index: 1; text-wrap: balance; }
.nx-launch p { margin: 0; line-height: 1.45; opacity: .92; position: relative; z-index: 1; }
.nx-launch ul { list-style: none; margin: 2px 0 4px; padding: 0; display: grid; gap: 7px; font: 600 15px/1.3 var(--body); position: relative; z-index: 1; }
.nx-launch-go { font-size: 18px; padding-block: 15px; position: relative; z-index: 1; }
.nx-launch-all { color: #fff; opacity: .85; text-align: center; font: 600 14px/1.2 var(--body); text-underline-offset: 3px; position: relative; z-index: 1; }
.nx-launch-char { background: linear-gradient(160deg, #6b2a12 0%, #2b1208 100%); }

/* BRM Post Kit name stays on one line (Nov 26 2026) */
.brand-name { white-space: nowrap; }
@media (max-width: 380px) { .brand-name { font-size: 18px; } }

/* two launch buttons under the remake card (Nov 26 2026) */
.vr-more { display: grid; gap: 10px; margin-top: 12px; }
.vr-opt { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; text-decoration: none; color: #fff; box-shadow: 0 8px 22px #0004; }
.vr-opt-char { background: linear-gradient(160deg, #6b2a12 0%, #2b1208 100%); }
.vr-opt-shop { background: linear-gradient(160deg, #1e7a4e 0%, #0f3f29 100%); }
.vr-opt-ic { width: 44px; height: 44px; border-radius: 12px; background: #ffffff22; display: grid; place-items: center; font-size: 22px; }
.vr-opt b { display: block; font: 800 17px/1.2 var(--display); }
.vr-opt small { display: block; margin-top: 3px; font: 600 13px/1.3 var(--body); opacity: .9; }
.vr-opt i { font-style: normal; font-size: 22px; font-weight: 800; }
.pnext { margin-top: 14px; }

/* idea box: tiles fill the width, long idea lists fold (Nov 26 2026) */
.ideatile { padding: 16px 14px; min-height: 92px; }
.ideatile b { font-size: 17px; }
.it-more > summary { list-style: none; cursor: pointer; text-align: center; padding: 12px; font: 700 14px/1.2 var(--body); color: var(--ink); border-top: 1px solid var(--rule); }
.it-more > summary::-webkit-details-marker { display: none; }
.it-more[open] > summary { color: var(--ink-2); }

/* store basket (Nov 27 2026) */
.jb-count { position: relative; display: grid; gap: 2px; padding: 12px 14px 16px; margin: 4px 0 12px; border-radius: 14px; background: var(--card, #fff1); border: 1px solid var(--line, #8883); overflow: hidden; }
.jb-count b { font-size: 1.05rem; }
.jb-count span { font-size: .9rem; opacity: .8; }
.jb-count i { position: absolute; left: 0; bottom: 0; height: 5px; width: var(--jb, 0%); background: var(--accent); transition: width .3s; }
.jb-count.is-ok i { background: #2f9e44; }
.jb-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.jb-it { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; background: var(--card, #fff1); border: 1px solid var(--line, #8883); }
.jb-img { width: 56px; height: 72px; border-radius: 9px; overflow: hidden; background: #0003; }
.jb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jb-txt { min-width: 0; display: grid; gap: 2px; }
.jb-txt b { font-size: .95rem; line-height: 1.25; overflow-wrap: anywhere; }
.jb-rm { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line, #8885); background: none; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.jb-add { margin-bottom: 8px; }
.jb-sent .jb-it { grid-template-columns: 44px 1fr; }
.jb-sent .jb-img { width: 44px; height: 56px; }
.jp-c .nx-btn.is-added { outline: 3px solid #2f9e44; outline-offset: -3px; }
.jb-mk { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 99px; background: #2f9e44; color: #fff; font-size: .75rem; font-weight: 700; z-index: 3; }
.jb-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(520px, calc(100vw - 24px));
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border: 0; border-radius: 16px; cursor: pointer;
  background: #222; color: #fff; font: inherit; box-shadow: 0 10px 30px #0006; }
.jb-bar.is-ok { background: #2f9e44; }

/* sale prices (Nov 27 2026) */
.jplan-price { display: grid; justify-items: end; gap: 2px; }
.jplan-was { color: var(--ink-2); font-size: 14px; text-decoration-thickness: 2px; text-decoration-color: #e03131; }
.jplan-off { font-style: normal; font-weight: 800; font-size: 12px; color: #fff; background: #e03131; padding: 2px 7px; border-radius: 99px; }
.jplan-old { display: flex; align-items: center; gap: 6px; }
.jsale { display: grid; gap: 3px; padding: 12px 14px; margin: 4px 0 10px; border-radius: 14px; background: #e031311f; border: 1px solid #e0313166; }
.jsale b { font-size: 1.05rem; }
.jsale span { font-size: .9rem; color: var(--ink-2); }

/* likes + wish list + reels (Nov 27 2026) */
.lk-host { position: relative; }
.lk { position: absolute; top: 8px; right: 8px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #0006; backdrop-filter: blur(4px);
  font-size: 18px; line-height: 36px; text-align: center; cursor: pointer; padding: 0; }
.lk.is-on { background: #fff; }
.jp-c .nx-tag, .nx-c .nx-tag { max-width: calc(100% - 56px); }
.lk-burst { position: fixed; z-index: 400; transform: translate(-50%, -50%); font-size: 34px; pointer-events: none; animation: lkb .8s ease-out forwards; }
.lk-burst.big { font-size: 90px; }
@keyframes lkb { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 25% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -120%) scale(1); } }
.ncview-like { display: block; width: 100%; padding: 11px; border: 0; background: #1c1c1c; color: #fff; font: 600 14px/1.2 var(--body); cursor: pointer; }
.ncview-like.is-on { background: #3a1016; }
.nx-reels { display: inline-block; margin-top: 4px; font-weight: 700; font-size: 13px; color: var(--accent); text-decoration: none; }
.nx-wish { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 99px; background: #e0313122; color: inherit; text-decoration: none; letter-spacing: 0; text-transform: none; font-weight: 700; }
.jp-gh .nx-reels { display: block; }
body.is-reels { overflow: hidden; }
.rl { position: fixed; inset: 0; z-index: 150; background: #000; color: #fff; }
.rl[hidden] { display: none; }
.rl-top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px; display: flex; align-items: center; gap: 8px;
  background: linear-gradient(#000c, #0000); }
.rl-x { flex: 0 0 38px; height: 38px; border-radius: 50%; background: #ffffff26; color: #fff; text-decoration: none; font: 400 26px/38px sans-serif; text-align: center; }
.rl-cats { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rl-cats::-webkit-scrollbar { display: none; }
.rl-cats a { flex: 0 0 auto; padding: 7px 12px; border-radius: 99px; background: #ffffff1f; color: #fff; text-decoration: none; font: 600 13px/1 var(--body); white-space: nowrap; }
.rl-cats a.is-on { background: #fff; color: #000; }
.rl-count { flex: 0 0 auto; font: 600 12px/1 var(--body); opacity: .75; }
.rl-list { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.rl-list::-webkit-scrollbar { display: none; }
.rl-s { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.rl-media { position: absolute; inset: 0; }
.rl-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(24px) brightness(.5); }
.rl-fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.rl-f { position: absolute; left: 0; right: 0; top: calc(56px + env(safe-area-inset-top, 0px)); bottom: 150px; z-index: 2; }
.rl-f:empty { display: none; }
.rl-f iframe { width: 100%; height: 100%; border: 0; background: #000; }
.rl-play { position: absolute; z-index: 3; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0;
  background: #ffffffe6; color: #000; font-size: 30px; padding-left: 6px; cursor: pointer; box-shadow: 0 10px 30px #0008; }
.rl-s.is-playing .rl-play { display: none; }
.rl-side { position: absolute; z-index: 4; right: 10px; bottom: 170px; display: grid; gap: 12px; }
.rl-btn { position: static; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #ffffff2e; backdrop-filter: blur(6px); color: #fff; font-size: 24px; line-height: 50px; cursor: pointer; padding: 0; }
.rl-btn.lk.is-on { background: #fff; }
.rl-txt { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 60px 74px calc(16px + env(safe-area-inset-bottom, 0px)) 14px; display: grid; gap: 5px;
  background: linear-gradient(#0000, #000d 45%); }
.rl-line { justify-self: start; padding: 4px 10px; border-radius: 99px; background: #1B8A4B; color: #fff; font: 700 13px/1.25 var(--body); }
.rl-txt b { font: 800 20px/1.2 var(--display, sans-serif); }
.rl-txt i { font-style: normal; opacity: .85; font-size: 14px; }
.rl-cta { justify-self: start; margin-top: 4px; padding: 11px 16px; border-radius: 12px; border: 0; background: #fff; color: #000; font: 700 14px/1.1 var(--body); cursor: pointer; }
.rl-empty .rl-txt { top: 40%; bottom: auto; background: none; text-align: center; padding: 16px; }
.lkwrap .jp-grid { margin-top: 8px; }

/* store pages (Nov 27 2026) */
.storebadge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: #2f9e44; color: #fff;
  font: 700 12px/1.2 var(--body); letter-spacing: 0; }
.storecard { margin: 14px 0; padding: 14px; border-radius: 16px; border: 1px solid #2f9e4466; background: #2f9e4414; display: grid; gap: 8px; }
.storecard-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.storecard-top .storebadge { margin-left: 0; }
.storecard-top b { font-size: 1.1rem; }
.storecard p { margin: 0; }
.storecard-go { display: flex; gap: 8px; flex-wrap: wrap; }
.storecard-go .btn { flex: 1 1 140px; }

/* reels v2: our own pager (Nov 27 2026) */
.rl { touch-action: none; overscroll-behavior: contain; }
.rl-top { touch-action: pan-x; }
.rl-stage { position: absolute; inset: 0; overflow: hidden; }
.rl-stage .rl-s { position: absolute; inset: 0; height: 100%; will-change: transform; }
.rl-list { display: none; }
.rl button, .rl a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.rl-f { top: calc(64px + env(safe-area-inset-top, 0px)); bottom: 190px; right: 70px; left: 8px; border-radius: 12px; overflow: hidden; }
.rl-side { bottom: 196px; gap: 10px; }
.rl-btn { width: 48px; height: 48px; line-height: 48px; font-size: 22px; }
.rl-play { width: 86px; height: 86px; font-size: 34px; }
.rl-hint { position: absolute; z-index: 6; left: 50%; bottom: calc(130px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); padding: 8px 14px;
  border-radius: 99px; background: #000a; color: #fff; font: 600 13px/1 var(--body); pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.rl-hint.is-gone { opacity: 0; }
.rl-s.is-playing .rl-fg { opacity: .18; }
.rl-s.is-playing .rl-txt i { display: none; }

/* a store page stands out in green everywhere (owner, Nov 27 2026: "highlight the whole product ... make it green") */
.pagecard.is-store { background: linear-gradient(160deg, #1f7a3a, #145a2a) !important; border: 2px solid #3ccf6a !important; color: #fff; box-shadow: 0 8px 26px #2f9e4455; }
.pagecard.is-store h3, .pagecard.is-store .handle, .pagecard.is-store .stat span, .pagecard.is-store .stat b, .pagecard.is-store .go span { color: #fff !important; }
.pagecard.is-store .stat { background: #ffffff1f !important; border-color: #ffffff33 !important; }
.pagecard.is-store .stat.hot b { color: #b6ffcb !important; }
.pagecard.is-store .storebadge { background: #fff; color: #146c2e; }
.pagecard.is-store .avatar { border: 2px solid #b6ffcb; }
.pagehead.is-store { padding: 14px; border-radius: 18px; background: linear-gradient(160deg, #1f7a3a, #145a2a); border: 2px solid #3ccf6a; color: #fff; }
.pagehead.is-store h1, .pagehead.is-store p, .pagehead.is-store b { color: #fff !important; }
.pagehead.is-store .storebadge { background: #fff; color: #146c2e; }

/* our own hosted videos (Nov 27 2026) */
.ncview-f video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.rl-s.is-local .rl-f { top: 0; bottom: 0; left: 0; right: 0; border-radius: 0; }
.rl-f video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.rl-s.is-local.is-playing .rl-fg, .rl-s.is-local.is-playing .rl-bg { opacity: 0; }

/* tap a card = reels at that video (Nov 27 2026): second button, the page chooser over the reels, and a phone-shaped
   column on wide screens (tablets, foldables, desktop) so the video is never cropped */
.rl-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rl-ctas .rl-cta { margin-top: 0; }
.rl-remake { background: #ffffff26; color: #fff; backdrop-filter: blur(6px); }
.rl-remake small { opacity: .75; font-weight: 600; }
.rl > .vr-choose { z-index: 20; touch-action: pan-y; }
@media (min-aspect-ratio: 2/3) {
  .rl-stage { left: 50%; right: auto; width: min(100vw, calc(100dvh * 9 / 16)); transform: translateX(-50%); }
  .rl > .vr-choose { left: 50%; right: auto; width: min(100vw, 480px); transform: translateX(-50%); }
}

/* reels rail like Instagram (owner, Nov 27 2026: "on right side like reels have"): icon + number under it */
.rl-side { right: 8px; gap: 14px; justify-items: center; }
.rl-a { display: grid; justify-items: center; gap: 3px; }
.rl-a small { font: 700 12px/1 var(--body); color: #fff; text-shadow: 0 1px 3px #000c; }
.rl-a .rl-btn { background: transparent; backdrop-filter: none; width: 44px; height: 44px; line-height: 44px; font-size: 30px; filter: drop-shadow(0 1px 3px #0009); }
.rl-a .rl-btn.lk.is-on { background: transparent; }
.rl-stat i { font-style: normal; font-size: 22px; line-height: 44px; height: 44px; color: #fff; filter: drop-shadow(0 1px 3px #0009); }
.rl-arrows { display: none; gap: 10px; }
@media (hover: hover) and (pointer: fine) { .rl-arrows { display: grid; } }
.rl-a .rl-btn.lk.pop { animation: rlpop .35s ease; }
@keyframes rlpop { 50% { transform: scale(1.35); } }

/* UGC for your product (Nov 27 2026) */
.ugcwrap .nx{margin:14px 0 18px}
.ugcform{display:grid;gap:14px;padding:18px 16px}
.ugcform label{display:grid;gap:6px;font-weight:700;font-size:15px}
.ugcform label small{font-weight:500;color:var(--muted,#8a8173)}
.ugcform input,.ugcform textarea{width:100%;padding:12px 13px;border-radius:12px;border:1.5px solid var(--line,#d9d2c4);background:var(--paper,#fff);color:inherit;font:500 16px/1.3 inherit;font-family:inherit}
.ugcform .userbox{display:flex;align-items:center;gap:4px}
.ugcform .userbox input{flex:1;min-width:0}
.ugcform .jterms{display:flex;gap:8px;align-items:center;font-weight:500}
.ugcform .jterms input{width:auto}
.nx-launch-ugc{border-color:var(--ink)}

.vr-opt-ugc { background: linear-gradient(160deg, #2b3f8f 0%, #16204a 100%); }

/* reels sound button (Nov 27 2026) */
.rl-snd{flex:0 0 38px;height:38px;border-radius:50%;border:0;background:#ffffff26;color:#fff;font-size:18px;line-height:38px;cursor:pointer;padding:0}
.rl-snd.is-on{background:#fff}

/* landscape videos in reels: whole picture, blurred poster behind (Nov 27 2026) */
.rl-f video.is-wide{object-fit:contain;background:transparent}
.rl-s.is-playing .rl-fg{opacity:.18}

/* stats of a posted post (Nov 27 2026) */
.pxs{display:grid;gap:12px;margin-bottom:12px;padding:16px;border:1.5px solid var(--accent)}
.pxs-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.pxs-top .kicker{margin:0}
.pxs-big{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pxs-big b{font:800 44px/1 var(--display,inherit);letter-spacing:-.02em}
.pxs-big span{color:var(--muted,#8a8173);font-size:14px}
.pxs-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pxs-row div{border-radius:12px;padding:10px;background:var(--line-soft,#00000008);display:grid;gap:2px}
.pxs-row b{font:800 20px/1.1 var(--display,inherit)}.pxs-row span{font-size:12px;color:var(--muted,#8a8173)}
.pxs-x{margin:0;font-weight:800;font-size:16px}
.pxs-x.up{color:#1f9d55}.pxs-x.down{color:#b45309}
.pxs-chart{display:grid;gap:4px}
.pxs-bars{position:relative;height:96px;display:flex;align-items:flex-end;gap:2px}
.pxs-bars i{flex:1;min-width:3px;border-radius:3px 3px 0 0;background:#bdb5a6}
.pxs-bars i.on{background:var(--accent)}
.pxs-bars i.fr{opacity:.45}
.pxs-typ{position:absolute;left:0;right:0;border-top:1.5px dashed #6b6456;pointer-events:none}
.pxs-typ em{position:absolute;right:0;top:-18px;font:600 11px/1 inherit;font-style:normal;color:var(--muted,#8a8173);background:var(--card,#fff);padding:1px 4px;border-radius:4px}
.pxs-axis{display:flex;justify-content:space-between;font-size:11px;color:var(--muted,#8a8173)}
.pxs-say{margin:0;font-size:15px;line-height:1.4}
.pxs-wait p{margin:0}
.pbest{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:6px 0 10px;padding:12px 14px;border-radius:14px;border:1.5px solid var(--accent);background:color-mix(in srgb, var(--accent) 8%, transparent);color:inherit;font:inherit;text-align:left;cursor:pointer}
.pbest-l{display:grid;gap:2px}.pbest-l span{font-size:13px;color:var(--muted,#8a8173)}
.pbest-go{font-weight:800;color:var(--accent);white-space:nowrap}

.pxs-x.up::before,.pxs-x.down::before{content:none!important}
.pxs-key{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted,#8a8173)}
.pxs-key i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.pxs-key i.k-on{background:var(--accent)}.pxs-key i.k-off{background:#bdb5a6}
.pxs-key i.k-typ{width:14px;height:0;border-top:1.5px dashed #6b6456;border-radius:0;vertical-align:3px}

.pxs-best{border:1.5px solid var(--accent);border-radius:12px;padding:10px;background:color-mix(in srgb, var(--accent) 7%, transparent);display:grid;gap:2px;text-align:left;font:inherit;color:inherit;cursor:pointer}
.pxs-best b{font:800 20px/1.1 var(--display,inherit)}.pxs-best span{font-size:12px;color:var(--accent);font-weight:700}

/* accounts on postkit.bigreachmedia.co (Nov 27 2026) */
.acct-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ffffff55; background: transparent; color: var(--on-dark);
  font: 600 15px/1 var(--display); cursor: pointer; }
.acct-btn:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.acct-btn[hidden] { display: none; }
.acct-menu { position: fixed; z-index: 40; top: calc(58px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  min-width: 220px; padding: 8px; display: grid; gap: 2px; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.acct-menu a, .acct-menu button { display: block; text-align: left; padding: 11px 12px; border-radius: 10px; border: 0; background: none;
  color: var(--ink); font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--paper); }
.acct-mail { margin: 4px 12px 8px; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.auth { max-width: 420px; margin: 0 auto; padding: 28px 0 40px; }
.auth-mark { color: var(--ink); margin-bottom: 18px; }
.auth-mark svg { width: 86px; height: auto; }
.auth h1 { font: 300 32px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
.auth-lead { color: var(--ink-2); margin: 0 0 18px; }
.auth-form { display: grid; gap: 8px; padding: 18px; }
.auth-form label { font: 600 13px/1.2 var(--body); letter-spacing: .04em; color: var(--ink-2); margin-top: 6px; }
.auth-form input { font: 16px/1.3 var(--body); padding: 13px 14px; border-radius: 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); width: 100%; }
.auth-form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.auth-form .btn { margin-top: 10px; }
.auth-err { margin: 4px 0 0; color: var(--down); font-weight: 600; font-size: 14px; }
.auth-alt { margin: 16px 0 0; font-size: 15px; }
.acct-empty { display: grid; gap: 12px; justify-items: start; }
.acct-empty ul { margin: 0; padding-left: 18px; }
.acct-list { display: grid; gap: 10px; margin-top: 14px; }
.acct-row { padding: 14px; display: grid; gap: 6px; min-width: 0; }
.acct-row b { overflow-wrap: anywhere; }
.acct-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acct-act select { font: 15px var(--body); padding: 8px; border-radius: 8px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); max-width: 100%; }
.acct-out { overflow-wrap: anywhere; font-family: ui-monospace, Consolas, monospace; }
.auth-mark .brand-mark { color: var(--ink); width: 86px; height: auto; }
