/* FantasySMP — Chapter Two site styles
   Brand colours: dark base, brand blue, pale ice. Greys for text, borders and inventory slots. */
:root {
  --base: #0c1622;
  --base-2: #122030;      /* lighter band (shade of base) */
  --base-3: #1a2b3d;      /* inputs / hover (shade of base) */
  --blue: #78b7ea;
  --ice: #eef5fb;

  --grey-1: #b4b8bd;
  --grey-2: #868b91;
  --line: rgba(255, 255, 255, 0.12);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 80px;
  --radius: 5px;
  --wrap: 1180px;
  --pixel: "Tiny5", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--base); color: var(--grey-1);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(120,183,234,.45); }
a:hover { text-decoration-color: var(--blue); }
h1, h2, h3 { color: var(--ice); line-height: 1.15; font-family: var(--pixel); font-weight: 700; letter-spacing: 0; font-variant-ligatures: none; }
.label, .brand, legend, .rarity, .steps li::before { font-variant-ligatures: none; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 34px); }
h3 { font-size: 19px; font-weight: 600; }
p + p { margin-top: var(--s3); }
strong { color: var(--ice); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s4); width: 100%; }
@media (min-width: 720px) { .wrap { padding: 0 var(--s6); } }

.label { font-family: var(--pixel); color: var(--blue); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s3); display: block; }
.muted { color: var(--grey-2); font-size: 14px; }

/* ---------- pixel snow cap ---------- */
.snowcap { position: relative; }
.snowcap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 20px; z-index: 5; pointer-events: none;
  background: url("../assets/snowcap.svg") repeat-x 0 0 / 96px 20px; image-rendering: pixelated;
}
.snowcap-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 20px; z-index: 2; pointer-events: none;
  background: url("../assets/snowcap.svg") repeat-x 0 0 / 96px 20px; image-rendering: pixelated;
}

/* ---------- header ---------- */
.site-header { background: var(--ice); position: relative; z-index: 20; }
.site-header::after { bottom: -20px; }
.site-header .wrap { display: flex; align-items: center; gap: var(--s5); min-height: 64px; }
.brand { display: flex; align-items: center; gap: var(--s2); color: var(--base); font: 700 21px/1 var(--pixel); text-decoration: none; }
.brand img { width: auto; height: 34px; image-rendering: pixelated; }
.nav { display: flex; gap: var(--s1); flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: #3a4654; font-size: 15px; font-weight: 600; padding: var(--s2) var(--s3); border-radius: var(--radius); white-space: nowrap; text-decoration: none; }
.nav a:hover { color: var(--base); background: rgba(12,22,34,.07); }
.nav a[aria-current="page"] { color: var(--base); background: rgba(120,183,234,.35); }
.site-header .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 var(--s3); padding-top: var(--s2); }
  .brand { flex: 1; }
  .nav { order: 3; flex-basis: 100%; margin: 0 calc(var(--s3) * -1); padding-bottom: var(--s2); }
}

/* ---------- buttons (one style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  padding: 13px 18px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: var(--base); }
.btn-primary:hover { background: #8fc4ef; }
.btn-secondary { background: var(--base-3); color: var(--ice); border-color: rgba(255,255,255,.18); }
.btn-secondary:hover { background: #22364b; }
.btn-dark { background: var(--base); color: var(--ice); }
.btn-dark:hover { background: #172738; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- bands ---------- */
main { flex: 1; width: 100%; }
.band { padding: var(--s8) 0; position: relative; }
.band-dark { background: var(--base); }
.band-light { background: var(--base-2) url("../assets/frost.svg") repeat 0 0 / 64px 64px; }
.band-blue { background: var(--blue); color: var(--base); }
.band-blue h2, .band-blue strong { color: var(--base); }
.section-head { margin-bottom: var(--s6); max-width: 680px; }
.section-head p { margin-top: var(--s3); font-size: 17px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; overflow: hidden; background: #081019; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,16,25,.88) 0%, rgba(8,16,25,.6) 38%, rgba(8,16,25,0) 68%),
  linear-gradient(0deg, rgba(8,16,25,.85) 0%, rgba(8,16,25,0) 45%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; z-index: 3; padding-top: 120px; padding-bottom: var(--s8); }
.hero h1 { max-width: 640px; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.hero .lede { margin-top: var(--s4); font-size: 18px; color: #d6dde4; max-width: 520px; }
.hero__caption { position: absolute; right: var(--s4); bottom: var(--s4); z-index: 3; font-size: 12px; color: rgba(255,255,255,.75); background: rgba(8,16,25,.6); padding: 2px var(--s2); border-radius: 3px; }
.ip-box { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.ip { font: 700 18px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ice); background: rgba(8,16,25,.75); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 13px var(--s4); }

/* image band */
.image-band { position: relative; height: clamp(260px, 52vh, 520px); overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
.image-band figcaption { position: absolute; left: 0; right: 0; bottom: var(--s5); }
.image-band figcaption span { display: inline-block; font-family: var(--pixel); font-size: 18px; color: var(--ice); background: rgba(8,16,25,.78); padding: var(--s2) var(--s3); border-radius: var(--radius); }

/* ---------- join steps ---------- */
.steps { list-style: none; display: grid; gap: var(--s5); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.steps li { counter-increment: step; border-top: 3px solid var(--blue); padding-top: var(--s4); }
.steps li::before { content: "Step " counter(step); display: block; font-family: var(--pixel); color: var(--blue); font-size: 15px; margin-bottom: var(--s2); }
.steps h3 { margin-bottom: var(--s1); }

/* facts beside image */
.split { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }
.facts { list-style: none; display: grid; gap: var(--s5); margin-top: var(--s6); }
.facts li { border-left: 3px solid var(--blue); padding-left: var(--s4); }
.facts h3 { margin-bottom: 2px; }
.shot { border-radius: var(--radius); overflow: hidden; background: var(--base-3); box-shadow: 0 0 0 1px var(--line); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { font-size: 13px; color: var(--grey-2); padding: var(--s2) var(--s3); }

/* ---------- item scroller (inventory slots) ---------- */
.scroller-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.scroller-head .section-head { margin-bottom: 0; }
.scroller-btns { display: flex; gap: var(--s2); }
.items { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s2) 0 var(--s5); scrollbar-color: var(--base-3) transparent; }
.item { scroll-snap-align: start; background: var(--base-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); transition: transform .18s ease, border-color .18s ease; }
.item:hover { transform: translateY(-4px); border-color: rgba(120,183,234,.6); }
.slot-box {
  width: 88px; height: 88px; display: grid; place-items: center; margin-bottom: var(--s4);
  background: #8b8b8b; border: 4px solid; border-color: #373737 #ffffff #ffffff #373737; /* Minecraft inventory slot bevel */
}
.slot-box img { width: 64px; height: 64px; image-rendering: pixelated; object-fit: contain; }
.item h3 { font-size: 21px; }
.item p { margin-top: var(--s2); font-size: 15px; }

/* placeholder slot for screenshots still to be taken */
.slot {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: center; gap: var(--s1);
  padding: var(--s5); border: 2px dashed rgba(120,183,234,.5); border-radius: var(--radius);
  background: rgba(12,22,34,.6); color: var(--grey-2); font-size: 14px;
}
.slot strong { color: var(--ice); font-family: var(--pixel); font-size: 18px; font-weight: 600; }
.slot code { color: var(--blue); font-size: 13px; word-break: break-all; }
.shot-grid { display: grid; gap: var(--s5); }
@media (min-width: 720px) { .shot-grid { grid-template-columns: 1fr 1fr; } }

/* CTA band */
.cta { display: grid; gap: var(--s5); align-items: center; padding-top: var(--s4); }
@media (min-width: 860px) { .cta { grid-template-columns: 1fr auto; } }
.cta p { font-size: 17px; margin-top: var(--s2); color: #13263a; }
.cta .ip { background: var(--ice); color: var(--base); border-color: transparent; }

/* news rows */
.post-list { list-style: none; border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 200px 1fr; gap: var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .18s ease; }
.post-row:hover { transform: translateX(4px); }
.post-row:hover h3 { color: var(--blue); }
.post-row img, .post-row .noimg { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--base-3); }
.post-row h3 { margin-top: var(--s1); }
.post-row p { font-size: 15px; margin-top: var(--s1); }
@media (max-width: 560px) { .post-row { grid-template-columns: 104px 1fr; gap: var(--s3); } .post-row img, .post-row .noimg { width: 104px; } }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); border: 1px solid rgba(120,183,234,.45); border-radius: 3px; padding: 1px 6px; }

/* ---------- inner pages ---------- */
.page-head { background: var(--base-2) url("../assets/frost.svg") repeat 0 0 / 64px 64px; padding: calc(var(--s8) + 8px) 0 var(--s7); margin-bottom: var(--s7); }
.page-head p { margin-top: var(--s3); max-width: 640px; font-size: 17px; }
.page-body { padding-bottom: var(--s8); }
.two-col { display: grid; gap: var(--s6); }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

.rules { display: grid; gap: var(--s7); max-width: 780px; }
.rules ul { list-style: none; border-top: 1px solid var(--line); margin-top: var(--s4); }
.rules li { display: grid; grid-template-columns: 110px 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.verdict { font-size: 13px; font-weight: 700; padding-top: 2px; }
.verdict.yes { color: var(--blue); }
.verdict.no { color: var(--ice); }
.verdict.note { color: var(--grey-2); }
@media (max-width: 480px) { .rules li { grid-template-columns: 1fr; gap: 0; } }

.staff-table { width: 100%; border-collapse: collapse; }
.staff-table th { text-align: left; font-size: 13px; color: var(--grey-2); font-weight: 600; padding: var(--s2) var(--s3) var(--s2) 0; border-bottom: 1px solid var(--line); }
.staff-table td { padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.staff-table tbody tr { transition: background-color .15s; }
.staff-table tbody tr:hover { background: var(--base-2); }
.staff-table .who { display: flex; align-items: center; gap: var(--s3); color: var(--ice); font-weight: 600; }
.staff-table .who img { width: 36px; height: 36px; image-rendering: pixelated; border-radius: 3px; }
@media (max-width: 560px) { .staff-table .col-discord { display: none; } }

.form { display: grid; gap: var(--s4); max-width: 640px; }
.field label { display: block; color: var(--ice); font-weight: 600; font-size: 15px; margin-bottom: var(--s1); }
.field .hint { color: var(--grey-2); font-size: 13px; margin-bottom: var(--s2); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ice); background: var(--base-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px var(--s3);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
fieldset { border: 0; display: grid; gap: var(--s4); }
legend { color: var(--ice); font-family: var(--pixel); font-weight: 600; font-size: 20px; margin-bottom: var(--s3); }
.choice-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 10px var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--base-2); color: var(--grey-1); font-weight: 600; font-size: 15px; transition: transform .15s; }
.choice:hover span { transform: translateY(-2px); }
.choice input:checked + span { border-color: var(--blue); color: var(--base); background: var(--blue); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.notice { padding: var(--s4); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--base-2); }

.donor-list { list-style: none; border-top: 1px solid var(--line); max-width: 640px; }
.donor-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.donor-list img { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 3px; }

.post-view { max-width: 780px; }
.post-view .cover { margin: 0 0 var(--s5); }
.post-body * { font-size: inherit !important; }
.post-body font, .post-body [style*="color"] { color: var(--blue) !important; }
.post-body img, .post-body video { max-width: 100%; height: auto; border-radius: var(--radius); margin: var(--s4) 0; }
.post-body div, .post-body p { margin-bottom: var(--s2); }

/* ---------- footer ---------- */
.site-footer { background: #081019; padding: calc(var(--s7) + 8px) 0 var(--s6); font-size: 14px; color: var(--grey-2); position: relative; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.site-footer a { color: var(--grey-1); text-decoration: none; }
.site-footer a:hover { color: var(--ice); }
.site-footer .brand { color: var(--ice); font-size: 18px; margin-bottom: var(--s2); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .item, .post-row, .choice span { transition: none; }
  .btn:hover, .item:hover, .post-row:hover, .choice:hover span { transform: none; }
}

.toast { position: fixed; left: 50%; bottom: var(--s5); transform: translateX(-50%); background: var(--ice); color: var(--base); font-weight: 700; font-size: 14px; padding: var(--s3) var(--s4); border-radius: var(--radius); display: none; z-index: 50; }
.toast.show { display: block; }
[hidden] { display: none !important; }

/* Tiny5 ships one weight: never fake-bold it */
h1, h2, h3, .label, .brand, legend, .rarity, .steps li::before, .slot strong, .image-band figcaption span { font-weight: 400; font-synthesis: none; }
h3 { font-size: 20px; }
.item h3 { font-size: 22px; }

/* =================================================================
   Pass 4 — Minecraft touches
   ================================================================= */

/* hero headline: pixel font tuned for reading */
.hero h1 { font-size: clamp(30px, 4.1vw, 46px); line-height: 1.28; letter-spacing: .03em; word-spacing: .12em; max-width: 720px; }
h2 { letter-spacing: .02em; line-height: 1.25; }

/* ---------- header + mobile menu ---------- */
.site-header .nav { align-items: center; }
.nav .nav-discord { margin-left: auto; color: var(--ice); background: var(--base); padding: 9px 14px; font-weight: 700; }
.nav .nav-discord:hover { color: var(--ice); background: #172738; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 40px; border: 0; border-radius: var(--radius); background: var(--base); cursor: pointer; padding: 10px 11px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 4px; background: var(--ice); transition: transform .2s ease, opacity .2s ease; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: 0; }
  .brand { flex: 1; }
  .menu-btn { display: flex; }
  .site-header .nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--s3) var(--s4) var(--s5);
    background: var(--ice); border-top: 2px solid #c9dff0; overflow: visible; order: 0; flex-basis: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }
  .site-header .nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 20px; background: url("../assets/snowcap.svg") repeat-x 0 0 / 96px 20px; }
  .site-header.open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-header .nav a { font-family: var(--pixel); font-variant-ligatures: none; font-size: 22px; font-weight: 400; padding: var(--s3) var(--s2); border-bottom: 2px solid #d6e6f3; border-radius: 0; color: var(--base); }
  .site-header .nav a[aria-current="page"] { background: transparent; color: #2f6f9f; }
  .site-header .nav .nav-discord { margin: var(--s4) 0 0; border: 0; border-radius: var(--radius); text-align: center; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ice); background: var(--base); }
}

/* ---------- footer ---------- */
.site-footer { padding-top: calc(var(--s8) - 8px); }
.site-footer .footer-grid { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h3 { font-size: 17px; color: var(--ice); margin-bottom: var(--s3); }
.site-footer ul { list-style: none; display: grid; gap: var(--s2); }
.site-footer .foot-ip { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s4); }
.site-footer .ip { font-size: 15px; padding: 9px var(--s3); background: var(--base-2); }
.site-footer .foot-legal { display: block; margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- countdown ---------- */
.countdown-band { background: var(--base-2) url("../assets/frost.svg") repeat 0 0 / 64px 64px; padding: var(--s7) 0; }
.countdown { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .countdown { grid-template-columns: 1fr auto; } }
.countdown h2 { font-size: clamp(24px, 3vw, 30px); }
.countdown p { margin-top: var(--s2); }
.cd-blocks { display: flex; gap: var(--s3); flex-wrap: wrap; }
.cd-block { text-align: center; }
.cd-block .slot-box { width: 92px; height: 92px; margin: 0 auto var(--s2); }
.cd-block .num { font-family: var(--pixel); font-size: 44px; line-height: 1; color: #fff; text-shadow: 3px 3px 0 #3f3f3f; font-variant-numeric: tabular-nums; }
.cd-block .unit { font-family: var(--pixel); font-size: 14px; color: var(--grey-1); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 480px) { .cd-blocks { gap: var(--s2); } .cd-block .slot-box { width: 72px; height: 72px; } .cd-block .num { font-size: 32px; } }

/* ---------- quest log (what is new) ---------- */
.quest-log { list-style: none; display: grid; gap: var(--s4); }
@media (min-width: 860px) { .quest-log { grid-template-columns: 1fr 1fr; } }
.quest { display: grid; grid-template-columns: 52px 1fr; gap: var(--s4); background: var(--base-2); border: 2px solid #22364b; border-radius: var(--radius); padding: var(--s5); transition: transform .18s ease, border-color .18s ease; }
.quest:hover { transform: translateY(-3px); border-color: var(--blue); }
.quest .q-num { font-family: var(--pixel); font-size: 30px; color: var(--blue); line-height: 1; }
.quest p { margin-top: var(--s1); font-size: 15px; }
.quest .q-cmd { display: inline-block; margin-top: var(--s2); font: 600 13px/1 ui-monospace, Consolas, monospace; color: var(--ice); background: var(--base); border: 1px solid var(--line); border-radius: 3px; padding: 4px 6px; }
.quest.todo { border-style: dashed; border-color: rgba(120,183,234,.45); background: transparent; }
.quest.todo p { color: var(--grey-2); }

/* ---------- item tooltip (ranks) ---------- */
.tooltip-grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: start; }
.mc-tooltip {
  background: #0a1019; border: 3px solid #050a10; box-shadow: inset 0 0 0 2px var(--blue), 6px 6px 0 #050a10;
  padding: var(--s4) var(--s5) var(--s5); font-family: var(--pixel); font-variant-ligatures: none; transition: transform .18s ease;
}
.mc-tooltip:hover { transform: translateY(-3px); }
.mc-tooltip .tt-name { font-size: 24px; color: var(--blue); line-height: 1.2; }
.mc-tooltip .tt-sub { font-size: 15px; color: var(--grey-2); margin-bottom: var(--s3); }
.mc-tooltip ul { list-style: none; display: grid; gap: var(--s1); }
.mc-tooltip li { font-size: 17px; color: var(--ice); }
.mc-tooltip li::before { content: "+ "; color: var(--blue); }
.mc-tooltip .tt-foot { margin-top: var(--s3); font-size: 15px; color: var(--grey-2); }

/* ---------- staff inventory ---------- */
.role-group + .role-group { margin-top: var(--s7); }
.role-group > h2 { font-size: 24px; margin-bottom: var(--s4); }
.inv { list-style: none; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.member { background: var(--base-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); transition: transform .18s ease, border-color .18s ease; }
.member:hover { transform: translateY(-3px); border-color: rgba(120,183,234,.6); }
.member .slot-box { width: 104px; height: 104px; }
.member .slot-box img { width: 80px; height: 80px; }
.member h3 { font-size: 20px; word-break: break-word; }
.member .role { font-family: var(--pixel); color: var(--blue); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.member .disc { font-size: 13px; color: var(--grey-2); margin-top: var(--s1); }
@media (max-width: 420px) { .inv { grid-template-columns: 1fr 1fr; gap: var(--s3); } .member .slot-box { width: 84px; height: 84px; } .member .slot-box img { width: 64px; height: 64px; } }

/* ---------- rules book ---------- */
.book { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .book { grid-template-columns: 1fr 1fr; align-items: start; } }
.page {
  position: relative; background: var(--ice); color: #2a3644; border: 4px solid #c9dff0; border-radius: 2px;
  box-shadow: 6px 6px 0 #081019; padding: var(--s6) var(--s5) var(--s5);
}
.page .pg { position: absolute; top: var(--s3); right: var(--s4); font-family: var(--pixel); font-size: 14px; color: #6d7a88; }
.page h2 { color: var(--base); font-size: 26px; margin-bottom: var(--s3); }
.page ul { list-style: none; }
.page li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); padding: var(--s2) 0; border-bottom: 2px dotted #c6d7e6; font-size: 15px; }
.page li:last-child { border-bottom: 0; }
.page .verdict { font-family: var(--pixel); font-variant-ligatures: none; font-weight: 400; font-size: 15px; }
.page .verdict.yes { color: #2f6f9f; }
.page .verdict.no { color: var(--base); }
.page .verdict.note { color: #6d7a88; }
.page a { color: #2f6f9f; }
@media (max-width: 480px) { .page li { grid-template-columns: 1fr; gap: 0; } .page { padding: var(--s6) var(--s4) var(--s4); } }

/* ---------- slot choices (donate, bugs) ---------- */
.slot-choices { display: flex; flex-wrap: wrap; gap: var(--s3); }
.slot-choice { position: relative; text-align: center; cursor: pointer; display: block; }
.slot-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.slot-choice .slot-box { width: 76px; height: 76px; margin: 0 auto var(--s1); transition: transform .15s ease; }
.slot-choice .slot-box img { width: 44px; height: 44px; }
.slot-choice .amt { font-family: var(--pixel); font-size: 24px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }
.slot-choice .cap { display: block; font-size: 13px; font-weight: 600; color: var(--grey-1); max-width: 96px; }
.slot-choice:hover .slot-box { transform: translateY(-2px); }
.slot-choice input:checked + .slot-box { background: #a9c9e4; outline: 3px solid var(--blue); outline-offset: 2px; }
.slot-choice input:checked ~ .cap { color: var(--ice); }
.slot-choice input:focus-visible + .slot-box { outline: 3px solid var(--ice); outline-offset: 2px; }

.panel { background: var(--base-2); border: 2px solid #22364b; border-radius: var(--radius); padding: var(--s6); }
@media (max-width: 560px) { .panel { padding: var(--s5) var(--s4); } }

/* news date chip */
.date-chip { font-family: var(--pixel); font-variant-ligatures: none; font-size: 14px; color: var(--blue); letter-spacing: .04em; }
.slot-choice input:checked + .slot-box .amt { color: var(--base); text-shadow: none; }

/* ---------- Chapter Two arsenal: rarity labels ---------- */
.rarity {
  display: inline-block; font-family: var(--pixel); font-variant-ligatures: none; font-weight: 400;
  font-size: 13px; line-height: 1; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 7px; border-radius: 3px; border: 1px solid transparent; margin-bottom: var(--s2);
}
.item .rarity { font-size: 13px; }
.r-common    { color: var(--grey-2); border-color: rgba(255,255,255,.16); }
.r-uncommon  { color: var(--ice); border-color: rgba(255,255,255,.34); }
.r-rare      { color: var(--blue); border-color: rgba(120,183,234,.5); }
.r-epic      { color: var(--blue); border-color: var(--blue); background: rgba(120,183,234,.14); }
.r-legendary { color: var(--base); background: var(--blue); }
.r-mythical  { color: var(--base); background: var(--ice); }
.r-exotic    { color: var(--base); background: var(--ice); box-shadow: 3px 3px 0 var(--blue); }

.items { grid-auto-columns: minmax(270px, 300px); }
.item h3 { margin-top: var(--s1); }
.abilities { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s3); }
.abilities li { font-size: 14px; line-height: 1.5; color: var(--grey-1); }
.abilities strong { display: block; font-family: var(--pixel); font-variant-ligatures: none; font-weight: 400; font-size: 15px; color: var(--ice); letter-spacing: .02em; }

/* tools row */
.tools-title { font-size: 24px; }
.tools { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 240px); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s2) 0 var(--s5); scrollbar-color: var(--base-3) transparent; }
.tool { scroll-snap-align: start; display: grid; grid-template-columns: 64px 1fr; gap: var(--s3); align-items: center; background: var(--base-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); transition: transform .18s ease, border-color .18s ease; }
.tool:hover { transform: translateY(-3px); border-color: rgba(120,183,234,.6); }
.tool .slot-box { width: 64px; height: 64px; margin: 0; border-width: 3px; }
.tool .slot-box img { width: 40px; height: 40px; }
.tool .rarity { margin-bottom: var(--s1); padding: 3px 5px; font-size: 12px; }
.tool h3 { font-size: 18px; }
.tool p { font-size: 13px; color: var(--grey-2); }
@media (prefers-reduced-motion: reduce) { .tool { transition: none; } .tool:hover { transform: none; } }
.items { align-items: stretch; }

/* =================================================================
   Pass 6 — loot-screen rarity ladder + exotic showcase
   ================================================================= */
.t-common    { --rc: #c3c9cf; }
.t-uncommon  { --rc: #cfe8fb; }
.t-rare      { --rc: #78b7ea; }
.t-epic      { --rc: #4f9df0; }
.t-legendary { --rc: #7fe3f0; }
.t-mythical  { --rc: #9ff0d9; }
:root { --exotic: #b9f3ff; }

/* tooltip-style card */
.items { grid-auto-columns: minmax(280px, 310px); gap: var(--s5); padding-top: var(--s3); }
.item {
  --rc-soft: color-mix(in srgb, var(--rc) 35%, transparent);
  background: #0a1019; border: 2px solid #050a10; border-radius: 4px;
  box-shadow: inset 0 0 0 2px #1a2836, 5px 5px 0 #050a10;
  padding: var(--s5); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
}
.item:hover { transform: translateY(-6px); border-color: #050a10; }
.t-uncommon, .t-rare, .t-epic, .t-legendary, .t-mythical { box-shadow: inset 0 0 0 2px var(--rc-soft), 5px 5px 0 #050a10; }
.t-epic, .t-legendary, .t-mythical { box-shadow: inset 0 0 0 2px var(--rc), 5px 5px 0 #050a10; }

.item-name { font-size: 23px; color: var(--ice); margin-top: var(--s4); }
.t-uncommon .item-name, .t-rare .item-name, .t-epic .item-name, .t-legendary .item-name, .t-mythical .item-name { color: var(--rc); }
.rarity-line { display: block; font-family: var(--pixel); font-variant-ligatures: none; font-size: 14px; color: var(--grey-2); letter-spacing: .04em; margin-top: 2px; }
.t-rare .rarity-line, .t-epic .rarity-line, .t-legendary .rarity-line, .t-mythical .rarity-line { color: color-mix(in srgb, var(--rc) 70%, var(--grey-2)); }

.abilities { gap: var(--s3); margin-top: var(--s4); padding-top: var(--s3); border-top: 2px dotted #1f2f3f; }
.abilities li { font-size: 14px; }
.ab-name { font-family: var(--pixel); font-variant-ligatures: none; font-size: 16px; color: var(--blue); letter-spacing: .02em; }
.key { display: inline-block; font-size: 11px; font-weight: 700; color: var(--ice); background: #1a2b3d; border: 1px solid #2c425a; border-bottom-width: 2px; border-radius: 3px; padding: 1px 5px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.abilities p { color: var(--grey-2); margin-top: 2px; font-size: 14px; }

/* slot: border colour by tier */
.slot-wrap { position: relative; width: 88px; }
.item .slot-box { position: relative; overflow: hidden; margin: 0; }
.t-uncommon .slot-box, .t-rare .slot-box, .t-epic .slot-box, .t-legendary .slot-box, .t-mythical .slot-box { outline: 2px solid var(--rc); outline-offset: 2px; }
.item .slot-box img { position: relative; z-index: 1; transition: transform .3s ease; }
.item:hover .slot-box img { animation: bob 1.1s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* rare+: shine sweep */
.t-rare .slot-box::after, .t-epic .slot-box::after, .t-legendary .slot-box::after, .t-mythical .slot-box::after {
  content: ""; position: absolute; inset: -20%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.12) 54%, transparent 62%);
  transform: translateX(-120%); animation: shine 4.2s ease-in-out infinite;
}
.t-epic .slot-box::after { animation-duration: 3.4s; }
.t-legendary .slot-box::after, .t-mythical .slot-box::after { animation-duration: 3s; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* legendary+: pixel sparkles around the sprite */
.sparkles { position: absolute; inset: -10px; pointer-events: none; z-index: 3; }
.sparkles i {
  position: absolute; width: 3px; height: 3px; background: #fff; opacity: 0;
  box-shadow: 3px 0 0 var(--rc), -3px 0 0 var(--rc), 0 3px 0 var(--rc), 0 -3px 0 var(--rc);
  animation: twinkle 2.4s steps(6) infinite;
}
.sparkles i:nth-child(1) { left: 6%;  top: 10%; animation-delay: 0s; }
.sparkles i:nth-child(2) { left: 88%; top: 6%;  animation-delay: .4s; }
.sparkles i:nth-child(3) { left: 96%; top: 60%; animation-delay: .9s; }
.sparkles i:nth-child(4) { left: 70%; top: 98%; animation-delay: 1.3s; }
.sparkles i:nth-child(5) { left: 0%;  top: 78%; animation-delay: 1.7s; }
.sparkles i:nth-child(6) { left: 44%; top: -2%; animation-delay: 2.1s; }
@keyframes twinkle { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(.4); } }

/* mythical: slow pulse in its colour */
.t-mythical .slot-box { animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rc) 0%, transparent); } 50% { box-shadow: 0 0 22px 4px color-mix(in srgb, var(--rc) 55%, transparent); } }

/* ---------- exotic showcase ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.exotic {
  position: relative; padding: 4px; border-radius: 6px; margin-bottom: var(--s4);
  background: conic-gradient(from var(--spin), #b9f3ff, #78b7ea, #9ff0d9, #eef5fb, #7fe3f0, #4f9df0, #b9f3ff);
  animation: spin 6s steps(48) infinite;
  box-shadow: 0 0 40px -8px rgba(185,243,255,.35), 8px 8px 0 #050a10;
}
@keyframes spin { to { --spin: 360deg; } }
.exotic__inner { display: grid; background: #070d15; border-radius: 3px; overflow: hidden; }
@media (min-width: 900px) { .exotic__inner { grid-template-columns: 5fr 6fr; } }

.exotic__stage {
  position: relative; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: var(--s6);
  background: linear-gradient(rgba(7,13,21,.72), rgba(7,13,21,.88)), url("../assets/tex/cracked_deepslate_tiles.png") repeat 0 0 / 64px 64px; image-rendering: pixelated;
  overflow: hidden;
}
.exotic__stage .stars { position: absolute; inset: 0; background: url("../assets/stars.svg") repeat 0 0 / 160px 160px; opacity: .9; animation: drift 40s linear infinite; }
@keyframes drift { to { background-position: 160px -160px; } }
.exotic__float { position: relative; z-index: 2; margin-bottom: -6px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.exotic__float img { animation: hover 3.6s ease-in-out infinite; width: 168px; height: 168px; image-rendering: pixelated; filter: drop-shadow(0 0 18px rgba(185,243,255,.35)); }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.exotic:hover .exotic__float { transform: translateY(-26px); }

.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 4px; height: 4px; background: #fff; opacity: 0;
  box-shadow: 4px 0 0 var(--exotic), -4px 0 0 var(--exotic), 0 4px 0 var(--exotic), 0 -4px 0 var(--exotic); }
.exotic:hover .burst i { animation: burst .9s cubic-bezier(.2,.8,.2,1) forwards; }
.burst i:nth-child(1)  { --dx: -110px; --dy: -60px; }
.burst i:nth-child(2)  { --dx: 110px;  --dy: -70px; animation-delay: .05s; }
.burst i:nth-child(3)  { --dx: -80px;  --dy: 50px;  animation-delay: .1s; }
.burst i:nth-child(4)  { --dx: 90px;   --dy: 40px;  animation-delay: .05s; }
.burst i:nth-child(5)  { --dx: 0px;    --dy: -120px; animation-delay: .12s; }
.burst i:nth-child(6)  { --dx: -140px; --dy: -10px; animation-delay: .08s; }
.burst i:nth-child(7)  { --dx: 140px;  --dy: 0px;   animation-delay: .1s; }
.burst i:nth-child(8)  { --dx: -40px;  --dy: -100px; animation-delay: .15s; }
.burst i:nth-child(9)  { --dx: 50px;   --dy: -110px; animation-delay: .02s; }
.burst i:nth-child(10) { --dx: 20px;   --dy: 70px;  animation-delay: .14s; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }

.pedestal { position: relative; z-index: 1; width: 200px; }
.pedestal__top { display: block; height: 22px; background: url("../assets/tex/polished_deepslate.png") repeat 0 0 / 32px 32px; image-rendering: pixelated; filter: brightness(1.25); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.pedestal__front { display: block; height: 56px; background: url("../assets/tex/deepslate_tiles.png") repeat 0 0 / 32px 32px; image-rendering: pixelated; filter: brightness(.85); box-shadow: inset 0 3px 0 rgba(255,255,255,.08); }
.exotic__stage::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--s6) + 70px); width: 180px; height: 40px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(185,243,255,.28), transparent 70%); pointer-events: none; }

.exotic__info { padding: var(--s6); }
@media (max-width: 560px) { .exotic__info { padding: var(--s5) var(--s4); } }
.exotic__badge {
  display: inline-block; font-family: var(--pixel); font-variant-ligatures: none; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: #070d15; background: var(--exotic); padding: 5px 10px 4px; box-shadow: 3px 3px 0 #4f9df0;
}
.exotic__name { font-size: clamp(30px, 3.6vw, 40px); color: var(--exotic); margin-top: var(--s4); letter-spacing: .02em; }
.exotic .rarity-line { color: #8fd4e6; font-size: 15px; }
.abilities--lg { gap: var(--s4); }
.abilities--lg .ab-name { font-size: 18px; }
.abilities--lg p { font-size: 15px; color: var(--grey-1); }
.exotic__foot { margin-top: var(--s4); font-size: 14px; color: var(--grey-2); border-left: 3px solid var(--exotic); padding-left: var(--s3); }

/* tools stay simpler */
.tool .rarity { border: 0; background: none; padding: 0; color: var(--grey-2); }

@media (prefers-reduced-motion: reduce) {
  .item, .exotic__float { transition: none; }
  .item:hover { transform: none; }
  .item:hover .slot-box img, .t-mythical .slot-box, .exotic, .exotic__float img, .exotic__stage .stars, .sparkles i { animation: none; }
  .sparkles i { opacity: .8; }
  .slot-box::after { display: none; }
  .exotic:hover .exotic__float { transform: none; }
  .exotic:hover .burst i { animation: none; }
}

/* ---------- pass 6b: Colossus Gauntlet arm bursting out of the card ---------- */
.exotic { margin-top: 120px; }
.exotic__inner { overflow: visible; }
.exotic__stage { overflow: visible; min-height: 420px; padding-bottom: var(--s5); border-radius: 3px 0 0 3px; }
.exotic__stage .stars { border-radius: inherit; }
.exotic__stage::after { display: none; }
.exotic__stage::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(159,240,217,.16), transparent 70%); }
.exotic__float--arm { position: absolute; left: 50%; bottom: var(--s5); translate: -50% 0; width: max-content; margin: 0; animation: none; }
.exotic__float--arm .arm {
  display: block; width: auto; max-width: none; height: 700px; margin-top: 0; image-rendering: auto;
  filter: drop-shadow(0 0 22px rgba(185,243,255,.22)) drop-shadow(6px 10px 0 rgba(3,7,12,.55));
  animation: rise 4.2s ease-in-out infinite; transform-origin: 50% 100%;
}
@keyframes rise { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-.6deg); } }
.exotic:hover .exotic__float--arm { transform: translateY(-14px); }
.ground-shadow { position: absolute; z-index: 1; left: 50%; bottom: calc(var(--s5) - 6px); width: 230px; height: 34px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,.65), transparent 70%); }
.exotic__float--arm .burst { top: 14%; }
.arm-sparkles { position: absolute; left: -10%; right: -10%; top: -4%; height: 34%; pointer-events: none; z-index: 3; }
.arm-sparkles i { position: absolute; width: 3px; height: 3px; background: #fff; opacity: 0;
  box-shadow: 3px 0 0 var(--exotic), -3px 0 0 var(--exotic), 0 3px 0 var(--exotic), 0 -3px 0 var(--exotic);
  animation: twinkle 2.6s steps(6) infinite; }
.arm-sparkles i:nth-child(1) { left: 8%;  top: 18%; }
.arm-sparkles i:nth-child(2) { left: 92%; top: 8%;  animation-delay: .4s; }
.arm-sparkles i:nth-child(3) { left: 98%; top: 46%; animation-delay: .9s; }
.arm-sparkles i:nth-child(4) { left: 2%;  top: 52%; animation-delay: 1.3s; }
.arm-sparkles i:nth-child(5) { left: 50%; top: -4%; animation-delay: 1.7s; }
.arm-sparkles i:nth-child(6) { left: 78%; top: 70%; animation-delay: 2.1s; }
.arm-sparkles i:nth-child(7) { left: 22%; top: 2%;  animation-delay: .7s; }
@media (max-width: 899px) {
  .exotic__stage { border-radius: 3px 3px 0 0; min-height: 380px; }
  .exotic__float--arm .arm { height: 450px; margin-top: 0; }
  .exotic { margin-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .exotic__float--arm .arm, .arm-sparkles i { animation: none; }
  .arm-sparkles i { opacity: .8; }
  .exotic:hover .exotic__float--arm { transform: none; }
}

/* ---------- pass 6c: mythical frame (double border, pixel corner bezels, edge shimmer) ---------- */
.t-mythical { position: relative;
  box-shadow: inset 0 0 0 2px var(--rc), inset 0 0 0 5px #0a1019, inset 0 0 0 6px color-mix(in srgb, var(--rc) 45%, transparent), 5px 5px 0 #050a10; }
.t-mythical::before {
  --g: linear-gradient(var(--rc), var(--rc)); --w: linear-gradient(#eef5fb, #eef5fb);
  content: ""; position: absolute; inset: -5px; pointer-events: none; z-index: 4;
  background:
    var(--w) left 7px top 7px / 4px 4px no-repeat, var(--w) right 7px top 7px / 4px 4px no-repeat,
    var(--w) left 7px bottom 7px / 4px 4px no-repeat, var(--w) right 7px bottom 7px / 4px 4px no-repeat,
    var(--g) left top / 22px 5px no-repeat, var(--g) left top / 5px 22px no-repeat,
    var(--g) right top / 22px 5px no-repeat, var(--g) right top / 5px 22px no-repeat,
    var(--g) left bottom / 22px 5px no-repeat, var(--g) left bottom / 5px 22px no-repeat,
    var(--g) right bottom / 22px 5px no-repeat, var(--g) right bottom / 5px 22px no-repeat;
  filter: drop-shadow(2px 2px 0 #050a10);
}
.t-mythical::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, #fff 50%, transparent) -40% 0 / 35% 2px no-repeat,
    linear-gradient(90deg, transparent, #fff 50%, transparent) 140% 100% / 35% 2px no-repeat;
  animation: edge 5s ease-in-out infinite;
}
@keyframes edge {
  0%, 30% { background-position: -40% 0, 140% 100%; opacity: 0; }
  35% { opacity: 1; }
  75% { background-position: 140% 0, -40% 100%; opacity: 1; }
  80%, 100% { background-position: 140% 0, -40% 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .t-mythical::after { animation: none; opacity: 0; } }
.items { padding-right: 10px; padding-left: 6px; scroll-padding-left: 6px; }

/* hero video: footage is brighter than the old still, so a slightly stronger scrim */
.hero:has(.hero__video) .hero__scrim { background:
  linear-gradient(90deg, rgba(8,16,25,.9) 0%, rgba(8,16,25,.72) 42%, rgba(8,16,25,.25) 72%, rgba(8,16,25,.1) 100%),
  linear-gradient(0deg, rgba(8,16,25,.9) 0%, rgba(8,16,25,0) 50%); }
.hero__video { object-position: center 45%; }
