/* Layout only: preserve quiz content, controls, datasets and animation assets. */
body{background:#f3f5ee}header{height:76px;max-width:1280px;padding:0 36px;border-bottom:0;gap:20px}header nav{gap:24px;align-items:center}.brand-sub{border-left:1px solid #d9e1d2;padding-left:16px;margin-left:8px}.brandmark{border-radius:12px}main{max-width:1208px;margin:18px auto 0;padding-bottom:42px}main:has(>.hero){display:grid;grid-template-columns:224px minmax(0,1fr);column-gap:28px;row-gap:18px;grid-template-areas:'hero hero' 'stats heading' 'stats tabs' 'settings cards' 'note cards' 'study cards';align-items:start}.hero{grid-area:hero;display:grid;grid-template-columns:minmax(0,1fr) 420px;align-items:stretch;gap:20px;padding:0;margin:0 0 16px;background:#fffefa;border:1px solid #e1e7d9;border-radius:24px;overflow:hidden}.hero-copy{padding:32px 36px 30px;align-self:center}.hero .eyebrow{font-size:10px;letter-spacing:1.6px}.hero h1{font-size:42px;line-height:1.35;margin:16px 0 15px;letter-spacing:-1.5px}.hero h1 em:after{z-index:0;opacity:.45;bottom:0}.hero .intro{font-size:12px;line-height:1.95;margin:0 0 20px}.hero .primary{padding:13px 22px}.hero .subtext{font-size:10px}.hero-art{border:0;border-radius:0;height:100%;min-height:324px;background:#eaf0df}.hero .globe-friend{top:61px;width:213px;height:213px}.hero .friend-bubble{bottom:24px}.hero .postcard-fr{left:20px;bottom:49px}.hero .sun-friend{top:30px;right:18px;width:67px}.hero .scene-heading{top:20px;font-size:10px}.hero .postcard-ca{top:125px;right:17px}.hero .paper-plane{top:49px;left:28px;width:61px}.hero .spark-a{left:111px;top:40px}.hero .cloud-one{top:111px;left:18px}.hero .cloud-two{bottom:57px}.hero .travel-stamp{bottom:8px}.stats{grid-area:stats;display:flex;flex-direction:column;align-self:stretch;padding:16px 20px;border:1px solid #dfe6d7;border-radius:16px;background:#e8efdf;gap:14px}.stat{border:0;justify-content:flex-start;gap:14px;flex:1;min-height:29px}.stat strong{font-size:28px;line-height:1;width:43px;flex-shrink:0}.stat span{font-size:10px;color:#74836b}.section-head{grid-area:heading;margin:0;min-height:53px;align-items:center;padding:0 2px}.section-head h2{font-size:23px;margin-bottom:6px}.section-head p{font-size:11px}.section-head>span{font-size:9px}.category-tabs{grid-area:tabs;margin:0 0 3px;gap:9px;align-self:center}.category-tabs button{padding:8px 17px;background:#fffefa;border-color:#e0e5d9}.category-tabs button.selected{background:var(--green)}.cards{grid-area:cards;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.quiz-card{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:16px;row-gap:0;padding:22px;border-radius:16px;min-height:193px;background:#fffefa}.card-top{grid-column:1/-1;display:contents}.card-top .icon{grid-column:1;grid-row:1/3;width:46px;height:46px;border-radius:14px}.card-top .pill{grid-column:2;grid-row:1;justify-self:start;font-size:9px;padding:0;background:transparent;line-height:17px;color:#89977c}.quiz-card h3{grid-column:2;grid-row:2;font-size:17px;margin:3px 0 12px;line-height:1.45}.quiz-card p{grid-column:1/-1;font-size:11px;line-height:1.9;min-height:0;margin:0 0 15px}.card-bottom{grid-column:1/-1;margin:0;padding-top:13px;border-top:1px solid #edf0e6;align-self:end}.card-bottom button{background:#edf3e5;border-radius:7px;padding:6px 10px;font-size:10px}.card-bottom>span{font-size:9px}.card-bottom button span{font-size:11px;margin-left:5px}.quiz-card:hover{box-shadow:0 8px 20px #42533008;transform:translateY(-3px)}.settings{grid-area:settings;display:flex;flex-direction:column;align-items:stretch;margin:0;gap:17px;padding:21px 19px;background:#fffefa;border:1px solid #e0e6d8;border-radius:16px;font-size:11px}.settings>span{font-weight:700;font-size:13px;color:#3b573d;padding-bottom:12px;border-bottom:1px solid #e7ecdf}.settings label{display:flex;flex-wrap:wrap;gap:8px;font-size:11px}.settings label:has(select){flex-direction:column;align-items:flex-start;gap:8px}.settings select{background:#f0f4e9;border:1px solid #dce5d2;border-radius:7px;padding:9px 11px;width:100%;font-size:11px}.settings input{width:15px;height:15px;margin:0 2px 0 0}.hero~.note{grid-area:note;margin:0;font-size:10px;line-height:1.95;padding:0 4px;color:#89937e}.study{grid-area:study;margin:0;padding:18px 17px;border:1px dashed #ccd8be;border-radius:14px;background:#eef3e7;gap:9px;align-items:flex-start;align-self:start}.study>span{font-size:20px!important}.study strong{font-size:11px;line-height:1.8;margin:0 0 5px}.study p{font-size:10px;line-height:1.9}footer{max-width:1208px;margin:0 auto;padding:22px 0 28px;font-size:9px}.game{max-width:960px;margin:26px auto 12px}.game-top{background:#e9efdf;border:1px solid #dce5d2;border-radius:12px;padding:10px 19px;margin-bottom:18px}.game-meta{gap:17px}.game .clock{background:#fffdf7;border:1px solid #dce5d2;font-size:13px}.progress{margin-bottom:22px;height:5px}.question-panel{padding:35px 48px 26px;border-radius:20px;background:#fffefa}.question-panel .options{max-width:690px;margin:auto;gap:14px}.question-panel h2.question{margin:14px 0 25px;font-size:27px}.question-flag{height:158px;margin-bottom:28px}.option{padding:18px 20px;border-radius:10px;background:#fffefa}.capital{margin:30px 0 38px}.feedback{margin-top:23px}.game-actions{padding:0 5px;margin-top:19px}.result{border-radius:20px;padding:32px 40px}.review-title{padding:0 8px}.review-item{padding:18px 20px;background:#fffefa;border:1px solid #e1e7d9;border-radius:11px;margin-bottom:9px}.result+.review-title+div{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.review-item img{width:35px;flex-shrink:0}.review-item{font-size:12px;gap:11px;align-items:flex-start}.review-item small{font-size:10px}.review-mark{font-size:10px}.typing-grid{grid-template-columns:repeat(5,1fr);gap:10px}.country-slot{padding:15px 5px}.typing-row{max-width:690px;margin:20px auto}.history-row{line-height:1.8}
@media(max-width:1279px){header{padding:0 28px}main{margin:12px 28px 0}footer{margin:0 28px}.hero{grid-template-columns:minmax(0,1fr) 37%;gap:0}.hero-copy{padding:28px}.hero h1{font-size:37px}.hero .intro{font-size:11px}.hero .eyebrow{font-size:9px}.hero-art{min-height:310px}.hero .globe-friend{width:198px;top:62px}.hero .postcard-fr{left:12px}.hero .postcard-ca{right:11px}.hero .mini-postcard img{width:43px;height:29px}.hero .sun-friend{width:58px;right:12px}.hero .scene-heading{left:15px;font-size:9px}.hero .paper-plane{left:17px;width:53px}.hero .spark-a{left:91px}.hero .friend-bubble{font-size:10px}.hero .subtext{margin-left:10px;font-size:9px}main:has(>.hero){grid-template-columns:205px minmax(0,1fr);column-gap:20px;row-gap:16px}.quiz-card{padding:18px;column-gap:12px}.quiz-card h3{font-size:16px}.section-head>span{display:none}}
@media(max-width:1000px) and (min-width:761px){main:has(>.hero){grid-template-columns:180px minmax(0,1fr);column-gap:16px}.hero{grid-template-columns:minmax(0,1fr) 37%}.hero-copy{padding:26px 24px}.hero h1{font-size:31px}.hero .intro{font-size:10px}.hero .subtext{display:block;margin:10px 0 0}.hero-art{min-height:322px}.hero .globe-friend{width:175px;top:80px}.hero .postcard-fr{bottom:59px;left:8px}.hero .postcard-ca{top:104px;right:7px}.hero .mini-postcard{padding:6px}.hero .mini-postcard img{width:31px;height:23px}.hero .mini-postcard span{font-size:5px}.hero .sun-friend{top:36px}.stats{padding:16px}.stat{gap:7px}.stat strong{width:36px;font-size:25px}.stat span{font-size:9px}.quiz-card{padding:16px;grid-template-columns:39px 1fr;column-gap:8px}.card-top .icon{width:38px;height:38px;font-size:20px;border-radius:11px}.quiz-card h3{font-size:14px;margin-bottom:12px}.quiz-card p{font-size:10px}.card-bottom{gap:5px}.card-bottom button{font-size:9px;padding:6px}.card-bottom>span{font-size:8px}.settings{padding:17px 14px}.brand-sub{display:none}}
@media(max-width:760px){header{height:68px;padding:0 18px;gap:10px}header nav{gap:14px}.brand{font-size:21px;gap:7px}.brandmark{width:30px;height:33px;font-size:18px}.brand-sub{display:none}nav button{font-size:10px}main{margin:12px 16px 0;padding-bottom:28px}main:has(>.hero){display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'hero' 'stats' 'heading' 'tabs' 'settings' 'cards' 'note' 'study';row-gap:15px}.hero{grid-template-columns:1fr;gap:0;border-radius:19px;margin-bottom:1px}.hero-copy{padding:25px 23px 21px}.hero .eyebrow{font-size:8px;letter-spacing:1px}.hero h1{font-size:30px;letter-spacing:-1px;margin:14px 0 13px}.hero .intro{font-size:10px;line-height:1.95;margin-bottom:17px}.hero .primary{padding:12px 18px;gap:25px;font-size:12px}.hero .subtext{font-size:9px;margin-left:10px}.hero-art{height:257px;min-height:257px}.hero .globe-friend{width:172px;height:172px;top:40px}.hero .scene-heading{font-size:9px;top:14px;left:16px}.hero .sun-friend{width:50px;top:21px;right:17px}.hero .paper-plane{width:47px;left:18px;top:43px}.hero .postcard-fr{bottom:40px;left:19px}.hero .postcard-ca{top:91px;right:15px}.hero .mini-postcard img{width:35px;height:25px}.hero .mini-postcard{padding:6px 8px}.hero .mini-postcard span{font-size:6px}.hero .cloud-one{top:93px;left:12px}.hero .cloud-two{bottom:49px;right:8px}.hero .friend-bubble{bottom:17px;font-size:9px;padding:7px 10px}.hero .spark-a{left:87px;top:32px;font-size:15px}.hero .spark-b{right:55px;bottom:38px;font-size:19px}.hero .travel-stamp{font-size:6px;bottom:5px;left:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:15px 8px;gap:0;border-radius:12px}.stat{flex-direction:column;gap:6px;justify-content:center;border-right:1px solid #d5dfc9}.stat:last-child{border:0}.stat strong{width:auto;font-size:25px}.stat span{font-size:9px}.section-head{margin:9px 0 0;padding:0 2px;min-height:50px}.section-head h2{font-size:21px}.section-head p{font-size:10px}.category-tabs{margin:0;gap:8px}.category-tabs button{font-size:10px;padding:8px 14px}.settings{flex-direction:row;flex-wrap:wrap;padding:14px 15px;gap:10px 15px;border-radius:12px;align-items:center}.settings>span{width:100%;font-size:11px;border:0;padding:0;margin:0}.settings label{font-size:10px}.settings label:has(select){flex-direction:row;align-items:center;gap:5px}.settings select{width:auto;font-size:10px;padding:5px 6px;border:0}.settings input{width:13px;height:13px}.cards{grid-template-columns:1fr;gap:12px}.quiz-card{padding:18px 19px;grid-template-columns:44px minmax(0,1fr);column-gap:13px;min-height:175px;border-radius:14px}.card-top .icon{width:43px;height:43px;font-size:22px;border-radius:12px}.card-top .pill{font-size:9px}.quiz-card h3{font-size:17px;margin:3px 0 13px}.quiz-card p{font-size:11px;margin-bottom:14px}.card-bottom{padding-top:12px}.card-bottom>span{font-size:9px}.card-bottom button{font-size:10px;padding:6px 10px}.hero~.note{font-size:9px;padding:0 3px;line-height:1.9}.study{padding:15px;margin-top:2px}.study p{font-size:10px}footer{margin:0 18px;padding:18px 0 25px;font-size:8px;gap:8px}.game{margin:16px auto 10px;min-height:450px}.game-top{padding:10px 12px;border-radius:10px;margin-bottom:15px}.game-top .text-btn{font-size:10px}.game-meta{gap:7px;font-size:10px}.game .clock{padding:6px 9px;font-size:11px}.progress{margin-bottom:17px;height:4px}.question-panel{padding:26px 17px 21px;border-radius:16px}.question-panel h2.question{font-size:21px;margin:13px 0 24px}.question-flag{height:125px;max-width:230px;margin-bottom:25px}.question-panel .options{gap:10px}.option{padding:15px 10px;border-radius:8px;gap:8px}.feedback{font-size:11px;line-height:1.9;margin-top:20px}.game-actions{margin-top:15px}.game-actions .primary{padding:12px 18px;font-size:12px}.capital{font-size:31px;margin:25px 0 35px}.typing-grid{grid-template-columns:repeat(3,1fr);gap:8px}.country-slot{font-size:11px;padding:12px 4px}.typing-row{gap:7px}.typing-row input{font-size:12px;padding:12px 10px}.typing-row .primary{padding:12px;font-size:11px}.result{padding:27px 18px;border-radius:16px}.result h2{font-size:22px}.result-buttons{gap:9px}.result-buttons .primary,.result-buttons .secondary{font-size:11px;padding:12px 16px}.result+.review-title+div{grid-template-columns:1fr}.review-item{padding:15px 13px;font-size:11px}.review-item small{font-size:9px}.review-mark{font-size:9px}.review-title{font-size:17px}}
@media(max-width:360px){.hero-copy{padding-left:19px;padding-right:19px}.hero h1{font-size:27px}.hero .intro{font-size:9px}.hero .subtext{display:block;margin:9px 0 0}header nav{gap:10px}.hero .eyebrow{font-size:7px}.game-meta{font-size:9px}}
