.back { font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 2px solid; padding-bottom: 3px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 30px 0 48px; }
.intro h1 { font-size: clamp(72px,9vw,120px); letter-spacing: -6px; }
.intro h1 span { color: #b94d29; }
.intro p { font-size: 18px; margin: 25px 0; }
.intro .primary { background: #ffbf98; min-width: 220px; font-size: 18px; }
.intro .round-info { font-size: 13px; margin-top: 18px; }
.quiz { max-width: 750px; margin: 10px auto 30px; }
.scoreboard { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; margin-bottom: 18px; }
#streak { margin-left: 16px; }
.progress { height: 12px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper); overflow: hidden; }
.progress div { height: 100%; background: #83bf6e; }
.question { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 28px; margin-top: 24px; text-align: center; }
.question h1 { font-size: 36px; letter-spacing: -1.5px; line-height: 1.15; outline: none; }
.photo-stage { min-height: 215px; display: grid; place-items: center; padding: 20px; }
.player-photo { width: 190px; height: 220px; object-fit: cover; object-position: center 22%; border: 2px solid var(--ink); border-radius: 10px; }
.hint-row { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 15px; font-size: 14px; }
.hint { border: 0; background: transparent; text-decoration: underline; color: var(--ink); padding: 10px 0; font-size: 13px; }
.hint span { margin-left: 6px; color: #645f66; }
.hint:disabled { opacity: .5; cursor: default; }
#country { font-weight: 700; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.answer { border: 2px solid var(--ink); border-radius: 9px; background: var(--paper); padding: 17px 12px; color: var(--ink); font-weight: 700; font-size: 16px; min-height: 58px; }
.answer:hover:enabled { background: #eee7ff; }
.answer.correct { background: #ffbf98; }
.answer.wrong { background: #ffb5a1; }
.answer:disabled { color: var(--ink); cursor: default; }
.feedback { min-height: 76px; padding-top: 20px; line-height: 1.5; font-size: 14px; }
.feedback strong { display: block; font-size: 18px; }
.quiz-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.text-button { border: 0; background: none; color: var(--ink); text-decoration: underline; padding: 12px 0; font-size: 14px; }
.result { max-width: 700px; margin: 20px auto; text-align: center; }
.trophy { font-size: 85px; }
.result h1 { font-size: clamp(40px,7vw,72px); margin: 20px 0 30px; letter-spacing: -3px; }
.result-stats { display: grid; grid-template-columns: repeat(3,1fr); background: #ffbf98; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--ink); padding: 24px 10px; }
.result-stats strong { display: block; font-size: 34px; letter-spacing: -1px; }
.result-stats span { display: block; font-size: 12px; margin-top: 6px; }
.review { text-align: left; margin: 35px 0; }
.review h2 { font-size: 20px; }
.review-player { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--ink); padding: 12px 0; font-size: 14px; }
.review-player img { width: 40px; height: 40px; object-fit: contain; }
.review-player span { margin-left: auto; font-size: 12px; }
.result-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 30px 0; }
.secondary { background: var(--paper); color: var(--ink); }
@media(max-width:650px) {
  .intro { gap: 25px; grid-template-columns: 1fr; padding: 15px 0 0; }
  .intro h1 { font-size: 80px; letter-spacing: -5px; }
  .intro p { font-size: 16px; margin: 20px 0; }
  .intro .primary { width: 100%; }
  .question { padding: 20px 14px; }
  .question h1 { font-size: 29px; }
  .photo-stage { min-height: 190px; }
  .player-photo { width: 155px; height: 185px; }
  .answer { font-size: 14px; padding: 13px 7px; }
  .scoreboard { font-size: 13px; }
  #streak { margin-left: 6px; }
  .hint-row { gap: 8px; flex-wrap: wrap; }
  .quiz-bottom .primary { font-size: 14px; padding: 14px 18px; }
  .review-player { gap: 10px; }
}

.groups { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.group { border: 2px solid var(--ink); border-radius: 8px; padding: 10px 14px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14px; }
.group.active { background: #ffbf98; box-shadow: 3px 3px 0 var(--ink); }
.portraits { position: relative; height: 400px; }
.portrait-card { position: absolute; width: 210px; height: 285px; background: #ffbf98; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); padding: 12px 12px 42px; }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border: 2px solid var(--ink); border-radius: 6px; }
.portrait-card span { position: absolute; bottom: 6px; left: 18px; font-size: 27px; font-weight: 900; }
.card-one { left: 0; top: 12px; transform: rotate(-12deg); background: var(--yellow); }
.card-two { right: 0; bottom: 12px; transform: rotate(10deg); }
.portrait-ball { position: absolute; font-size: 80px; left: 0; bottom: 4px; }
.credits-link { display: inline-block; margin: 20px 0; font-size: 13px; }
@media(max-width:650px) {
  .portraits { height: 300px; margin: 5px 15px 10px; }
  .portrait-card { width: 160px; height: 220px; }
  .portrait-ball { font-size: 60px; }
}

.setting { border: 0; padding: 0; margin: 22px 0; }
.setting legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 10px; }
.levels .group { padding: 10px 12px; }
.level-label { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 400; }
.result-level { font-size: 13px; margin: 30px 0 0; }
@media(max-width:650px) { .level-label { display: block; margin: 4px 0 0; } }
