/* ==========================================================================
   Panggugu Arcade — neon retro cabinet theme
   Palette: deep cosmic purple ground, magenta + cyan neon, amber highlights
   ========================================================================== */

:root {
  --bg:        #0d0620;
  --bg-2:      #170a35;
  --panel:     rgba(27, 15, 58, .72);
  --panel-2:   rgba(35, 20, 72, .55);
  --ink:       #f4eeff;
  --muted:     #a99ccc;
  --magenta:   #ff2d95;
  --cyan:      #22e0ff;
  --amber:     #ffc93c;
  --line:      rgba(255, 255, 255, .10);
  --line-2:    rgba(255, 45, 149, .35);
  --r:         14px;
  --r-lg:      22px;
  --shadow:    0 18px 50px -28px rgba(0, 0, 0, .95);
  --font-ui:   'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* cosmic ground + faint perspective grid + scanlines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 12% -8%, rgba(255, 45, 149, .22), transparent 62%),
    radial-gradient(900px 560px at 92% 4%, rgba(34, 224, 255, .18), transparent 60%),
    radial-gradient(760px 520px at 50% 108%, rgba(255, 201, 60, .10), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, #0a0419 100%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px);
  opacity: .55;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, h4, .brand-word, .chip, .btn, .marquee-title {
  font-family: var(--font-ui);
  letter-spacing: .01em;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; margin: 0 0 .5rem; text-transform: uppercase; }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin: 0; text-transform: uppercase; }
h3 { font-size: 1.02rem; margin: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--magenta); color: #fff; padding: 10px 16px; z-index: 99; }
.skip:focus { left: 0; }

.neon {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 45, 149, .95), 0 0 26px rgba(255, 45, 149, .55), 0 0 46px rgba(34, 224, 255, .35);
}

.kicker {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  color: var(--cyan);
  margin: 0 0 .7rem;
}

.lede { color: var(--muted); font-size: 1.02rem; max-width: 62ch; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn-neon {
  background: linear-gradient(135deg, var(--magenta), #ff5cae);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 32px -12px rgba(255, 45, 149, .85);
}
.btn-neon:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 18px 40px -14px rgba(255, 45, 149, 1); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }

/* -------------------------------------------------------------------- header */
.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(13, 6, 32, .96), rgba(13, 6, 32, .88));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  font-size: 1.1rem;
  color: var(--magenta);
  text-shadow: 0 0 10px rgba(255, 45, 149, .9);
}
.brand-word {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .09em;
  color: #fff;
}
.brand-word em { font-style: normal; color: var(--cyan); }

.bar-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.bar-nav a {
  font-family: var(--font-ui);
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--muted);
  border: 1px solid transparent;
}
.bar-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.bar-nav a.on { color: var(--magenta); border-color: var(--line-2); background: rgba(255, 45, 149, .1); }

.bar-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 210px;
}
.bar-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
}
.bar-search input::placeholder { color: #7d6fa5; }
.bar-search button {
  border: 0;
  background: transparent;
  color: var(--cyan);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
}

.bar-count {
  font-family: var(--font-ui);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}
.bar-count b { color: var(--amber); }

.bar-burger {
  display: none;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-ui);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
}

.bar-drawer {
  border-top: 1px solid var(--line);
  padding: 10px 20px 16px;
  display: grid;
  gap: 2px;
}
.bar-drawer[hidden] { display: none; }
.bar-drawer a {
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: var(--ink);
  font-size: .95rem;
}

/* scrolling tape */
.tape {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 45, 149, .12), rgba(34, 224, 255, .12));
  overflow: hidden;
}
.tape-run {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  padding: 7px 0;
  width: max-content;
  animation: tape 38s linear infinite;
}
.tape-run span {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d9cff2;
}
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tape-run { animation: none; } }

/* --------------------------------------------------------------------- shell */
.shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.rail {
  position: sticky;
  top: 104px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 14px;
  box-shadow: var(--shadow);
}
.rail-head {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 10px 6px;
}
.rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rail-list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 8px;
  border-radius: 10px;
  color: var(--ink);
  border: 1px solid transparent;
}
.rail-list a:hover { background: rgba(255, 255, 255, .05); border-color: var(--line); }
.rail-num {
  font-family: var(--font-ui);
  font-size: .72rem;
  color: var(--magenta);
  letter-spacing: .06em;
}
.rail-txt { display: grid; }
.rail-txt b { font-size: .9rem; font-weight: 600; }
.rail-txt i { font-style: normal; font-size: .74rem; color: var(--muted); }

.rail-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rail-plate {
  font-family: var(--font-ui);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin: 0 0 6px;
}
.rail-live { font-size: .82rem; margin: 0 0 8px; display: flex; align-items: center; gap: 7px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #37f5a5;
  box-shadow: 0 0 10px #37f5a5;
  animation: pulse 1.9s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }
.rail-note { font-size: .72rem; color: var(--muted); line-height: 1.6; margin: 0; }

.deck { min-width: 0; display: grid; gap: 42px; }

/* ---------------------------------------------------------------------- hero */
.cab-hero {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel-2);
  overflow: hidden;
  padding: 30px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cab-hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background:
    repeating-linear-gradient(90deg, rgba(34, 224, 255, .22) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(0deg, rgba(255, 45, 149, .18) 0 1px, transparent 1px 34px);
  transform: perspective(320px) rotateX(62deg);
  transform-origin: bottom;
  opacity: .5;
  pointer-events: none;
}
.cab-hero-glow {
  position: absolute;
  inset: -40% 45% 40% -20%;
  background: radial-gradient(circle, rgba(255, 45, 149, .3), transparent 65%);
  pointer-events: none;
}
.cab-hero-copy { position: relative; z-index: 2; }

.hero-facts {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.hero-facts li { display: grid; }
.hero-facts b {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 16px rgba(34, 224, 255, .5);
}
.hero-facts span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 5px; }

.cab-hero-marquee { position: relative; z-index: 2; }
.marquee-frame { display: flex; justify-content: space-between; }
.marquee-bulb {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 201, 60, .9);
  animation: bulb 1.4s linear infinite;
}
.marquee-bulb:nth-child(even) { animation-delay: .7s; }
@keyframes bulb { 50% { opacity: .2; } }
.marquee-body {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 45, 149, .16), rgba(34, 224, 255, .1));
  padding: 20px 16px;
  text-align: center;
  margin-top: 8px;
}
.marquee-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 45, 149, .95), 0 0 30px rgba(34, 224, 255, .5);
}
.marquee-sub {
  margin: .35rem 0 1rem;
  font-family: var(--font-ui);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-cta {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* ------------------------------------------------------------------ sections */
.deck-sec { display: grid; gap: 16px; }
.sec-head { border-left: 3px solid var(--magenta); padding-left: 14px; }
.sec-head p { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }

/* --------------------------------------------------------------- game cards */
.cab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 16px;
}
.cab-grid-rail { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }

.cab {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cab:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 45, 149, .65);
  box-shadow: 0 0 0 1px rgba(255, 45, 149, .4), 0 22px 44px -26px rgba(255, 45, 149, .9);
}

.cab-screen {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #150a2c;
}
.cab-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.cab:hover .cab-screen img { transform: scale(1.07); }

.cab-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), transparent 42%);
  pointer-events: none;
}
.cab-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  background: linear-gradient(180deg, rgba(13, 6, 32, .55), rgba(13, 6, 32, .86));
  color: #fff;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: opacity .18s ease;
}
.cab:hover .cab-start, .cab:focus-within .cab-start { opacity: 1; }
.cab-arrow { color: var(--amber); }

.cab-badges { position: absolute; top: 9px; left: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-family: var(--font-ui);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.tag-hot { background: rgba(255, 45, 149, .9); color: #fff; }
.tag-new { background: rgba(34, 224, 255, .88); color: #05162a; }

.cab-plate {
  padding: 11px 12px 13px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent);
}
.cab-plate h3 { font-size: .92rem; line-height: 1.3; }
.cab-plate h3 a { color: var(--ink); }
.cab-plate h3 a:hover { color: var(--magenta); }
.cab-meta {
  margin: 6px 0 0;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: .7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* -------------------------------------------------------------- collections */
.coll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.coll {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
  color: var(--ink);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.coll:hover { transform: translateY(-3px); border-color: var(--cyan); background: rgba(34, 224, 255, .07); color: #fff; }
.coll-num { font-family: var(--font-ui); color: var(--magenta); font-size: .86rem; }
.coll-body { display: grid; flex: 1; min-width: 0; }
.coll-body b { font-size: .95rem; }
.coll-body i { font-style: normal; font-size: .76rem; color: var(--muted); }
.coll-count {
  font-family: var(--font-ui);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover { color: #fff; border-color: var(--cyan); }
.chip.on {
  background: linear-gradient(135deg, var(--magenta), #ff5cae);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 18px -6px rgba(255, 45, 149, .95);
}
.filter-search { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.filter-search input {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: .88rem;
  min-width: 220px;
  outline: none;
}
.filter-search input:focus { border-color: var(--cyan); }
.filter-msg { font-size: .76rem; color: var(--amber); white-space: nowrap; }

.grid-empty {
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 26px;
  text-align: center;
  color: var(--muted);
}

/* ---------------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
  padding: 14px 16px;
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: .92rem;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '\25B8 '; color: var(--magenta); }
.faq[open] summary::before { content: '\25BE '; }
.faq p { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------- note cards */
.note-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.note-row-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.note {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
  padding: 16px;
  color: var(--ink);
  transition: transform .16s ease, border-color .16s ease;
}
.note:hover { transform: translateY(-3px); border-color: var(--cyan); color: #fff; }
.note-cat {
  font-family: var(--font-ui);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
}
.note h3 { font-size: 1rem; line-height: 1.32; }
.note p { margin: 0; font-size: .86rem; color: var(--muted); }
.note-more { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.note-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

.lead-note {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
  color: var(--ink);
}
.lead-note img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.lead-note-body { padding: 22px; display: grid; gap: 9px; align-content: center; }
.lead-note-body h2 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.24; }
.lead-note-body p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------------------ article */
.note-wrap { max-width: 780px; margin: 0 auto; }
.note-head h1 { margin-bottom: .4rem; }
.note-byline { color: var(--muted); font-size: .82rem; margin: 0 0 18px; }
.note-hero { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 26px; }
.prose { font-size: 1.03rem; }
.prose h2 { margin: 1.9rem 0 .6rem; font-size: 1.2rem; color: var(--cyan); }
.prose p { margin: 0 0 1rem; color: #ded4f5; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.2rem; color: #ded4f5; }
.prose li { margin-bottom: .45rem; }
.note-cta {
  margin-top: 30px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(255, 45, 149, .13), rgba(34, 224, 255, .08));
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.note-cta p { margin: 0; font-size: .94rem; }

/* ------------------------------------------------------------------ listing */
.trail { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .78rem; color: var(--muted); }
.trail a { color: var(--muted); }
.trail a:hover { color: var(--cyan); }
.trail b { color: var(--ink); font-weight: 600; }
.trail span { color: var(--magenta); }

.coll-head { display: grid; gap: .5rem; }
.coll-stat { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: .3rem 0 0; }

/* --------------------------------------------------------------- play page */
.play { display: grid; gap: 30px; }
.play-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  padding: 16px;
  box-shadow: var(--shadow);
}
.play-top { display: grid; gap: .2rem; margin-bottom: 12px; }
.play-plate {
  font-family: var(--font-ui);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--magenta);
}
.play-top h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.play-sub { margin: 0; color: var(--muted); font-size: .84rem; }

.play-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #08031a;
  border: 1px solid var(--line);
}
.play-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.play-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .5rem;
  background: radial-gradient(circle at 50% 40%, #1a0d38, #08031a 70%);
  text-align: center;
  transition: opacity .35s ease;
}
.play-loading.gone { opacity: 0; pointer-events: none; }
.play-loading p { margin: 0; font-family: var(--font-ui); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.play-loading small { color: var(--muted); font-size: .74rem; }
.play-spinner {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12);
  border-top-color: var(--magenta);
  border-right-color: var(--cyan);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.play-bar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 14px; }
.play-note { font-size: .74rem; color: var(--muted); margin-left: auto; }

.play-read { display: grid; gap: .8rem; }
.play-read h2 { font-size: 1.12rem; color: var(--cyan); margin-top: 1.2rem; }
.play-read p { margin: 0; color: #ded4f5; }

.spec {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  margin: 0;
}
.spec > div {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
  padding: 10px 13px;
}
.spec dt { font-family: var(--font-ui); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 4px 0 0; font-size: .9rem; }

.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.mini {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-2);
  color: var(--ink);
  transition: transform .16s ease, border-color .16s ease;
}
.mini:hover { transform: translateY(-3px); border-color: var(--magenta); color: #fff; }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.mini b { display: block; padding: 9px 10px; font-size: .8rem; line-height: 1.3; }

/* ------------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); background: rgba(8, 3, 20, .82); margin-top: 40px; }
.foot-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.foot-col { display: grid; gap: 7px; align-content: start; }
.foot-head {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 4px;
}
.foot-col a { color: var(--muted); font-size: .88rem; }
.foot-col a:hover { color: #fff; }
.foot-about p { margin: 0 0 8px; color: var(--muted); font-size: .86rem; max-width: 52ch; }
.foot-stat { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.brand-foot { margin-bottom: 6px; }
.foot-legal {
  border-top: 1px solid var(--line);
  padding: 16px 20px 26px;
  max-width: 1400px;
  margin: 0 auto;
}
.foot-legal p { margin: 0; font-size: .76rem; color: #8a7cb2; line-height: 1.7; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .cab-hero { grid-template-columns: 1fr; }
  .cab-hero-marquee { max-width: 320px; }
}

@media (max-width: 1024px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; min-width: 0; }
  .rail-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .rail-list li { flex: 0 0 auto; }
  .rail-list a { border: 1px solid var(--line); white-space: nowrap; }
  .rail-txt i { display: none; }
  .rail-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .rail-plate { margin: 0; }
  .rail-live { margin: 0; }
}

@media (max-width: 900px) {
  .bar-nav { display: none; }
  .bar-burger { display: block; }
  .bar-search { order: 3; width: 100%; margin-left: 0; }
  .bar-count { margin-left: auto; }
  .foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-note { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { padding: 16px 14px 48px; }
  .bar-count { display: none; }
  .bar-inner { gap: 10px; }
  .cab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .cab-grid-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cab-plate { padding: 9px 10px 11px; }
  .cab-plate h3 { font-size: .84rem; }
  .cab-meta { font-size: .63rem; }
  .cab-hero { padding: 22px 18px; }
  .hero-facts { gap: 18px; }
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { min-width: 0; width: 100%; }
  .foot-inner { grid-template-columns: 1fr; }
  .play-note { margin-left: 0; width: 100%; }
}
