:root {
  --green-900: #042616;
  --green-800: #073d23;
  --green-700: #086536;
  --green-500: #12a85b;
  --green-300: #76ef9a;
  --yellow: #ffd32a;
  --yellow-soft: #fff0a1;
  --blue: #1558d6;
  --blue-deep: #061b52;
  --white: #f8fbff;
  --ink: #071b15;
  --danger: #ef3434;
  --success: #15b866;
  --glass: rgba(255, 255, 255, .13);
  --glass-strong: rgba(255, 255, 255, .2);
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 7%, rgba(255, 255, 255, .28), transparent 14%),
    radial-gradient(circle at 12% 28%, rgba(255, 211, 42, .16), transparent 22%),
    radial-gradient(circle at 88% 26%, rgba(21, 88, 214, .22), transparent 25%),
    linear-gradient(135deg, #03160b 0%, #07562d 38%, #061b52 100%);
  overflow-x: hidden;
}

button {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.stadium-lights {
  position: absolute;
  inset: -13% -6% auto;
  height: 42vh;
  background:
    radial-gradient(circle at 10% 26%, rgba(255,255,255,.9) 0 2px, transparent 5px),
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.92) 0 2px, transparent 5px),
    radial-gradient(circle at 30% 15%, rgba(255,255,255,.84) 0 2px, transparent 5px),
    radial-gradient(circle at 43% 10%, rgba(255,255,255,.92) 0 2px, transparent 5px),
    radial-gradient(circle at 57% 10%, rgba(255,255,255,.92) 0 2px, transparent 5px),
    radial-gradient(circle at 70% 15%, rgba(255,255,255,.84) 0 2px, transparent 5px),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.92) 0 2px, transparent 5px),
    radial-gradient(circle at 90% 26%, rgba(255,255,255,.9) 0 2px, transparent 5px),
    radial-gradient(ellipse at center, rgba(255,255,255,.42), rgba(255,255,255,0) 66%);
  filter: blur(.2px);
  opacity: .72;
}

.stadium-lights::before,
.stadium-lights::after {
  content: "";
  position: absolute;
  top: 24%;
  width: 38%;
  height: 76%;
  background: linear-gradient(110deg, rgba(255,255,255,.17), transparent 68%);
  transform: skewX(-18deg);
}

.stadium-lights::before { left: 8%; }
.stadium-lights::after { right: 8%; transform: skewX(18deg); }

.crowd {
  position: absolute;
  inset: 18% -4% auto;
  height: 27vh;
  background:
    linear-gradient(90deg, rgba(255,211,42,.22), rgba(21,88,214,.2), rgba(18,168,91,.24), rgba(255,255,255,.12)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 8px);
  mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 72%, transparent);
  filter: blur(2px);
  opacity: .78;
}

.field {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -17vh;
  height: 54vh;
  background:
    repeating-linear-gradient(90deg, rgba(8,101,54,.95) 0 90px, rgba(18,168,91,.88) 90px 180px),
    linear-gradient(#12a85b, #064421);
  transform: perspective(660px) rotateX(61deg);
  transform-origin: 50% 0;
  border-top: 5px solid rgba(255,255,255,.32);
  box-shadow: 0 -30px 90px rgba(3, 16, 9, .64);
}

.field-lines {
  position: absolute;
  left: 50%;
  bottom: -2vh;
  width: min(92vw, 1120px);
  height: 38vh;
  transform: translateX(-50%) perspective(660px) rotateX(61deg);
  transform-origin: 50% 0;
  border: 3px solid rgba(255,255,255,.32);
  border-radius: 20px;
}

.field-lines::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255,255,255,.28);
}

.field-lines::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255,255,255,.28);
  border-radius: 50%;
}

.floating {
  position: absolute;
  z-index: 2;
  text-shadow: 0 12px 30px rgba(0,0,0,.42);
  animation: float 6s ease-in-out infinite;
}

.ball-mini { right: 9%; bottom: 15%; font-size: clamp(2rem, 5vw, 4rem); }
.leaf-one { left: 7%; bottom: 22%; font-size: clamp(1.6rem, 4vw, 3rem); animation-delay: .8s; }
.leaf-two { right: 17%; top: 31%; font-size: clamp(1.4rem, 3.6vw, 2.7rem); animation-delay: 1.4s; }
.sun-icon { left: 12%; top: 17%; font-size: clamp(1.4rem, 3vw, 2.4rem); animation-delay: .3s; }
.recycle-icon { right: 11%; top: 16%; font-size: clamp(1.5rem, 3.2vw, 2.6rem); animation-delay: 1s; }

.confetti {
  position: absolute;
  width: 260px;
  height: 190px;
  opacity: .45;
  background:
    radial-gradient(circle at 8% 18%, #ffd32a 0 3px, transparent 4px),
    radial-gradient(circle at 18% 64%, #76ef9a 0 3px, transparent 4px),
    radial-gradient(circle at 34% 30%, #f8fbff 0 2px, transparent 3px),
    radial-gradient(circle at 48% 76%, #1558d6 0 3px, transparent 4px),
    radial-gradient(circle at 62% 20%, #ffd32a 0 2px, transparent 3px),
    radial-gradient(circle at 78% 56%, #76ef9a 0 3px, transparent 4px),
    radial-gradient(circle at 92% 34%, #f8fbff 0 2px, transparent 3px);
  animation: confettiDrift 8s ease-in-out infinite;
}

.confetti-a { left: 3%; top: 9%; }
.confetti-b { right: 4%; top: 8%; animation-delay: 1.2s; }
.confetti-c { left: 41%; top: 3%; animation-delay: 2s; }

@keyframes confettiDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-13px) rotate(3deg); }
}

.game-shell {
  position: relative;
  z-index: 3;
  width: min(1360px, 98.5vw);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(8px, 1.4vw, 20px) 0;
  display: grid;
  align-items: center;
}

.screen {
  display: none;
}

.screen.active {
  display: grid;
  animation: enter .38s ease both;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.game-grid,
.start-arena {
  grid-template-columns: minmax(150px, 210px) minmax(520px, 1fr) minmax(230px, 300px);
  grid-template-rows: auto auto;
  gap: clamp(9px, 1vw, 16px);
  align-items: stretch;
}

.start-arena {
  grid-template-columns: minmax(220px, 330px) minmax(360px, 760px);
  justify-content: center;
}

.brand-panel,
.quiz-stage,
.feedback-panel,
.start-card,
.result-card {
  border: 1px solid rgba(255,255,255,.24);
  background:
    linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.08)),
    linear-gradient(180deg, rgba(13, 73, 38, .58), rgba(6, 27, 82, .35));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255,255,255,.24);
  backdrop-filter: blur(12px);
}

.brand-panel {
  min-height: 100%;
  padding: clamp(14px, 1.5vw, 22px);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,211,42,.48), transparent 68%);
}

.kicker,
.game-tag,
.round-label,
.feedback-label {
  width: max-content;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-soft));
  color: #15300d;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .74rem;
  box-shadow: 0 10px 28px rgba(255, 211, 42, .25);
}

.brand-panel h1 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 6.9vw, 6.2rem);
  line-height: .82;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 12px 24px rgba(0,0,0,.42), 0 0 24px rgba(255,211,42,.28);
}

.brand-subtitle {
  margin: 14px 0 24px;
  max-width: 230px;
  font-size: clamp(.92rem, 1.45vw, 1.14rem);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.eco-ball {
  width: clamp(92px, 11vw, 138px);
  aspect-ratio: 1;
  border-radius: 50%;
  margin-top: auto;
  display: grid;
  place-items: center;
  color: #073d23;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  background:
    radial-gradient(circle at 35% 25%, #fff 0 10%, transparent 11%),
    radial-gradient(circle at 50% 52%, #fff 0 58%, transparent 59%),
    conic-gradient(from 20deg, var(--green-500), var(--yellow), var(--blue), var(--green-500));
  box-shadow: 0 22px 42px rgba(0,0,0,.35), inset 0 -10px 24px rgba(0,0,0,.16);
}

.eco-ball span {
  display: grid;
  place-items: center;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: rgba(118,239,154,.86);
}

.quiz-stage {
  border-radius: 28px;
  padding: clamp(13px, 1.5vw, 21px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
}

.scoreboard {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.score-box,
.question-count {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(5, 23, 20, .48);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.score-box strong,
.question-count strong {
  min-width: 34px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--yellow);
  color: #10210b;
  font-size: 1.1rem;
}

.progress-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0,0,0,.2);
}

.progress-bar {
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), #d9ff58, var(--green-300));
  box-shadow: 0 0 22px rgba(255,211,42,.72);
  transition: width .38s cubic-bezier(.2, .8, .2, 1);
}

.question-card {
  min-height: 100%;
  border-radius: 28px;
  padding: clamp(20px, 2.3vw, 34px);
  background:
    linear-gradient(160deg, rgba(255,255,255,.94), rgba(230, 255, 239, .9)),
    radial-gradient(circle at 90% 10%, rgba(255,211,42,.35), transparent 30%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 26px 50px rgba(0,0,0,.28);
}

.round-label {
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--blue), #2a78ff);
  color: #fff;
  box-shadow: none;
}

.question {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(1.55rem, 2.65vw, 2.35rem);
  line-height: 1.12;
  font-weight: 900;
}

.answers {
  display: grid;
  gap: clamp(10px, 1.2vw, 14px);
}

.answer-btn {
  min-height: 64px;
  border: 2px solid rgba(7, 61, 35, .22);
  border-radius: 19px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #e4f7eb);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(7, 42, 28, .16), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.answer-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 42, .75);
  box-shadow: 0 15px 30px rgba(7, 42, 28, .19);
}

.answer-btn:active:not(:disabled) {
  transform: scale(.985);
}

.answer-btn:disabled {
  cursor: default;
}

.answer-letter {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), #2c7aff);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: .04em;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.16);
}

.answer-text {
  font-size: clamp(1.03rem, 1.65vw, 1.22rem);
  line-height: 1.18;
}

.answer-btn.correct {
  background: linear-gradient(180deg, #eafff1, #bfffd5);
  border-color: var(--success);
  animation: pulseCorrect .36s ease;
}

.answer-btn.correct .answer-letter {
  background: linear-gradient(145deg, var(--success), #74ef98);
  color: #062814;
}

.answer-btn.wrong {
  background: linear-gradient(180deg, #fff0f0, #ffd0d0);
  border-color: var(--danger);
  animation: shake .28s ease;
}

.answer-btn.wrong .answer-letter {
  background: linear-gradient(145deg, var(--danger), #ff7c7c);
}

@keyframes pulseCorrect {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(-5px); }
  66% { transform: translateX(5px); }
}

.feedback-panel {
  border-radius: 24px;
  padding: clamp(15px, 1.55vw, 22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(5, 38, 23, .78), rgba(6, 27, 82, .66)),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
}

.feedback-panel::after {
  content: "⚡";
  position: absolute;
  right: -8px;
  bottom: -18px;
  font-size: 7rem;
  opacity: .1;
}

.feedback-panel.hidden {
  display: flex;
}

.feedback-title {
  margin: 0 0 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.95rem, 3.1vw, 3.05rem);
  line-height: .96;
  letter-spacing: .03em;
  color: var(--yellow);
  text-shadow: 0 8px 26px rgba(0,0,0,.35);
  overflow-wrap: anywhere;
}

.feedback-text {
  margin: 0;
  font-size: clamp(.98rem, 1.32vw, 1.12rem);
  line-height: 1.4;
  font-weight: 800;
}

.auto-next {
  margin-top: 10px;
}

.auto-next-text {
  margin: 0 0 7px;
  font-size: .94rem;
  font-weight: 900;
  color: #fff6b6;
}

.auto-next-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
}

.auto-next-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe86d, #8cff8f);
  box-shadow: 0 0 16px rgba(255, 232, 109, .55);
}

.feedback-panel.is-idle .feedback-title {
  color: #fff7bc;
  font-size: clamp(1.65rem, 2.45vw, 2.35rem);
}

.feedback-panel.is-correct {
  border-color: rgba(118,239,154,.62);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38), 0 0 34px rgba(21,184,102,.22), inset 0 1px 0 rgba(255,255,255,.24);
}

.feedback-panel.is-wrong {
  border-color: rgba(255, 124, 124, .62);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .38), 0 0 34px rgba(239,52,52,.2), inset 0 1px 0 rgba(255,255,255,.24);
}

.info-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 12px);
}

.info-strip span {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(5, 23, 20, .72), rgba(6, 27, 82, .54));
  border: 1px solid rgba(255,255,255,.24);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.info-strip strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.16);
  font-size: 1.35rem;
}

.start-card {
  border-radius: 34px;
  padding: clamp(26px, 5vw, 58px);
  align-self: stretch;
  display: grid;
  align-content: center;
}

.start-card h2 {
  max-width: 760px;
  margin: 0 0 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: .9;
  letter-spacing: .03em;
  text-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.start-card p:not(.game-tag) {
  max-width: 640px;
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  font-weight: 800;
  line-height: 1.42;
}

.btn {
  width: max-content;
  min-height: 50px;
  margin-top: 20px;
  border: 0;
  border-radius: 16px;
  padding: 13px 22px;
  color: #082515;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.btn:active {
  transform: translateY(0) scale(.985);
}

.btn-primary {
  background: linear-gradient(90deg, var(--yellow), #ecff6b, var(--green-300));
}

.btn-secondary {
  background: linear-gradient(90deg, #fff8d6, var(--yellow), #d9ff58);
  width: 100%;
  justify-content: center;
  font-size: 1rem;
}

.question-card.is-entering {
  animation: questionEnter .26s ease;
}

.feedback-panel.show-feedback {
  animation: feedbackAppear .24s ease;
}

@keyframes questionEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes feedbackAppear {
  from { opacity: .3; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hidden {
  display: none !important;
}

.result-arena {
  justify-content: center;
  align-items: center;
}

.result-card {
  width: min(720px, 94vw);
  min-height: min(560px, 82vh);
  border-radius: 36px;
  padding: clamp(26px, 5vw, 56px);
  text-align: center;
  display: grid;
  place-items: center;
  align-content: center;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, transparent, rgba(255,211,42,.28), transparent, rgba(118,239,154,.22), transparent);
  animation: spin 7s linear infinite;
}

.result-card > * {
  position: relative;
  z-index: 1;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.trophy {
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.36));
  animation: trophyPop .8s ease both;
}

@keyframes trophyPop {
  0% { transform: scale(.7) rotate(-8deg); opacity: 0; }
  70% { transform: scale(1.08) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}

.result-card h2 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: .9;
}

.final-score {
  margin: 12px 0 4px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  color: var(--yellow);
  text-shadow: 0 12px 24px rgba(0,0,0,.38);
}

.final-score strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 13vw, 9rem);
  line-height: .85;
}

.final-score span {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
}

.final-message {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 900;
}

@media (max-width: 920px) {
  .game-grid {
    grid-template-columns: 126px minmax(390px, 1fr) 206px;
    gap: 8px;
  }

  .brand-panel,
  .quiz-stage,
  .feedback-panel {
    border-radius: 22px;
  }

  .brand-panel {
    padding: 13px;
  }

  .brand-panel h1 {
    font-size: 3.55rem;
  }

  .brand-subtitle {
    font-size: .82rem;
  }

  .eco-ball {
    width: 78px;
  }

  .question-card {
    padding: 18px;
  }

  .question {
    font-size: 1.38rem;
  }

  .answer-btn {
    min-height: 56px;
    grid-template-columns: 40px 1fr;
    gap: 9px;
  }

  .answer-letter {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 880px) and (orientation: landscape) {
  body {
    overflow: hidden;
  }

  .game-shell {
    width: 99vw;
    min-height: 100svh;
    padding: 5px 0;
  }

  .game-grid {
    grid-template-columns: 104px minmax(435px, 1fr) 196px;
    grid-template-rows: minmax(0, 1fr) 34px;
    gap: 6px;
    height: calc(100svh - 10px);
  }

  .start-arena {
    grid-template-columns: 160px minmax(410px, 1fr);
    gap: 10px;
  }

  .brand-panel {
    padding: 10px;
    border-radius: 18px;
    min-height: 0;
  }

  .kicker,
  .game-tag,
  .round-label,
  .feedback-label {
    padding: 5px 8px;
    margin-bottom: 7px;
    font-size: .62rem;
  }

  .brand-panel h1 {
    font-size: 2.85rem;
  }

  .brand-subtitle {
    margin: 6px 0 9px;
    font-size: .58rem;
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .eco-ball {
    width: 58px;
    font-size: 1.5rem;
  }

  .quiz-stage {
    padding: 8px;
    gap: 7px;
    border-radius: 18px;
    min-height: 0;
  }

  .score-box,
  .question-count {
    min-height: 36px;
    padding: 6px 9px;
    border-radius: 12px;
    font-size: .72rem;
  }

  .score-box strong,
  .question-count strong {
    min-width: 26px;
    min-height: 26px;
    border-radius: 9px;
  }

  .progress-track {
    height: 10px;
  }

  .question-card {
    padding: 10px 14px;
    border-radius: 20px;
    min-height: 0;
  }

  .round-label {
    margin-bottom: 6px;
  }

  .question {
    margin-bottom: 7px;
    font-size: clamp(1.1rem, 2.65vw, 1.28rem);
    line-height: 1.05;
  }

  .answers {
    gap: 5px;
  }

  .answer-btn {
    min-height: 39px;
    border-radius: 13px;
    padding: 5px 8px;
    grid-template-columns: 34px 1fr;
  }

  .answer-text {
    font-size: .82rem;
    line-height: 1.1;
  }

  .answer-letter {
    width: 30px;
    height: 30px;
    font-size: 1.12rem;
  }

  .feedback-panel {
    padding: 10px;
    border-radius: 18px;
    justify-content: center;
    min-height: 0;
  }

  .feedback-title {
    font-size: 2rem;
    line-height: 1;
  }

  .feedback-panel.is-idle .feedback-title {
    font-size: 1.38rem;
    line-height: 1.06;
    letter-spacing: .01em;
  }

  .feedback-text {
    font-size: .84rem;
    line-height: 1.32;
  }

  .btn {
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: .82rem;
  }

  .info-strip {
    gap: 7px;
  }

  .info-strip span {
    min-height: 34px;
    border-radius: 11px;
    font-size: .7rem;
    gap: 6px;
  }

  .info-strip strong {
    width: 23px;
    height: 23px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .start-card {
    padding: 24px;
  }

  .start-card h2 {
    font-size: 4.1rem;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  body {
    overflow: hidden;
  }

  .page-bg .confetti,
  .page-bg .field-lines,
  .page-bg .sun-icon,
  .page-bg .recycle-icon {
    display: none;
  }

  .stadium-lights {
    inset: -8% -20% auto;
    height: 34vh;
    opacity: .62;
  }

  .crowd {
    inset: 13% -15% auto;
    height: 20vh;
    opacity: .52;
  }

  .field {
    bottom: -10vh;
    height: 40vh;
  }

  .game-shell {
    width: 98vw;
    min-height: 100svh;
    padding: 6px 0;
  }

  .game-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 6px;
    height: calc(100svh - 12px);
  }

  .start-arena {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand-panel {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
    border-radius: 16px;
    padding: 10px 10px 8px;
  }

  .brand-panel h1 {
    font-size: 2.5rem;
    line-height: .84;
  }

  .kicker {
    margin-bottom: 4px;
    font-size: .6rem;
    padding: 4px 8px;
  }

  .brand-subtitle {
    margin: 0;
    max-width: 100%;
    font-size: .78rem;
    line-height: 1.08;
  }

  .eco-ball {
    grid-row: 1 / 3;
    grid-column: 2;
    width: 58px;
    font-size: 1.25rem;
  }

  .quiz-stage {
    min-height: 0;
    border-radius: 16px;
    padding: 8px;
    gap: 6px;
    grid-template-rows: auto auto auto;
    align-content: start;
  }

  .scoreboard {
    gap: 6px;
  }

  .score-box,
  .question-count {
    min-height: 34px;
    border-radius: 11px;
    padding: 5px 8px;
    font-size: .67rem;
    letter-spacing: .02em;
  }

  .score-box strong,
  .question-count strong {
    min-width: 24px;
    min-height: 24px;
    border-radius: 8px;
    font-size: .9rem;
  }

  .progress-track {
    height: 9px;
  }

  .question-card {
    min-height: auto;
    border-radius: 15px;
    padding: 10px;
  }

  .round-label {
    margin-bottom: 6px;
    font-size: .58rem;
    padding: 4px 8px;
  }

  .question {
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.06;
  }

  .answers {
    gap: 5px;
  }

  .answer-btn {
    min-height: 40px;
    border-radius: 12px;
    padding: 5px 7px;
    grid-template-columns: 31px 1fr;
    gap: 8px;
  }

  .answer-letter {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .answer-text {
    font-size: .8rem;
    line-height: 1.08;
  }

  .feedback-panel {
    min-height: 124px;
    justify-content: flex-start;
    border-radius: 16px;
    padding: 9px 10px;
  }

  .feedback-label {
    margin-bottom: 5px;
    font-size: .6rem;
    padding: 4px 8px;
  }

  .feedback-title {
    margin-bottom: 6px;
    font-size: 1.58rem;
    line-height: 1.02;
  }

  .feedback-panel.is-idle .feedback-title {
    font-size: 1.15rem;
  }

  .feedback-text {
    font-size: .78rem;
    line-height: 1.28;
  }

  .auto-next {
    margin-top: 7px;
  }

  .auto-next-text {
    margin-bottom: 5px;
    font-size: .73rem;
  }

  .auto-next-track {
    height: 6px;
  }

  .btn {
    margin-top: 8px;
    min-height: 36px;
    border-radius: 10px;
    padding: 7px 10px;
    font-size: .74rem;
    letter-spacing: .01em;
  }

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .info-strip span {
    min-height: 36px;
    border-radius: 10px;
    padding: 0 5px;
    font-size: .66rem;
    gap: 5px;
  }

  .info-strip strong {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    font-size: .84rem;
  }

  .start-card {
    padding: 16px;
    border-radius: 20px;
  }

  .start-card h2 {
    margin-bottom: 8px;
    font-size: 2.75rem;
  }

  .start-card p:not(.game-tag) {
    font-size: .9rem;
    line-height: 1.32;
  }

  .result-card {
    width: 95vw;
    min-height: min(600px, 94svh);
    border-radius: 24px;
    padding: 18px 14px;
  }

  .trophy {
    font-size: 3.6rem;
  }

  .result-card h2 {
    font-size: 2.5rem;
  }

  .final-score strong {
    font-size: 4.6rem;
  }

  .final-score span {
    font-size: 1.7rem;
  }

  .final-message {
    font-size: .96rem;
    line-height: 1.3;
  }
}

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