/* ==========================================================================
   CZONE JAILBREAK - the look (v52)
   Black and white, with one violet accent for what you can act on, green for
   "done / online", amber for "careful". One typeface (Geist), thin borders, no glows,
   no gradients, small calm motion. Loaded LAST on every page: it sets the look over the
   older stylesheets, which still hold the layout.
   1. Tokens       5. Header & menus     9. Pack page & palette   13. Forum, chat, tickets
   2. Base         6. Page headers      10. Footer               14. Seller panel
   3. Type         7. Panels & forms    11. Home sections        15. Staff hub & admin
   4. Buttons      8. Home & packs      12. Member pages         16. Motion & small screens
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --bg: #000;
  --panel: #0a0a0a;
  --surface: #0a0a0a;
  --surface-2: #111;
  --surface-3: #171717;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .24);
  --text: #fafafa;
  --text-2: #d4d4d4;
  --muted: #a3a3a3;
  --dim: #8a8a8a; /* still 5.5:1 on black */
  --accent-1: #8b5cf6; /* the one violet */
  --blue: #8b5cf6;
  --blue-2: #a78bfa;
  --ice: #e5e5e5;
  --volt: #fafafa;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --discord: #262626; /* (behind white text in places: a dark grey, never Discord's blurple) */
  --discord-2: #262626;
  --display: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 64px;
  --r: 12px; /* the corner of everything */
  --r-sm: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ----------------------------------------------------------------- */
html { background: var(--bg); }
body { background: var(--bg) !important; color: var(--text); font: 400 15px/1.6 var(--font); letter-spacing: -.005em; }
::selection { background: #8b5cf6; color: #0b0114; }
:focus-visible { outline: 2px solid var(--accent-1); outline-offset: 2px; border-radius: var(--r-sm); }
/* No glows, no shadows-as-light, no gradient text anywhere. */
*, *::before, *::after { text-shadow: none !important; }
.ico { stroke-width: 1.6; }
/* The decoration the old look added: gone. */
.scroll-progress, .overdrive-flash, .preloader, .lib-glow, .card-holo, .ripple, .brand-ring, .pl-crack,
.footer-word, .to-top-ring, .bg-o, .lib-o, .noise, .grain, .aurora, .beam, .orb { display: none !important; }
.js:not(.is-ready):not(.skip-intro) body { overflow: auto; }
.js .hero-title .ch, .js .hero-title .rotator, .js .hero-title .period { opacity: 1 !important; transform: none !important; }
/* (v54) The home screen rises in as it loads, a beat apart (section 8): straight away, not after the intro. */
.js [data-hero] { opacity: 1; transform: none; }

/* 3. Type ----------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font); letter-spacing: -.025em; color: var(--text); }
h2 { font: 600 clamp(28px, 3.2vw, 40px)/1.1 var(--font); text-transform: none; letter-spacing: -.035em; margin-bottom: 14px; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lede, .hero-description, .mb-lede { color: var(--muted); font-size: 16px; line-height: 1.65; }
.soft { color: var(--dim); }
a { transition: color .15s; }
kbd { border-radius: 6px; border-color: var(--line-2); background: var(--surface-2); box-shadow: none; color: var(--text-2); }
.pulse { animation: none; background: var(--green); }
.signal { background: var(--green); box-shadow: none; }

/* 4. Buttons -------------------------------------------------------------- */
.btn {
  --h: 44px; gap: 10px; height: var(--h); padding: 0 16px; border-radius: 10px; overflow: hidden;
  font: 500 14px var(--font); letter-spacing: -.01em; box-shadow: none !important;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.btn::before, .btn::after { display: none !important; }
.btn:hover .bl, .btn:focus-visible .bl { transform: none; }
.btn-icon { width: auto; height: auto; border-radius: 0; background: none !important; font-size: 16px; color: inherit !important; overflow: visible; }
.btn-icon .ico:last-child { display: none; }
.btn-icon .ico:first-child { transform: none !important; }
.btn:hover .btn-icon .ico:first-child { transform: none; }
/* Primary: white on black. */
.btn-primary, .btn-light, .btn-discord { color: #000; background: #fafafa; border: 1px solid #fafafa; }
.btn-primary:hover, .btn-light:hover, .btn-discord:hover { background: #e5e5e5; border-color: #e5e5e5; }
/* Secondary: an outline. */
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--line-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line-3); }
.btn-sm { --h: 36px; gap: 8px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
.btn-locked { --h: 44px; padding: 0 16px; color: var(--muted); background: transparent; border: 1px dashed var(--line-2); }
.lock-bar { animation: none; background: var(--amber); opacity: .7; }
.text-btn { gap: 10px; font-weight: 500; color: var(--text-2); }
.text-btn:hover { color: var(--text); }
.play { width: 40px; height: 40px; border-color: var(--line-2); background: transparent; color: var(--text); }
.play::before { display: none; }
.text-btn:hover .play { background: var(--surface-2); border-color: var(--line-3); color: var(--text); }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border-color: var(--line-2); background: transparent; color: var(--text-2); }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-3); color: var(--text); }
.icon-btn.close:hover { transform: none; }

/* 5. Header & menus ------------------------------------------------------- */
/* (v54) The top bar: a floating glass bar as wide as the page's content, a small gap below the top of the window,
   always there. Left, the name with how many are online in a pill beside it; in the middle, the main links (calm
   text, a soft pill for the page you're on); right, the controls, every one the same height and corner (--ctl):
   quiet icon buttons (Quick find, language, YouTube), then your account (or Log in) and the Discord button, the one
   solid thing in the bar. When it runs out of room (app.js / members.js measure it), the steps in styles.css 17
   still apply: "11K online" to "11K", Join, YouTube, the links into the ☰ menu, the Discord logo only. */
:root { --bar-h: 56px; --bar-gap: 12px; --ctl: 36px; --header-h: calc(var(--bar-h) + var(--bar-gap)); }
.header { padding: var(--bar-gap) var(--gutter) 0; pointer-events: none; } /* (the gap around the bar: clicks go through) */
.header.is-hidden { transform: none; }
.header-inner, .header.is-scrolled .header-inner {
  position: relative; pointer-events: auto;
  grid-template-columns: 1fr auto 1fr; gap: 16px; /* the links in the middle of the bar */
  max-width: calc(var(--max) - 2 * var(--gutter)); height: var(--bar-h); margin: 0 auto; padding: 0 10px 0 14px;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .09); background: rgba(16, 16, 16, .6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 40px -22px rgba(0, 0, 0, .95);
}
.header.is-scrolled .header-inner { background: rgba(12, 12, 12, .74); }
.header-inner > .header-actions { justify-self: end; }
@media (max-width: 1140px) { .header-inner, .header.is-scrolled .header-inner { grid-template-columns: 1fr auto; } }
.nav-tight .header-inner, .nav-tight .header.is-scrolled .header-inner,
.header-inner:not(:has(> .site-nav)), .vf-header .header-inner, .header.vf-header.is-scrolled .header-inner { grid-template-columns: 1fr auto; }
/* The name, and "● 11K online" beside it (online.js) */
.brand { gap: 10px; font: 600 15px var(--font); letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; }
.brand:hover .brand-mark img { transform: none; }
.brand-dot { color: var(--muted); }
.brand-text { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-online {
  height: 24px; padding: 0 10px 0 9px; gap: 6px; border-radius: 999px; border: 1px solid rgba(34, 197, 94, .2);
  background: rgba(34, 197, 94, .07); font: 500 12px/1 var(--font); letter-spacing: 0; color: var(--muted);
  transition: border-color .15s, background .15s;
}
.brand-online b { font: 600 12px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--text); }
.brand:hover .brand-online { border-color: rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .1); }
.online-dot { width: 6px; height: 6px; background: var(--green); }
@keyframes online-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70%, 100% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); } }
/* The main links */
.site-nav { gap: 2px; padding: 0; border: 0; background: none; border-radius: 0; }
.site-nav a { height: var(--ctl); padding: 0 12px; border-radius: 10px; color: var(--muted); font: 500 14px var(--font); box-shadow: none; transition: color .15s, background .15s; }
.site-nav .ico { display: none; }
.site-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.site-nav a[aria-current=page] { background: rgba(255, 255, 255, .09); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* The controls: one height, one corner, no outlines; a soft fill when pointed at */
.header-actions { gap: 4px; }
.quick, .lang-btn, .yt-cta, .acct-btn, .acct-login, .menu-toggle, .vf-back {
  height: var(--ctl); border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--text-2); box-shadow: none;
  transition: background .15s, color .15s, border-color .15s;
}
.quick, .lang-btn, .yt-cta, .menu-toggle { flex-shrink: 0; width: var(--ctl); padding: 0; justify-content: center; }
.quick:hover, .lang-btn:hover, .lang-btn[aria-expanded=true], .yt-cta:hover, .acct-btn:hover, .acct-btn[aria-expanded=true],
.acct-login:hover, .menu-toggle:hover, .menu-toggle[aria-expanded=true], .vf-back:hover { background: rgba(255, 255, 255, .07); border-color: transparent; color: var(--text); }
.quick { position: relative; }
.quick .ico { font-size: 17px; }
/* Quick find's name and shortcut, shown under it when pointed at (or reached with the keyboard) */
.hb-tip {
  position: absolute; top: calc(100% + 15px); left: 50%; z-index: 6; translate: -50% -4px;
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 5px 5px 10px; border-radius: 9px;
  border: 1px solid var(--line-2); background: #0d0d0d; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
  font: 500 12.5px/1 var(--font); color: var(--text-2); white-space: nowrap; pointer-events: none; opacity: 0;
  transition: opacity .15s, translate .15s var(--ease);
}
.hb-tip kbd { height: 20px; min-width: 0; padding: 0 6px; font-size: 11px; }
.quick:hover .hb-tip, .quick:focus-visible .hb-tip { opacity: 1; translate: -50% 0; }
@media (hover: none) { .hb-tip { display: none; } }
/* Language: just the flag (the code is still read out) */
.lang-btn { gap: 0; }
.lang-btn [data-lang-code] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lang-btn .flag { width: 20px; height: 14px; }
.flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) !important; border-radius: 3px; }
.yt-cta .ico { font-size: 18px; filter: grayscale(1) brightness(1.5); opacity: .9; transition: filter .15s, opacity .15s; }
.yt-cta:hover .ico { transform: none; filter: none; opacity: 1; }
.hb-sep { flex-shrink: 0; width: 1px; height: 20px; margin: 0 6px; background: rgba(255, 255, 255, .1); }
/* Your account (your Discord picture and name), or Log in */
.acct-btn { gap: 8px; padding: 0 8px 0 6px; font: 500 14px var(--font); color: var(--text); }
.acct-btn img { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.acct-btn .ico { font-size: 14px; color: var(--muted); }
.acct-login { gap: 8px; padding: 0 12px 0 10px; font: 500 14px var(--font); color: var(--text); }
.acct-login .ico { font-size: 17px; color: var(--muted); }
.acct-login:hover .ico { color: var(--text); }
/* The one call to action in the bar: solid white. */
.discord-cta {
  height: var(--ctl); margin-left: 4px; padding: 0 14px 0 12px; gap: 8px; border-radius: 10px;
  background: #fafafa; color: #0a0a0a; font: 600 13.5px var(--font); letter-spacing: -.01em; box-shadow: none !important; transition: background .15s;
}
.discord-cta .ico { font-size: 18px; }
.discord-cta::after { display: none; }
.discord-cta:hover { background: #e5e5e5; filter: none; }
.cta-icon .discord-cta { width: var(--ctl); padding: 0; }
@media (max-width: 420px) { .discord-cta.is-member { width: var(--ctl); } }
/* (The footer's Discord and YouTube buttons) */
.discord-btn { height: 36px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); box-shadow: none; }
.discord-btn:hover { background: var(--surface-2); border-color: var(--line-3); color: var(--text); }
.discord-btn .ico { color: inherit; }
/* The drop-downs (language, account): just under the bar */
.lang-list, .acct-menu {
  top: calc(100% + 15px); padding: 6px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(12, 12, 12, .98);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .95) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.lang-list button, .acct-item { border-radius: 9px; font-size: 14px; }
.lang-list button:hover, .acct-item:hover { background: rgba(255, 255, 255, .06); }
.acct-who { padding: 8px 10px 10px; }
.lang-list button[aria-current]::after, .m-lang button[aria-current]::after, .footer-lang button[aria-current]::after { color: var(--text); }
.m-lang button[aria-current], .footer-lang button[aria-current] { border-color: var(--line-3); background: var(--surface-2); }
.menu-toggle span { left: 10px; right: 10px; background: var(--text); }
.menu-toggle span:first-child { top: 13px; }
.menu-toggle span:last-child { top: 21px; right: 10px; }
.menu-toggle[aria-expanded=true] span:first-child, .menu-toggle[aria-expanded=true] span:last-child { top: 17px; }
/* The verify page's "All packs" */
.vf-back { gap: 8px; padding: 0 12px 0 10px; font: 500 14px var(--font); color: var(--text-2); }
/* The phone menu: a plain list. */
.mobile-menu { background: #000; clip-path: none !important; transition: opacity .2s; padding-top: calc(var(--header-h) + 20px); }
.mobile-menu:not(.is-open) { opacity: 0; pointer-events: none; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 20px/1.2 var(--font); letter-spacing: -.02em; text-transform: none; }
.mobile-nav a small { display: none; }
.mobile-nav a[aria-current=page] { color: var(--text); }
.mobile-nav a, .mobile-foot { transform: none; transition: opacity .2s; }

/* 6. Page headers: a title, a line under it — not a poster ----------------- */
.chip { gap: 8px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; font: 500 12px var(--font); color: var(--muted); }
.chip .pulse { width: 6px; height: 6px; }
.hero-title, .mb-title {
  margin: 18px 0 12px; font: 600 clamp(36px, 4.6vw, 56px)/1.05 var(--font); letter-spacing: -.045em; text-transform: none; color: var(--text);
}
.mb-title br, .hero-title br { display: none; }
.mb-title .mb-accent { margin-left: .26em; }
/* The one violet word in each title, with a blinking caret after it, like a cursor in code. */
.mb-accent, .rotator { background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent-1) !important; filter: none !important; padding: 0; margin: 0; }
.mb-accent::after, .rotator::after {
  content: ''; display: inline-block; width: .07em; height: .82em; margin-left: .08em; vertical-align: -.06em;
  background: var(--accent-1); animation: caret 1.05s steps(1) infinite;
}
.rotator.is-typing::after { animation: none; }
@keyframes caret { 50% { opacity: 0; } }
.period, .hero-title .period, .js .hero-title .period { display: none !important; }
/* The home title is written in capitals (and so are its translations): shown in sentence case. */
#hero-title { text-transform: lowercase; }
#hero-title .hl:first-of-type .ch:first-child { text-transform: uppercase; }
.hl { display: inline; padding: 0; margin: 0; overflow: visible; }
.hl + .hl::before { content: ' '; }
.hl-in { white-space: normal; }
.mb-hero { margin-bottom: 28px; }
.mb { padding-top: calc(var(--header-h) + 48px); }
.mb-lede { max-width: 60ch; }

/* 7. Panels & forms ------------------------------------------------------- */
.mb-panel, .empty, .lg-toc, .lg-table, .mb-you, .pp-gate, .fm-note, .fm-card, .fm-post, .tk-type, .mb-row {
  border-radius: var(--r) !important; border: 1px solid var(--line) !important; background: var(--surface) !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.mb-panel { padding: 24px; }
.mb-row:hover, .tk-type:hover { border-color: var(--line-3) !important; background: var(--surface-2) !important; }
.empty { padding: 48px 24px; border-style: dashed !important; }
.empty-glyph { border-color: var(--line-2); color: var(--text-2); }
input[type=text], input[type=search], input[type=email], input[type=number], input[type=url], input:not([type]), textarea, select,
.mb-field input, .mb-field textarea, .mb-field select {
  border-radius: 10px !important; border: 1px solid var(--line-2) !important; background: #0a0a0a !important; color: var(--text);
  box-shadow: none !important; transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--line-3) !important; outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .06) !important; }
.mb-field > span, .mb-field label, .mb-field > b { font-size: 13px; font-weight: 500; color: var(--text-2); }
.mb-count { color: var(--dim); }
.mb-tabs, .segment { padding: 3px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); }
.mb-tabs button, .segment button { height: 32px; padding: 0 12px; border-radius: 7px; font: 500 13.5px var(--font); color: var(--muted); }
.mb-tabs button[aria-pressed=true], .mb-tabs button[aria-selected=true], .mb-tabs .is-on { background: var(--surface-3); color: var(--text); box-shadow: none !important; }
.segment-ind { background: var(--surface-3) !important; box-shadow: inset 0 0 0 1px var(--line-2) !important; border-radius: 7px; top: 3px; bottom: 3px; }
.segment button[aria-pressed="true"] { color: var(--text); }
.segment button span, .segment button[aria-pressed="true"] span { background: rgba(255, 255, 255, .08); color: var(--muted); }
.search { height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #0a0a0a; padding: 0 10px 0 14px; gap: 10px; }
.search::before { display: none; }
.search:hover { border-color: var(--line-3); }
.search:focus-within { border-color: var(--line-3); background: #0a0a0a; box-shadow: 0 0 0 3px rgba(255, 255, 255, .06) !important; }
.search > .ico { font-size: 17px; color: var(--muted); }
.search:focus-within > .ico { transform: none; }
.search input, .search input:focus { font-size: 15px; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding: 0; }
.search-clear { border-radius: 6px; animation: none; }
/* The members-only panel (log in, join, verify): plain, the next step in white. */
.mb-page::before { display: none !important; }
.pp-lock-ico { border: 1px solid var(--line-2) !important; background: var(--surface-2) !important; color: var(--text) !important; box-shadow: none !important; border-radius: 10px; }
.pp-gate.is-ok .pp-lock-ico { border-color: rgba(34, 197, 94, .35) !important; background: rgba(34, 197, 94, .08) !important; color: var(--green) !important; }
.pp-lstep { border-radius: 10px; background: #000; }
.pp-lstep.is-now { border-color: var(--line-3); background: var(--surface-2); }
.pp-lstep.is-now .pp-lstep-n { border-color: #fafafa; background: #fafafa; color: #000; box-shadow: none !important; }
.pp-lstep.is-done .pp-lstep-n { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); color: var(--green); }
.pp-mbtn { border-radius: 8px !important; box-shadow: none !important; }
.pp-mbtn.discord, .pp-mbtn.primary { background: #fafafa !important; border-color: #fafafa !important; color: #000 !important; }
.pp-mbtn.discord:hover, .pp-mbtn.primary:hover { background: #e5e5e5 !important; }
.lg li::before { background: var(--text-2) !important; box-shadow: none !important; }
.sl-note.is-wait p::before { background: var(--text-2); }
.status-lock { color: var(--muted); }
/* Notes: plain, with a thin coloured edge for what kind. */
.tk-watch, .fm-note.is-warn { border-radius: 10px; border: 1px solid rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .06); color: #fcd34d; }
.tk-closed, .fm-note.is-ok { border-color: rgba(34, 197, 94, .35) !important; background: rgba(34, 197, 94, .05) !important; }

/* 8. Home & packs --------------------------------------------------------- */
/* (v54) The first screen. Left, level with the middle of the packs: the title, what to do next (the three steps to get
   in, or "You're in" with your Discord picture) and the library in numbers. Right: how many packs,
   All · Chat · Coding, and the packs. */
.lib-hero {
  min-height: 0; padding: calc(var(--header-h) + 60px) var(--gutter) 56px;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; column-gap: clamp(36px, 4.6vw, 80px);
}
.lib-intro { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.lib-hero .hero-title { font-size: clamp(40px, 4.6vw, 64px); margin: -4px 0 16px; }
.lib-intro .hero-description { max-width: 44ch; margin-bottom: 0; }
.lib-cta { gap: 10px; margin-top: 28px; }
.lib-cta .btn { flex: 0 0 auto; justify-content: center; }
.lib-notes { width: 100%; max-width: 540px; margin: 28px 0 36px; }
.lib-cta:not([hidden]) + .lib-notes { margin-top: 20px; }
.lib-note { margin: 0; color: var(--muted); }
.lib-tools .search { height: 44px; border-radius: 10px; }
/* The three steps to get in: join, verify, log in (app.js ticks them off) */
.lib-gate { padding: 16px 18px 18px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); }
.lib-gate-lead { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lib-gate-lead .ico { flex-shrink: 0; font-size: 14px; }
.lib-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lib-step { position: relative; display: grid; justify-items: start; align-content: start; gap: 10px; font: 500 13.5px/1.35 var(--font); color: var(--muted); }
.lib-step:not(:last-child)::after { content: ''; position: absolute; top: 13px; left: 36px; right: -4px; height: 1px; background: var(--line-2); }
.ls-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: #0b0b0b; font: 600 12px/1 var(--mono); color: var(--muted); transition: background .2s, border-color .2s, color .2s; }
.ls-n .ico { display: none; font-size: 14px; stroke-width: 2.4; }
.lib-step.is-now { color: var(--text); }
.lib-step.is-now .ls-n { border-color: #fafafa; background: #fafafa; color: #000; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.lib-step.is-done { color: var(--text-2); }
.lib-step.is-done .ls-n { border-color: rgba(34, 197, 94, .45); background: rgba(34, 197, 94, .1); color: var(--green); }
.lib-step.is-done .ls-n b { display: none; }
.lib-step.is-done .ls-n .ico { display: block; }
.lib-step.is-done:not(:last-child)::after { background: rgba(34, 197, 94, .35); }
/* Verified members: "You're in, name." */
.lib-in { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 14px; border: 1px solid rgba(34, 197, 94, .18); background: linear-gradient(180deg, rgba(34, 197, 94, .07), rgba(34, 197, 94, .015)); }
.lib-in-av { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-3); }
.lib-in-av img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.lib-in-av img:not([src]) { visibility: hidden; }
.lib-in-av i { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #0c130e; background: var(--green); color: #031008; font-size: 11px; }
.lib-in-av i .ico { font-size: 12px; color: #04210f; stroke-width: 3; }
.lib-in-text { display: grid; flex: 1; gap: 2px; min-width: 0; }
.lib-in-text b { font: 600 16px/1.3 var(--font); letter-spacing: -.015em; color: var(--text); overflow-wrap: anywhere; }
.lib-in-text small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.lib-in-tag { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 8px; border-radius: 999px; border: 1px solid rgba(34, 197, 94, .3); background: rgba(34, 197, 94, .08); font: 500 12px/1 var(--font); color: #86efac; }
.lib-in-tag .ico { font-size: 12px; stroke-width: 2.6; }
/* The library in numbers: packs, models, online now */
.hero-stats { display: flex; flex-wrap: wrap; row-gap: 14px; width: 100%; max-width: 540px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.hs { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 0 28px; border-left: 1px solid var(--line); }
.hs:first-child { padding-left: 0; border-left: 0; }
.hs dd { margin: 0; font: 600 28px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.hs dt { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.2; color: var(--muted); }
/* Above the packs: how many, and All · Chat · Coding */
.lib-board { display: flex; flex-direction: column; min-width: 0; }
.lib-board-head { flex-wrap: wrap; min-height: 34px; gap: 10px 16px; margin-bottom: 14px; padding: 0; }
.result-count { font: 500 14px var(--font); color: var(--muted); }
.result-count b { margin-right: 5px; font-weight: 600; color: var(--text); }
.lib-filter { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.lib-filter button { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 8px 0 11px; border-radius: 9px; font: 500 13px var(--font); color: var(--muted); white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s; }
.lib-filter button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.lib-filter button[aria-pressed=true] { color: var(--text); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.lf-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 6px; background: rgba(255, 255, 255, .06); font: 500 11px/1 var(--mono); color: var(--muted); }
.lib-filter button[aria-pressed=true] .lf-n { background: rgba(255, 255, 255, .14); color: var(--text); }
/* The packs: a soft wash of each model's colour, lifting with a glow of it when pointed at */
.pack-grid { gap: 12px; }
.card {
  container-type: inline-size; aspect-ratio: auto; min-height: 156px; padding: 16px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: radial-gradient(130% 100% at 0% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012) 65%), #090909;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
}
.card-glow { display: block; opacity: 0; transition: opacity .35s; background: radial-gradient(120% 95% at 0% 0%, color-mix(in srgb, var(--accent) 17%, transparent), transparent 60%); }
.card:hover, .card:focus-within {
  transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 40%, rgba(255, 255, 255, .1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 22px 44px -24px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 0 3px color-mix(in srgb, var(--accent) 8%, transparent);
}
.card:hover .card-glow, .card:focus-within .card-glow { opacity: 1; }
.card-top { align-items: center; }
.card-logo {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; font-size: 22px; color: var(--text);
  border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, #1b1b1b, #0f0f0f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .25s;
}
.card:hover .card-logo, .card:focus-within .card-logo { transform: none; border-color: color-mix(in srgb, var(--accent) 35%, rgba(255, 255, 255, .1)); }
.card-body { margin-top: 22px; padding-right: 36px; }
.card-name { font: 600 18px/1.2 var(--font); letter-spacing: -.02em; text-transform: none; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.card-type { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px 0 6px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 500 11px/1 var(--font); letter-spacing: .01em; color: var(--text-2); white-space: nowrap; }
.card-type .ico { font-size: 12px; color: var(--muted); }
.status { flex-shrink: 0; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font: 500 11.5px/1 var(--font); border: 1px solid rgba(245, 158, 11, .25); background: rgba(245, 158, 11, .07); color: #fcd34d; }
.status i { width: 6px; height: 6px; background: var(--amber); }
.status.ready { border-color: rgba(34, 197, 94, .25); background: rgba(34, 197, 94, .07); color: #86efac; }
.status.ready i { background: var(--green); }
.status-lock { display: inline-flex; margin-left: 1px; color: inherit; opacity: .75; }
.status-lock .ico { font-size: 11px; }
.card-go { right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 9px; background: transparent; color: var(--muted); }
.card:hover .card-go, .card:focus-within .card-go { background: #fafafa; color: #000; }
/* A narrow card (phones, small laptops): its count goes under the name */
@container (max-width: 170px) {
  .card-top { display: contents; }
  .card-logo { width: 38px; height: 38px; border-radius: 11px; font-size: 20px; }
  .card-body { margin-top: 0; padding: 16px 0 12px; }
  .card-name { font-size: 16px; }
  .card-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .status { order: 3; align-self: flex-start; margin-top: auto; }
  .card-go { display: none; }
}
.lib-how { color: var(--muted); }
.lib-how:hover { color: var(--text); }
/* Rising in as the page loads (not for anyone whose device asks for less motion) */
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: no-preference) {
  .js .lib-hero .hero-title, .js .lib-hero [data-hero] { animation: hero-in .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 60ms + 40ms); }
  .lib-gate:not([hidden]), .lib-in:not([hidden]) { animation: hero-in .5s var(--ease) both; }
}
@media (hover: none) { .card:hover, .card:focus-within { transform: none; } }
@media (prefers-reduced-motion: reduce) { .card:hover, .card:focus-within { transform: none; } }

/* 9. Pack page & palette -------------------------------------------------- */
.pp, .pack-page, .pk { --accent: #fafafa !important; }
.pp-hero h1, .pk-title, .pp-title { font: 600 clamp(32px, 4vw, 48px)/1.08 var(--font) !important; letter-spacing: -.04em !important; text-transform: none !important; }
.pp-model, .pp-card, .pk-model, .model, .copy-box, .pp-copy, .pp-videos, .video-card {
  border-radius: var(--r) !important; border: 1px solid var(--line) !important; background: var(--surface) !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.palette, .palette-box, .qf, .qf-box { border-radius: 14px !important; border: 1px solid var(--line-2) !important; background: #0a0a0a !important; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .95) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.toast { border-radius: 10px !important; border: 1px solid var(--line-2) !important; background: #0a0a0a !important; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .9) !important; }

/* 10. Footer -------------------------------------------------------------- */
.footer-top { padding: 48px 0 40px; }
.footer-col h4 { font: 500 13px var(--font); color: var(--text); }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--text); transform: none; }
.footer-bottom { color: var(--dim); }
.to-top { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-2); }
.to-top:hover .ico { transform: none; }
/* The two links out of the site: the Discord server and the Linktree. Same pill as the rest of the bar. */
.footer-social { gap: 8px; margin-top: 18px; }
.footer-social .discord-btn { height: 36px; padding: 0 13px; border-radius: 8px; }
.footer-social .ico { font-size: 16px; }
.m-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-social .discord-btn { height: 44px; border-radius: 12px; }

/* 11. Home sections (how it works, FAQ, closing) -------------------------- */
.section { padding-top: 112px; }
/* Their titles are written in capitals (and translated in capitals): shown in sentence case, one line per sentence. */
#how-title, #faq-title, #closing-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; text-transform: lowercase; }
/* (Each word is its own little block — the first word of each sentence gets its capital back.) */
:is(#how-title, #faq-title, #closing-title) .wi { display: inline-block; }
:is(#how-title, #faq-title, #closing-title) > .w:first-child .wi::first-letter,
:is(#how-title, #faq-title, #closing-title) .soft > .w:first-child .wi::first-letter { text-transform: uppercase; }
:is(#how-title, #faq-title, #closing-title)::first-letter { text-transform: uppercase; } /* (before the words are split) */
:is(#how-title, #faq-title, #closing-title) .soft { color: var(--dim); }
#faq-title br:first-of-type { display: none; }
#faq-title br:first-of-type + .w { margin-left: .26em; }
/* How it works: a quiet timeline beside a plain window. */
/* Plain numbered steps: no line down the side, no circles. The step you're on is white, its number violet. */
.story-rail { display: none !important; }
.story-step { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
.step-no { grid-row: auto; display: block; width: auto; height: auto; margin: 0 0 6px; border: 0 !important; border-radius: 0; background: none !important;
  font: 500 13px var(--mono) !important; letter-spacing: .04em; color: var(--dim) !important; box-shadow: none !important; transform: none !important; transition: color .4s; }
.story-step.is-active .step-no { background: none !important; color: var(--accent-1) !important; }
.story-step h3 { font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--font); letter-spacing: -.03em; }
.scene { border-radius: 14px; border-color: var(--line-2); background: #0a0a0a !important; box-shadow: none !important; }
.scene::before { display: none; }
.scene-url { border-radius: 7px; background: var(--surface-2); }
.scene-url b { color: var(--text); }
.dots i:nth-child(n) { background: rgba(255, 255, 255, .14); }
/* The window is a terminal that types each step (app.js). */
.scene { height: auto; min-height: 380px; }
.term { flex: 1; padding: 22px 22px 26px; font: 400 13.5px/1.85 var(--mono); color: var(--text-2); overflow: hidden; }
.t-row { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; animation: t-in .18s ease-out both; }
.t-ps { color: var(--accent-1); font-weight: 500; }
.t-in { color: var(--text); }
.t-out { color: var(--muted); }
.t-ok { color: var(--accent-1); }
.t-row.t-ok { color: var(--text-2); } /* (the line itself plain; just its tick violet) */
.t-pct { color: var(--muted); }
.t-bar { display: inline-block; width: min(240px, 55%); height: 6px; margin-right: 12px; border-radius: 3px; background: var(--surface-3); overflow: hidden; vertical-align: middle; }
.t-bar i { display: block; width: 0; height: 100%; background: var(--accent-1); }
.t-caret { display: inline-block; width: .6em; height: 1.15em; vertical-align: -.22em; background: var(--accent-1); animation: caret 1.05s steps(1) infinite; }
.t-cmd .t-caret { margin-left: 1px; animation: none; }
@keyframes t-in { from { opacity: 0; } }
.good-to-know span { color: var(--text); }
/* FAQ: a clean list. */
.questions details::after { display: none; }
.questions details, .questions { border-color: var(--line) !important; }
.questions summary { padding: 22px 0; font: 500 17px/1.4 var(--font); letter-spacing: -.015em; color: var(--text-2); }
.questions summary:hover .q-text { transform: none; }
.q-icon { width: 32px; height: 32px; border-color: var(--line-2); }
details[open]:not(.is-closing) .q-icon { background: #fafafa; border-color: #fafafa; color: #000; box-shadow: none !important; }
details[open]:not(.is-closing) .q-icon::before, details[open]:not(.is-closing) .q-icon::after { background: #000; }
.answer p { font-size: 15px; line-height: 1.7; }
.answer a { color: var(--text); }
.faq-ask { border-radius: 10px; background: transparent; }
.faq-ask:hover { background: var(--surface-2); }
.faq-ask .ico { color: var(--muted); }
/* The closing panel: a plain card. */
.closing { padding-top: 112px; }
.closing-panel { border-radius: 16px !important; border: 1px solid var(--line) !important; background: var(--surface) !important; box-shadow: none !important; min-height: 0; }
.closing h2 { font-size: clamp(30px, 3.4vw, 44px); }
.closing-art { display: none !important; } /* (the glowing orb: not this look) */
.closing-panel { grid-template-columns: minmax(0, 1fr) !important; }
.closing-link { border-color: var(--line-3); }

/* 12. Member pages (leaderboard, legal) ----------------------------------- */
.mb-rank, .mb-you-rank { font: 600 16px/1 var(--mono); color: var(--muted); }
.mb-you-rank { font-size: 22px; color: var(--text); }
.mb-prog { height: 6px; background: rgba(255, 255, 255, .08); }
.mb-prog > *, .mb-prog i, .mb-prog span { background: var(--text) !important; box-shadow: none !important; }
.lg { font-size: 15px; color: var(--text-2); }
.lg h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 10px; }
.lg h3 { font: 600 16px var(--font); }
.lg-toc a { border-radius: 999px; }

/* 13. Forum, chat, tickets ------------------------------------------------ */
.tk-step b { border-radius: 6px; background: var(--surface-3); color: var(--text); box-shadow: none !important; }
.tk-type-emoji { border-radius: 8px; background: var(--surface-3); }
.tk-pill span, .tk-pill label { border-radius: 999px; }

/* 14. Seller panel --------------------------------------------------------- */
.sl-card, .sl-boost, .sl-item { border-radius: var(--r) !important; border: 1px solid var(--line) !important; background: var(--surface) !important; box-shadow: none !important; }

/* 15. Staff hub & admin ---------------------------------------------------- */
.mh-card, .mh-panel, .mh-row, .adm-card, .adm-panel { border-radius: var(--r) !important; border-color: var(--line) !important; background: var(--surface) !important; box-shadow: none !important; }

/* 15b. The violet hacker text (code.js): one canvas behind every page, lit up around the mouse ---------------- */
/* (The body is see-through so the canvas shows; the black comes from html.) */
body { background: transparent !important; }
.hackfx { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.motion-off .mb-accent::after, .motion-off .rotator::after, .motion-off .vf-accent::after, .motion-off .t-caret { animation: none; }
@media (prefers-reduced-motion: reduce) { .mb-accent::after, .rotator::after, .vf-accent::after, .t-caret, .t-row { animation: none; } }

/* 15c. Verify page: the same plain header as the other pages, the violet code instead of the big emblem ------ */
.vf-hero { display: block; min-height: 0; padding-bottom: 24px; }
.vf-art { display: none !important; }
.vf-title { margin: 18px 0 12px; font-size: clamp(36px, 4.6vw, 56px) !important; }
.vf-accent { margin-left: .26em; background: none !important; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent-1) !important; padding: 0; }
.vf-accent::after { content: ''; display: inline-block; width: .07em; height: .82em; margin-left: .08em; vertical-align: -.06em; background: var(--accent-1); animation: caret 1.05s steps(1) infinite; }
.vf-copy { max-width: 620px; }
.vf-copy .hero-description { max-width: 56ch; }
.vf-status { border-radius: var(--r); background: var(--surface) !important; box-shadow: none !important; }
.vf-go.is-discord { background: #fafafa !important; color: #000 !important; box-shadow: none !important; }
.vf-go.is-discord .btn-icon { background: transparent; color: #000; }
.vf-section { padding-top: 72px; }
.vf-steps { gap: 10px; }
.vf-step, .vf-card, .vf-ru { border-radius: var(--r) !important; border: 1px solid var(--line) !important; background: var(--surface) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.vf-step::before, .vf-step::after, .vf-card::before, .vf-card::after { display: none !important; }
.vf-num { font: 500 12px var(--mono) !important; color: var(--dim) !important; -webkit-text-stroke: 0 !important; }
.vf-step-ico, .vf-list li > span { border-radius: 9px !important; border: 1px solid var(--line-2) !important; background: var(--surface-2) !important; color: var(--text) !important; box-shadow: none !important; }
.vf-step h3 { font: 600 18px/1.3 var(--font); letter-spacing: -.02em; text-transform: none; }

/* 15d. The last poster-style headings (members, staff hub, admin): plain sentence case ---------------------- */
.vf-h2, .vf-h3, .lg h2, .mh-title, .cp-head h1, .st-h2 { font-family: var(--font) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: -.035em !important; line-height: 1.1 !important; }
.vf-h2 { font-size: clamp(28px, 3.2vw, 40px) !important; max-width: none; }
.vf-h3 { font-size: 22px !important; letter-spacing: -.025em !important; }
.mh-title, .cp-head h1 { font-size: clamp(30px, 3.6vw, 44px) !important; }
.st-h2 { font-size: 22px !important; }
.mh-n, .mh-d-who h2, .mh-profile-id h2, .mb-lvl { font-family: var(--font) !important; font-weight: 600 !important; letter-spacing: -.02em; }
.mb-lvl { --a: var(--line-3) !important; --b: var(--line-3) !important; }

/* 16. Motion & small screens ---------------------------------------------- */
.mb-in { animation-duration: .45s; }
@keyframes mb-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* (v54) Tablets and phones: the home screen in one column, the packs under what to do next. */
@media (max-width: 959px) {
  .lib-hero { grid-template-columns: minmax(0, 1fr); row-gap: 44px; padding-top: calc(var(--header-h) + 40px); }
  .lib-intro .hero-description { max-width: 52ch; }
  .lib-notes { margin-bottom: 28px; }
  .hero-stats { margin-top: 0; }
}
/* (v54) Phones: a slimmer bar, the count under the name instead of beside it (so the bar is no wider), and two packs a row. */
@media (max-width: 680px) {
  :root { --bar-h: 52px; --bar-gap: 8px; }
  .header-inner, .header.is-scrolled .header-inner { gap: 10px; padding: 0 6px 0 10px; border-radius: 14px; }
  .brand-text { display: grid; gap: 4px; }
  .brand-word { font-size: 14.5px; line-height: 1.1; }
  .brand-online { height: auto; padding: 0; gap: 5px; border: 0; background: none; font-size: 11.5px; }
  .brand:hover .brand-online { background: none; }
  .brand-online b { font-size: 11.5px; }
  .hb-sep { display: none; }
  .vf-back { width: var(--ctl); padding: 0; justify-content: center; }
}
@media (max-width: 380px) { /* small phones: a little less room between things, so Join keeps its word */
  .brand-word { font-size: 13.5px; }
  .brand { gap: 8px; }
  .header-inner, .header.is-scrolled .header-inner { gap: 8px; padding: 0 5px 0 8px; }
  .header-actions { gap: 2px; }
  .discord-cta { margin-left: 2px; padding: 0 11px 0 10px; gap: 6px; }
}
@media (max-width: 640px) {
  .hero-title, .mb-title { font-size: clamp(32px, 9vw, 40px); }
  .mb { padding-top: calc(var(--header-h) + 28px); }
  .lib-hero { row-gap: 32px; padding-top: calc(var(--header-h) + 30px); padding-bottom: 40px; }
  .lib-cta { margin-top: 24px; }
  .lib-notes { margin-bottom: 24px; }
  .lib-hero .hero-title { margin-top: 0; }
  .lib-cta { width: 100%; }
  .lib-cta .btn { flex: 1 1 auto; }
  .lib-gate { padding: 14px 14px 16px; }
  .lib-steps { gap: 10px; }
  .lib-step { font-size: 13px; }
  .lib-step:not(:last-child)::after { left: 34px; right: -2px; }
  .lib-in { gap: 12px; padding: 12px 12px 12px 12px; }
  .lib-in-tag { display: none; }
  .hero-stats { padding-top: 18px; }
  .hs { padding: 0 18px; }
  .hs dd { font-size: 22px; }
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { min-height: 0; padding: 14px; border-radius: 14px; }
  .term { padding: 16px 16px 20px; font-size: 12px; }
}
@media (max-width: 340px) { .hs { padding: 0 12px; } .hs dd { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .mb-in { animation: none; } }
