/* GOALCU shared arcade theme v19.5.12 — visual controls only. */
/* These tokens and buttons are shared by Dribble, Freekick, Foot Golf,
   Foot Tennis and Penalty. No canvas or game mechanics are changed. */
.gc-arcade-theme {
  --arc-bg:#0d1f18;
  --arc-surface:#163529;
  --arc-surface-2:#1d4330;
  --arc-outline:#517258;
  --arc-yellow:#e9bf72;
  --arc-yellow-bright:#f5d58d;
  --arc-ink:#14271b;
  --arc-text:#edf3e9;
  --arc-muted:#afc6b2;
  --arc-radius:12px;
  background:radial-gradient(ellipse at 72% -10%,#204b36 0%,#0d1f18 48%,#08150f 100%)!important;
  color:var(--arc-text);
}
/* Shared card language: dark forest green and restrained gold. */
.gc-arcade-theme .scoreCard,
.gc-arcade-theme .pill,
.gc-arcade-theme .stat,
.gc-arcade-theme .recordbar,
.gc-arcade-theme .history,
.gc-arcade-theme .score,
.gc-arcade-theme .status,
.gc-arcade-theme .panel,
.gc-arcade-theme .powerWrap,
.gc-arcade-theme .levelDock,
.gc-arcade-theme .gc-end-card,
.gc-arcade-theme .modal {
  background:var(--arc-surface)!important;
  border-color:var(--arc-outline)!important;
  box-shadow:none!important;
}
.gc-arcade-theme .scoreCard b,
.gc-arcade-theme .score .num,
.gc-arcade-theme .status .score,
.gc-arcade-theme .stat b,
.gc-arcade-theme .pill b,
.gc-arcade-theme .recordbar b { color:var(--arc-yellow-bright)!important; }
.gc-arcade-theme .scoreCard small,
.gc-arcade-theme .pill small,
.gc-arcade-theme .stat span,
.gc-arcade-theme .history-label,
.gc-arcade-theme .recordbar span,
.gc-arcade-theme .recordbar small { color:var(--arc-muted)!important; }
/* Shared non-header buttons. Keep each game's hit boxes and layout. */
.gc-arcade-theme .btn,
.gc-arcade-theme .bigBtn,
.gc-arcade-theme .modeBtn,
.gc-arcade-theme .primary,
.gc-arcade-theme .choices button,
.gc-arcade-theme .reset,
.gc-arcade-theme .smallBtn,
.gc-arcade-theme .navbtn,
.gc-arcade-theme .backBtn,
.gc-arcade-theme .gc-end-card button,
.gc-arcade-theme .gc-pen-end button,
.gc-arcade-theme .gc-end-home,
.gc-arcade-theme .gc-end-card a,
.gc-arcade-theme .gc-pen-end a,
.gc-arcade-theme .moveBtn,
.gc-arcade-theme .site-link,
.gc-arcade-theme .goalcu-home-link,
.gc-arcade-theme .homeMenu {
  border:1px solid var(--arc-outline)!important;
  border-radius:var(--arc-radius)!important;
  background:var(--arc-surface-2)!important;
  color:var(--arc-text)!important;
  font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
  font-weight:800!important;
  box-shadow:none!important;
  text-decoration:none!important;
  -webkit-tap-highlight-color:transparent;
}
/* Gold is used only for primary actions and active choices, not entire panels. */
.gc-arcade-theme .btn:not(.alt):not(.btn-small),
.gc-arcade-theme .btn.primary,
.gc-arcade-theme .bigBtn:not(.secondary),
.gc-arcade-theme button.primary,
.gc-arcade-theme .gc-end-card button:first-of-type,
.gc-arcade-theme .gc-pen-end button,
.gc-arcade-theme .choices button.selected,
.gc-arcade-theme .choices .btn,
.gc-arcade-theme .level.active {
  background:var(--arc-yellow)!important;
  color:var(--arc-ink)!important;
  border-color:var(--arc-yellow)!important;
}
.gc-arcade-theme .btn.alt,
.gc-arcade-theme .bigBtn.secondary,
.gc-arcade-theme .btn.btn-small { background:var(--arc-surface-2)!important;color:var(--arc-text)!important;border-color:var(--arc-outline)!important; }
.gc-arcade-theme .modeBtn span {color:var(--arc-muted)!important}
.gc-arcade-theme .modeBtn strong {color:var(--arc-text)!important}
.gc-arcade-theme .modeBtn:hover,
.gc-arcade-theme button:not(:disabled):hover {filter:brightness(1.07)}
.gc-arcade-theme button:active {transform:translateY(1px)}
.gc-arcade-theme button:disabled {opacity:.5;cursor:not-allowed}
.gc-arcade-theme button:focus-visible,
.gc-arcade-theme a:focus-visible,
.gc-arcade-theme input:focus-visible {outline:2px solid var(--arc-yellow-bright)!important;outline-offset:3px!important}
/* Full-screen affordance on Penalty has the same secondary button finish. */
.gc-arcade-theme #goalcuFullscreen {
  background:var(--arc-surface-2)!important;
  color:var(--arc-yellow-bright)!important;
  border:1px solid var(--arc-outline)!important;
  border-radius:var(--arc-radius)!important;
  box-shadow:none!important;
}
/* Header action buttons are compact by design, but use the same palette. */
.gc-arcade-theme .gc-play-header .gc-play-home,
.gc-arcade-theme .gc-play-header .gc-play-action {
  background:var(--arc-surface-2)!important;
  color:var(--arc-yellow-bright)!important;
  border-color:var(--arc-outline)!important;
  border-radius:10px!important;
}
/* Specific screens: old neon-purple/teal Penalty UI is unified with GOALCU. */
.gc-arcade-penalti .role-banner,
.gc-arcade-penalti .role-banner.save {
  background:#1b4230!important;
  color:var(--arc-yellow-bright)!important;
  border:1px solid var(--arc-outline)!important;
  border-left:4px solid var(--arc-yellow)!important;
  box-shadow:none!important;
}
.gc-arcade-penalti .role-banner small {color:var(--arc-muted)!important}
.gc-arcade-penalti .dot.goal {background:var(--arc-yellow)!important;border-color:var(--arc-yellow)!important}
.gc-arcade-penalti .stadium {border-color:var(--arc-outline)!important;background:repeating-linear-gradient(90deg,#217143 0%,#217143 20%,#1b6840 20%,#1b6840 40%)!important}
.gc-arcade-penalti .stadium:before {background:linear-gradient(#0e2a20,#1a4430)!important}
.gc-arcade-penalti .message {background:#10281eee!important;border-color:var(--arc-outline)!important;color:var(--arc-text)!important}
.gc-arcade-penalti .choices .btn {padding:12px 5px!important;min-height:46px!important}
.gc-arcade-penalti .result {color:var(--arc-yellow-bright)!important}
/* Match W/L colors remain meaningful, but muted to fit dark forest tones. */
.gc-arcade-penalti .history-tag.win {background:#26523b!important;color:#d9f0be!important;border-color:#628866!important}
.gc-arcade-penalti .history-tag.loss {background:#563d3c!important;color:#f2c5bd!important;border-color:#9d6f69!important}
/* Foot Golf active hole matches other selected states. */
.gc-arcade-footgolf .level {background:var(--arc-surface-2)!important;border-color:var(--arc-outline)!important;color:var(--arc-text)!important}
.gc-arcade-footgolf .level.active {background:var(--arc-yellow)!important;border-color:var(--arc-yellow)!important;color:var(--arc-ink)!important}
.gc-arcade-footgolf .level.active .hole-score {color:var(--arc-ink)!important}
/* Foot Tennis gameplay movement controls keep their touch sizes. */
.gc-arcade-foottennis .moveBtn {border-width:2px!important;background:var(--arc-surface-2)!important;color:var(--arc-yellow-bright)!important}
.gc-arcade-foottennis .moveBtn.pressed {background:#386a45!important;color:#fff3cc!important}
.gc-arcade-foottennis .choices button.selected {background:var(--arc-yellow)!important;color:var(--arc-ink)!important}
/* Freekick's directional slider follows the same yellow-green accent;
   power bar stays multicolored, since it conveys shot power. */
.gc-arcade-freekick .aimSlider {background:linear-gradient(90deg,#234c34,#e9bf72 50%,#234c34)!important;border-color:var(--arc-outline)!important}
.gc-arcade-freekick .aimSlider::-webkit-slider-thumb {box-shadow:0 0 0 3px #e9bf7259!important}
.gc-arcade-freekick .scoreCard.livesCard {background:#1c432f!important;border-color:var(--arc-outline)!important}
.gc-arcade-freekick .hudPill {border-color:var(--arc-outline)!important}
/* Dribble end card and pause card share the same dark-green surfaces. */
.gc-arcade-dribble .pausedCard,
.gc-arcade-dribble #panel {background:var(--arc-surface)!important;border-color:var(--arc-outline)!important;color:var(--arc-text)!important}
@media(max-width:390px){
  .gc-arcade-theme .gc-play-header .gc-play-home,
  .gc-arcade-theme .gc-play-header .gc-play-action{border-radius:9px!important}
}
