:root {
  --verde: #006c3a;
  --verde-escuro: #0a2f1a;
  --verde-folha: #14944a;
  --amarelo: #ffd700;
  --amarelo-suave: #f5e6a3;
  --azul: #002776;
  --azul-claro: #1a4a9c;
  --vermelho: #c41e3a;
  --vermelho-pt: #e30613;
  --creme: #f0f4e8;
  --sombra: rgba(0, 20, 8, 0.75);
  --fonte-titulo: "Black Ops One", Impact, sans-serif;
  --fonte-ui: "Rajdhani", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--verde-escuro);
  font-family: var(--fonte-ui);
  color: var(--creme);
  user-select: none;
  touch-action: none;
}

#app {
  position: relative;
  width: 100%;
  height: 100%;
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.screen.active {
  display: flex;
}

/* ——— MENU ——— */
#screen-menu {
  overflow: hidden;
}

.menu-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 39, 118, 0.35) 0%, transparent 40%),
    linear-gradient(0deg, rgba(10, 47, 26, 0.95) 0%, rgba(0, 108, 58, 0.55) 55%, rgba(0, 39, 118, 0.4) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 215, 0, 0.03) 40px,
      rgba(255, 215, 0, 0.03) 41px
    ),
    radial-gradient(ellipse at 50% 120%, #14944a 0%, #0a2f1a 70%);
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

.menu-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.15) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.1) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 60%, rgba(255, 255, 255, 0.08) 0 1px, transparent 2px);
  animation: drift 20s linear infinite;
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-40px);
  }
}

.menu-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 1.5rem 1.5rem 5.5rem;
}

.flag-bar {
  height: 6px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--verde) 0 33%,
    var(--amarelo) 33% 66%,
    var(--azul) 66% 100%
  );
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amarelo);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.game-title {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  line-height: 0.95;
  margin: 0;
  color: var(--amarelo);
  text-shadow:
    0 0 40px rgba(255, 215, 0, 0.35),
    3px 4px 0 var(--azul),
    0 8px 24px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.04em;
}

.subtitle {
  margin: 0.85rem 0 1.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--amarelo-suave);
  opacity: 0.9;
}

.menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.btn-military {
  font-family: var(--fonte-ui);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--amarelo);
  background: linear-gradient(180deg, rgba(0, 108, 58, 0.85), rgba(10, 47, 26, 0.95));
  color: var(--amarelo);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  width: 100%;
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

.btn-military:hover:not(:disabled),
.btn-military:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
  background: linear-gradient(180deg, rgba(20, 148, 74, 0.95), rgba(0, 108, 58, 0.98));
  outline: none;
}

.btn-military.primary {
  background: linear-gradient(180deg, var(--amarelo), #c9a800);
  color: var(--azul);
  border-color: #fff3a0;
  text-shadow: none;
}

.btn-military.primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffe44d, var(--amarelo));
}

.btn-military:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.menu-hint {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.65;
  letter-spacing: 0.04em;
}

.menu-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55) 35%);
  pointer-events: none;
}

.menu-footer-link {
  pointer-events: auto;
  display: inline-flex;
  line-height: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.menu-footer-link:hover,
.menu-footer-link:focus-visible {
  transform: scale(1.06);
  opacity: 0.95;
  outline: none;
}

.menu-footer-logo {
  width: clamp(72px, 14vw, 110px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.65));
  mix-blend-mode: screen;
}

.menu-footer-text {
  text-align: left;
  line-height: 1.25;
}

.menu-footer-text p {
  margin: 0;
  font-size: clamp(0.7rem, 2.2vw, 0.85rem);
  letter-spacing: 0.03em;
  color: rgba(232, 245, 233, 0.85);
}

.menu-footer-text strong {
  color: var(--amarelo);
  font-weight: 700;
}

.credits-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 1rem;
}

.credits-author img {
  width: 100px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.credits-author p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.fade-in {
  animation: fadeUp 0.8s ease both;
}

.fade-in.delay-1 {
  animation-delay: 0.2s;
}

.fade-in.delay-2 {
  animation-delay: 0.45s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Telas de painel ——— */
#screen-register,
#screen-ranking,
#screen-settings,
#screen-credits {
  background:
    linear-gradient(0deg, rgba(10, 47, 26, 0.97), rgba(0, 108, 58, 0.75)),
    radial-gradient(ellipse at 50% 100%, #14944a 0%, #0a2f1a 70%);
  z-index: 20;
}

/* ——— PAINÉIS ——— */
.panel-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, rgba(0, 108, 58, 0.95), rgba(10, 47, 26, 0.98));
  border: 2px solid var(--amarelo);
  padding: 1.75rem 1.5rem;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 20px 60px var(--sombra), inset 0 0 40px rgba(255, 215, 0, 0.06);
  pointer-events: auto;
}

.panel-card.wide {
  max-width: 520px;
}

.panel-card h2 {
  font-family: var(--fonte-titulo);
  color: var(--amarelo);
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  text-align: center;
}

.panel-desc {
  text-align: center;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.military-input,
.military-input:focus {
  background: rgba(0, 20, 8, 0.6);
  border: 1px solid var(--amarelo);
  color: var(--creme);
  border-radius: 0;
  font-family: var(--fonte-ui);
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: none;
}

.form-label {
  color: var(--amarelo-suave);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.avatar-btn {
  font-size: 1.6rem;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.avatar-btn.selected,
.avatar-btn:hover {
  border-color: var(--amarelo);
  background: rgba(255, 215, 0, 0.15);
}

.panel-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.setting-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.setting-row.check label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.setting-row input[type="range"] {
  accent-color: var(--amarelo);
}

.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.ranking-list li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  font-weight: 600;
}

.ranking-list .rank {
  color: var(--amarelo);
  font-family: var(--fonte-titulo);
}

.ranking-list .empty {
  text-align: center;
  opacity: 0.6;
  grid-column: 1 / -1;
}

/* ——— JOGO ——— */
#screen-game {
  background: #000;
  padding: 0;
  flex-direction: column;
}

#game-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  cursor: crosshair;
  margin: auto;
}

.hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1rem;
  pointer-events: none;
  z-index: 20;
  font-weight: 700;
  text-shadow: 0 2px 4px #000;
  background: linear-gradient(180deg, rgba(0, 10, 20, 0.55), transparent);
}

#hud-phase {
  font-family: var(--fonte-titulo);
  color: var(--amarelo);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

#hud-score-wrap {
  color: #cfe8ff;
  font-size: 0.9rem;
}

#hud-civic {
  color: rgba(255, 215, 0, 0.85);
  font-size: 0.8rem;
}

/* HUD tático inferior — barra azul neon */
.hud-tactical {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  pointer-events: none;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: stretch;
  padding: 0.55rem 0.85rem 0.7rem;
  background: linear-gradient(0deg, rgba(0, 8, 18, 0.92) 0%, rgba(0, 12, 24, 0.82) 70%, rgba(0, 12, 24, 0) 100%);
  border-top: 1px solid rgba(64, 180, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(100, 200, 255, 0.15);
  font-family: var(--fonte-ui);
  color: #e8f4ff;
}

.hud-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: #5eb8ff;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.hud-label.obj {
  color: #4aacff;
}

.hud-weapons {
  display: flex;
  gap: 0.65rem;
  align-items: flex-end;
}

.hud-arma-box {
  border: 1px solid rgba(60, 170, 255, 0.55);
  background: rgba(0, 20, 40, 0.65);
  padding: 0.35rem 0.5rem 0.4rem;
  min-width: 150px;
  box-shadow: 0 0 12px rgba(40, 140, 255, 0.15);
}

.hud-arma-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.gun-icon {
  width: 42px;
  height: 16px;
  color: #dcefff;
  filter: drop-shadow(0 0 4px rgba(80, 180, 255, 0.6));
}

#hud-ammo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.hp-segments {
  display: flex;
  gap: 3px;
  height: 14px;
}

.hp-seg {
  flex: 1;
  min-width: 8px;
  background: rgba(20, 40, 60, 0.9);
  border: 1px solid rgba(40, 100, 140, 0.5);
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5);
  transition: background 0.12s, box-shadow 0.12s, opacity 0.12s;
}

.hp-seg.on {
  background: linear-gradient(180deg, #9ad8ff 0%, #2ea0ff 45%, #0a6ad0 100%);
  border-color: #6ec8ff;
  box-shadow:
    0 0 6px rgba(60, 180, 255, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hp-seg.low {
  background: linear-gradient(180deg, #ffb0a0 0%, #ff4a3a 50%, #a01010 100%);
  border-color: #ff6a5a;
  box-shadow: 0 0 6px rgba(255, 80, 60, 0.7);
}

.hud-grenade-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 56px;
}

.grenade-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 1rem;
  color: #b8f5a0;
}

.grenade-icon {
  width: 18px;
  height: 22px;
  display: inline-block;
  border-radius: 40% 40% 45% 45%;
  background: radial-gradient(circle at 40% 30%, #7dcf5a, #2e7a28 70%);
  border: 1px solid #9ae070;
  box-shadow: 0 0 6px rgba(80, 200, 60, 0.45);
  color: transparent;
  position: relative;
}

.grenade-icon::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 8px;
  height: 5px;
  margin-left: -4px;
  background: #c0c0c0;
  border-radius: 2px;
}

.shield-seg-bar {
  height: 6px;
  width: 100%;
  background: rgba(20, 30, 40, 0.9);
  border: 1px solid rgba(80, 120, 160, 0.4);
}

.shield-seg-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3a8fff, #a0d8ff);
  box-shadow: 0 0 8px rgba(80, 160, 255, 0.7);
  transition: width 0.15s;
}

.hud-tempo {
  border: 1px solid rgba(60, 170, 255, 0.45);
  background: rgba(0, 18, 36, 0.7);
  padding: 0.35rem 0.75rem;
  text-align: center;
  min-width: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hud-time {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

#hud-time.urgent {
  color: #ff6a5a;
  text-shadow: 0 0 10px rgba(255, 60, 40, 0.6);
  animation: blinkUrgent 0.6s ease infinite;
}

@keyframes blinkUrgent {
  50% {
    opacity: 0.55;
  }
}

.hud-objetivo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0.25rem;
}

#hud-objective {
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.hud-minimap {
  border: 1px solid rgba(60, 170, 255, 0.5);
  background: rgba(0, 12, 24, 0.85);
  padding: 3px;
  width: 146px;
  height: 78px;
  box-shadow: 0 0 12px rgba(40, 140, 255, 0.2);
}

#minimap-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #061018;
}

@media (max-width: 900px) {
  .hud-tactical {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .hud-minimap {
    display: none;
  }

  .hud-objetivo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hud-tactical {
    padding-bottom: 0.5rem;
    gap: 0.4rem;
  }

  #hud-time {
    font-size: 1.2rem;
  }

  .hud-arma-box {
    min-width: 120px;
  }
}

/* ——— TOUCH ——— */
.touch-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25;
}

.touch-controls.hidden {
  display: none;
}

.joy-base {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0, 108, 58, 0.35);
  border: 2px solid rgba(255, 215, 0, 0.45);
  pointer-events: auto;
}

.joy-stick {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.7);
  border: 2px solid #fff;
}

.touch-btns {
  position: absolute;
  right: 16px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  pointer-events: auto;
}

.touch-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--amarelo);
  background: rgba(0, 108, 58, 0.65);
  font-size: 1.35rem;
  color: #fff;
  pointer-events: auto;
}

.touch-btn.fire {
  background: rgba(196, 30, 58, 0.7);
}

.touch-btn.pause {
  width: 44px;
  height: 44px;
  font-size: 0.9rem;
}

/* ——— OVERLAYS ——— */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 20, 8, 0.82);
  z-index: 50;
  backdrop-filter: blur(4px);
}

.overlay.hidden {
  display: none;
}

.question-card {
  background: linear-gradient(165deg, rgba(0, 39, 118, 0.97), rgba(10, 47, 26, 0.98));
  border: 3px solid var(--amarelo);
  padding: 1.5rem;
  max-width: 560px;
  width: 94%;
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.2);
  animation: fadeUp 0.35s ease;
}

.q-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.q-badge {
  background: var(--amarelo);
  color: var(--azul);
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

#q-timer {
  font-family: var(--fonte-titulo);
  color: var(--amarelo);
  font-size: 1.4rem;
}

#q-text {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.35;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.q-opt {
  text-align: left;
  padding: 0.75rem 1rem;
  font-family: var(--fonte-ui);
  font-weight: 600;
  font-size: 1.05rem;
  background: rgba(0, 108, 58, 0.5);
  border: 2px solid rgba(255, 215, 0, 0.35);
  color: var(--creme);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  pointer-events: auto;
}

.q-opt:hover {
  border-color: var(--amarelo);
  background: rgba(20, 148, 74, 0.7);
}

.q-opt.correct {
  border-color: #3dff8a;
  background: rgba(20, 148, 74, 0.85);
}

.q-opt.wrong {
  border-color: var(--vermelho-pt);
  background: rgba(227, 6, 19, 0.35);
}

.q-feedback {
  margin: 1rem 0 0;
  min-height: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--amarelo);
}

.overlay .panel-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
}

.overlay .panel-card .btn-military {
  width: 100%;
}

/* ——— TELA FINAL (vitória após 3ª fase) ——— */
.overlay-final {
  background: #020806;
  backdrop-filter: none;
  padding: 0.75rem;
  align-items: center;
  justify-content: center;
}

.final-frame {
  position: relative;
  width: min(100%, 1100px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

/* Mantém proporção da arte para o quadro preto bater certo */
.final-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1660 / 948;
  max-height: calc(100vh - 5.5rem);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.18);
}

.final-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}

/* Quadro preto da arte (~72.7%–94% da imagem) */
.final-score-slot {
  position: absolute;
  left: 50%;
  top: 83.3%;
  transform: translate(-50%, -50%);
  width: 62%;
  height: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15em;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.final-score-label {
  font-family: var(--fonte-ui);
  font-size: clamp(0.6rem, 1.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffd700;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #000;
}

.final-score-value {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.5rem, 5.2vw, 3rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 2px 0 #002776;
  letter-spacing: 0.06em;
}

.final-actions {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 0.75rem;
  width: min(100%, 420px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.final-actions .btn-military {
  flex: 1;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .overlay-final {
    padding: 0.4rem;
  }

  .final-score-slot {
    width: 70%;
    height: 18%;
  }

  .final-actions {
    flex-direction: column;
    width: min(100%, 320px);
  }
}

@media (max-width: 768px) {
  .game-title {
    font-size: 2.2rem;
  }
}
