.back { font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 2px solid; padding-bottom: 3px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 320px; gap: 30px; }
.hero h1 { font-size: clamp(80px,10vw,132px); letter-spacing: -7px; }
.hero h1 span { color: #7852c8; }
.world { height: 320px; position: relative; display: grid; place-items: center; }
.globe { font-size: 210px; filter: drop-shadow(6px 10px 0 #24222520); animation: float 5s ease-in-out infinite; }
.orbit { position: absolute; width: 370px; height: 225px; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-24deg); background: var(--purple); }
.stamp { position: absolute; border: 2px solid var(--ink); background: var(--paper); padding: 8px 16px; border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); font-size: 32px; }
.japan { right: 12px; top: 15px; transform: rotate(10deg); }
.italy { left: 0; bottom: 20px; transform: rotate(-10deg); }
.setup { margin-top: 38px; padding: 0 0 40px; }
.step-label { font-size: 18px; margin: 0 0 14px; }
.modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mode { text-align: left; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); padding: 20px; color: var(--ink); display: flex; align-items: center; gap: 14px; min-height: 88px; }
.mode:hover { background: #eee7ff; }
.mode.active { background: var(--purple); box-shadow: 4px 4px 0 var(--ink); }
.mode .icon { font-size: 30px; }
.mode strong { font-size: 20px; letter-spacing: -.6px; }
.launch { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; gap: 20px; }
.launch label { font-weight: 700; font-size: 16px; }
.launch select { margin-left: 14px; background: var(--paper); padding: 13px 40px 13px 15px; border: 2px solid var(--ink); border-radius: 9px; color: var(--ink); }
.launch .primary { min-width: 240px; font-size: 18px; }
.meta { text-align: right; font-size: 13px; margin-top: 14px; }
.quiz { max-width: 760px; margin: 20px auto; }
.stats { display: flex; align-items: center; margin-bottom: 18px; font-size: 15px; font-weight: 700; }
.stats .xp { margin-left: auto; }
.progress { height: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; }
.progress div { height: 100%; background: var(--purple); transition: width .3s; }
.question { text-align: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 28px; margin-top: 24px; box-shadow: 6px 6px 0 var(--ink); }
.eyebrow { font-size: 13px; font-weight: 700; }
.question h1 { font-size: 36px; letter-spacing: -1.5px; line-height: 1.12; margin: 12px 0 28px; }
.question .big { font-size: 85px; line-height: 1.5; }
.question .capital { font-size: 48px; font-weight: 900; letter-spacing: -2px; margin: 26px 0; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.answer { border: 2px solid var(--ink); border-radius: 9px; background: var(--paper); padding: 18px 12px; color: var(--ink); font-weight: 700; font-size: 16px; }
.answer:hover:enabled { background: var(--purple); }
.answer.correct { background: #bce8ae; }
.answer.wrong { background: #ffb5a1; }
.answer:disabled { color: var(--ink); cursor: default; }
.feedback { min-height: 78px; padding-top: 20px; font-size: 14px; line-height: 1.5; }
.feedback strong { display: block; font-size: 17px; }
.quiz-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.text-button { border: 0; padding: 10px 0; background: none; text-decoration: underline; color: var(--ink); font-size: 14px; }
.result { text-align: center; max-width: 700px; margin: 30px auto; }
.medal { font-size: 90px; }
.result h1 { font-size: clamp(38px,6vw,64px); letter-spacing: -2px; margin: 12px 0 30px; }
.result-stats { display: grid; grid-template-columns: repeat(3,1fr); border: 2px solid var(--ink); border-radius: 12px; background: var(--purple); box-shadow: 5px 5px 0 var(--ink); margin: 24px 0 36px; padding: 24px 10px; }
.result-stats strong { display: block; font-size: 34px; letter-spacing: -1px; }
.result-stats small { display: block; margin-top: 6px; font-size: 12px; }
.review { text-align: left; margin: 28px 0; }
.review p { padding: 12px 0; margin: 0; border-top: 1px solid var(--ink); font-size: 15px; }
.result-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding-bottom: 20px; }
.secondary { background: var(--paper); color: var(--ink); }
@keyframes float { 50% { transform: translateY(-8px) rotate(3deg); } }
@media(max-width:650px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 0; min-height: 200px; }
  .hero h1 { font-size: clamp(60px,15vw,95px); letter-spacing: -4px; }
  .world { height: 210px; }
  .globe { font-size: 110px; }
  .orbit { width: 158px; height: 115px; }
  .stamp { font-size: 19px; padding: 3px 6px; box-shadow: 2px 2px 0; border-radius: 6px; }
  .japan { top: 15px; right: 2px; }
  .italy { left: 2px; bottom: 20px; }
  .setup { margin-top: 24px; }
  .modes { gap: 9px; }
  .mode { padding: 14px 5px; flex-direction: column; gap: 10px; }
  .mode .icon { font-size: 27px; }
  .mode strong { font-size: 13px; letter-spacing: -.4px; }
  .launch { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .launch label { display: flex; align-items: center; justify-content: space-between; }
  .launch select { width: 70%; }
  .meta { text-align: center; }
  .question { padding: 20px 14px; }
  .question h1 { font-size: 28px; }
  .question .capital { font-size: 36px; }
  .answer { font-size: 14px; padding: 16px 8px; }
  .quiz-bottom .primary { padding: 14px; font-size: 14px; }
}
