/* Thump! Turbo arcade cabinet */
.thumpthump-arcade-page { background: #130f25; color: #fff7d6; }
.tt-arcade-shell, .tt-arcade-shell * { box-sizing: border-box; }
.tt-arcade-shell {
  min-height: 100vh;
  padding: 18px clamp(12px, 3vw, 42px) 54px;
  overflow: hidden;
  background:
    linear-gradient(rgba(11,8,26,.2), rgba(11,8,26,.9)),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,214,43,.035) 40px),
    radial-gradient(circle at 50% -10%, #40285e 0, #17102d 45%, #080713 100%);
  font-family: "Courier New", monospace;
}
.tt-arcade-header { width: min(1100px, 100%); margin: 0 auto 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.tt-arcade-back, .tt-sound-toggle { color: #fff7d6; font: 900 12px/1 "Courier New", monospace; letter-spacing: .08em; text-transform: uppercase; }
.tt-arcade-back { justify-self: start; padding: 10px 12px; border: 2px solid #fff7d6; text-decoration: none; box-shadow: 3px 3px 0 #ef2b1f; }
.tt-sound-toggle { justify-self: end; padding: 11px 13px; border: 2px solid #fff7d6; background: #17102d; box-shadow: 3px 3px 0 #58d7c8; cursor: pointer; }
.tt-arcade-marquee { color: #ffd62b; font: 950 clamp(22px, 4vw, 45px)/.8 Impact, "Arial Black", sans-serif; letter-spacing: -.04em; text-transform: uppercase; transform: rotate(-1deg); text-shadow: 3px 3px 0 #ef2b1f, 6px 6px 0 #101010; }
.tt-arcade-marquee span { color: #fff; }
.tt-cabinet { width: min(920px, 100%); margin: auto; border: 5px solid #07060c; border-radius: 20px 20px 8px 8px; background: #ef2b1f; box-shadow: 0 0 0 4px #ffd62b, 12px 15px 0 #07060c, 0 0 55px rgba(239,43,31,.3); }
.tt-cabinet-top { padding: 16px 20px 14px; border-bottom: 5px solid #07060c; text-align: center; background: repeating-linear-gradient(-45deg, #ef2b1f 0 12px, #d72219 12px 24px); }
.tt-cabinet-top h1 { margin: 0; color: #ffd62b; font: 950 clamp(42px, 8vw, 84px)/.78 Impact, "Arial Black", sans-serif; letter-spacing: -.035em; text-transform: uppercase; -webkit-text-stroke: 3px #07060c; filter: drop-shadow(5px 5px 0 #fff); }
.tt-presents, .tt-game-tag { margin: 0; text-transform: uppercase; font-weight: 900; }
.tt-presents { margin-bottom: 7px; color: #fff; font-size: 11px; letter-spacing: .2em; }
.tt-game-tag { margin-top: 13px; color: #fff; font-size: clamp(10px, 2vw, 13px); }
.tt-screen-frame { padding: clamp(12px, 2.5vw, 25px); background: #17131c; }
.tt-score-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 9px 12px; border: 3px solid #07060c; border-bottom: 0; color: #ffd62b; background: #24183c; font: 900 clamp(9px, 1.8vw, 14px)/1 "Courier New", monospace; text-transform: uppercase; text-align: center; }
.tt-score-strip strong { color: #fff; }
.tt-screen-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; border: 5px solid #07060c; border-radius: 9px 9px 30px 30px; background: #0b1027; box-shadow: inset 0 0 30px #000; }
#tt-game { display: block; width: 100%; height: 100%; image-rendering: pixelated; touch-action: none; }
.tt-scanlines { position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: .13; background: repeating-linear-gradient(0deg, transparent 0 3px, #000 3px 5px); mix-blend-mode: multiply; }
.tt-game-panel { position: absolute; inset: 0; z-index: 5; display: none; place-content: center; justify-items: center; padding: 20px; background: rgba(5,7,21,.89); text-align: center; text-transform: uppercase; }
.tt-game-panel.is-visible { display: grid; }
.tt-game-panel h2 { margin: 5px 0 12px; color: #ffd62b; font: 950 clamp(34px, 8vw, 84px)/.9 Impact, "Arial Black", sans-serif; letter-spacing: -.03em; text-shadow: 4px 4px 0 #ef2b1f; }
.tt-game-panel p { margin: 4px 0; font-size: clamp(10px, 1.8vw, 15px); font-weight: 900; }
.tt-panel-kicker { color: #58d7c8; letter-spacing: .18em; }
.tt-pixel-van { position: relative; width: 100px; height: 58px; margin: 8px auto 13px; background: #ffd62b; border: 5px solid #080713; border-radius: 12px 12px 4px 4px; box-shadow: inset 0 18px 0 #58d7c8, 5px 5px 0 #ef2b1f; }
.tt-pixel-van::before, .tt-pixel-van::after { content: ""; position: absolute; bottom: -12px; width: 23px; height: 23px; border: 5px solid #080713; border-radius: 50%; background: #fff; }
.tt-pixel-van::before { left: 10px; } .tt-pixel-van::after { right: 10px; }
.tt-arcade-button { min-width: 170px; margin-top: 15px; padding: 13px 17px; border: 3px solid #080713; color: #080713; background: #ffd62b; box-shadow: 5px 5px 0 #ef2b1f; font: 950 14px/1 "Courier New", monospace; text-transform: uppercase; cursor: pointer; }
.tt-arcade-button:active, .tt-control-button:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 #080713; }
.tt-button-secondary { background: #58d7c8; }
.tt-score-form { display: grid; grid-template-columns: auto 72px auto; align-items: end; gap: 8px; margin-top: 10px; }
.tt-score-form label { grid-column: 1 / -1; font-size: 11px; }
.tt-score-form input { height: 42px; border: 3px solid #080713; background: #fff; color: #080713; font: 950 25px/1 "Courier New", monospace; text-align: center; text-transform: uppercase; }
.tt-score-form .tt-arcade-button { min-width: 0; margin: 0; height: 42px; padding: 8px 12px; font-size: 11px; }
.tt-controls { display: grid; grid-template-columns: 84px 1fr 84px; align-items: center; gap: 14px; padding: 17px clamp(12px, 3vw, 32px) 22px; border-top: 5px solid #07060c; background: #58d7c8; }
.tt-control-button { width: 72px; height: 62px; border: 4px solid #07060c; border-radius: 50%; background: #ffd62b; box-shadow: 5px 6px 0 #07060c; font-size: 25px; cursor: pointer; touch-action: manipulation; }
.tt-control-button:last-child { justify-self: end; }
.tt-controls-copy { display: grid; gap: 3px; color: #07060c; text-align: center; font-size: 11px; text-transform: uppercase; }
.tt-controls-copy strong { font-size: 15px; }
.tt-leaderboard { width: min(920px, 100%); margin: 48px auto 0; padding: clamp(18px, 3vw, 32px); border: 4px solid #080713; background: #ffd62b; color: #080713; box-shadow: 10px 10px 0 #ef2b1f; }
.tt-leaderboard h2 { margin: 4px 0 18px; font: 950 clamp(30px, 6vw, 60px)/.9 Impact, "Arial Black", sans-serif; text-transform: uppercase; }
.tt-high-scores { margin: 0; padding: 0; list-style: none; counter-reset: rank; border-top: 3px solid #080713; }
.tt-high-scores li { counter-increment: rank; display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; padding: 10px 4px; border-bottom: 2px dashed #080713; font-weight: 900; }
.tt-high-scores li::before { content: counter(rank, decimal-leading-zero); color: #ef2b1f; }
.tt-high-scores li:nth-child(1) { color: #2639e8; font-size: 1.12em; }
.tt-high-scores strong { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .tt-arcade-shell { padding-inline: 8px; }
  .tt-arcade-header { grid-template-columns: auto 1fr auto; }
  .tt-arcade-marquee { font-size: 24px; text-align: center; }
  .tt-arcade-back, .tt-sound-toggle { padding: 8px; font-size: 9px; }
  .tt-cabinet { border-width: 4px; box-shadow: 5px 7px 0 #07060c; }
  .tt-cabinet-top h1 { -webkit-text-stroke-width: 2px; filter: drop-shadow(3px 3px 0 #fff); }
  .tt-score-strip { padding-inline: 3px; gap: 2px; }
  .tt-screen-frame { padding: 7px; }
  .tt-screen-wrap { border-width: 3px; border-radius: 4px 4px 16px 16px; }
  .tt-game-panel { padding: 7px 9px; }
  #tt-start-panel { align-content: center; overflow: hidden; }
  #tt-start-panel .tt-panel-kicker { display: none; }
  #tt-start-panel h2 { margin: 0 0 5px; font-size: 31px; line-height: .9; }
  #tt-start-panel .tt-pixel-van { width: 72px; height: 42px; margin: 2px auto 8px; border-width: 4px; border-radius: 9px 9px 3px 3px; box-shadow: inset 0 13px 0 #58d7c8, 4px 4px 0 #ef2b1f; transform: none; }
  #tt-start-panel .tt-pixel-van::before, #tt-start-panel .tt-pixel-van::after { bottom: -9px; width: 17px; height: 17px; border-width: 4px; }
  #tt-start-panel .tt-pixel-van::before { left: 7px; }
  #tt-start-panel .tt-pixel-van::after { right: 7px; }
  #tt-start-panel p { margin: 1px 0; font-size: 9px; line-height: 1.15; }
  #tt-start-panel .tt-arcade-button { min-width: 142px; margin-top: 6px; padding: 8px 14px; font-size: 12px; text-transform: none; }
  .tt-game-panel:not(#tt-start-panel) .tt-pixel-van { transform: scale(.72); margin-block: -2px 1px; }
  .tt-game-panel:not(#tt-start-panel) p { margin: 2px 0; }
  .tt-arcade-button { margin-top: 8px; padding: 10px; }
  .tt-score-form { margin-top: 4px; transform: scale(.86); }
  .tt-controls { grid-template-columns: 70px 1fr 70px; gap: 4px; padding: 13px 8px 18px; }
  .tt-control-button { width: 58px; height: 52px; font-size: 20px; }
  .tt-controls-copy { font-size: 8px; }
  .tt-controls-copy strong { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .tt-arcade-marquee { transform: none; } }
