/* SOCIETY — red/black fsociety reskin, overrides theme.css */
:root,
html,
html[data-theme],
html[data-theme="dark"],
html[data-theme="light"] {
  --accent: #ff1a1a;
  --accent-1: #ff1a1a;
  --accent-2: #ff3838;
  --accent-ink: #0a0000;
  --accent-soft: rgba(255, 26, 26, 0.18);
  --accent-glow: rgba(255, 26, 26, 0.45);
  --brand: #ff1a1a;
  --brand-2: #c40000;
  --brand-ink: #ffffff;
  --link: #ff5a5a;
  --link-hover: #ff8080;
  --bg: #080304;
  --bg-0: #080304;
  --bg-1: #0f0608;
  --bg-2: #15080b;
  --bg-elev: #1a0a0e;
  --panel: #110608;
  --panel-2: #180a0d;
  --surface: #0f0608;
  --surface-2: #180a0d;
  --card: #120609;
  --card-2: #1a0a0e;
  --border: rgba(255, 26, 26, 0.22);
  --border-2: rgba(255, 26, 26, 0.35);
  --divider: rgba(255, 26, 26, 0.18);
  --hairline: rgba(255, 26, 26, 0.14);
  --ink: #fff2f2;
  --ink-2: #ffd8d8;
  --ink-3: #c99b9b;
  --mute: #9a7373;
  --mute-2: #7a5858;
  --text: #fff2f2;
  --text-dim: #d4a8a8;
  --text-mute: #9a7373;
  --ring: rgba(255, 26, 26, 0.55);
  --focus: #ff3838;
  --shadow: 0 10px 40px rgba(255, 0, 0, 0.18);
  --shadow-soft: 0 6px 24px rgba(255, 0, 0, 0.12);
  --glow: 0 0 40px rgba(255, 26, 26, 0.35);
  --ok: #ff4040;
  --warn: #ff9a3c;
  --err: #ff2a2a;
  color-scheme: dark;
}

html,
body { background: #080304; color: #fff2f2; }

body {
  background:
    radial-gradient(1100px 600px at 0% 15%, rgba(255, 26, 26, 0.45), transparent 60%),
    radial-gradient(1100px 600px at 100% 25%, rgba(255, 26, 26, 0.45), transparent 60%),
    radial-gradient(900px 500px at 50% 85%, rgba(196, 0, 0, 0.3), transparent 60%),
    linear-gradient(180deg, rgba(8,3,4,0.55), rgba(8,3,4,0.75) 40%, rgba(8,3,4,0.88) 100%),
    url("assets/society-banner.webp?v=2") center center / cover no-repeat fixed,
    #050102;
  position: relative;
}
/* Hairline red scanlines on wide viewports — fills the empty sides without competing with content. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 26, 26, 0.03) 0 1px, transparent 1px 3px),
    radial-gradient(60% 40% at 0% 50%, rgba(255, 26, 26, 0.12), transparent 70%),
    radial-gradient(60% 40% at 100% 50%, rgba(255, 26, 26, 0.12), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.6;
}
@media (max-width: 1100px) { body::before { display: none; } }

/* Hero: the banner sits behind the first screen too, but the panel darkens sharply so copy stays legible */
.lib-hero {
  position: relative;
  isolation: isolate;
}
.lib-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,3,4,0.25) 0%, rgba(8,3,4,0.55) 65%, rgba(8,3,4,0.85) 100%),
    url("assets/society-banner.webp?v=2") center 20% / cover no-repeat;
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
}
/* Side-bleed glow pillars on wide screens — extends the hero energy past the content column. */
@media (min-width: 1200px) {
  .lib-hero::after {
    content: "";
    position: absolute; top: 0; bottom: 0; left: -50vw; right: -50vw;
    z-index: -2; pointer-events: none;
    background:
      radial-gradient(45% 80% at 0% 50%, rgba(255, 26, 26, 0.2), transparent 70%),
      radial-gradient(45% 80% at 100% 50%, rgba(255, 26, 26, 0.2), transparent 70%);
  }
}
.lib-glow {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255, 26, 26, 0.45), transparent 70%),
    radial-gradient(40% 40% at 80% 40%, rgba(196, 0, 0, 0.3), transparent 70%);
}

/* Closing: use the banner too, darker, so the "We are finally free" panel reads as a continuation */
.closing { position: relative; isolation: isolate; }
.closing::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -50vw; right: -50vw;
  background:
    linear-gradient(180deg, rgba(8,3,4,0.7), rgba(8,3,4,0.9)),
    url("assets/society-banner.webp?v=2") center 70% / cover no-repeat;
  z-index: -1;
  opacity: 0.85;
}
@media (min-width: 1200px) {
  .closing::after {
    content: "";
    position: absolute; top: 0; bottom: 0; left: -50vw; right: -50vw;
    z-index: -2; pointer-events: none;
    background:
      radial-gradient(40% 70% at 0% 50%, rgba(255, 26, 26, 0.18), transparent 70%),
      radial-gradient(40% 70% at 100% 50%, rgba(255, 26, 26, 0.18), transparent 70%);
  }
}

/* FAQ section: give it its own full-bleed side glow on wide screens too. */
@media (min-width: 1200px) {
  .faq { position: relative; isolation: isolate; }
  .faq::before {
    content: "";
    position: absolute; top: -40px; bottom: -40px; left: -50vw; right: -50vw;
    z-index: -1; pointer-events: none;
    background:
      radial-gradient(35% 60% at 0% 50%, rgba(255, 26, 26, 0.14), transparent 70%),
      radial-gradient(35% 60% at 100% 50%, rgba(255, 26, 26, 0.14), transparent 70%);
  }
}

/* Header + glow */
.header, .header-inner { background: rgba(10, 3, 5, 0.65); border-color: rgba(255, 26, 26, 0.18); }
.lib-glow {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255, 26, 26, 0.35), transparent 70%),
    radial-gradient(40% 40% at 80% 40%, rgba(196, 0, 0, 0.25), transparent 70%);
}

/* Brand mark ring and dot */
.brand-ring circle { stroke: #ff1a1a; }
.brand-dot { color: #ff1a1a; }
.brand-word { color: #fff2f2; letter-spacing: 0.14em; }

/* Buttons: primary is light (fsociety reads strongest on near-white), Discord is dark with a red hairline */
.btn-primary {
  background: #f2eaea; color: #0a0000; border: 1px solid #f2eaea;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 30px -14px rgba(255,26,26,.35);
}
.btn-primary:hover { background: #ffffff; border-color: #ffffff; }
.btn-primary .btn-icon { background: #1a0a0e; color: #ffd8d8; }

/* Discord buttons: solid dark fill, no outline, Discord-blurple icon stays white, subtle red glow on hover.
   The header CTA is a flatter pill with a red icon chip; the hero CTA is heavier. */
.btn-discord {
  background: linear-gradient(180deg, #1c0a10, #110608) !important;
  color: #fff2f2 !important;
  border: 1px solid transparent !important;
  box-shadow: inset 0 1px 0 rgba(255, 90, 90, .12), 0 10px 28px -16px rgba(255, 26, 26, 0.55) !important;
  filter: none !important;
}
.btn-discord:hover {
  background: linear-gradient(180deg, #2a0b12, #160608) !important;
  box-shadow: inset 0 1px 0 rgba(255, 120, 120, .2), 0 0 0 1px rgba(255, 56, 56, 0.35), 0 18px 36px -16px rgba(255, 26, 26, 0.55) !important;
}
.btn-discord .btn-icon { background: #ff1a1a !important; color: #0a0000 !important; }

.discord-cta {
  background: #120507 !important;
  color: #fff2f2 !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
.discord-cta:hover {
  background: #1b070b !important;
  box-shadow: 0 10px 24px -14px rgba(255, 26, 26, 0.6) !important;
}
.discord-cta::after { display: none !important; }
.discord-cta .ico { color: #ff5a5a; }

.btn-ghost { border-color: rgba(255, 26, 26, 0.35); color: #fff2f2; background: transparent; }
.btn-ghost:hover { border-color: #ff3838; background: rgba(255, 26, 26, 0.08); }
.mkt-pill { border-color: rgba(255, 26, 26, 0.45); color: #fff2f2; background: rgba(255, 26, 26, 0.08); }
.mkt-pill b { background: #ff1a1a; color: #0a0000; }

/* Hero title: white -> red accent on the rotating word */
.rotator { color: #ff1a1a; text-shadow: 0 0 24px rgba(255, 26, 26, 0.55); }
.period { color: #ff1a1a; }
.hero-title { color: #fff2f2; }

/* Pack grid: give the whole board its own darker backdrop so the banner doesn't bleed through and wreck legibility */
.lib-board {
  position: relative;
  padding: 18px 16px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10,4,6,0.78), rgba(10,4,6,0.88));
  border: 1px solid rgba(255, 26, 26, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lib-board-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin: 0 0 14px; padding: 0 2px;
  flex-wrap: wrap;
}
.result-count { color: #ffd8d8; font-weight: 500; }
.result-count b { color: #fff2f2; }

/* Pack cards: solid dark fill, red hairline, stronger hover */
.pack-card, .pack, .pk, .card {
  background: linear-gradient(180deg, #160609, #0e0406) !important;
  border: 1px solid rgba(255, 26, 26, 0.22) !important;
}
.pack-card:hover, .pack:hover, .pk:hover, .card:hover {
  border-color: #ff3838 !important;
  box-shadow: 0 0 0 1px rgba(255, 56, 56, 0.35), 0 14px 40px -12px rgba(255, 26, 26, 0.45) !important;
}

/* Filter pills: dark track with red active state, breathable spacing */
.lib-filter {
  display: inline-flex; gap: 4px; padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 26, 26, 0.22);
  background: rgba(10, 4, 6, 0.6);
}
.lib-filter button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 10px 0 12px;
  border-radius: 9px; border: 0;
  color: #d4a8a8; background: transparent;
  font: 500 13px var(--font);
}
.lib-filter button:hover { color: #fff2f2; background: rgba(255, 26, 26, 0.08); }
.lib-filter button[aria-pressed="true"] {
  background: #ff1a1a; color: #0a0000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.lib-filter button[aria-pressed="true"] .lf-n {
  background: rgba(0,0,0,0.25); color: #0a0000;
}
.lib-filter .lf-n {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 26, 26, 0.18); color: #ffd8d8;
  font: 600 11px var(--font);
}

/* Gate + steps */
.lib-gate, .lib-note { border-color: rgba(255, 26, 26, 0.22); background: #110608; }
.lib-step .ls-n { background: rgba(255, 26, 26, 0.12); border-color: rgba(255, 26, 26, 0.35); color: #ff5a5a; }
.lib-step.is-done .ls-n { background: #ff1a1a; color: #0a0000; }

/* FAQ: the whole questions column gets its own panel so it stops reading as a cut-out on the busy backdrop */
.questions {
  padding: 8px 10px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 26, 26, 0.22) !important;
  background: linear-gradient(180deg, rgba(20,7,10,0.9), rgba(12,4,6,0.95)) !important;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,26,26,0.05);
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.questions details {
  border-bottom: 1px solid rgba(255, 26, 26, 0.14) !important;
  background: transparent !important;
  border-radius: 10px;
  transition: background .18s;
}
.questions details:last-of-type { border-bottom: 0 !important; }
.questions details:hover { background: rgba(255, 26, 26, 0.06) !important; }
.questions details[open] { background: rgba(255, 26, 26, 0.09) !important; }

.questions summary {
  display: grid !important;
  grid-template-columns: 1fr 40px !important;
  align-items: center;
  gap: 14px;
  padding: 22px 16px !important;
  color: #ffd8d8 !important;
  border-radius: 10px;
  cursor: pointer;
}
.questions summary:hover, .questions details[open] summary { color: #fff !important; }
.q-text { color: inherit; }

/* Answer: match the summary's horizontal inset so text doesn't look cut off at the left edge */
.answer p { padding: 0 60px 24px 16px !important; }

.q-icon {
  width: 36px !important; height: 36px !important;
  border: 1px solid rgba(255, 26, 26, 0.4) !important;
  background: rgba(255, 26, 26, 0.08) !important;
  color: #ffb3b3 !important;
}
.questions summary:hover .q-icon { border-color: #ff3838 !important; background: rgba(255, 26, 26, 0.18) !important; color: #fff !important; }
.questions details[open]:not(.is-closing) .q-icon {
  background: #ff1a1a !important; border-color: #ff1a1a !important; color: #0a0000 !important;
  box-shadow: 0 0 22px rgba(255, 26, 26, 0.5) !important;
}
.questions details[open]:not(.is-closing) .q-icon::before,
.questions details[open]:not(.is-closing) .q-icon::after { background: #0a0000 !important; }

.answer p { color: #d4a8a8 !important; }
.answer a { color: #ff5a5a !important; }
.answer a:hover { color: #ff8080 !important; }

.closing-panel { background: linear-gradient(180deg, rgba(255, 26, 26, 0.08), rgba(0, 0, 0, 0)) , #110608; border-color: rgba(255, 26, 26, 0.3); }

/* The "Looking for something else? [Ctrl K]" button */
.faq-ask {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 12px 12px 12px 16px !important;
  min-height: 46px;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 26, 26, 0.35) !important;
  background: rgba(20, 6, 8, 0.85) !important;
  color: #fff2f2 !important;
  font-size: 14px !important;
  box-shadow: 0 10px 22px -14px rgba(255, 26, 26, 0.5);
  cursor: pointer;
}
.faq-ask:hover {
  border-color: #ff3838 !important;
  background: rgba(30, 8, 12, 0.95) !important;
  color: #fff !important;
}
.faq-ask .ico { color: #ff5a5a !important; font-size: 16px !important; }

/* kbd chips: readable on dark panels and inside the faq-ask button */
kbd, .mod-key {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  min-width: 24px; height: 24px; padding: 0 9px !important;
  border-radius: 7px !important;
  border: 1px solid rgba(255, 90, 90, 0.4) !important;
  background: linear-gradient(180deg, #2a0a10, #170608) !important;
  color: #ffd8d8 !important;
  font: 600 11.5px "Geist Mono", ui-monospace, monospace !important;
  letter-spacing: .02em;
  line-height: 1 !important;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.45), inset 0 1px 0 rgba(255,120,120,.12) !important;
  white-space: nowrap;
}

/* The palette dialog: match the red theme */
.palette {
  background: linear-gradient(180deg, #110608, #0a0304) !important;
  border: 1px solid rgba(255, 26, 26, 0.35) !important;
  box-shadow: 0 30px 80px -20px rgba(255, 26, 26, 0.35), 0 0 0 1px rgba(255, 26, 26, 0.15) !important;
}
.palette-search { border-bottom: 1px solid rgba(255, 26, 26, 0.18); }
.palette-search input { color: #fff2f2; }
.palette-search input::placeholder { color: #9a7373; }
.palette-list [aria-selected="true"],
.palette-list [role="option"]:hover,
.palette-list .is-active {
  background: rgba(255, 26, 26, 0.12) !important;
  color: #fff !important;
}
.palette-foot { border-top: 1px solid rgba(255, 26, 26, 0.18); color: #c99b9b; }

/* Footer */
.footer, .footer-top, .footer-bottom { background: #0a0304; color: #d4a8a8; border-color: rgba(255, 26, 26, 0.18); }
.footer a { color: #ffb3b3; }
.footer a:hover { color: #ff5a5a; }
.footer-word span { color: rgba(255, 26, 26, 0.08); }

/* Dialogs */
.pack-page, .palette { background: #0a0304; border-color: rgba(255, 26, 26, 0.35); }

/* Links in body */
a { color: #ff5a5a; }
a:hover { color: #ff8080; }

/* Preloader */
.pl-fill { stroke: #ff1a1a; }
.pl-crack path { stroke: #ff1a1a; }
.pl-text, .pl-count { color: #fff2f2; }

/* Scroll progress bar */
.scroll-progress span { background: linear-gradient(90deg, #ff1a1a, #ff3838); }

/* YouTube button keeps its native red; Discord button is accent */
.discord-cta { background: #ff1a1a; color: #0a0000; border-color: #ff3838; }
.discord-cta:hover { background: #ff3838; }

/* Online dot */
.online-dot { background: #ff3838; box-shadow: 0 0 10px #ff1a1a; }

/* Soft accent text */
.soft { color: #c99b9b; }
.eyebrow, .mkt-eyebrow { color: #ff5a5a; letter-spacing: 0.18em; }

/* Hero mark: give the mask image a subtle red glow */
.brand-mark img, .closing-art img { filter: drop-shadow(0 0 10px rgba(255, 26, 26, 0.45)); }

/* Mobile menu */
.mobile-menu { background: #0a0304; }
.mobile-nav a { border-color: rgba(255, 26, 26, 0.18); color: #fff2f2; }
.mobile-nav a:hover { background: rgba(255, 26, 26, 0.08); }

/* ===== Cheats grid (slots into the same lib-board as the pack grid) === */
.ch-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 760px) { .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ch-card {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 26, 26, 0.22);
  background: linear-gradient(180deg, #160609, #0e0406);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ch-card[data-link]:hover,
.ch-card:not(.ch-add):hover { border-color: #ff3838; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 56, 56, 0.35), 0 14px 40px -12px rgba(255, 26, 26, 0.45); }
.ch-art { height: 130px; background-size: cover; background-position: center; background-color: #1a0709; }
.ch-card.is-soon { cursor: default; }
.ch-card.is-soon .ch-art { filter: grayscale(0.4) brightness(0.65); }
.ch-soon {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  background: rgba(255, 26, 26, 0.95); color: #0a0000;
  font: 700 11px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 6px 16px -6px rgba(255, 26, 26, 0.6);
}
.ch-soon i { width: 6px; height: 6px; border-radius: 50%; background: #0a0000; display: inline-block; box-shadow: 0 0 0 2px rgba(10,0,0,0.3); }
.ch-art-empty { display: grid; place-items: center; color: #ff5a5a; font: 700 42px "Geist Mono", ui-monospace, monospace; }
.ch-body { padding: 14px 16px 16px; }
.ch-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.ch-row h3 { margin: 0; font-size: 16px; color: #fff2f2; letter-spacing: -0.01em; }
.ch-body h3 { margin: 0 0 6px; font-size: 16px; color: #fff2f2; letter-spacing: -0.01em; }
.ch-body p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: #c99b9b; }
.ch-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-tags span {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 26, 26, 0.3); background: rgba(255, 26, 26, 0.06);
  color: #ffd8d8; font: 500 11px "Geist Mono", ui-monospace, monospace;
}
.ch-admin {
  position: absolute; top: 8px; right: 8px;
  display: flex; gap: 6px; opacity: 0; transition: opacity .15s;
}
.ch-card:hover .ch-admin { opacity: 1; }
.ch-admin button {
  padding: 4px 10px; border-radius: 7px; border: 1px solid rgba(255, 26, 26, 0.5);
  background: rgba(10, 4, 6, 0.9); color: #ffd8d8;
  font: 600 11px "Geist Mono", ui-monospace, monospace; cursor: pointer;
}
.ch-admin .ch-del { border-color: #ff3838; color: #ff8080; }
.ch-admin button:hover { background: #1a0709; color: #fff; }
.ch-empty { padding: 40px; text-align: center; color: #9a7373; }

/* "+ Add" tile — used in both grids */
.ch-add, .pk-add {
  display: grid !important; place-items: center !important;
  min-height: 170px;
  border: 1.5px dashed rgba(255, 26, 26, 0.4) !important;
  background: rgba(255, 26, 26, 0.04) !important;
  color: #ffb3b3;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.ch-add:hover, .pk-add:hover { border-color: #ff3838 !important; background: rgba(255, 26, 26, 0.1) !important; color: #fff; transform: none !important; box-shadow: none !important; }
.ch-plus { font-size: 46px; font-weight: 300; color: #ff5a5a; line-height: 1; margin-bottom: 8px; }
.ch-add-label { font: 500 13px "Geist", system-ui, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; }

/* Pack status badge — yellow Soon, green Active. Founders click it to flip. */
.pk-status {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 9px;
  border-radius: 999px;
  font: 500 11.5px/1 "Geist", system-ui, sans-serif;
  border: 1px solid rgba(245, 158, 11, .35);
  background: rgba(245, 158, 11, .08);
  color: #fcd34d;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
button.pk-status { cursor: pointer; }
.pk-status i { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; display: inline-block; transition: background .2s, box-shadow .2s; }
.pk-status.is-active {
  border-color: rgba(71, 230, 161, .4);
  background: rgba(71, 230, 161, .1);
  color: #8ef0c2;
}
.pk-status.is-active i { background: #47e6a1; box-shadow: 0 0 8px rgba(71, 230, 161, .8); }
button.pk-status:hover { border-color: currentColor; box-shadow: 0 0 0 3px rgba(255, 255, 255, .04); }
button.pk-status.is-active:hover { box-shadow: 0 0 0 3px rgba(71, 230, 161, .12); }

/* Status badge inside cheat cards */
.ch-status { border: 1px solid rgba(245, 158, 11, .3); background: rgba(245, 158, 11, .07); color: #fcd34d; }
.ch-status.is-soon i { background: #f59e0b; }
.ch-status.is-active { border-color: rgba(71, 230, 161, .35); background: rgba(71, 230, 161, .09); color: #8ef0c2; }
.ch-status.is-active i { background: #47e6a1; box-shadow: 0 0 8px rgba(71, 230, 161, .7); }
button.ch-status { cursor: pointer; font: inherit; }
button.ch-status:hover { border-color: currentColor; }

/* Status toggle in the pack / cheat editor */
.st-seg { display: inline-flex; gap: 6px; padding: 4px; border-radius: 11px; border: 1px solid rgba(255, 26, 26, .25); background: rgba(8, 3, 4, .6); }
.st-seg button {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 8px;
  border: 1px solid transparent; background: transparent; color: #c99b9b;
  font: 600 12.5px "Geist", system-ui, sans-serif; letter-spacing: .03em; cursor: pointer;
  transition: color .18s, background .18s, border-color .18s;
}
.st-seg button i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.st-seg button:hover { color: #fff; }
.st-seg button[data-v=active].on { color: #8ef0c2; border-color: rgba(71, 230, 161, .45); background: rgba(71, 230, 161, .12); }
.st-seg button[data-v=soon].on { color: #fcd34d; border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .12); }
.st-seg button.on i { opacity: 1; box-shadow: 0 0 8px currentColor; }

/* Copy / Download buttons injected on pack cards */
.pk-extras {
  position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 4;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.pk-extras button, .pk-extras a {
  flex: 1; min-width: 0;
  padding: 7px 10px; border-radius: 8px;
  font: 600 11.5px "Geist Mono", ui-monospace, monospace;
  text-align: center; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255, 26, 26, 0.45);
  background: rgba(10, 4, 6, 0.9); color: #ffd8d8;
}
.pk-extras .pk-copy:hover, .pk-extras .pk-dl:hover { background: #ff1a1a; color: #0a0000; border-color: #ff1a1a; }
.card, .pack-card, .pk { padding-bottom: 46px !important; }

/* Per-pack admin buttons (injected onto existing cards) */
.pk-admin {
  position: absolute; top: 8px; right: 8px; z-index: 5;
  display: flex; gap: 6px; opacity: 0; transition: opacity .15s;
  pointer-events: none;
}
.card:hover .pk-admin, .pack-card:hover .pk-admin, .pk:hover .pk-admin { opacity: 1; pointer-events: auto; }
.pk-admin button {
  padding: 4px 10px; border-radius: 7px; border: 1px solid rgba(255, 26, 26, 0.5);
  background: rgba(10, 4, 6, 0.92); color: #ffd8d8;
  font: 600 11px "Geist Mono", ui-monospace, monospace; cursor: pointer;
}
.pk-admin .pk-del { border-color: #ff3838; color: #ff8080; }
.pk-admin button:hover { background: #1a0709; color: #fff; }

/* Editor modal */
.sw-scrim {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 20px;
}
.sw-modal {
  width: min(520px, 100%); max-height: 90vh; display: flex; flex-direction: column;
  border-radius: 16px; border: 1px solid rgba(255, 26, 26, 0.35);
  background: linear-gradient(180deg, #170709, #0b0304);
  color: #fff2f2;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 26, 26, 0.12);
  overflow: hidden;
}
.sw-modal header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid rgba(255, 26, 26, 0.18); }
.sw-modal h3 { margin: 0; font-size: 17px; font-weight: 600; }
.sw-modal .sw-x { background: transparent; border: 0; color: #d4a8a8; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.sw-modal .sw-x:hover { color: #fff; }
.sw-modal .sw-body { padding: 16px 18px; overflow: auto; }
.sw-modal footer { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 18px; border-top: 1px solid rgba(255, 26, 26, 0.18); background: rgba(10, 3, 4, 0.4); }
.sw-modal footer button {
  padding: 9px 16px; border-radius: 9px; border: 1px solid rgba(255, 26, 26, 0.3); background: transparent;
  color: #fff2f2; font: 600 13px "Geist", system-ui, sans-serif; cursor: pointer;
}
.sw-modal footer button.sw-save { background: #ff1a1a; color: #0a0000; border-color: #ff1a1a; }
.sw-modal footer button.sw-save:hover { background: #ff3838; border-color: #ff3838; }
.sw-modal footer button.sw-cancel:hover { background: rgba(255, 26, 26, 0.08); }
.sw-f { display: block; margin-bottom: 14px; }
.sw-f > span { display: block; margin-bottom: 6px; font: 500 12px "Geist Mono", ui-monospace, monospace; color: #ffb3b3; letter-spacing: 0.04em; text-transform: uppercase; }
.sw-f input[type=text], .sw-f input[type=url], .sw-f textarea, .sw-f select {
  width: 100%; padding: 10px 12px;
  border-radius: 9px; border: 1px solid rgba(255, 26, 26, 0.3);
  background: rgba(10, 4, 6, 0.6); color: #fff2f2;
  font: 500 14px "Geist", system-ui, sans-serif;
}
.sw-f input:focus, .sw-f textarea:focus, .sw-f select:focus { outline: none; border-color: #ff3838; background: rgba(20, 7, 10, 0.8); }
.sw-f textarea { resize: vertical; min-height: 70px; font-family: inherit; }
.sw-f input[type=file] { color: #d4a8a8; font: 500 12px "Geist Mono", ui-monospace, monospace; }
.sw-thumb { margin-top: 10px; height: 100px; border-radius: 9px; background-color: #1a0709; background-size: cover; background-position: center; border: 1px dashed rgba(255, 26, 26, 0.3); }

/* ===== Site-wide verify gate ========================================== */
html.society-gated body { overflow: hidden; }
#society-gate {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  padding: 24px;
  background:
    radial-gradient(900px 500px at 0% 20%, rgba(255, 26, 26, 0.35), transparent 55%),
    radial-gradient(900px 500px at 100% 30%, rgba(255, 26, 26, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(5,1,2,0.92), rgba(5,1,2,0.98)),
    url("assets/society-banner.webp?v=2") center top / cover no-repeat fixed,
    #050102;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#society-gate .sg-card {
  width: min(520px, 100%);
  padding: 44px 36px 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 26, 26, 0.35);
  background: linear-gradient(180deg, rgba(23,7,9,0.95), rgba(10,3,4,0.98));
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,26,26,0.12);
  color: #fff2f2;
  text-align: center;
}
#society-gate .sg-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 18px; }
#society-gate .sg-hero img { border-radius: 14px; box-shadow: 0 0 40px rgba(255,26,26,0.55); }
#society-gate h2 { margin: 0; font-size: 26px; letter-spacing: -0.015em; }
#society-gate .sg-msg { margin: 0 0 24px; color: #ffd8d8; line-height: 1.55; }
#society-gate .sg-actions { display: flex; flex-direction: column; gap: 10px; }
#society-gate .sg-btn {
  display: block; padding: 14px 20px; border-radius: 12px;
  background: #ff1a1a; color: #0a0000;
  font: 700 14px "Geist", system-ui, sans-serif; letter-spacing: 0.02em;
  text-decoration: none; text-align: center;
  border: 0; cursor: pointer;
  box-shadow: 0 16px 36px -14px rgba(255,26,26,0.7);
}
#society-gate .sg-btn:hover { background: #ff3838; }
#society-gate .sg-ghost { background: transparent; color: #fff2f2; border: 1px solid rgba(255,26,26,0.4); box-shadow: none; }
#society-gate .sg-ghost:hover { background: rgba(255,26,26,0.08); border-color: #ff3838; }
#society-gate .sg-foot { margin: 24px 0 0; color: #9a7373; font: 500 11.5px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== Cheat detail modal ============================================ */
.cd-scrim { padding: 24px; }
.cd-modal {
  position: relative;
  width: min(960px, 100%);
  max-height: 92vh; overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 26, 26, 0.35);
  background: linear-gradient(180deg, #170709, #0a0304);
  box-shadow: 0 40px 100px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 26, 26, 0.12);
  color: #fff2f2;
}
.cd-hero {
  position: relative;
  background-size: cover; background-position: center;
  background-color: #1a0709;
  border-bottom: 1px solid rgba(255, 26, 26, 0.3);
  min-height: 260px;
  display: flex; align-items: flex-end;
}
.cd-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,3,4,0.2) 0%, rgba(8,3,4,0.6) 55%, rgba(8,3,4,0.95) 100%);
  pointer-events: none;
}
.cd-hero-empty { min-height: 0; }
.cd-modal header { position: relative; z-index: 1; width: 100%; padding: 32px 32px 24px; }
.cd-modal h2 { margin: 0 0 10px; font-size: 32px; letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.cd-modal header p { margin: 0 0 12px; color: #ffd8d8; line-height: 1.5; text-shadow: 0 1px 10px rgba(0,0,0,0.6); max-width: 70ch; }
.cd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-tags span { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 26, 26, 0.3); background: rgba(255, 26, 26, 0.06); color: #ffd8d8; font: 500 11.5px "Geist Mono", ui-monospace, monospace; }
.cd-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 26, 26, 0.3); background: rgba(10, 4, 6, 0.9); color: #ffd8d8; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.cd-x:hover { background: #1a0709; color: #fff; border-color: #ff3838; }
.cd-preview { padding: 20px 32px; }
.cd-preview img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgba(255, 26, 26, 0.18); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6); }
.cd-folder { padding: 18px 32px 28px; }
.cd-folder.cd-empty { display: flex; align-items: center; gap: 14px; }
.cd-folder.cd-empty p { margin: 0; color: #c99b9b; }
.cd-soon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: #ff1a1a; color: #0a0000;
  font: 700 11.5px "Geist Mono", ui-monospace, monospace;
  letter-spacing: 0.04em; text-transform: uppercase;
  flex-shrink: 0;
}
.cd-soon i { width: 6px; height: 6px; border-radius: 50%; background: #0a0000; display: inline-block; }
.cd-dl {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: #ff1a1a; color: #0a0000; font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(255, 26, 26, 0.6);
}
.cd-dl:hover { background: #ff3838; }

/* ===== Signed-in account pill (overrides base theme to look at home in red) == */
.acct { background: rgba(10, 4, 6, 0.6); border: 1px solid rgba(255, 26, 26, 0.3); border-radius: 12px; }
.acct-btn { color: #fff2f2; }
.acct-btn img { border-radius: 50%; border: 1px solid rgba(255, 26, 26, 0.4); }
.acct-menu { background: linear-gradient(180deg, #170709, #0b0304); border: 1px solid rgba(255, 26, 26, 0.3); color: #fff2f2; }
.acct-menu .acct-item { color: #ffd8d8; }
.acct-menu .acct-item:hover { background: rgba(255, 26, 26, 0.1); color: #fff; }
.acct-menu .acct-who b { color: #fff; }
.acct-menu .acct-status { color: #ff5a5a; }

/* ===== Founder FAB + drawer ========================================== */
#founder-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px; border: 1px solid #ff3838;
  background: linear-gradient(180deg, #ff1a1a, #c40000);
  color: #0a0000;
  font: 700 12px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.1em;
  box-shadow: 0 16px 36px -12px rgba(255, 26, 26, 0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  cursor: pointer;
  transition: transform .15s;
}
#founder-fab:hover { transform: translateY(-2px); }
#founder-fab img { border-radius: 50%; }
.founder-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 998; }
.founder-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 999;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(255, 26, 26, 0.3);
  background: linear-gradient(180deg, #170709, #0a0304);
  color: #fff2f2;
  box-shadow: -30px 0 80px -20px rgba(0,0,0,0.7);
  overflow-y: auto;
}
.founder-drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255, 26, 26, 0.18); }
.founder-drawer header h2 { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.founder-drawer header h2 img { border-radius: 6px; }
.founder-drawer .fd-x { background: transparent; border: 0; color: #d4a8a8; font-size: 24px; cursor: pointer; }
.founder-drawer .fd-x:hover { color: #fff; }
.fd-user { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 26, 26, 0.14); }
.fd-user img { border-radius: 50%; border: 1px solid rgba(255, 26, 26, 0.4); }
.fd-user b { display: block; font-size: 15px; }
.fd-user small { color: #ff5a5a; font: 500 11.5px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.05em; text-transform: uppercase; }
.founder-drawer section { padding: 18px 20px; border-bottom: 1px solid rgba(255, 26, 26, 0.14); }
.founder-drawer h3 { margin: 0 0 12px; font-size: 13px; color: #ff5a5a; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.founder-drawer h4 { margin: 18px 0 10px; font-size: 12.5px; color: #ffd8d8; font-weight: 600; letter-spacing: 0.05em; }
.founder-drawer h4 small { color: #9a7373; font-weight: 400; margin-left: 4px; }
.fd-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fd-tile { padding: 14px; border-radius: 10px; border: 1px solid rgba(255, 26, 26, 0.22); background: rgba(10, 4, 6, 0.6); }
.fd-tile b { display: block; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.fd-tile small { color: #c99b9b; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.fd-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fd-top li { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 8px; background: rgba(255, 26, 26, 0.04); color: #ffd8d8; font-size: 13px; }
.fd-top li b { color: #fff; font: 600 13px "Geist Mono", ui-monospace, monospace; }
.fd-top-empty { justify-content: center !important; color: #9a7373 !important; font-style: italic; }
.fd-btn {
  display: block; width: 100%; margin-bottom: 8px;
  padding: 12px 16px; border-radius: 10px; border: 0; cursor: pointer;
  background: #ff1a1a; color: #0a0000; font: 600 13.5px "Geist", system-ui, sans-serif; text-align: left;
}
.fd-btn:hover { background: #ff3838; }
.fd-btn-ghost { background: transparent; color: #fff2f2; border: 1px solid rgba(255, 26, 26, 0.35); }
.fd-btn-ghost:hover { background: rgba(255, 26, 26, 0.08); border-color: #ff3838; }

/* Tagline strip under the title */
.society-tag {
  display: block; margin: 1.1rem 0 0; text-align: center;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  letter-spacing: 0.22em; color: #ff3838; text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 26, 26, 0.45);
}
.society-tag::before, .society-tag::after { content: "— "; color: rgba(255, 26, 26, 0.55); }
.society-tag::after { content: " —"; }

/* ===== Founder: prompt editor inside a pack ========================== */
.pp-models-head { align-items: center; }
.pp-models-tools { display: flex; align-items: center; gap: 10px; }
.pp-add-model {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 9px;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--text); font: 600 12.5px var(--font); cursor: pointer;
}
.pp-add-model span { font-size: 16px; line-height: 1; color: var(--accent); }
.pp-add-model:hover { background: color-mix(in srgb, var(--accent) 20%, transparent); border-style: solid; }
/* Small white plus, same as the reference site: the only way to add a cheat
   or a download. Sits in the section header, never a big dashed tile. */
.add-fab {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  border: 0; background: #fff; color: #0b0b0b;
  font: 400 21px/1 "Geist", system-ui, sans-serif;
  cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.9);
  transition: transform .16s var(--ease, ease), background .2s, box-shadow .2s;
}
.add-fab:hover { background: #ffecec; transform: scale(1.07); box-shadow: 0 10px 24px -10px rgba(255, 26, 26, 0.6); }
.add-fab:active { transform: scale(0.94); }
.add-fab[hidden] { display: none; }
.pp-model-admin { flex-basis: 100%; display: flex; justify-content: flex-end; gap: 6px; }
.pp-model-admin button {
  padding: 4px 10px; border-radius: 7px; border: 1px solid rgba(255, 26, 26, 0.5);
  background: rgba(10, 4, 6, 0.92); color: #ffd8d8;
  font: 600 11px "Geist Mono", ui-monospace, monospace; cursor: pointer;
}
.pp-model-admin .pp-mdel { border-color: #ff3838; color: #ff8080; }
.pp-model-admin button:hover { background: #1a0709; color: #fff; }
.pp-vslot { width: 100%; height: 100%; }
.pp-vslot[hidden] { display: none; }
.pp-vslot .pp-yt { height: 100%; }
@media (max-width: 640px) {
  .pp-models-head { flex-wrap: wrap; }
  .pp-models-tools { width: 100%; justify-content: space-between; }
}

/* Editor: copy / download / both */
.sw-choice { display: grid; gap: 8px; }
.sw-choice label {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px;
  border: 1px solid rgba(255, 26, 26, 0.25); border-radius: 9px;
  background: rgba(255, 26, 26, 0.03); cursor: pointer;
}
.sw-choice input { margin: 2px 0 0; accent-color: #ff1a1a; }
.sw-choice b { display: block; color: #fff2f2; font-size: 13px; }
.sw-choice small { display: block; color: #c99b9b; font-size: 12px; }
.sw-f .sw-note { display: block; margin-top: 6px; color: #9a7373; font: 400 12px "Geist Mono", ui-monospace, monospace; }

/* Founder: view ranges */
.founder-drawer h3 small { float: right; color: #9a7373; font: 500 10.5px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.04em; text-transform: none; }
.fd-stats-extra { margin-top: 8px; }
.fd-hint { margin: 12px 0 0; color: #9a7373; font-size: 12px; line-height: 1.5; }
.fd-hint b { color: #ffb3b3; }

/* Editor: the list of videos on one prompt */
.mv-list { display: grid; gap: 10px; margin-bottom: 8px; }
.mv-row {
  display: grid; gap: 8px; padding: 10px;
  border: 1px solid rgba(255, 26, 26, 0.25); border-radius: 10px;
  background: rgba(255, 26, 26, 0.03);
}
.mv-top { display: flex; align-items: center; gap: 8px; }
.mv-top .mv-label { flex: 1 1 auto; min-width: 0; width: auto; }
.mv-del {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 7px;
  border: 1px solid rgba(255, 26, 26, 0.4); background: transparent;
  color: #ff8080; font-size: 16px; line-height: 1; cursor: pointer;
}
.mv-del:hover { background: #1a0709; color: #fff; }
.mv-src { display: flex; flex-wrap: wrap; gap: 14px; }
.mv-src label { display: inline-flex; align-items: center; gap: 6px; color: #c99b9b; font: 500 11px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; }
.mv-src input { accent-color: #ff1a1a; margin: 0; }
.mv-url[hidden], .mv-file[hidden] { display: none; }
.mv-file {
  width: 100%; padding: 9px 11px; border-radius: 9px;
  border: 1px dashed rgba(255, 26, 26, 0.45); background: rgba(255, 26, 26, 0.06);
  color: #ffd8d8; font: 500 12px "Geist Mono", ui-monospace, monospace; cursor: pointer;
}
.mv-file:hover { border-style: solid; background: rgba(255, 26, 26, 0.1); }
.mv-file::file-selector-button {
  margin-right: 10px; padding: 7px 12px; border-radius: 7px; border: 1px solid #ff3838;
  background: #ff1a1a; color: #0a0000; font: 700 11.5px "Geist", system-ui, sans-serif; cursor: pointer;
}
.mv-file::file-selector-button:hover { background: #ff3838; }
.mv-add {
  width: 100%; padding: 9px 12px; border-radius: 9px;
  border: 1px dashed rgba(255, 26, 26, 0.45); background: rgba(255, 26, 26, 0.06);
  color: #ffd8d8; font: 600 12px "Geist", system-ui, sans-serif; cursor: pointer;
}
.mv-add:hover { background: rgba(255, 26, 26, 0.14); border-style: solid; }

/* Founder: traffic panel (nav item next to Support) */
.traffic-scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.traffic-panel {
  position: fixed; z-index: 1001; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(580px, calc(100% - 28px)); max-height: 88vh; overflow-y: auto;
  border-radius: 18px; border: 1px solid rgba(255, 26, 26, 0.35);
  background: linear-gradient(180deg, #170709, #0a0304);
  color: #fff2f2;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 26, 26, 0.12);
}
.traffic-panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255, 26, 26, 0.18); }
.traffic-panel header h2 { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.traffic-panel header h2 img { border-radius: 6px; }
.traffic-panel .tr-x { background: transparent; border: 0; color: #d4a8a8; font-size: 24px; cursor: pointer; }
.traffic-panel .tr-x:hover { color: #fff; }
.tr-source { margin: 0; padding: 12px 20px 0; color: #9a7373; font: 500 11px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.05em; text-transform: uppercase; }
.tr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px 6px; }
.tr-card { padding: 16px; border-radius: 12px; border: 1px solid rgba(255, 26, 26, 0.22); background: rgba(10, 4, 6, 0.6); }
.tr-card b { display: block; font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.tr-card small { display: block; margin-top: 2px; color: #c99b9b; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.tr-card em { display: block; margin-top: 6px; font-style: normal; color: #9a7373; font: 500 11px "Geist Mono", ui-monospace, monospace; }
.tr-main { grid-column: span 2; background: linear-gradient(160deg, rgba(255, 26, 26, 0.18), rgba(10, 4, 6, 0.6)); }
.tr-main b { font-size: 40px; }
.traffic-panel footer { display: flex; justify-content: flex-end; padding: 12px 20px 18px; }
.tr-refresh { padding: 8px 14px; border-radius: 9px; border: 1px solid rgba(255, 26, 26, 0.35); background: transparent; color: #fff2f2; font: 600 12.5px "Geist", system-ui, sans-serif; cursor: pointer; }
.tr-refresh:hover { background: rgba(255, 26, 26, 0.1); border-color: #ff3838; }
.tr-sub { margin: 14px 20px 8px; display: flex; align-items: baseline; gap: 8px; font: 600 12px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: #ff5a5a; }
.tr-sub small { color: #9a7373; font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.tr-countries { list-style: none; margin: 0; padding: 0 20px 8px; display: grid; gap: 6px; }
.tr-countries li {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255, 26, 26, 0.16); background: rgba(10, 4, 6, 0.55);
}
.tr-cc { padding: 3px 7px; border-radius: 6px; background: rgba(255, 26, 26, 0.16); color: #ffd8d8; font: 700 10.5px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.08em; }
.tr-cname { min-width: 0; font-size: 13px; color: #fff2f2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-cname small { display: block; margin-top: 1px; color: #9a7373; font: 500 10.5px "Geist Mono", ui-monospace, monospace; }
.tr-countries b { font: 600 14px "Geist Mono", ui-monospace, monospace; color: #fff; }
.tr-countries i { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w, 0); background: linear-gradient(90deg, #ff1a1a, #ff6a6a); }
.tr-countries .tr-empty { display: block; grid-template-columns: none; color: #9a7373; font-style: italic; text-align: center; border-style: dashed; background: transparent; }
.fd-traffic { margin-top: 16px; }

/* ---- Cheat page (same shell as a model page) ------------------------- */
.cheat-page .pp-main { padding-top: 30px; }
.cp-banner {
  position: relative; height: clamp(170px, 30vh, 320px); margin-bottom: 28px;
  border-radius: 20px; border: 1px solid rgba(255, 56, 56, 0.22);
  background-color: #160708; background-size: cover; background-position: center;
  overflow: hidden; box-shadow: 0 26px 70px -34px rgba(255, 26, 26, 0.55);
}
.cp-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 8, 0) 42%, rgba(8, 8, 8, 0.72)); }
.cp-banner-empty { display: grid; place-items: center; background: radial-gradient(600px 300px at 30% 0%, rgba(255, 56, 56, 0.22), transparent 70%), #120607; }
.cp-banner-mark { position: relative; z-index: 1; font: 900 clamp(64px, 12vw, 140px)/1 "Geist", system-ui, sans-serif; color: rgba(255, 255, 255, 0.14); }
.cp-banner:not(.cp-banner-empty) .cp-banner-mark { display: none; }
.pp-logo.has-img { padding: 0; overflow: hidden; background: #0d0506; }
.pp-logo.has-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-item-logo.cp-logo-img { padding: 0; overflow: hidden; }
.pp-item-logo.cp-logo-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-muted { font-size: 14px; color: var(--muted); }
.cp-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cp-shot { display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #0a0a0a; }
.cp-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cp-shot:hover img { transform: scale(1.03); }
.cp-shot-empty { grid-column: 1 / -1; padding: 18px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--dim); font-size: 13.5px; text-align: center; }
.cp-prompts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cp-prompt { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(7, 7, 7, 0.55); }
.cp-prompt[data-cp-open] { cursor: pointer; transition: border-color .2s, background .2s; }
.cp-prompt[data-cp-open]:hover { border-color: rgba(255, 56, 56, 0.4); background: rgba(14, 8, 9, 0.8); }
.cp-prompt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cp-prompt-head h4 { font: 600 16px/1.3 var(--font); letter-spacing: -0.01em; }
.cp-prompt-head small { flex-shrink: 0; color: var(--dim); font: 500 11.5px "Geist Mono", ui-monospace, monospace; }
.cp-prompt p { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.cp-prompt-media { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cp-prompt-thumbs { display: flex; align-items: center; gap: 4px; }
.cp-prompt-thumbs img { display: block; width: 46px; height: 32px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-2); }
.cp-prompt-thumbs b { color: var(--dim); font: 600 11px "Geist Mono", ui-monospace, monospace; }
.cp-prompt-video { display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 56, 56, 0.32); background: rgba(255, 56, 56, 0.1); color: #ff9a9a; font: 600 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .04em; text-transform: uppercase; }
.cp-prompt-video i { width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.cp-prompt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cp-prompt-empty { padding: 18px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--dim); font-size: 13.5px; text-align: center; }
.cp-prompt-add { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 104px; padding: 16px; border-radius: 14px; border: 1px dashed rgba(255, 56, 56, 0.35); background: rgba(255, 26, 26, 0.03); color: #ffb3b3; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.cp-prompt-add:hover { border-color: #ff3838; background: rgba(255, 26, 26, 0.1); color: #fff; }
.cp-prompt-add .ch-plus { font-size: 34px; margin-bottom: 4px; }
.cp-prompt-add .ch-add-label { font-size: 12px; }
.cp-dl-row { cursor: pointer; }
.cp-dl-row:hover { border-color: rgba(255, 56, 56, 0.38); background: rgba(255, 26, 26, 0.04); }
.cp-dl-row .pp-model-info h4 { font-size: 15.5px; }
.cp-dl-shots { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cp-dl-shots img { width: 66px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-2); }
.cp-del { border-color: rgba(255, 56, 56, 0.35); color: #ff9a9a; }
.cp-del:hover { border-color: #ff3838; background: rgba(255, 26, 26, 0.12); color: #fff; }

/* Screenshot lightbox */
.shot-lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 5, 5, 0.96); color: #fff;
}
.shot-lightbox::backdrop { background: rgba(0, 0, 0, 0.65); }
.lb-bar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: linear-gradient(180deg, rgba(0,0,0,.85), transparent); }
.lb-count { font: 500 12px "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; color: #ffd8d8; }
.lb-tools { display: flex; gap: 6px; }
.lb-tools button, .lb-nav { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255, 56, 56, 0.3); background: rgba(20, 6, 8, 0.8); color: #fff; font-size: 20px; cursor: pointer; }
.lb-tools button:hover, .lb-nav:hover { border-color: #ff3838; background: rgba(255, 26, 26, 0.16); }
.lb-tools button:disabled { opacity: .35; cursor: default; }
.lb-stage { position: absolute; inset: 56px 64px 24px; overflow: auto; padding: 12px; text-align: center; }
.lb-stage img { display: inline-block; max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; cursor: zoom-in; border-radius: 6px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 28px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* Prompt detail */
.prompt-view { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.prompt-view::backdrop { background: rgba(2, 2, 2, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pv-box {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(880px, calc(100% - 28px)); max-height: 90vh; overflow-y: auto;
  border-radius: 18px; border: 1px solid rgba(255, 56, 56, 0.3);
  background: linear-gradient(180deg, #160708, #0a0304);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 26, 26, 0.1);
}
.pv-box header { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 22px 14px; background: rgba(20, 7, 9, 0.97); border-bottom: 1px solid rgba(255, 56, 56, 0.18); }
.pv-kicker { margin-bottom: 4px; color: #ff7a7a; font: 600 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.pv-box header h2 { margin: 0; font: 700 24px/1.2 var(--font); letter-spacing: -.02em; }
.pv-x { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255, 56, 56, 0.3); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pv-x:hover { background: rgba(255, 26, 26, 0.14); }
.pv-body { padding: 18px 22px 24px; }
.pv-desc { margin-bottom: 14px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.pv-videos { display: grid; gap: 14px; }
.pv-video p { margin-bottom: 6px; color: #ffb3b3; font: 600 11.5px "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.pv-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.pv-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.pv-video video { display: block; width: 100%; max-height: 56vh; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.pv-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 14px 0 0; }
.pv-shot { padding: 0; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #0a0a0a; cursor: zoom-in; }
.pv-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.pv-shot:hover img { transform: scale(1.04); }
.pv-text-wrap { margin-top: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(7, 7, 7, 0.55); }
.pv-text-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--dim); font: 500 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.pv-text { max-height: 420px; overflow: auto; margin: 0; padding: 12px; white-space: pre-wrap; color: var(--text-2); font: 400 12.5px/1.65 "Geist Mono", ui-monospace, monospace; }
.pv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Editors: screenshots + videos */
.sw-shot-editor { margin-top: 8px; }
.sw-shot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-shot { position: relative; width: 84px; height: 60px; overflow: hidden; border-radius: 8px; border: 1px solid rgba(255, 56, 56, 0.25); background: #0a0a0a; }
.sw-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sw-shot button { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.sw-shot button:hover { background: #ff1a1a; }
.sw-shot-add { display: inline-flex; margin-top: 8px; padding: 7px 10px; border-radius: 8px; border: 1px dashed rgba(255, 56, 56, 0.35); color: #ffb3b3; font: 600 12px "Geist", system-ui, sans-serif; cursor: pointer; }
.sw-shot-add:hover { background: rgba(255, 26, 26, 0.08); color: #fff; }
.sw-video-editor { margin-top: 10px; }
.sw-video-list { display: grid; gap: 8px; }
.sw-video-row { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 6px 8px; align-items: center; padding: 9px; border-radius: 10px; border: 1px solid rgba(255, 56, 56, 0.2); background: rgba(10, 4, 6, 0.5); }
.sw-video-row > input[type=text] { grid-column: 1; }
.sw-video-row > button { grid-column: 2; grid-row: 1; }
.sw-video-kind { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.sw-video-kind label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font: 500 12px "Geist", system-ui, sans-serif; cursor: pointer; }
.sw-video-kind input { accent-color: #ff1a1a; margin: 0; }
.sw-video-row > input[type=url], .sw-video-row > input[type=file] { grid-column: 1 / -1; }
.sw-video-row > .sw-note { grid-column: 1 / -1; margin: 0; }
.sw-video-row button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(255, 56, 56, 0.28); background: transparent; color: #ff9a9a; font-size: 16px; cursor: pointer; }
.sw-video-row button:hover { background: rgba(255, 26, 26, 0.12); color: #fff; }
.sw-add-video { margin-top: 8px; padding: 7px 10px; border-radius: 8px; border: 1px dashed rgba(255, 56, 56, 0.35); background: transparent; color: #ffb3b3; font: 600 12px "Geist", system-ui, sans-serif; cursor: pointer; }
.sw-add-video:hover { background: rgba(255, 26, 26, 0.08); color: #fff; }
.sw-prompt-media { margin-top: 6px; padding-top: 8px; border-top: 1px dashed rgba(255, 56, 56, 0.18); }
.sw-prompt-media summary { cursor: pointer; color: #ffb3b3; font: 600 12px "Geist Mono", ui-monospace, monospace; }
.sw-prompt-media[open] summary { margin-bottom: 6px; }

/* Cheat editor: prompt rows */
.sw-prompts { margin-top: 4px; }
.sw-prompt-rows { display: grid; gap: 12px; margin-bottom: 10px; }
.sw-prompt-row { display: grid; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255, 26, 26, 0.18); background: rgba(10, 4, 6, 0.45); }
.sw-prompt-top { display: flex; gap: 8px; }
.sw-prompt-top input { flex: 1; min-width: 0; }
.sw-prompt-row textarea { min-height: 110px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12.5px; }
.sw-prompt-del { flex-shrink: 0; padding: 0 12px; border-radius: 9px; border: 1px solid rgba(255, 26, 26, 0.28); background: transparent; color: #ff9a9a; font: 600 12px "Geist", system-ui, sans-serif; cursor: pointer; }
.sw-prompt-del:hover { background: rgba(255, 26, 26, 0.12); color: #fff; }
.sw-add-prompt { padding: 8px 12px; border-radius: 9px; border: 1px dashed rgba(255, 26, 26, 0.35); background: transparent; color: #ffb3b3; font: 600 12.5px "Geist", system-ui, sans-serif; cursor: pointer; }
.sw-add-prompt:hover { background: rgba(255, 26, 26, 0.08); color: #fff; }
.sw-file-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.sw-file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font: 500 12px "Geist Mono", ui-monospace, monospace; }
.sw-file-clear { flex-shrink: 0; padding: 5px 9px; border-radius: 7px; border: 1px solid rgba(255, 56, 56, 0.28); background: transparent; color: #ff9a9a; font: 600 11.5px "Geist", system-ui, sans-serif; cursor: pointer; }
.sw-file-clear:hover { background: rgba(255, 26, 26, 0.12); color: #fff; }
.copy-manual { display: block; width: 100%; min-height: 170px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255, 56, 56, 0.28); background: rgba(7, 7, 7, 0.6); color: var(--text-2); font: 400 12.5px/1.6 "Geist Mono", ui-monospace, monospace; resize: vertical; }

@media (max-width: 520px) {
  .tr-grid { grid-template-columns: 1fr 1fr; }
  .tr-main { grid-column: span 2; }
}


/* ===== Opening animation for the sheet pages (pack, cheat, prompt) ===== */
@keyframes sheet-rise {
  from { opacity: 0; transform: translateY(26px) scale(0.988); }
  to   { opacity: 1; transform: none; }
}
@keyframes sheet-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes sheet-stagger {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes sheet-pop {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.965); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.pack-page[open]:not(.js-open) { animation: sheet-rise .46s cubic-bezier(.2, .9, .22, 1) both; }
.pack-page[open]:not(.js-open) .pp-bar { animation: sheet-fade .4s ease both; }
.pack-page[open]:not(.js-open) .pp-side { animation: sheet-stagger .5s .06s cubic-bezier(.2, .9, .22, 1) both; }
.pack-page[open]:not(.js-open) .pp-main > * { animation: sheet-stagger .55s cubic-bezier(.2, .9, .22, 1) both; }
.pack-page[open] .pp-main > *:nth-child(1) { animation-delay: .08s; }
.pack-page[open] .pp-main > *:nth-child(2) { animation-delay: .14s; }
.pack-page[open] .pp-main > *:nth-child(3) { animation-delay: .2s; }
.pack-page[open] .pp-main > *:nth-child(4) { animation-delay: .26s; }
.pack-page[open] .pp-main > *:nth-child(5) { animation-delay: .32s; }
.pack-page[open] .pp-main > *:nth-child(6) { animation-delay: .38s; }
.pack-page[open] .pp-main > *:nth-child(n+7) { animation-delay: .44s; }

/* The prompt sheet: box pops in, backdrop fades behind it. */
.prompt-view[open] { animation: sheet-fade .28s ease both; }
.prompt-view[open] .pv-box { animation: sheet-pop .42s cubic-bezier(.2, .9, .22, 1) both; }

@media (prefers-reduced-motion: reduce) {
  /* Still a fade, just no travel or scale. */
  .pack-page[open],
  .pack-page[open] .pp-bar,
  .pack-page[open] .pp-side,
  .pack-page[open] .pp-main > * { animation: sheet-fade .26s ease both; }
  .prompt-view[open],
  .prompt-view[open] .pv-box { animation: sheet-fade .24s ease both; }
}

/* A traveling shimmer that rides over the pack/cheat pages just after they open.
   Starts a beat after the clip-path reveal, so the eye catches both. */
.pack-page.js-open::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 56, 56, 0.22) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: sheet-shimmer 1.1s cubic-bezier(.22, .9, .22, 1) .18s both;
}
@keyframes sheet-shimmer {
  from { transform: translateX(-120%); opacity: 0; }
  20%  { opacity: 1; }
  to   { transform: translateX(120%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pack-page.js-open::after { animation: none; display: none; } }

/* ===== Signed-in: a visible Log out beside Join Society ============== */
.acct-logout {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 15px 0 13px; border-radius: 12px; flex-shrink: 0;
  border: 1px solid rgba(255, 56, 56, 0.32);
  background: rgba(255, 26, 26, 0.07);
  color: #ffd8d8; font: 600 13.5px var(--font);
  white-space: nowrap; cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, transform .2s;
}
.acct-logout .ico { font-size: 16px; }
.acct-logout:hover {
  border-color: #ff3838; background: rgba(255, 26, 26, 0.16);
  color: #fff; transform: translateY(-1px);
}
.acct-logout:active { transform: translateY(0); }
.acct-logout[hidden] { display: none; }
@media (max-width: 680px) { .header .acct-logout { display: none; } }
