/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}.block{display:block}.table{display:table}.grow{flex-grow:1}}:root{--ink:#17324d;--muted:#60758a;--cream:#fffdf7;--orange:#ff8a3d;--yellow:#ffc83d;--green:#43b97f;--blue:#4a90e2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;color:var(--ink);background:#f3f8ec;margin:0;font-family:Avenir Next,PingFang SC,Microsoft YaHei,system-ui,sans-serif}button,a{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible{outline:4px solid var(--ink);outline-offset:4px}.quest-shell{background:linear-gradient(#bdeaff 0 440px,#f3f8ec 440px);min-height:100vh;padding:0 5vw 64px;overflow:hidden}.quest-header{justify-content:space-between;align-items:center;gap:20px;max-width:1180px;min-height:88px;margin:auto;display:flex}.brand{color:inherit;align-items:center;gap:12px;text-decoration:none;display:flex}.brand-mark{color:#fff;background:var(--orange);border-radius:16px 16px 20px 12px;place-items:center;width:48px;height:48px;font-size:28px;font-weight:900;display:grid;transform:rotate(-4deg);box-shadow:0 5px #d96627}.brand strong,.brand small{display:block}.brand strong{letter-spacing:.12em;font-size:15px}.brand small{color:#426176;font-weight:700}.header-stats{align-items:center;gap:9px;display:flex}.header-stats>span,.header-stats button{background:#ffffffe0;border:2px solid #17324d1a;border-radius:999px;min-height:44px;box-shadow:0 4px #2459761f}.header-stats>span{align-items:center;gap:6px;padding:8px 14px;font-weight:900;display:flex}.header-stats button{cursor:pointer;width:46px}.audio-notice{z-index:20;color:#704c0b;text-align:center;background:#fff5cf;border:2px solid #e2ae42;border-radius:14px;max-width:calc(100vw - 30px);margin:0;padding:10px 16px;font-size:14px;font-weight:800;position:fixed;top:82px;left:50%;transform:translate(-50%);box-shadow:0 6px 18px #4436122e}.journey-hero{background:#ffffff57;border:3px solid #ffffffa6;border-radius:36px;justify-content:space-between;align-items:center;max-width:1180px;min-height:300px;margin:10px auto 20px;padding:42px 48px;display:flex;position:relative;overflow:hidden}.journey-hero:before,.journey-hero:after{content:"";background:#ffffff7a;border-radius:50%;position:absolute}.journey-hero:before{width:190px;height:65px;top:25px;left:-50px}.journey-hero:after{width:130px;height:45px;top:24px;right:15%}.hero-copy{z-index:1;position:relative}.grade-chip{color:#286d52;letter-spacing:.04em;background:#daf4d4;border-radius:9px;padding:7px 12px;font-size:14px;font-weight:900;display:inline-block}h1{letter-spacing:-.045em;max-width:720px;margin:15px 0 12px;font-size:clamp(36px,5vw,62px);line-height:1.08}.hero-copy p{color:#426176;max-width:650px;margin:0;font-size:18px;font-weight:700;line-height:1.6}.treasure-scene{z-index:1;min-width:290px;height:210px;position:relative}.hero-tiger,.treasure{filter:drop-shadow(0 12px #2d586e1f);position:absolute}.hero-tiger{font-size:130px;bottom:0;right:115px;transform:rotate(-5deg)}.treasure{font-size:100px;bottom:3px;right:0;transform:rotate(4deg)}.treasure-lock{z-index:2;border:2px solid var(--ink);background:#fff;border-radius:16px 16px 4px;padding:8px 13px;font-size:14px;font-weight:900;position:absolute;top:7px;right:15px}.route-card,.challenge-card,.grammar-path-section,.curriculum-section{max-width:1040px;margin-left:auto;margin-right:auto}.route-card{background:#fff;border:2px solid #17324d1a;border-radius:26px;padding:22px 28px 18px;box-shadow:0 8px #dbe8cf,0 18px 45px #2b4c431f}.route-heading{justify-content:space-between;font-weight:900;display:flex}.route-heading strong{color:#2c805b}.overall-track{background:#e6ece7;border-radius:999px;height:12px;margin:12px 0 20px;padding:3px}.overall-track span{background:linear-gradient(90deg,#43b97f,#a4d94f);border-radius:999px;min-width:3px;height:100%;transition:width .35s;display:block}.route-nodes{grid-template-columns:repeat(8,1fr);gap:10px;display:grid}.route-node{text-align:center;justify-items:center;gap:7px;display:grid;position:relative}.route-node:not(:last-child):after{content:"";z-index:0;background:#d9e3dc;width:62%;height:3px;position:absolute;top:22px;left:70%}.route-node.done:not(:last-child):after{background:#74ca91}.route-node>span{z-index:1;color:#fff;background:#dfe5e3;border:3px solid #fff;border-radius:17px;place-items:center;width:48px;height:48px;font-size:23px;font-weight:900;display:grid;position:relative;box-shadow:0 4px #cbd6d1}.route-node.current>span{outline-offset:3px;outline:3px solid #ffc83d;animation:1.8s ease-in-out infinite node-pulse}.route-node small{color:#6a7d8a;font-size:14px;font-weight:800}.route-node.locked{filter:grayscale();opacity:.55}.challenge-card{background:var(--cream);border:2px solid #17324d1a;border-radius:32px;margin-top:28px;overflow:hidden;box-shadow:0 9px #dce8d3,0 22px 50px #2c4c4024}.challenge-topline{background:#fff;justify-content:space-between;align-items:center;gap:20px;padding:20px 30px 16px;display:flex}.unit-kicker{color:#718495;letter-spacing:.08em;margin-bottom:4px;font-size:14px;font-weight:900;display:block}.challenge-topline strong{font-size:20px}.challenge-topline>div:first-child{gap:4px;display:grid}.grammar-focus{color:#60758a;font-size:14px;font-weight:750}.activity-chip{color:#35688f;background:#edf6ff;border-radius:999px;align-items:center;gap:7px;padding:8px 12px;font-size:14px;font-weight:900;display:flex}.unit-progress{background:#ecf0ec;height:8px}.unit-progress span{border-radius:0 999px 999px 0;height:100%;transition:width .3s;display:block}.instruction{color:#687c8a;background:#fbfdf9;border-bottom:2px dashed #dce6dc;margin:0;padding:13px 30px;font-size:14px;font-weight:800}.challenge-grid{grid-template-columns:.9fr 1.1fr;min-height:500px;display:grid}.prompt-zone{text-align:center;background:#fff9ed;border-right:2px dashed #dce6dc;flex-direction:column;justify-content:center;align-items:center;padding:34px;display:flex}.prompt-zone h2{margin:15px 0 5px;font-size:25px;line-height:1.35}.prompt-zone p{color:#667b8a;margin:6px 0 0;font-weight:700}.grammar-card{text-align:left;background:linear-gradient(145deg,#f4f8ff,#fff);border:2px solid #cbdcf1;border-radius:24px;gap:9px;width:100%;max-width:430px;padding:22px;display:grid;box-shadow:0 6px #dce6f3}.grammar-card>span{color:#315f91;background:#dcecff;border-radius:999px;width:max-content;padding:5px 9px;font-size:14px;font-weight:900}.grammar-card>strong{color:#234d78;font-size:23px;line-height:1.25}.grammar-card>p{color:#405f79;margin:0;font-size:17px;line-height:1.55}.grammar-card>div{background:#fff;border-radius:14px;gap:6px;padding:12px;display:grid}.grammar-card b{color:#315f91;font-size:15px}.grammar-card em{color:#536d80;font-size:15px;font-style:normal;font-weight:750}.grammar-card>small{color:#6b633a;font-size:14px;font-weight:800;line-height:1.45}.grammar-card.compact{gap:7px;max-width:380px;padding:17px}.grammar-card.compact>strong{font-size:20px}.grammar-card.compact>p{font-size:15px}.grammar-question{max-width:430px}.lesson-emoji{background:#dff1ff;border:3px solid #fff;border-radius:40px;place-items:center;width:170px;height:170px;font-size:102px;display:grid;box-shadow:0 8px #b7dcef}.lesson-emoji.compact{width:118px;height:118px;font-size:70px}.sentence-prompt,.review-sentence{color:#244d6d;max-width:380px;font-size:32px!important}.sentence-prompt{background:#fff;border-radius:16px;padding:16px 20px;box-shadow:0 4px #e7ddca}.review-sentence strong{color:var(--orange)}.big-word{color:#2f6f9e;letter-spacing:-.03em;margin:8px 0;font-size:clamp(42px,6vw,65px);font-weight:900}.word-speaker{cursor:pointer;background:#dceeff;border:0;border-radius:50%;width:52px;height:52px;font-size:23px}.listen-orb{color:#fff;cursor:pointer;background:linear-gradient(145deg,#67b2f1,#3d80c8);border:0;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:190px;height:190px;display:flex;box-shadow:0 10px #2766a4}.listen-orb>span{color:#3d80c8;background:#fff;border-radius:50%;place-items:center;width:58px;height:58px;margin-bottom:8px;padding-left:4px;font-size:27px;display:grid}.listen-orb strong{font-size:18px}.listen-orb small{opacity:.85;margin-top:3px}.listen-orb:active{transform:translateY(5px);box-shadow:0 5px #2766a4}.answer-zone{flex-direction:column;justify-content:center;padding:38px;display:flex}.answer-title{margin:0 0 13px;font-weight:900}.answer-title small{float:right;color:#8795a0;font-size:14px;font-weight:600}.answer-list{gap:13px;display:grid}.choice-button{cursor:pointer;text-align:left;background:#fff;border:2px solid #d4dee5;border-radius:18px;grid-template-columns:50px 1fr 28px;align-items:center;min-height:68px;padding:8px 15px;font-size:21px;font-weight:900;transition:transform .13s,border-color .13s;display:grid;box-shadow:0 4px #d4dee5}.choice-button:hover:not(:disabled){border-color:#7dadd0;transform:translateY(-2px)}.choice-button:disabled{cursor:default;opacity:1}.choice-number{color:#6d7d89;background:#eef2f4;border-radius:11px;place-items:center;width:44px;height:44px;font-size:14px;display:grid}.choice-button.correct{color:#207d51;background:#e7f9ed;border-color:#4cbd83;box-shadow:0 4px #9ddbb7}.choice-button.correct .choice-number{color:#fff;background:#42ad75}.choice-button.wrong{background:#fff0eb;border-color:#ef9b82;box-shadow:0 4px #efb6a5}.feedback{color:#52697a;background:#eef6fb;border-radius:16px;align-items:center;gap:10px;min-height:64px;margin-top:20px;padding:11px 14px;display:flex}.feedback>span{font-size:25px}.feedback p{margin:0;font-weight:750;line-height:1.4}.feedback.success{color:#22754f;background:#e3f7e8}.feedback.hint{color:#8b5d24;background:#fff3d9}.continue-button,.claim-button{color:#fff;background:var(--orange);cursor:pointer;border:0;border-radius:16px;min-height:54px;margin-top:16px;padding:12px 25px;font-weight:900;box-shadow:0 5px #d96925}.continue-button{align-self:flex-end}.continue-button:active,.claim-button:active{transform:translateY(3px);box-shadow:0 2px #d96925}.reward-panel,.complete-panel{text-align:center;background:radial-gradient(circle,#fff7c9 0,#fffdf7 58%);flex-direction:column;justify-content:center;align-items:center;min-height:590px;padding:52px 30px;display:flex}.reward-light{opacity:.12;font-size:220px;position:absolute}.reward-medal{border:8px solid #fff;border-radius:50%;place-items:center;width:125px;height:125px;font-size:66px;display:grid;position:relative;box-shadow:0 8px #6f59262e,0 0 0 5px #ffd45e}.reward-label,.final-label{color:#8c6413;letter-spacing:.08em;background:#ffe78f;border-radius:9px;margin-top:24px;padding:6px 12px;font-size:14px;font-weight:900}.reward-panel h2,.complete-panel h2{max-width:680px;margin:17px 0 8px;font-size:clamp(28px,4vw,40px)}.reward-panel>p,.complete-panel>p{color:#687a86;max-width:650px;font-weight:700}.learned-words{flex-wrap:wrap;justify-content:center;gap:8px;margin:9px 0 15px;display:flex}.learned-words span{background:#fff;border:2px solid #e6dfc8;border-radius:999px;padding:8px 12px;font-weight:800}.reward-stars{color:#8b6618;font-size:18px;font-weight:900}.complete-icons{font-size:54px}.final-stats{gap:12px;margin:22px 0;display:flex}.final-stats div{background:#fff;border:2px solid #e4dec7;border-radius:17px;min-width:120px;padding:15px}.final-stats strong,.final-stats span{display:block}.final-stats strong{color:#d6732f;font-size:30px}.final-stats span{color:#71808b;font-size:14px;font-weight:800}.badge-shelf{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.badge-shelf span{border:4px solid #fff;border-radius:50%;place-items:center;width:52px;height:52px;font-size:27px;display:grid;box-shadow:0 4px #3246502e}.grammar-path-section,.curriculum-section{margin-top:50px}.section-heading{justify-content:space-between;align-items:end;gap:30px;margin-bottom:20px;display:flex}.section-heading span{color:#2f805c;letter-spacing:.1em;font-size:14px;font-weight:900}.section-heading h2{margin:5px 0 0;font-size:32px}.section-heading p{color:#66796f;text-align:right;max-width:520px;margin:0;font-weight:700;line-height:1.55}.grammar-level-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.grammar-level-grid article{background:linear-gradient(#f6fbff,#fff);border:2px solid #cedfea;border-radius:23px;flex-direction:column;min-height:255px;padding:21px;display:flex;box-shadow:0 5px #d9e5e9}.grammar-level-grid article>div{justify-content:space-between;align-items:center;display:flex}.grammar-level-grid article>div span{font-size:38px}.grammar-level-grid article>div small{color:#315f91;background:#dcecff;border-radius:999px;padding:5px 9px;font-size:14px;font-weight:900}.grammar-level-grid h3{margin:14px 0 7px;font-size:21px}.grammar-level-grid p{color:#526b7a;margin:0;font-size:15px;font-weight:750;line-height:1.55}.grammar-level-grid strong{color:#2d5f85;margin-top:14px;font-size:15px;line-height:1.45}.grammar-level-grid em{color:#2f805c;margin-top:auto;padding-top:14px;font-size:14px;font-style:normal;font-weight:900}.curriculum-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.course-card{background:#fff;border:2px solid #dbe6d5;border-radius:22px;min-height:225px;padding:20px;box-shadow:0 5px #dbe6d5}.course-head{justify-content:space-between;align-items:center;display:flex}.course-head>span{border-radius:16px;place-items:center;width:50px;height:50px;font-size:26px;display:grid}.course-head small{color:#81908a;font-weight:900}.course-card h3{margin:15px 0 2px;font-size:20px}.course-card>p{color:#71818b;margin:0;font-size:14px;font-weight:700}.course-words{color:#526b7a;min-height:52px;margin:13px 0;font-size:14px;line-height:1.55}.course-card>strong{color:#2e805b;font-size:14px}.course-card.locked{filter:grayscale(.85);opacity:.58}.mode-switcher{background:#ffffffd1;border:2px solid #17324d1a;border-radius:24px;grid-template-columns:1fr 1fr;gap:8px;max-width:760px;margin:22px auto 28px;padding:7px;display:grid;box-shadow:0 6px #dbe8cf}.mode-switcher button{cursor:pointer;text-align:left;background:0 0;border:2px solid #0000;border-radius:18px;grid-template-rows:auto auto;grid-template-columns:46px 1fr;align-items:center;column-gap:12px;min-height:82px;padding:12px 18px;display:grid}.mode-switcher button>span{grid-row:1/3;font-size:32px}.mode-switcher button strong,.mode-switcher button small{display:block}.mode-switcher button strong{align-self:end;font-size:18px}.mode-switcher button small{color:#71808b;align-self:start;font-size:14px}.mode-switcher button.active{background:#eaf8ed;border-color:#77b99b;box-shadow:0 3px #b7d8c2}.grade-route{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.grade-island{background:#f7faf7;border:2px solid #dbe5df;border-radius:18px;align-items:center;gap:10px;min-height:76px;padding:10px;display:flex}.grade-island>span{color:#fff;background:#9db0a8;border-radius:15px;flex:none;place-items:center;width:48px;height:48px;font-size:21px;font-weight:900;display:grid}.grade-island strong,.grade-island small{display:block}.grade-island small{color:#6f8179;margin-top:3px;font-size:14px}.grade-island.current{background:#fff8df;border-color:#f0b84c}.grade-island.current>span{background:#ef9d33;box-shadow:0 4px #cc7623}.grade-island.done{background:#eaf8ef;border-color:#87cba2}.grade-island.done>span{background:#43b97f}.grade-island.locked{opacity:.58;filter:grayscale(.8)}.room-entry,.room-board,.multiplayer-stage,.room-finish,.room-loading{background:#fff;border:2px solid #17324d1a;border-radius:30px;max-width:1040px;margin:28px auto 0;box-shadow:0 9px #dbe8cf,0 22px 50px #2c4c4024}.eyebrow{color:#2f805c;letter-spacing:.1em;font-size:14px;font-weight:900}.room-entry{grid-template-columns:1fr 390px;align-items:center;gap:40px;padding:34px;display:grid}.room-entry h2{margin:8px 0 12px;font-size:clamp(28px,4vw,40px);line-height:1.2}.room-entry-copy p{color:#60758a;font-size:17px;font-weight:700;line-height:1.7}.room-feature-list{flex-wrap:wrap;gap:9px;margin-top:20px;display:flex}.room-feature-list span{color:#35688f;background:#edf6ff;border-radius:999px;padding:8px 11px;font-size:14px;font-weight:850}.room-entry-form{background:#f7faf7;border-radius:22px;padding:22px}.room-entry-form label{gap:7px;margin-bottom:14px;font-weight:850;display:grid}.room-entry-form input,.room-entry-form select,.join-row input{width:100%;min-height:50px;color:var(--ink);background:#fff;border:2px solid #ccd9d1;border-radius:13px;padding:10px 13px;font-size:16px}.room-entry-form input:focus,.room-entry-form select:focus,.join-row input:focus{outline-offset:2px;outline:3px solid #8bc5ab}.room-primary,.share-button,.join-row button{color:#fff;background:var(--orange);cursor:pointer;border:0;border-radius:14px;min-height:50px;padding:11px 18px;font-weight:900;box-shadow:0 4px #d96925}.room-primary:disabled,.join-row button:disabled{cursor:not-allowed;filter:grayscale(.7);opacity:.6}.room-entry-form>.room-primary{width:100%}.join-divider{color:#7a8b83;align-items:center;gap:9px;margin:18px 0 12px;font-size:14px;font-weight:800;display:flex}.join-divider:before,.join-divider:after{content:"";background:#dce5df;flex:1;height:2px}.join-row{grid-template-columns:1fr 82px;gap:8px;display:grid}.join-row button{background:#4a90e2;box-shadow:0 4px #2e6ea9}.room-reconnect-note{color:#60758a;margin:10px 2px 0;font-size:13px;font-weight:750;line-height:1.55}.room-error,.share-notice{border-radius:12px;margin:14px 0 0;padding:10px 12px;font-size:14px;font-weight:800}.room-error{color:#8f3f28;background:#fff0eb}.share-notice{color:#266b4a;background:#e5f7ea}.room-board{grid-template-columns:280px 1fr;display:grid;overflow:hidden}.room-code-card{color:#fff;text-align:center;background:linear-gradient(150deg,#4a90e2,#3aa693);flex-direction:column;justify-content:center;align-items:center;min-height:450px;padding:30px;display:flex}.room-code-card span{font-weight:800}.room-code-card strong{letter-spacing:.1em;border:3px dashed #ffffffa6;border-radius:18px;margin:12px 0;padding:12px 18px;font-size:42px}.room-code-card small{font-size:14px;font-weight:750}.lobby-main{text-align:center;padding:38px}.lobby-main h2{margin:7px 0 24px;font-size:30px}.player-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.player-card{background:#f8fbf8;border:2px solid #dce6df;border-radius:18px;place-items:center;min-height:120px;padding:13px 8px;display:grid}.player-card>span{font-size:39px}.player-card strong,.player-card small{display:block}.player-card small{color:#6f8179;font-size:14px}.lobby-actions{justify-content:center;align-items:center;gap:10px;margin-top:24px;display:flex}.share-button{color:#275f87;background:#dceeff;box-shadow:0 4px #b8d4e8}.waiting-host{color:#647b89;text-align:center;margin:18px 0;font-weight:800}.text-button{color:#617783;cursor:pointer;background:0 0;border:0;min-height:48px;margin-top:14px;padding:8px 15px;text-decoration:underline}.room-hud{color:#fff;text-shadow:0 2px 2px #00000047;background:#244d6d;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:12px 25px;display:flex}.room-hud strong{font-size:20px}.multi-progress{background:#dfe8e3;height:9px}.multi-progress span{background:linear-gradient(90deg,#43b97f,#a4d94f);border-radius:0 999px 999px 0;height:100%;transition:width .25s;display:block}.multi-question-meta{color:#60758a;background:#f9fbf9;justify-content:space-between;gap:15px;padding:14px 25px;font-weight:800;display:flex}.multi-question-grid{grid-template-columns:.9fr 1.1fr;min-height:430px;display:grid}.multi-prompt{text-align:center;background:#fff9ed;border-right:2px dashed #dce6dc;flex-direction:column;justify-content:center;align-items:center;padding:32px;display:flex}.multi-prompt h2{max-width:440px;margin:18px 0 10px;font-size:clamp(24px,3.3vw,36px);line-height:1.35}.multi-emoji{background:#dff1ff;border:3px solid #fff;border-radius:38px;place-items:center;width:150px;height:150px;font-size:88px;display:grid;box-shadow:0 8px #b7dcef}.small-speaker{color:#2f6f9e;cursor:pointer;background:#fff;border:2px solid #c5dbea;border-radius:999px;min-height:48px;padding:9px 15px;font-weight:850}.multi-answers{align-content:center;gap:13px;padding:32px;display:grid}.multi-choice{cursor:pointer;text-align:left;background:#fff;border:2px solid #d4dee5;border-radius:18px;grid-template-columns:50px 1fr 30px;align-items:center;min-height:70px;padding:8px 15px;font-size:19px;display:grid;box-shadow:0 4px #d4dee5}.multi-choice>span{color:#5e7180;background:#eef2f4;border-radius:11px;place-items:center;width:44px;height:44px;font-weight:900;display:grid}.multi-choice.correct{color:#207d51;background:#e7f9ed;border-color:#4cbd83;box-shadow:0 4px #9ddbb7}.multi-choice.wrong{background:#fff0eb;border-color:#ef9b82;box-shadow:0 4px #efb6a5}.multi-feedback{color:#52697a;background:#eef6fb;border-radius:16px;align-items:center;gap:10px;min-height:62px;margin:0 25px;padding:11px 14px;display:flex}.multi-feedback>span{font-size:25px}.multi-feedback p{margin:0;font-weight:800}.multi-feedback.success{color:#22754f;background:#e3f7e8}.multi-feedback.hint{color:#8b5d24;background:#fff3d9}.live-score-row{gap:8px;margin:16px 25px;display:flex;overflow-x:auto}.live-score-row>div{text-align:center;background:#f9fbf9;border:2px solid #dce5df;border-radius:13px;min-width:100px;padding:9px 12px}.live-score-row strong,.live-score-row span{white-space:nowrap;display:block}.live-score-row span{color:#6c7d86;margin-top:2px;font-size:14px}.next-question{min-width:min(360px,100% - 40px);margin:16px auto 25px;display:block}.room-chat{text-align:left;background:#f8fbf8;border:2px solid #d8e4dd;border-radius:20px;margin:18px 25px;overflow:hidden}.chat-heading{background:#fff;justify-content:space-between;align-items:center;gap:12px;min-height:68px;padding:10px 14px;display:flex}.chat-heading strong,.chat-heading small{display:block}.chat-heading small{color:#71808b;margin-top:3px;font-size:14px}.chat-tabs{gap:6px;display:flex}.chat-tabs button{color:#52697a;cursor:pointer;background:#eef3f0;border:2px solid #0000;border-radius:12px;min-height:48px;padding:8px 11px;font-size:14px;font-weight:850}.chat-tabs button.active{color:#246c4b;background:#e5f7ea;border-color:#72b693}.voice-phrase-grid{grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;display:grid}.voice-phrase-grid button{color:#2d668f;cursor:pointer;background:#edf6ff;border:2px solid #c9dced;border-radius:13px;min-height:50px;padding:8px 10px;font-weight:850}.chat-compose{grid-template-columns:1fr 76px;gap:8px;padding:12px;display:grid}.chat-compose input{min-height:50px;color:var(--ink);background:#fff;border:2px solid #cad8d0;border-radius:13px;padding:9px 12px;font-size:16px}.chat-compose button{color:#fff;cursor:pointer;background:#4a90e2;border:0;border-radius:13px;min-height:50px;font-weight:900}.chat-stream{border-top:2px dashed #dbe5df;gap:9px;max-height:210px;padding:12px;display:grid;overflow-y:auto}.chat-message{align-items:flex-start;gap:8px;display:flex}.chat-message>span{background:#eaf1ed;border-radius:14px;flex:none;place-items:center;width:44px;height:44px;font-size:24px;display:grid}.chat-message>div{max-width:78%}.chat-message small{color:#6c7e87;margin:0 0 3px 4px;font-size:14px;display:block}.chat-message p,.chat-message button{color:#334f62;background:#fff;border:0;border-radius:5px 14px 14px;margin:0;padding:8px 11px;font-size:15px;line-height:1.4;box-shadow:0 2px #dbe5df}.chat-message button{cursor:pointer;color:#2d668f;background:#e5f3ff;min-height:48px;font-weight:850}.chat-message.mine{flex-direction:row-reverse}.chat-message.mine>div{text-align:right}.chat-message.mine p,.chat-message.mine button{color:#246c4b;background:#e5f7ea;border-radius:14px 5px 14px 14px}.chat-empty{color:#71808b;text-align:center;margin:8px;font-size:14px}.room-finish,.room-loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:520px;padding:45px 30px;display:flex}.finish-chest{filter:drop-shadow(0 10px #3c503221);font-size:100px}.room-finish h2{max-width:680px;margin:12px 0;font-size:clamp(28px,4vw,40px)}.room-finish>p{color:#60758a;font-weight:750}.scoreboard{gap:9px;width:min(580px,100%);margin:18px 0 24px;display:grid}.scoreboard>div{text-align:left;background:#f9fbf9;border:2px solid #dce5df;border-radius:15px;grid-template-columns:50px 1fr auto;align-items:center;min-height:58px;padding:8px 14px;display:grid}.scoreboard>div:first-child{background:#fff8d8;border-color:#edbf4f}.scoreboard span{font-size:27px}.scoreboard b{color:#d26e2d}.loading-orb{font-size:70px;animation:1.8s ease-in-out infinite node-pulse}.grade-curriculum{gap:14px;display:grid}.grade-curriculum details{background:#f8fbf7;border:2px solid #dbe6d5;border-radius:22px;overflow:hidden}.grade-curriculum summary{cursor:pointer;align-items:center;gap:13px;min-height:78px;padding:13px 18px;list-style:none;display:flex}.grade-curriculum summary::-webkit-details-marker{display:none}.grade-curriculum summary>span{color:#fff;background:#4a90e2;border-radius:16px;flex:none;place-items:center;width:50px;height:50px;font-size:24px;font-weight:900;display:grid}.grade-curriculum summary strong,.grade-curriculum summary small{display:block}.grade-curriculum summary small{color:#6f8179;margin-top:4px;font-size:14px}.grade-curriculum .curriculum-grid{padding:0 16px 18px}@keyframes node-pulse{50%{transform:translateY(-4px)scale(1.04)}}@media (width<=900px){.journey-hero{padding:32px}.treasure-scene{transform-origin:100%;min-width:230px;transform:scale(.88)}.route-nodes{grid-template-columns:repeat(4,1fr);row-gap:18px}.route-node:after{display:none}.challenge-grid{grid-template-columns:1fr}.prompt-zone{border-bottom:2px dashed #dce6dc;border-right:0;min-height:390px}.grammar-level-grid,.curriculum-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=620px){.quest-shell{background:linear-gradient(#bdeaff 0 510px,#f3f8ec 510px);padding:0 15px 45px}.quest-header{min-height:76px}.brand-mark{width:48px;height:48px}.brand strong,.brand small{font-size:14px}.header-stats>span{padding:7px 9px;font-size:14px}.header-stats>span:nth-child(2){display:none}.journey-hero{align-items:flex-start;min-height:410px;padding:24px}h1{font-size:37px}.hero-copy p{max-width:100%;font-size:14px}.treasure-scene{transform-origin:100% 100%;height:150px;position:absolute;bottom:5px;right:18px;transform:scale(.68)}.route-card{padding:18px 15px}.route-nodes{grid-template-columns:repeat(4,1fr);gap:12px 5px}.route-node>span{width:42px;height:42px;font-size:20px}.challenge-topline{align-items:flex-start;padding:18px}.activity-chip{font-size:14px}.instruction{padding:12px 18px}.prompt-zone{min-height:335px;padding:25px 18px}.grammar-card{padding:17px}.grammar-card>strong{font-size:20px}.lesson-emoji{width:130px;height:130px;font-size:77px}.listen-orb{width:160px;height:160px}.answer-zone{padding:24px 18px}.answer-title small{display:none}.choice-button{min-height:62px;font-size:18px}.reward-panel,.complete-panel{min-height:620px;padding:35px 18px}.final-stats{gap:7px;width:100%}.final-stats div{flex:1;min-width:0;padding:11px 5px}.section-heading{display:block}.section-heading p{text-align:left;margin-top:10px}.grammar-level-grid,.curriculum-grid,.mode-switcher{grid-template-columns:1fr}.mode-switcher button{min-height:74px}.grade-route{grid-template-columns:1fr 1fr}.room-entry{grid-template-columns:1fr;gap:20px;padding:22px 16px}.room-entry-form{padding:17px}.room-board{grid-template-columns:1fr}.room-code-card{min-height:190px;padding:22px}.room-code-card strong{font-size:36px}.lobby-main{padding:25px 16px}.player-grid{grid-template-columns:repeat(2,1fr)}.lobby-actions{flex-direction:column}.lobby-actions button{width:100%}.multi-question-grid{grid-template-columns:1fr}.multi-prompt{border-bottom:2px dashed #dce6dc;border-right:0;min-height:310px;padding:24px 16px}.multi-emoji{width:125px;height:125px;font-size:72px}.multi-answers{padding:24px 16px}.multi-feedback{margin:0 16px}.live-score-row{margin:15px 16px}.room-chat{margin:16px}.chat-heading{flex-direction:column;align-items:flex-start}.chat-tabs{width:100%}.chat-tabs button{flex:1}.voice-phrase-grid{grid-template-columns:1fr 1fr}.room-hud{padding:10px 13px;font-size:14px}.room-hud span:first-child{display:none}.multi-question-meta{padding:12px 16px;font-size:14px}.grade-curriculum .curriculum-grid{padding:0 10px 12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
