:root {
  --bg: #090000;
  --panel: #09090c;
  --cream: #f4ead7;
  --red: #f22b1f;
  --deep-red: #5e0808;
  --yellow: #ffd319;
  --blue: #168cff;
  --trim: #6f7179;
  --trim-light: #a8abb2;
  --muted: #aaa1a4;
  --line: #2a1a1e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #160000;
  color: var(--cream);
  font-family: "Courier New", monospace;
  overflow-x: hidden;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }

.site-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  padding: 0 14px 14px;
}
.room-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  background: url("arcade-room.png") center top / cover no-repeat;
  filter: saturate(.95) contrast(1.18) brightness(.34) sepia(.12) hue-rotate(-8deg);
  transform: scale(1.02);
}
.red-haze {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 64, 20, .32), transparent 34%),
    linear-gradient(rgba(120, 0, 0, .28), rgba(26, 0, 0, .76));
  mix-blend-mode: screen;
  pointer-events: none;
}
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, .82) 100%);
  pointer-events: none;
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .09;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.08) 0, rgba(255,255,255,.08) 1px, transparent 1px, transparent 4px);
}
.sparks { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.sparks i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff3c22;
  box-shadow: 0 0 14px 4px rgba(255, 50, 25, .8);
  animation: rise 9s linear infinite;
}
.sparks i:nth-child(1) { left: 7%; top: 95%; animation-delay: -1s; }
.sparks i:nth-child(2) { left: 20%; top: 87%; animation-delay: -6s; }
.sparks i:nth-child(3) { left: 36%; top: 93%; animation-delay: -3s; }
.sparks i:nth-child(4) { left: 51%; top: 89%; animation-delay: -8s; }
.sparks i:nth-child(5) { left: 67%; top: 96%; animation-delay: -4s; }
.sparks i:nth-child(6) { left: 79%; top: 91%; animation-delay: -7s; }
.sparks i:nth-child(7) { left: 90%; top: 98%; animation-delay: -2s; }
.sparks i:nth-child(8) { left: 57%; top: 94%; animation-delay: -5s; }
@keyframes rise { to { transform: translateY(-110vh) scale(.3); opacity: 0; } }

.topbar {
  min-height: 74px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 18px;
  background: rgba(2, 2, 4, .96);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 7px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: .15em;
  font-weight: 900;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}
.brand small { display: block; color: var(--muted); margin-top: 4px; font-size: .62rem; }
.social-nav { display: flex; justify-content: center; gap: 28px; }
.social-nav a {
  min-width: 56px;
  display: grid;
  justify-items: center;
  gap: 3px;
  text-decoration: none;
  color: #f6f2e8;
  transition: transform .18s ease, color .18s ease;
}
.social-nav a:hover { color: var(--red); transform: translateY(-2px); }
.social-nav svg { width: 21px; height: 21px; fill: currentColor; }
.social-nav span { font-size: .58rem; font-weight: 900; }
.music-button {
  border: 2px solid var(--yellow);
  background: #080808;
  color: var(--yellow);
  padding: 12px 17px;
  font-weight: 900;
  cursor: pointer;
}

.cabinet { width: min(1480px, 100%); margin: 0 auto; padding: 8px 0 0; }
.hero { position: relative; }
.hero-heading {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.hero-heading h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-shadow: 0 5px 0 #650b08, 0 0 20px rgba(255, 35, 25, .8);
}
.hero-heading p { margin: 7px 0 0; color: var(--blue); font-weight: 900; letter-spacing: .22em; }
.hero-heading > span { color: var(--red); font-size: 1.8rem; }
.roster-shell { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 9px; align-items: stretch; }
.roster-arrow {
  border: 2px solid var(--trim);
  background: rgba(10, 4, 12, .92);
  color: var(--yellow);
  cursor: pointer;
  font-size: 1.1rem;
}
.roster-arrow:hover { border-color: var(--trim-light); background: #171719; }
.roster-viewport { overflow: hidden; scroll-behavior: smooth; }
.roster-track { display: flex; gap: 10px; width: max-content; padding: 1px; }
.character-card {
  position: relative;
  flex: 0 0 154px;
  height: 226px;
  overflow: hidden;
  border: 3px solid var(--trim);
  background: #090909;
  text-decoration: none;
  box-shadow: 0 0 0 1px #111;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.character-card:hover,
.character-card:focus-visible {
  transform: translateY(-6px) scale(1.025);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(255, 40, 20, .55);
}
.character-card .portrait {
  display: block;
  height: 184px;
  overflow: hidden;
  background: #111;
}
.character-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}
.character-card .name {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border-top: 2px solid var(--trim);
  background: linear-gradient(#17171b, #060607);
  color: #f7f7f7;
  font-size: .78rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: .045em;
  text-align: center;
  text-shadow: none;
  white-space: normal;
}
.roster-instruction { text-align: center; color: var(--muted); padding: 9px 0 12px; font-size: .7rem; letter-spacing: .14em; }

.panel {
  min-width: 0;
  border: 3px solid var(--trim);
  background: rgba(6, 6, 9, .95);
  box-shadow: inset 0 0 0 2px #111, 7px 7px 0 rgba(0,0,0,.68);
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.panel:hover { border-color: var(--trim-light); }
.panel-head {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-bottom: 2px solid #232329;
  background: linear-gradient(#121216, #08080a);
}
.panel-head h2 { margin: 0; font-size: 1rem; letter-spacing: .12em; }
.panel-head.red h2 { color: var(--red); }
.panel-head.yellow h2 { color: var(--yellow); }
.panel-head.blue h2 { color: var(--blue); }
.panel-head.split { justify-content: space-between; }
.panel-head.split a { color: var(--yellow); font-size: .66rem; font-weight: 900; text-decoration: none; }
.panel-link, .merch-button {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--yellow);
  font-size: .65rem;
  font-weight: 900;
  padding: 10px;
  border-top: 2px solid #24242a;
  background: #09090b;
}
.feature-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 12px; }
.twitch-panel { min-height: 440px; display: flex; flex-direction: column; }
.stream-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #151519; }
.stream-tab { border: 0; border-right: 1px solid #34343a; background: #151519; color: #c5c5c5; padding: 10px 5px; cursor: pointer; font-size: .7rem; font-weight: 900; }
.stream-tab.active { background: var(--red); color: #fff; }
.twitch-stage { flex: 1; min-height: 330px; background: #020202; }
.twitch-stage iframe { width: 100%; height: 100%; border: 0; }
.control-deck { min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 7px 14px; border-top: 2px solid #28282e; background: linear-gradient(#222228, #0c0c10); color: #bcbcc4; font-size: .58rem; }
.control-deck .joystick { width: 26px; height: 26px; border-radius: 50%; background: var(--red); box-shadow: inset 0 -7px 0 #830d08; margin-right: auto; }
.control-deck i { width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 7px currentColor; }
.control-deck i:first-of-type { background: var(--red); }
.fooly-tv { min-height: 440px; display: flex; flex-direction: column; }
.tv-shell { flex: 1; min-height: 344px; display: grid; grid-template-columns: 1fr 76px; gap: 12px; padding: 14px; background: linear-gradient(135deg, #2b2420, #080808); border: 2px solid #5b5148; }
.tv-screen { overflow: hidden; border: 12px solid #080808; border-radius: 24px; box-shadow: inset 0 0 25px #000; background: #000; }
.tv-screen video { width: 100%; height: 100%; object-fit: cover; }
.tv-controls { display: flex; flex-direction: column; align-items: center; gap: 15px; padding-top: 8px; }
.tv-controls i { width: 34px; height: 34px; border: 3px solid #111; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #5a5149, #060606 65%); }
.tv-controls span { width: 38px; height: 112px; background: repeating-linear-gradient(to bottom, #060606 0 4px, #2a2929 4px 7px); border: 2px solid #111; }
.tv-controls b { width: 12px; height: 12px; border-radius: 50%; background: #1ee638; box-shadow: 0 0 10px #1ee638; margin-top: auto; }
.panel-caption { margin: 0; padding: 11px; text-align: center; color: #aaa; font-size: .62rem; letter-spacing: .12em; }

.utility-grid { display: grid; grid-template-columns: .95fr .95fr 1.1fr; gap: 12px; margin-top: 12px; }
.records-panel, .merch-panel, .community-panel { min-height: 395px; display: flex; flex-direction: column; }
.records-panel iframe { width: 100%; height: 320px; border: 0; background: #fff; }
.merch-grid { flex: 1; min-height: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; background: #060606; }
.merch-item { overflow: hidden; border: 2px solid #333; background: #fff; }
.merch-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.merch-item:hover img { transform: scale(1.04); }
.merch-button { margin-top: auto; background: #d51e16; color: #fff; }
.community-content { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 335px; }
.community-copy { padding: 22px 18px; align-self: center; }
.community-copy strong { display: block; color: var(--blue); font-size: 1.25rem; margin-bottom: 13px; }
.community-copy p { color: #ddd; line-height: 1.55; font-size: .8rem; }
.community-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.community-links a { border: 2px solid #333; background: #111; color: #fff; padding: 9px 6px; text-align: center; text-decoration: none; font-size: .63rem; font-weight: 900; }
.community-links a:hover { border-color: var(--red); background: #c51c14; }
.community-content > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.content-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 12px; margin-top: 12px; }
.clips-panel, .mission-panel { min-height: 520px; }
.clip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; }
.clip-card { min-width: 0; }
.short-frame { aspect-ratio: 9 / 16; max-height: 390px; overflow: hidden; border: 2px solid #333; background: #000; }
.short-frame iframe { width: 100%; height: 100%; border: 0; }
.clip-card h3 { margin: 8px 0 3px; color: #fff; font-size: .79rem; }
.clip-card p { margin: 0; color: #8e99b7; font-size: .66rem; }
.mission-panel {
  display: flex;
  min-height: 520px;
  flex-direction: column;
}
.x-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 2px solid #333;
  background: #09090c;
  color: var(--yellow);
  font-size: .67rem;
  letter-spacing: .08em;
}
.x-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #26f05a;
  box-shadow: 0 0 10px #26f05a;
  animation: signalPulse 1.3s ease-in-out infinite alternate;
}
.x-status small {
  margin-left: auto;
  color: var(--muted);
}
@keyframes signalPulse { to { opacity: .42; } }
.x-timeline-shell {
  flex: 1;
  min-height: 455px;
  overflow: hidden;
  background: #000;
}
.x-timeline-shell .twitter-timeline,
.x-timeline-shell iframe {
  width: 100% !important;
  min-width: 100% !important;
}
.x-page-link { margin-top: auto; }
.mission-note {
  margin: 0;
  padding: 9px 14px;
  color: #85858d;
  border-top: 1px solid #26262c;
  font-size: .58rem;
  letter-spacing: .1em;
}

.machine-console { margin-top: 14px; min-height: 90px; border: 3px solid #4d1919; background: linear-gradient(#250707, #080303); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 13px; box-shadow: inset 0 0 28px rgba(255,0,0,.2); }
.machine-console button { border: 2px solid var(--red); background: #090909; color: #fff; padding: 10px 13px; cursor: pointer; font-size: .65rem; }
.machine-console button i { display: inline-block; width: 12px; height: 12px; margin-left: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); vertical-align: middle; }
.machine-console p { margin: 0 0 0 10px; color: var(--yellow); font-size: .65rem; font-weight: 900; }
.neon-base { min-height: 154px; border: 3px solid #3b1111; border-top: 0; background: linear-gradient(#100303, #050202); display: grid; grid-template-columns: 1fr 2.3fr 1fr; align-items: center; justify-items: center; padding: 18px 24px; }
.neon-base img { width: min(105px, 70%); border: 0; outline: 0; box-shadow: none; background: transparent; filter: drop-shadow(0 0 14px rgba(255,40,20,.7)); }
.neon-base strong { width: 100%; text-align: center; font-size: clamp(2rem, 4vw, 4.5rem); color: #ff2a1f; text-shadow: 0 0 8px #ff2a1f, 0 0 24px #ff2a1f; border: 4px solid #65100c; padding: 16px; }
.site-footer {
  width: min(1480px, 100%);
  margin: 18px auto 0;
  border-top: 2px solid #38383d;
  background: rgba(4, 4, 6, .97);
  color: #d7d2ca;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(130px, .7fr));
  gap: 34px;
  padding: 38px 34px;
}
.footer-signup h2,
.footer-column h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: .86rem;
  letter-spacing: .12em;
}
.footer-signup p {
  max-width: 420px;
  margin: 0 0 16px;
  color: #aaa5a0;
  font-size: .73rem;
  line-height: 1.55;
}
.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 520px;
}
.signup-form input {
  min-width: 0;
  border: 2px solid #44454a;
  border-right: 0;
  background: #0e0e11;
  color: #fff;
  padding: 12px 13px;
  font: inherit;
  font-size: .72rem;
}
.signup-form button {
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}
.footer-signup small {
  display: block;
  margin-top: 8px;
  color: #77777e;
  font-size: .56rem;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-column a {
  color: #bdb8b1;
  font-size: .68rem;
  text-decoration: none;
}
.footer-column a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 20px;
  border-top: 1px solid #29292e;
  color: #807a76;
  font-size: .58rem;
  letter-spacing: .08em;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b9b3ac;
}
.footer-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.static-burst .scanlines { opacity: .4; animation: staticBurst .32s steps(2, end) 4; }
@keyframes staticBurst { 50% { transform: translateY(4px); filter: contrast(2); } }
body.party-mode .red-haze { animation: redPulse 1s ease-in-out infinite alternate; }
body.party-mode .panel { animation: panelPulse 1.2s ease-in-out infinite alternate; }
@keyframes redPulse { to { background-color: rgba(255,0,0,.22); } }
@keyframes panelPulse { to { border-color: var(--red); } }
body.lights-down .room-bg { filter: saturate(1) contrast(1.2) brightness(.22) sepia(.18); }

@media (max-width: 1080px) {
  .topbar { grid-template-columns: auto auto; padding: 7px 0; }
  .social-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; padding-bottom: 7px; }
  .music-button { justify-self: end; }
  .feature-grid, .utility-grid, .content-grid { grid-template-columns: 1fr 1fr; }
  .records-panel { grid-column: 1; }
  .merch-panel { grid-column: 2; }
  .community-panel { grid-column: 1 / -1; }
  .mission-panel { grid-column: 1 / -1; min-height: 360px; }
  .social-nav a { min-width: 65px; }
  .footer-main { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 720px) {
  .site-shell { padding: 0 8px 10px; }
  .brand span { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .social-nav { gap: 18px; }
  .social-nav span { font-size: .52rem; }
  .hero-heading { min-height: 78px; }
  .hero-heading h1 { font-size: 2.25rem; }
  .hero-heading > span { display: none; }
  .roster-shell { grid-template-columns: 32px minmax(0, 1fr) 32px; }
  .character-card { flex-basis: 116px; height: 188px; }
  .character-card .portrait { height: 148px; }
  .character-card .name { min-height: 34px; font-size: .67rem; }
  .feature-grid, .utility-grid, .content-grid { grid-template-columns: 1fr; }
  .twitch-panel, .fooly-tv, .records-panel, .merch-panel, .community-panel, .clips-panel, .mission-panel { grid-column: 1; min-height: auto; }
  .twitch-stage { min-height: 270px; }
  .tv-shell { min-height: 290px; grid-template-columns: 1fr 52px; padding: 8px; }
  .tv-controls i { width: 25px; height: 25px; }
  .tv-controls span { width: 28px; height: 80px; }
  .records-panel iframe { height: 300px; }
  .merch-grid { min-height: 430px; grid-template-columns: 1fr; }
  .community-content { grid-template-columns: 1fr; }
  .community-content > img { max-height: 330px; }
  .clip-grid { grid-template-columns: 1fr; }
  .short-frame { max-height: none; }
  .machine-console { align-items: stretch; flex-direction: column; }
  .machine-console p { margin: 4px 0 0; text-align: center; }
  .neon-base { grid-template-columns: 1fr 2fr 1fr; padding: 12px 6px; }
  .neon-base strong { font-size: 1.8rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px 20px; }
  .footer-signup { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ===== V10: FRED ENTRANCE ===== */
body.entrance-locked { overflow: hidden; }
.entrance-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020202;
  opacity: 1;
  visibility: visible;
  transition: opacity .8s ease, visibility .8s ease;
}
.entrance-screen.is-entering { opacity: 0; visibility: hidden; pointer-events: none; }
.entrance-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.03);
  animation: entranceBreath 7s ease-in-out infinite alternate;
}
.entrance-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 58% 43%, transparent 15%, rgba(0,0,0,.08) 48%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}
.entrance-prompt {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 5vh, 58px);
  width: min(720px, calc(100% - 30px));
  transform: translateX(-50%);
  text-align: center;
  filter: drop-shadow(0 8px 18px #000);
}
.entrance-prompt p {
  margin: 0 0 9px;
  color: #86ff55;
  font-size: clamp(.6rem, 1vw, .82rem);
  letter-spacing: .16em;
  text-shadow: 0 0 10px rgba(112,255,67,.7);
}
.entrance-prompt button {
  width: 100%;
  border: 2px solid #fa54e7;
  border-radius: 5px;
  padding: 16px 18px;
  background: rgba(8, 0, 12, .82);
  color: #ff67ec;
  box-shadow: 0 0 16px rgba(255,63,230,.35), inset 0 0 18px rgba(255,63,230,.08);
  cursor: pointer;
  font: inherit;
  font-size: clamp(.95rem, 2vw, 1.5rem);
  letter-spacing: .1em;
  text-shadow: 0 0 11px rgba(255,80,235,.8);
  animation: enterBlink 1.3s steps(2,end) infinite;
}
.entrance-prompt button:hover,
.entrance-prompt button:focus-visible {
  background: rgba(93, 0, 84, .88);
  color: #fff;
  outline: none;
}
.entrance-prompt small {
  display: block;
  margin-top: 9px;
  color: #9e96a3;
  font-size: .5rem;
  letter-spacing: .12em;
}
@keyframes entranceBreath { to { transform: scale(1.055); } }
@keyframes enterBlink { 50% { opacity: .68; } }

/* ===== V10: STUPID WHEEL ===== */
.wheel-panel { overflow: hidden; }
.wheel-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 2px solid #333;
  background: #09090c;
  color: var(--yellow);
  font-size: .62rem;
  letter-spacing: .07em;
}
.wheel-status span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #26f05a;
  box-shadow: 0 0 10px #26f05a;
  animation: signalPulse 1.3s ease-in-out infinite alternate;
}
.wheel-status small { margin-left: auto; color: var(--muted); }
.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 255px;
  padding: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(236,35,24,.13), transparent 47%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px),
    #050506;
}
.wheel-pointer {
  position: absolute;
  z-index: 4;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--yellow);
  font-size: 2rem;
  text-shadow: 0 0 10px rgba(255,220,34,.8);
}
.stupid-wheel {
  position: relative;
  width: min(220px, 70vw);
  aspect-ratio: 1;
  border: 7px solid #111;
  border-radius: 50%;
  background: repeating-conic-gradient(from -9deg, #e9271d 0 18deg, #f0c816 18deg 36deg, #255bcf 36deg 54deg, #111 54deg 72deg);
  box-shadow: 0 0 0 3px #db2a20, 0 0 28px rgba(230,37,26,.48), inset 0 0 28px rgba(0,0,0,.55);
  transition: transform 4.25s cubic-bezier(.12,.72,.08,1);
}
.stupid-wheel::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255,255,255,.62);
  border-radius: 50%;
}
.wheel-rings {
  position: absolute;
  inset: 38%;
  border: 3px solid #f2ce1e;
  border-radius: 50%;
  background: #090909;
  box-shadow: 0 0 0 6px #bd1710;
}
.wheel-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  font-size: .84rem;
  line-height: 1.05;
  text-shadow: 2px 2px #000;
}
.wheel-center small { color: var(--yellow); font-size: .45rem; }
.wheel-result {
  min-height: 116px;
  display: grid;
  place-content: center;
  gap: 7px;
  padding: 14px 18px;
  border-top: 2px solid #29292f;
  border-bottom: 2px solid #29292f;
  background: linear-gradient(180deg,#101014,#070709);
  text-align: center;
}
.wheel-result small { color: #7f89a9; font-size: .53rem; letter-spacing: .12em; }
.wheel-result strong { color: #fff; font-size: clamp(.85rem,1.5vw,1.1rem); line-height: 1.35; }
.wheel-result p { margin: 0; color: #98989f; font-size: .58rem; line-height: 1.4; }
.wheel-result.is-winner strong { color: var(--yellow); text-shadow: 0 0 8px rgba(255,216,29,.35); }
.wheel-button {
  border: 0;
  border-top: 2px solid #ff4a3e;
  border-bottom: 2px solid #710d08;
  padding: 15px;
  background: linear-gradient(#ee3025,#a90f09);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-shadow: 2px 2px #560904;
}
.wheel-button:hover { filter: brightness(1.14); }
.wheel-button:disabled { cursor: wait; filter: grayscale(.4); }

@media (max-width: 720px) {
  .entrance-screen img { object-position: 58% center; }
  .entrance-prompt { bottom: 18px; }
  .entrance-prompt button { padding: 13px 10px; }
  .wheel-status small { display: none; }
  .wheel-stage { min-height: 245px; }
}
