:root{font-family:'Malgun Gothic','Apple SD Gothic Neo',sans-serif;color:#302c23;background:#f2efe6;line-height:1.6;font-synthesis:none;--green:#236b56;--ink:#302c23;--gold:#efbd52}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 12% 25%,#e9ede0,transparent 50%),#f5f1e7}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible{outline:4px solid #bc7623;outline-offset:4px}h1:focus{outline:0}button{min-height:48px}h1,h2,p{margin:0}h1,h2,p,button{word-break:keep-all}h1{font-size:clamp(28px,3.2vw,46px);line-height:1.3;letter-spacing:-.04em}h2{font-size:22px;line-height:1.5}p{font-size:20px}.page{max-width:1320px;margin:auto;padding:24px 36px}.brand{display:flex;align-items:center;gap:14px;margin-bottom:24px}.brand-icon{display:grid;place-items:center;width:56px;height:56px;font-size:30px;background:var(--green);border-radius:17px}.brand b{font-size:22px}.brand small{display:block;font-size:13px;color:#66665a}.entry-sign{margin-left:auto;color:var(--green);font-size:14px;font-weight:800;border:1px solid #b8c9b9;padding:6px 16px;border-radius:30px}footer{font-size:13px;color:#777669;text-align:center;margin-top:26px}footer span{margin-left:20px}.welcome{display:grid;grid-template-columns:55% 45%;min-height:650px;border-radius:30px;background:#fffdf7;overflow:hidden;border:1px solid #ded9ca;box-shadow:0 10px 40px #655b3810}.welcome-copy{padding:70px 0 65px 55px;z-index:1}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.12em;color:var(--green)}.welcome h1{font-size:clamp(38px,4.5vw,60px);margin:20px 0 22px}.welcome h1 em{font-style:normal;color:var(--green)}.welcome-copy>p{color:#626454}.rules{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.rules>span{background:#f0f1e6;border:1px solid #e1e4d4;border-radius:12px;padding:10px 15px;font-size:15px}.rules b{font-size:22px;color:var(--green)}button.primary{background:var(--green);border:2px solid var(--green);color:#fff;border-radius:14px;padding:14px 28px;font-size:20px;font-weight:800;box-shadow:0 4px #174d3d}button.primary:hover{background:#18543f}.fine{font-size:14px!important;margin-top:22px}.welcome-art{position:relative;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(140deg,#edf0db,#cfdab8);padding:45px 10px 0}.welcome-art>img{height:560px;max-width:100%;object-fit:contain;position:relative;filter:drop-shadow(12px 12px 0 #809d6c22)}.halo{position:absolute;width:360px;height:360px;border-radius:50%;background:#fbf3c5;top:55px;max-width:95%}.welcome-ticket{position:absolute;bottom:45px;left:12%;right:12%;background:#fff9e5;border:2px dashed #bb9759;border-radius:14px;padding:14px;text-align:center;transform:rotate(-4deg);box-shadow:0 6px 15px #2e4c2620}.welcome-ticket b{display:block;font-size:26px;letter-spacing:.15em;color:#8a6230}.welcome-ticket span{font-size:14px}.quiz-status{display:flex;gap:22px;align-items:center;margin:12px 0 24px}.quiz-status>b{font-size:23px;white-space:nowrap}.quiz-status>b span{color:#878577;font-size:16px}.stamps{display:flex;gap:8px;flex:1}.stamps>span{display:grid;place-items:center;width:36px;height:36px;border:1px solid #d2d3c6;border-radius:50%;color:#858878;font-size:14px;font-weight:800}.stamps .now{border:2px solid var(--green);background:#e0eadb;color:var(--green)}.stamps .yes{background:var(--green);color:white;border-color:var(--green)}.stamps .no{background:#e4d7bc;color:#6f6045}.quiz-status small{white-space:nowrap;color:#5b6350}.quiz-status strong{font-size:22px;color:var(--green)}.question-layout{display:grid;grid-template-columns:30% 1fr;gap:24px;align-items:stretch}.scene{background:linear-gradient(#e5ead7,#cedcbe);border-radius:26px;padding:28px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;min-height:550px}.scene-label{font-size:13px;letter-spacing:.07em;color:#4f6246;border-bottom:1px solid #acb798;padding-bottom:10px;width:100%}.scene>img{height:240px;max-width:90%;object-fit:contain;filter:drop-shadow(6px 8px 5px #60744422)}.scene h2{font-size:22px;color:#36503c}.scene>small{font-size:13px;color:#687359;margin-top:auto}.fraction-model{width:100%;font-size:14px;text-align:left}.parts{display:grid;grid-template-columns:repeat(var(--parts),1fr);height:32px;width:100%;margin-top:5px;border:2px solid #6a856e;border-radius:5px;overflow:hidden;background:#fffdf0}.parts i+i{border-left:1px solid #6a856e}.parts i.filled{background:#e4b847}.question-card{background:#fffdf8;border:1px solid #ddd8c9;border-radius:26px;padding:34px 38px;min-width:0;box-shadow:0 5px 25px #665b4010}.type-tag{display:inline-block;border-radius:30px;font-size:13px;font-weight:800;color:var(--green);background:#e9eedf;padding:4px 12px;margin-bottom:14px}.question-card h1{font-size:clamp(27px,2.7vw,36px);margin-bottom:20px}.prompt{font-size:22px;line-height:2.05;margin-bottom:24px}.fraction{display:inline-grid;grid-template-rows:1fr 1fr;line-height:1.2;vertical-align:middle;min-width:1.05em;text-align:center;font-weight:800}.fraction>span:first-child{border-bottom:2px solid currentColor;padding:0 .08em .05em}.fraction>span:last-child{padding-top:.05em}.mixed{display:inline-flex;align-items:center;gap:.16em;white-space:nowrap;margin:0 .1em;vertical-align:middle}.equation{font-size:32px;padding:20px;background:#f3f1e5;border-radius:16px;text-align:center;margin-bottom:20px;line-height:2}.options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.option{display:flex;align-items:center;justify-content:center;gap:12px;background:#fffef9;border:2px solid #d9d8c9;border-radius:16px;padding:18px 14px;min-height:94px;color:var(--ink);font-size:26px;font-weight:700;position:relative}.option:hover:not(:disabled){border-color:#77917a;background:#f1f5ea}.option.selected{border:3px solid var(--green);background:#e8f0dc;box-shadow:inset 0 0 0 1px #fff}.letter{display:grid;place-items:center;flex-shrink:0;min-width:29px;height:29px;font-size:13px;border:1px solid #d3d5c4;border-radius:50%;color:#68745f;padding:0 3px}.option.selected .letter{background:var(--green);color:white;border-color:var(--green)}.ox .option{font-size:48px;min-height:120px}.text-response{display:flex;align-items:center;flex-direction:column;gap:12px;padding:22px;background:#f2f3e9;border-radius:18px}.text-response label{font-size:17px;font-weight:800}.text-response input{width:100%;max-width:300px;border:2px solid #94aa8d;border-radius:12px;background:#fffef7;padding:13px;font-size:28px;text-align:center;color:#254b35;min-height:64px}.text-response input::placeholder{font-size:20px;color:#a1a595}.text-response small{font-size:13px;text-align:center;color:#67735c}.initial-hint{font-size:40px;letter-spacing:.3em;color:var(--green);font-weight:900}.sequence-answer{padding:12px 16px;background:#f3efd9;border-radius:12px;margin-bottom:14px;font-size:17px}.sequence-answer b{color:#795426}.sequence-cards{display:grid;gap:10px}.sequence-card{min-height:82px;font-size:24px;justify-content:flex-start}.sequence-card .letter{margin-right:4px}.quiet{background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;color:#56684a;padding:10px 4px;min-height:44px;font-size:15px}.question-actions{display:flex;align-items:center;gap:18px;margin-top:20px}.question-actions small{font-size:13px;color:#828476}.notice{color:#995929;font-size:15px;min-height:1em;margin-top:10px}.feedback{border:2px solid #91b398;background:#edf4e5;border-radius:16px;padding:18px;margin-top:10px}.feedback.incorrect{background:#fff3df;border-color:#d6b984}.feedback h2{font-size:20px;margin-bottom:10px}.feedback b{font-size:21px;display:block;margin-bottom:10px}.feedback p{font-size:18px;line-height:2}.results{background:#fffdf7;border:1px solid #ded9ca;border-radius:28px;text-align:center;padding:45px;max-width:920px;margin:auto}.results h1{margin:16px}.score-circle{margin:20px auto;border-radius:50%;width:190px;height:190px;background:#e7edda;border:7px solid #b4c7a2;display:flex;flex-direction:column;justify-content:center;color:var(--green)}.score-circle strong{font-size:76px;line-height:1.1}.results>p{margin:18px 0}.results>#move-note{font-size:16px}.results>button.quiet{display:block;margin:auto}details{text-align:left;margin-top:30px;border-top:1px solid #ddd8c9}summary{cursor:pointer;padding:18px 0;min-height:48px;font-weight:800}.review-item{padding:24px 0;border-top:1px solid #e4dfd3}.review-item>span{font-size:13px;font-weight:800;color:var(--green)}.review-item h2{margin:8px 0}.review-item p{font-size:17px;margin:12px 0;line-height:2}.review-item>b{font-size:20px}@media(max-width:1050px){.page{padding:22px}.welcome-copy{padding:45px 0 40px 32px}.welcome-art>img{height:490px}.question-card{padding:28px}.scene{padding:22px 16px}.scene>img{height:200px}.quiz-status{gap:15px}.stamps{gap:5px}.stamps>span{width:30px;height:30px}.option{font-size:24px}.question-actions{flex-wrap:wrap}.prompt{font-size:21px}}
@media(max-width:760px){.welcome{grid-template-columns:1fr;min-height:0}.welcome-copy{padding:35px}.welcome-art{height:270px}.welcome-art>img{height:330px}.halo{width:240px;height:240px;top:10px}.welcome-ticket{left:48%;right:5%;bottom:35px}.welcome h1{font-size:42px}.brand b{font-size:18px}.entry-sign{display:none}.quiz-status{flex-wrap:wrap;gap:10px}.stamps{order:3;flex-basis:100%;justify-content:space-between}.stamps>span{width:34px;height:34px}.quiz-status small{margin-left:auto}.question-layout{grid-template-columns:1fr;gap:16px}.scene{min-height:0;display:grid;grid-template-columns:85px 1fr;gap:10px;text-align:left;padding:16px}.scene-label,.scene>small{display:none}.scene>img{height:110px;width:85px;grid-row:1/4}.scene h2{font-size:19px}.fraction-model{font-size:12px}.parts{height:20px}.question-card{padding:25px}.prompt{font-size:20px}.question-card h1{font-size:28px}.question-actions button{width:100%}.question-actions small{margin:auto}.results{padding:30px 22px}.results h1{font-size:32px}footer span{display:block;margin:0}}
@media(max-width:460px){.page{padding:16px 12px}.brand{gap:9px}.brand-icon{width:44px;height:44px;font-size:24px}.brand b{font-size:17px}.brand small{font-size:11px}.welcome-copy{padding:28px 23px}.welcome h1{font-size:36px}.welcome-copy>p{font-size:18px}.rules{gap:8px}.rules>span{padding:8px 10px}.rules b{font-size:19px}.welcome-copy>.primary{width:100%;padding:13px;font-size:18px}.welcome-ticket{left:42%;right:4%}.welcome-ticket b{font-size:20px}.welcome-ticket span{font-size:12px}.stamps{gap:4px}.stamps>span{width:30px;height:30px;font-size:12px}.question-card{padding:22px 18px}.question-card h1{font-size:26px}.prompt{font-size:19px}.options{gap:10px}.option{padding:16px 8px;gap:6px;font-size:23px;min-height:88px}.letter{min-width:23px;height:23px;font-size:12px}.sequence-card{font-size:21px;padding:14px 10px}.sequence-card .letter{min-width:37px;border-radius:8px;font-size:11px}.equation{font-size:27px;padding:15px 8px}.text-response{padding:18px 10px}.text-response small{font-size:12px}.feedback{padding:14px}.feedback p{font-size:17px}.results h1{font-size:29px}}
@media(prefers-reduced-motion:no-preference){.feedback,.question-card{animation:arrive .22s ease-out}@keyframes arrive{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:none}}}
