/* Crucible Arcade: lobby cabinets, game pages, high-score boards, game-over modal, touch controls */

/* ---- the arcade room (lobby) ---- */
.arcade-room {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: 132px 0 72px;
  background:
    radial-gradient(ellipse 60% 40% at 18% 0%, rgba(255, 61, 127, 0.2), transparent),
    radial-gradient(ellipse 60% 40% at 82% 4%, rgba(54, 214, 255, 0.16), transparent),
    #07040d;
  color: var(--white);
}
.room-backdrop {
  position: absolute;
  inset: 0 0 auto;
  height: min(1100px, 100%);
  background: url("/assets/arcade/room.webp?v=2") center top / cover no-repeat;
  filter: blur(2px) brightness(0.4) saturate(1.2);
  transform: scale(1.04);
  -webkit-mask-image: linear-gradient(#000 50%, transparent);
  mask-image: linear-gradient(#000 50%, transparent);
}
.room-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }


/* the clean, centered top of the room: status bar, headline, intro, scroll cue */
.lab-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 255, 102, 0.18);
}
.lab-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #00ff66;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.lab-kicker::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.6; }
.lab-status { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; color: rgba(255, 253, 248, 0.7); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.lab-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid rgba(0, 255, 102, 0.45); border-radius: 999px; background: rgba(0, 255, 102, 0.08); color: #00ff66; }
.lab-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.lab-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(34px, 5vw, 52px); text-align: center; }
.lab-hero h1 {
  max-width: none;               /* the site caps headings at 14ch; this one is centered on the full width */
  margin: 0 auto;
  background: none;
  color: var(--white);
  -webkit-text-fill-color: currentColor;
  font-family: var(--mono);
  font-size: clamp(2.1rem, 6.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: none;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.8);
}
.lab-hero h1 span { position: relative; display: inline-block; white-space: nowrap; }
.lab-hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 0.16em; background: #00ff66; opacity: 0.45; filter: blur(7px); }
.lab-hero p { max-width: 48ch; margin: 24px auto 0; color: rgba(255, 253, 248, 0.82); font-family: var(--mono); font-size: 0.95rem; line-height: 1.8; text-shadow: 0 0 12px rgba(0, 0, 0, 0.9); }
.lab-scroll {
  display: inline-block;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 255, 102, 0.3);
  color: rgba(255, 253, 248, 0.7);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}
.lab-scroll span { display: inline-block; margin-left: 6px; color: #00ff66; animation: lab-bob 1.6s ease-in-out infinite; }
@keyframes lab-bob { 50% { transform: translateY(3px); } }
.lab-scroll:hover { color: #00ff66; }
.cabinet-row { scroll-margin-top: 110px; }

/* LED ticker */
.led-ticker {
  position: relative;
  max-width: 980px;
  margin: 22px auto 0;
  overflow: hidden;
  border: 2px solid #2a2230;
  border-radius: 6px;
  background: radial-gradient(circle, rgba(255, 120, 40, 0.13) 1px, transparent 1.6px) 0 0 / 4px 4px, #110707;
  box-shadow: inset 0 0 14px #000, 0 0 0 4px #0c0a10;
}
.led-track { display: flex; width: max-content; animation: led-scroll 46s linear infinite; }
.led-track span {
  padding: 9px 0;
  color: #ffb000;
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: pre;
  text-shadow: 0 0 6px rgba(255, 140, 0, 0.9);
}
@keyframes led-scroll { to { transform: translateX(-50%); } }
.room-lede { max-width: 60ch; margin: 22px auto 0; color: rgba(255, 253, 248, 0.84); font-size: 1.08rem; text-align: center; }

/* the row of cabinets, standing on the arcade carpet */
.cabinet-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.cabinet-row::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -30vw;
  right: -30vw;
  top: 42%;
  bottom: -40px;
  background: url("/assets/arcade/carpet.svg") 0 0 / 120px 120px;
  opacity: 0.42;
  transform: perspective(1400px) rotateX(38deg);
  transform-origin: 50% 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 62%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 62%, transparent);
}
.hall, .room-more { position: relative; z-index: 1; }
@media (max-width: 1080px) { .cabinet-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; } }
@media (max-width: 560px) { .cabinet-row { grid-template-columns: 1fr; max-width: 310px; } }

.cab-unit {
  --c: #00ff66;
  --c2: #fffdf8;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
  container-type: inline-size;
}
.cab-forge-breaker { --c: #ff3d7f; --c2: #ffd23f; }
.cab-ember-snake { --c: #ffb000; --c2: #ff7a2f; }
.cab-anvil-drop { --c: #36d6ff; --c2: #5b8cff; }
.cab-soon { --c: #b48cff; --c2: #6a5fd6; }
.cab-unit:focus-visible { outline: 3px solid var(--c); outline-offset: 8px; border-radius: 12px; }

.cab { position: relative; width: 86cqw; transition: transform 250ms ease; }
.cab::after {                         /* light the cabinet spills on the floor */
  content: "";
  position: absolute;
  z-index: -1;
  left: -14cqw;
  right: -14cqw;
  bottom: -7cqw;
  height: 16cqw;
  background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%);
  filter: blur(3cqw);
}
.cab-marquee {
  display: grid;
  place-items: center;
  height: 19cqw;
  margin: 0 -2cqw;
  overflow: hidden;
  border: 1.2cqw solid #18141d;
  border-bottom-width: 0.8cqw;
  border-radius: 3cqw 3cqw 0 0;
  background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--c) 42%, #120a14), #0b0710 78%);
  box-shadow: 0 0 7cqw color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 4cqw rgba(0, 0, 0, 0.6);
}
.cab-marquee canvas { width: 92%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 1.5cqw var(--c)); }
.cab-head, .cab-lower {
  background:
    linear-gradient(90deg, var(--c) 0 1.1cqw, transparent 1.1cqw calc(100% - 1.1cqw), var(--c) calc(100% - 1.1cqw)),
    repeating-linear-gradient(115deg, transparent 0 9cqw, rgba(255, 255, 255, 0.025) 9cqw 11cqw),
    linear-gradient(#1f1a27, #120f17);
}
.cab-head { padding: 4cqw 5cqw 3.5cqw; }
.cab-bezel {
  padding: 3.4cqw;
  border-radius: 2.5cqw;
  background: linear-gradient(#0c0b10, #050507);
  box-shadow: inset 0 0 0 0.6cqw #26212d, inset 0 0 3cqw #000;
}
.cab-screen {
  position: relative;
  overflow: hidden;
  border-radius: 7cqw / 6cqw;
  background: #05070a;
  box-shadow: 0 0 5cqw color-mix(in srgb, var(--c) 30%, transparent);
}
.cab-screen canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; filter: saturate(1.15); transition: filter 250ms ease; }
.cab-screen::after {                  /* scanlines and the curved-glass vignette */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.7));
}
.cab-screen::before {                 /* glare on the glass */
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%);
}
.cab-panel {
  position: relative;
  height: 15cqw;
  margin: 0 -4cqw;
  border-top: 1cqw solid var(--c);
  border-radius: 1.5cqw 1.5cqw 1cqw 1cqw;
  background: linear-gradient(#302938, #1a1620);
  box-shadow: 0 2.5cqw 3cqw rgba(0, 0, 0, 0.55);
}
.cab-stick { position: absolute; left: 18cqw; top: 2.4cqw; width: 9cqw; height: 4cqw; border-radius: 50%; background: #0b0a0e; }
.cab-stick::before { content: ""; position: absolute; left: 3.6cqw; bottom: 2cqw; width: 1.8cqw; height: 6cqw; background: linear-gradient(90deg, #6d6875, #c9c4cf, #6d6875); }
.cab-stick::after {
  content: "";
  position: absolute;
  left: 1.4cqw;
  bottom: 6.4cqw;
  width: 6.2cqw;
  height: 6.2cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), var(--c) 35%, #200 120%);
}
.cab-btn {
  position: absolute;
  top: 4cqw;
  width: 6.4cqw;
  height: 6.4cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.85), var(--b, var(--c)) 40%, #000 135%);
  box-shadow: 0 0.9cqw 0 #08070a;
}
.cab-btn:nth-of-type(2) { left: 50cqw; }
.cab-btn:nth-of-type(3) { left: 61cqw; --b: var(--c2); }
.cab-btn:nth-of-type(4) { left: 72cqw; --b: #fffdf8; }
.cab-lower { display: flex; justify-content: center; height: 34cqw; padding-top: 6cqw; border-radius: 0 0 1cqw 1cqw; }
.cab-door {
  display: flex;
  justify-content: center;
  gap: 6cqw;
  width: 34cqw;
  height: 21cqw;
  padding-top: 4.5cqw;
  border-radius: 1.5cqw;
  background: linear-gradient(#3b3742, #23202a);
  box-shadow: inset 0 0 0 0.6cqw #4c4755, 0 0 0 0.5cqw #0d0b10;
}
.cab-slot { position: relative; width: 5.5cqw; height: 9cqw; border-radius: 0.8cqw; background: #ff2f2f; box-shadow: 0 0 3cqw #ff2f2f; }
.cab-slot::after { content: ""; position: absolute; left: 2.4cqw; top: 1.6cqw; width: 0.8cqw; height: 5.8cqw; background: #2a0000; }
.cab-note {
  position: absolute;
  top: 40%;
  left: 50%;
  margin: 0;
  padding: 3cqw 5cqw;
  background: #f3ead0;
  color: #2a2116;
  font-family: var(--mono);
  font-size: 4.4cqw;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-7deg);
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.6);
}
.cab-note::before { content: ""; position: absolute; top: -2.4cqw; left: 50%; width: 16cqw; height: 4.5cqw; background: rgba(255, 252, 225, 0.55); transform: translateX(-50%) rotate(4deg); }

.cab-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  padding: 14px 16px 16px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  border-radius: 10px;
  background: rgba(8, 5, 14, 0.88);
  text-align: center;
}
.cab-card h2 {
  margin: 0 0 6px;
  color: var(--c);
  font-family: var(--mono);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent);
}
.cab-tag {                          /* always two lines, so every placard lines up */
  display: -webkit-box;
  min-height: calc(2 * 1.45em);
  margin: 0 0 10px;
  overflow: hidden;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.cab-champ { max-width: 100%; margin: 0 0 14px; overflow: hidden; color: rgba(255, 253, 248, 0.7); font-family: var(--mono); font-size: 0.8rem; text-overflow: ellipsis; white-space: nowrap; }
.cab-champ b { color: #ffd23f; }
.cab-play {
  display: inline-block;
  margin-top: auto;
  padding: 8px 18px;
  border: 1px solid var(--c);
  border-radius: 999px;
  color: var(--c);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
a.cab-unit:hover .cab, a.cab-unit:focus-visible .cab { transform: translateY(-6px); }
a.cab-unit:hover .cab-screen canvas, a.cab-unit:focus-visible .cab-screen canvas { filter: brightness(1.3) saturate(1.3); }
a.cab-unit:hover .cab-play, a.cab-unit:focus-visible .cab-play { background: var(--c); color: #07040d; box-shadow: 0 0 18px var(--c); }
a.cab-unit:hover .cab-slot { animation: slot-pulse 0.5s ease-in-out infinite alternate; }
.cab-play.is-off { border-style: dashed; color: rgba(255, 253, 248, 0.5); }
@keyframes slot-pulse { to { background: #ffd23f; box-shadow: 0 0 5cqw #ffd23f; } }
.cab-unit.is-coin .cab-screen::before { background: #fff; animation: coin-flash 340ms ease-out forwards; }
@keyframes coin-flash { from { opacity: 0.9; } to { opacity: 0; } }

/* hall of fame: an LED scoreboard on the wall */
.hall { max-width: 1180px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 clamp(16px, 3vw, 32px); }
.hall-title {
  margin: 0 0 18px;
  color: #ffd23f;
  font-family: var(--mono);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 8px #ff9f1c, 0 0 26px #ff6a00;
}
.hall-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(14px, 2.4vw, 24px);
  border: 3px solid #2a2530;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1.6px) 0 0 / 6px 6px, #050307;
  box-shadow: inset 0 0 30px #000, 0 0 0 6px #121016, 0 20px 50px rgba(0, 0, 0, 0.5);
}
@media (max-width: 860px) { .hall-board { grid-template-columns: 1fr; } }
.hall-board h3 { margin: 0 0 10px; color: var(--white); font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0.16em; text-align: center; text-transform: uppercase; }
.hall-list { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 1.02rem; }
.hall-list li { display: grid; grid-template-columns: 3.2em 3.6em 1fr; gap: 8px; padding: 5px 4px; color: var(--rank, #00ff66); letter-spacing: 0.1em; text-shadow: 0 0 6px currentColor; }
.hall-list li.rank-1 { --rank: #ffd23f; }
.hall-list li.rank-2 { --rank: #ff9f1c; }
.hall-list li.rank-3 { --rank: #ff3d7f; }
.hall-list li.rank-4 { --rank: #36d6ff; }
.hall-list li.rank-5 { --rank: #00ff66; }
.hall-list li.is-open { opacity: 0.4; text-shadow: none; }
.hall-score { text-align: right; }
.room-more { max-width: 70ch; margin: 40px auto 0; padding: 0 16px; color: var(--muted); text-align: center; }
.room-more a { color: #36d6ff; }

@media (prefers-reduced-motion: reduce) {
  .led-track, .lab-scroll span { animation: none; }
  .cab, .cab-play { transition: none; }
}

/* ---- high-score boards ---- */
.arcade-board { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.92rem; }
.arcade-board li { display: grid; grid-template-columns: 2.4em 3.6em 1fr; gap: 6px; padding: 4px 0; border-bottom: 1px dashed rgba(0, 255, 102, 0.14); }
.arcade-board li:first-child .arcade-name, .arcade-board li:first-child .arcade-score { color: var(--gold); }
.arcade-board li.is-you { color: #00ff66; background: rgba(0, 255, 102, 0.08); }
.arcade-rank { color: var(--muted); }
.arcade-name { letter-spacing: 0.12em; }
.arcade-score { text-align: right; }
.arcade-empty { display: block !important; color: var(--muted); border: 0 !important; }

/* ---- game pages ---- */
.arcade-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(240px, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 28px);
}
@media (max-width: 860px) { .arcade-layout { grid-template-columns: 1fr; } }
.arcade-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(0, 255, 102, 0.35);
  border-radius: 10px;
  overflow: hidden;
  background: #050a06;
  box-shadow: 0 0 40px rgba(0, 255, 102, 0.08);
}
.arcade-stage canvas { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; touch-action: none; }
.arcade-side h2 { margin: 0 0 10px; font-family: var(--mono); font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.arcade-side h3 { margin: 22px 0 8px; font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.arcade-side ul { margin: 0; padding-left: 1.1em; color: rgba(255, 253, 248, 0.82); font-size: 0.92rem; }
.arcade-best { margin: 14px 0; font-family: var(--mono); }
.arcade-best b { color: #00ff66; }
.arcade-side .button { min-height: 0; padding: 8px 14px; font-size: 0.78rem; width: auto; }
.arcade-back { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 0.85rem; }

/* ---- game-over modal (inside the stage) ---- */
.arcade-modal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(5, 10, 6, 0.9);
  text-align: center;
}
.arcade-modal-title { margin: 0; color: var(--red, #ff4d4d); font-family: var(--mono); font-size: 1.6rem; letter-spacing: 0.14em; text-transform: uppercase; }
.arcade-modal-score { margin: 0; color: var(--white); font-family: var(--mono); font-size: 2.4rem; }
.arcade-modal-note { margin: 0; color: rgba(255, 253, 248, 0.85); font-size: 0.95rem; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.arcade-initials {
  width: 5.2em;
  padding: 8px 10px;
  border: 1px solid #00ff66;
  border-radius: 6px;
  background: #020503;
  color: #00ff66;
  font-family: var(--mono);
  font-size: 1.8rem;
  letter-spacing: 0.4em;
  text-align: center;
  text-transform: uppercase;
}
.arcade-modal-actions { display: flex; gap: 10px; margin-top: 8px; }
.arcade-modal .button { width: auto; min-height: 0; padding: 10px 18px; }

/* ---- touch controls: only on touch screens ---- */
.arcade-touch { display: none; }
@media (pointer: coarse) {
  .arcade-touch { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 520px; margin: 12px auto 0; user-select: none; }
  .arcade-touch button {
    min-width: 64px;
    min-height: 56px;
    border: 1px solid rgba(0, 255, 102, 0.4);
    border-radius: 10px;
    background: rgba(0, 255, 102, 0.08);
    color: var(--white);
    font-family: var(--mono);
    font-size: 1.2rem;
    touch-action: none;
  }
  .arcade-touch button:active { background: rgba(0, 255, 102, 0.25); }
}

/* the game pages use the full page width, not the narrow reading column */
.page-main.arcade-game { max-width: 1180px; }

/* ---- daily challenge: the lobby panel and the banner on a daily game page ---- */
.daily {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 22px;
  padding: 18px;
  border: 2px solid #3a2a10;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(255, 176, 0, 0.08) 1px, transparent 1.6px) 0 0 / 5px 5px, #0d0904;
  box-shadow: inset 0 0 24px #000, 0 0 0 4px #0c0a10, 0 0 40px rgba(255, 159, 28, 0.12);
}
@media (max-width: 760px) { .daily { grid-template-columns: 1fr; } }
.daily-tag { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; color: #ffb000; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; text-shadow: 0 0 6px rgba(255, 140, 0, 0.8); }
.daily-star { animation: arcade-blink 1.4s steps(2, start) infinite; }
.daily h2 { margin: 8px 0 8px; color: var(--white); font-family: var(--mono); font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: 0.04em; }
.daily h2 span { color: #ffd23f; text-shadow: 0 0 10px rgba(255, 210, 63, 0.5); }
.daily-copy { margin: 0 0 10px; color: rgba(255, 253, 248, 0.82); font-size: 0.95rem; line-height: 1.5; }
.daily-meta { margin: 0 0 16px; color: rgba(255, 253, 248, 0.65); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; }
.daily-meta b { color: #ffb000; font-variant-numeric: tabular-nums; }
.daily-play {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 6px;
  background: #ffb000;
  color: #140c00;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(255, 176, 0, 0.35);
}
.daily-play:hover, .daily-play:focus-visible { filter: brightness(1.1); box-shadow: 0 0 30px rgba(255, 176, 0, 0.6); }
.daily-board-wrap { padding: 12px 14px; border: 1px solid rgba(255, 176, 0, 0.2); border-radius: 8px; background: rgba(0, 0, 0, 0.35); }
.daily-board-wrap h3 { margin: 0 0 8px; color: var(--white); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.16em; text-align: center; text-transform: uppercase; }

.arcade-daily-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 176, 0, 0.45);
  border-radius: 8px;
  background: rgba(255, 176, 0, 0.08);
  color: #ffb000;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.arcade-daily-banner a { color: var(--white); border: 0; font-weight: 400; }
.arcade-daily-banner.is-ended { border-color: rgba(255, 253, 248, 0.25); background: rgba(255, 253, 248, 0.05); color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .daily-star { animation: none; } }
