:root{--ink:#433628;--muted:#786753;--blue:#ad4b23;--blue-light:#fff0dc;--line:#eadfce;--bg:#faf4e8;--orange:#ffb34b;--green:#08785f;font-family:'Trebuchet MS',Arial,'Microsoft YaHei',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid #ffb34b;outline-offset:4px}button:disabled{cursor:default}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}.topbar{height:88px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:white}.brand{display:flex;align-items:center;gap:11px;border:0;background:none;text-align:left;font-size:25px;font-weight:800;letter-spacing:-1px}.brand-icon{width:43px;height:43px;border-radius:14px;background:var(--blue);color:white;display:flex;justify-content:center;align-items:center;position:relative;font-size:30px}.brand-icon span{font-size:15px;position:absolute;right:-5px;top:-8px;color:#ffb34b;text-shadow:0 0 2px white}.brand-sub{display:block;font-size:11px;letter-spacing:3px;margin-top:2px}.header-right{display:flex;align-items:center;gap:25px}.edition{font-size:14px;color:var(--muted)}.hint-toggle{background:white;border:1px solid var(--line);padding:10px 12px;border-radius:10px;font-size:14px}.hint-toggle span{background:#f2e9db;padding:3px 6px;border-radius:5px;margin-left:6px;font-size:12px}.hint-toggle[aria-pressed=true] span{background:#d9f5e8;color:var(--green)}main{max-width:1500px;margin:auto;padding:35px 5% 50px;min-height:calc(100vh - 148px)}footer{border-top:1px solid var(--line);padding:20px 5%;display:flex;justify-content:space-between;color:var(--muted);font-size:12px;background:white}.eyebrow{text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:2px;color:var(--blue)}h1{font-size:clamp(29px,3.2vw,44px);letter-spacing:-1.5px;margin:12px 0;line-height:1.16}p{font-size:16px;line-height:1.6}h2{font-size:24px;margin:0 0 12px;letter-spacing:-.5px}.intro{display:flex;justify-content:space-between;align-items:end;margin:4px 0 30px}.intro p{color:var(--muted);margin:12px 0 0}.intro-badge{background:white;border:1px solid var(--line);padding:12px 16px;border-radius:50px;font-size:14px;white-space:nowrap}.topics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.topic{border:1px solid var(--line);background:white;border-radius:20px;overflow:hidden;text-align:left;padding:0;transition:transform .2s,box-shadow .2s}.topic.available:hover{transform:translateY(-4px);box-shadow:0 12px 25px #70422215}.topic-art{height:175px;position:relative;background:#fff0dc;overflow:hidden}.topic-art img{width:100%;height:100%;object-fit:cover;object-position:center 45%}.topic-symbol{font-size:78px;line-height:1;width:115px;height:115px;border-radius:28px;background:#ffffff65;display:flex;justify-content:center;align-items:center;transform:rotate(-8deg)}.topic-art.empty{display:flex;align-items:center;justify-content:center;background-color:var(--tone);background-image:radial-gradient(#ffffff90 1.4px,transparent 1.4px);background-size:17px 17px}.orange{--tone:#ffdfb2;color:#a9641e}.green{--tone:#c6eed9;color:#24795a}.aqua{--tone:#c2edf3;color:#187d92}.purple{--tone:#e0d9fb;color:#7555bc}.pink{--tone:#f9d7e4;color:#ac4b70}.topic-copy{padding:20px;color:var(--ink)}.topic-copy h2{display:flex;justify-content:space-between;align-items:center;margin:0 0 9px;font-size:23px}.topic-copy p{font-size:14px;color:var(--muted);margin:0;min-height:42px}.topic-tag{display:inline-flex;align-items:center;background:var(--blue-light);color:var(--blue);border-radius:6px;padding:5px 8px;font-size:12px;font-weight:700;margin-bottom:14px}.topic-tag.later{background:#f3eadf;color:var(--muted)}.home-note{display:flex;align-items:center;gap:14px;padding:20px 0 0;font-size:14px;color:var(--muted)}.note-icon{font-size:20px;color:var(--blue)}.cn{display:block;font-size:14px;font-weight:400;color:#786753;margin-top:7px;line-height:1.6}.crumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px;font-size:14px;color:var(--muted)}.crumbs button{padding:0;background:none;border:0;color:var(--muted)}.crumbs button:hover{color:var(--blue)}.crumbs .current{color:var(--ink);font-weight:700}.lesson-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}.lesson-head h1{margin:0;font-size:32px;letter-spacing:-1px}.lesson-head .small{margin:8px 0 0;font-size:14px;color:var(--muted)}.controls{display:flex;gap:9px}.outline{border:1px solid var(--line);background:white;border-radius:10px;padding:10px 14px;font-size:14px}.outline[aria-pressed=true]{border-color:var(--blue);color:var(--blue);background:var(--blue-light)}.tabs{display:flex;gap:7px;background:#efe3d0;padding:5px;border-radius:13px;width:fit-content;margin-bottom:20px}.tab{border:0;border-radius:9px;padding:12px 20px;background:transparent;color:var(--muted);font-size:15px;font-weight:700}.tab.active{background:white;color:var(--blue);box-shadow:0 2px 4px #7042220c}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.canvas-shell{border-radius:20px;overflow:hidden;background:white;border:1px solid var(--line)}.scene-label{padding:15px 19px;display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:14px}.scene-label strong{display:flex;align-items:center;gap:8px}.scene-label span{color:var(--muted);font-size:12px}.scene{position:relative;background:#dceafa;aspect-ratio:3/2;overflow:hidden}.scene.fridge{aspect-ratio:1374/1145}.scene img{width:100%;height:100%;object-fit:fill;display:block}.hotspot{position:absolute;transform:translate(-50%,-50%);border:2px solid transparent;background:transparent;border-radius:15px;display:flex;align-items:end;justify-content:center;padding:0;transition:background .15s,border-color .15s}.hotspot:hover,.hotspot:focus-visible{border-color:#ffffff;background:#ffffff22;outline:3px solid #ad4b2366}.hotspot.selected{border-color:#ffb34b;background:#ffb34b25}.hotspot.found{border-color:#08785f;background:#14b88625}.pin{min-width:25px;height:25px;border-radius:50%;background:white;border:2px solid var(--blue);color:var(--blue);font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;position:absolute;top:50%;left:50%;bottom:auto;box-shadow:0 2px 8px #70422230;pointer-events:none}.hotspot.found .pin{background:var(--green);color:white;border-color:white}.hotspot-label{display:none;position:absolute;top:-30px;background:var(--ink);color:white;padding:6px 10px;border-radius:7px;font-size:12px;white-space:nowrap}.hotspot:hover .hotspot-label,.hotspot:focus-visible .hotspot-label{display:block}.canvas-bottom{padding:15px 19px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px;color:var(--muted)}.canvas-bottom button{font-size:14px;background:none;border:0;color:var(--blue);padding:0}.sidebar{border:1px solid var(--line);background:white;border-radius:20px;padding:22px;min-height:375px}.sidebar .eyebrow{font-size:11px}.word{font-size:34px;font-weight:800;line-height:1.15;letter-spacing:-1px;margin:18px 0 10px;overflow-wrap:anywhere}.word-type{font-size:12px;color:var(--muted)}.word-crop{position:relative;overflow:hidden;width:100%;height:120px;background-repeat:no-repeat;background-color:#fff0dc;border-radius:13px;margin:15px 0;border:1px solid var(--line)}.primary{width:100%;border:0;background:var(--blue);color:white;border-radius:11px;padding:13px 16px;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:9px}.primary:hover{background:#893a1a}.primary:disabled{opacity:.55}.secondary{width:100%;border:1px solid var(--line);background:white;border-radius:11px;padding:12px 15px;font-size:14px;margin-top:10px}.phrase{padding:17px 0;border-top:1px solid var(--line);margin-top:20px}.phrase .eyebrow{color:var(--muted);letter-spacing:1px}.phrase p{font-size:18px;font-weight:600;margin:10px 0;line-height:1.5}.play-inline{background:none;border:0;padding:0;color:var(--blue);font-size:14px}.voice-note{font-size:12px;color:var(--muted);line-height:1.5;margin:17px 0 0}.voice-error{font-size:14px;color:#a55011;margin-top:10px}.starter-icon{display:flex;align-items:center;justify-content:center;width:66px;height:66px;font-size:30px;background:var(--blue-light);border-radius:19px;margin-bottom:22px}.starter p{color:var(--muted);font-size:15px}.step-list{display:grid;gap:13px;margin-top:24px}.step-list div{display:flex;gap:9px;font-size:14px}.step-num{font-size:12px;border-radius:50%;background:#f7ead7;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center}.progress-track{height:6px;border-radius:10px;background:#f0e3cf;margin:14px 0 22px;overflow:hidden}.progress-fill{height:100%;background:var(--blue);border-radius:10px;transition:width .2s}.feedback{padding:12px;border-radius:10px;font-size:14px;line-height:1.5;margin:15px 0;background:#fff0dc;color:var(--blue)}.feedback.good{background:#e5f6ee;color:#076549}.feedback.try{background:#fff1db;color:#93530c}.task-title{font-size:25px;line-height:1.25;margin:18px 0 14px}.task-copy{font-size:15px;line-height:1.6;color:var(--muted)}.revealed{font-size:16px;padding:12px;border-radius:10px;background:#faf4e8;margin-top:12px}.trophy{font-size:45px;margin:15px 0}.speak-space{display:grid;grid-template-columns:1fr 320px;gap:22px}.dialogue-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:white}.speaker-scene{height:230px;position:relative;overflow:hidden;background:#c9e3f5}.speaker-scene img{width:100%;height:100%;object-fit:cover;object-position:80% 25%}.speaker-title{position:absolute;bottom:18px;left:22px;background:white;border-radius:9px;padding:9px 12px;font-size:14px;box-shadow:0 3px 12px #70422220}.conversation{padding:25px}.speaker-label{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:1px;text-transform:uppercase}.bubble{font-size:26px;line-height:1.35;font-weight:700;margin:13px 0 15px}.answer-options{display:grid;gap:12px;margin:20px 0}.answer{border:1px solid var(--line);padding:16px;background:white;border-radius:12px;font-size:17px;text-align:left}.answer:hover{background:var(--blue-light);border-color:var(--blue)}.answer.correct{background:#e5f6ee;border-color:var(--green);color:var(--green)}.answer.wrong{background:#fff1db;border-color:#d6922b}.answer:disabled{opacity:.8}.transcript{display:grid;gap:15px;margin:20px 0}.transcript p{font-size:15px;margin:4px 0}.transcript small{font-size:12px;color:var(--muted)}.menu-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}.menu-total{font-weight:700}.help-note{font-size:14px;color:var(--muted);line-height:1.6;margin-top:22px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1450px){.workspace{grid-template-columns:minmax(0,1fr) 330px}.sidebar{padding:26px}}@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 275px}.tab{padding:11px 15px}.topics{gap:14px}.topic-art{height:145px}.speak-space{grid-template-columns:1fr 275px}main{padding-left:3%;padding-right:3%}}@media(max-width:760px){.topbar{height:75px;padding:0 5%}.edition{display:none}.brand{font-size:23px}.brand-icon{width:38px;height:38px}.hint-toggle{font-size:12px;padding:9px}.header-right{gap:0}main{padding:25px 5% 35px}.intro{align-items:start}.intro-badge{display:none}.topics{grid-template-columns:repeat(2,1fr);gap:14px}.topic-art{height:130px}.topic-copy{padding:15px}.topic-copy h2{font-size:20px}.topic-copy p{font-size:14px;min-height:65px}.topic-symbol{width:85px;height:85px;font-size:60px}.workspace,.speak-space{grid-template-columns:1fr}.sidebar{min-height:0}.lesson-head{align-items:start}.lesson-head h1{font-size:27px}.lesson-head .small{font-size:14px}.controls .outline{font-size:12px;padding:9px}.tabs{width:100%}.tab{flex:1;font-size:14px;padding:11px 6px}.scene-label{padding:12px;font-size:14px}.canvas-bottom{padding:12px;font-size:12px}.scene-label span{display:none}.word-crop{height:150px}.speaker-scene{height:180px}.bubble{font-size:23px}footer{gap:20px;font-size:12px}.pin{height:22px;min-width:22px;font-size:12px}.hotspot-label{display:none!important}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.word-crop img{position:absolute;left:50%;top:50%;height:auto;max-width:none;display:block}

/* Warm sketchbook theme: clear learning surfaces over a quiet, playful wallpaper. */










.scene-contents{position:absolute;inset:0;--pin-scale:1}
.scene-contents .pin{transform:translate(-50%,-50%) scale(var(--pin-scale));transform-origin:50% 50%}
.voice-settings{position:relative;font-size:14px}
.voice-settings summary{list-style:none;border:1px solid #e1cfb5;background:#fffcf6;border-radius:10px;padding:10px 14px;cursor:pointer;white-space:nowrap}
.voice-settings summary::-webkit-details-marker{display:none}
.voice-menu{position:absolute;right:0;top:calc(100% + 8px);width:290px;z-index:20;border:1px solid #dfc9aa;background:#fffaf1;border-radius:15px;padding:17px;box-shadow:0 10px 35px #593a2525}
.voice-menu label{display:block;margin-bottom:8px;font-weight:700}
.voice-menu select{width:100%;font:inherit;min-height:42px;border:1px solid #ddc6a5;background:#fffdf7;border-radius:8px;padding:8px;color:var(--ink)}
.voice-menu .voice-note{margin:12px 0 0}
@media(max-width:760px){.lesson-head{flex-wrap:wrap}.lesson-head .controls{margin-top:8px}.voice-menu{right:auto;left:0;max-width:calc(100vw - 40px)}.scene-contents .hotspot{min-width:25px;min-height:25px}}
.timetable{padding:19px;background:#fff8e9;border-top:1px solid var(--line)}
.time-stops{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}
.time-stop{display:flex;flex-direction:column;gap:7px;align-items:start;text-align:left;border:1px solid #dfc8a7;background:#fffdf7;border-radius:12px;padding:13px 10px}
.time-stop strong{font-size:17px;color:var(--blue)}
.time-stop span{font-size:14px;line-height:1.5}
.time-stop.active{border-color:var(--blue);background:#ffedcf}





.character-note{border-left:3px solid #e6bc74;padding-left:12px;font-size:14px!important}
.lesson-head .eyebrow{margin-bottom:12px}
@media(max-width:760px){.time-stops{grid-template-columns:repeat(2,1fr)}.lesson-head{gap:12px}.lesson-head .controls{flex-shrink:0}}
body{position:relative;isolation:isolate;background:var(--bg)}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:url('assets/learning-wallpaper.webp') repeat;background-size:720px 720px;opacity:.55}
.topbar{background:#fffaf1ee;border-bottom-color:#e6d5b9;box-shadow:0 3px 16px #76542808}
.brand{letter-spacing:-1.2px;font-weight:800}
.brand-icon{background:#ad4b23;border-radius:15px 15px 15px 5px;font-size:23px;letter-spacing:-2px;box-shadow:0 3px 0 #e5ba8f}
.brand-icon span{color:#e7a72c;letter-spacing:0}
.brand-sub{color:#987152;letter-spacing:3.4px;font-size:11px}
.hint-toggle,.outline{background:#fffcf6;border-color:#e1cfb5}
.hint-toggle:hover,.outline:hover{background:#fff1dc}
footer{background:#fffaf1e8;border-top-color:#e6d5b9}
.intro-badge{background:#fff2d5;border-color:#eacb86;color:#815720;transform:rotate(2deg);box-shadow:0 3px 0 #e8d9b8;font-weight:700}
.topic{background:#fffdf7;border-color:#e5d5be;border-radius:23px;box-shadow:0 5px 0 #e7d8bd70}
.topic.available:hover{box-shadow:0 9px 0 #e7d8bd80,0 16px 28px #79572e18;transform:translateY(-4px) rotate(-.6deg)}
.topic-copy{background:#fffdf7}
.topic-tag{background:#ffebc5;color:#8a441f}
.topic-tag.later{background:#f4ecdf;color:#75634f}
.topic-art{border-bottom:1px solid #e5d5be}
.topic-art.empty{background-image:radial-gradient(#fff9ec 1.8px,transparent 1.8px);background-size:20px 20px}
.topic-symbol{box-shadow:0 4px 0 #ffffff55;border:2px solid #ffffff70;border-radius:32px}
.topic:nth-child(even) .topic-symbol{transform:rotate(7deg)}
.orange{--tone:#ffdeb0;color:#a35a21}.green{--tone:#d3ebbb;color:#4c773a}.aqua{--tone:#c9e8e3;color:#277e7b}.purple{--tone:#e3d6ed;color:#825ea0}.pink{--tone:#f3d0c7;color:#ac5c49}
.tabs{background:#f0e5d2;border:1px solid #e0ccb0;border-radius:16px;box-shadow:0 3px 0 #e7d8bd60}
.tab.active{background:#fffdf7;box-shadow:0 2px 5px #79572e12}
.canvas-shell,.sidebar,.dialogue-card{background:#fffdf7;border-color:#e5d5be;box-shadow:0 6px 0 #e7d8bd55}
.scene-label{background:#fff8e9}
.canvas-bottom{background:#fffaf0}
.word-crop{background-color:#fff0dc;border-color:#e5d5be}
.primary{box-shadow:0 3px 0 #7a321719;border-radius:13px}
.secondary,.answer{background:#fffcf6;border-color:#e5d5be;border-radius:13px}
.starter-icon{background:#ffedc9;color:#a85621;transform:rotate(-5deg);box-shadow:0 3px 0 #edd0a0}
.step-num{background:#f8ecd6;color:#986237}
.scene img{filter:saturate(.94)}
.speaker-title{background:#fffaf1}
.feedback.try{background:#fff0d1;color:#88500e}
.answer.correct{background:#e5f6ee;border-color:var(--green)}
.answer.wrong{background:#fff1db;border-color:#d6922b}
@media(max-width:760px){body::before{background-size:540px 540px;opacity:.45}.brand{font-size:20px;gap:8px}.brand-icon{width:35px;height:35px;font-size:20px}.brand-sub{font-size:10px;letter-spacing:2.6px}.hint-toggle{padding:8px;font-size:12px}.hint-toggle span{margin-left:3px}.topic{border-radius:18px}.topbar{padding:0 4%}}

/* Next destinations share one row with the current scene name. */
.scene-label{flex-wrap:nowrap;min-width:0;gap:12px}
.scene-label strong{flex:0 1 auto;min-width:0;max-width:42%;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scene-drills{display:flex;flex:0 1 auto;min-width:0;gap:7px;overflow-x:auto;white-space:nowrap;padding:4px;scrollbar-width:thin}
.scene-drills button{flex:0 0 auto;border:1px solid #27736e;background:#27736e;color:white;border-radius:9px;padding:9px 11px;font-size:13px;font-weight:700;min-height:40px}
.scene-drills button:hover{background:#1c5b57}
.scene-drills button span{display:inline;color:inherit;font-size:13px}
@media(max-width:760px){.scene-label{gap:5px}.scene-label strong{max-width:38%;font-size:13px}.scene-drills{gap:5px}.scene-drills button{padding:9px;font-size:12px}.scene-drills button span{display:inline}}
.site-nav{display:flex;align-items:center;gap:8px;margin:0 24px 0 auto}
.site-nav button{border:0;background:transparent;font-size:16px;font-weight:700;border-radius:12px;padding:12px 17px;color:var(--muted)}
.site-nav button:hover{background:#fff0dc;color:var(--blue)}
.site-nav button[aria-current=page]{background:#ffebc5;color:#8a441f}
.welcome{text-align:center;padding:28px 0 20px}
.welcome h1{margin:18px 0 12px;font-size:clamp(32px,4vw,48px)}
.welcome p{color:var(--muted)}
.shuffle-stage{padding:24px 0 12px}
.shuffle-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:180px;height:180px;border-radius:50%;background:#ad4b23;color:#fffaf1;border:5px solid #ffcb70;box-shadow:0 9px 0 #7f381d,0 18px 32px #ad4b2330;font-size:32px;font-weight:800;transition:transform .2s,box-shadow .2s}
.shuffle-icon{font-size:42px;line-height:1;color:#ffdf88}
.shuffle-button:hover{transform:translateY(-5px) rotate(-4deg);box-shadow:0 14px 0 #7f381d,0 22px 36px #ad4b2330}
.shuffle-button:active{transform:translateY(5px);box-shadow:0 4px 0 #7f381d}
.home-postcards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:900px;margin:22px auto 0}
.postcard{padding:10px 10px 18px;border-radius:19px;border:1px solid var(--line);background:#fffdf7;box-shadow:0 5px 0 #e7d8bd80;text-align:center;transition:transform .2s}
.postcard:hover{transform:translateY(-4px)}
.postcard img{display:block;width:100%;height:145px;object-fit:cover;border-radius:12px;margin-bottom:15px}
.postcard strong{font-size:22px}
.ipa{font-family:'DejaVu Sans','Segoe UI',Arial,sans-serif;font-size:20px;letter-spacing:.3px;color:#27736e;margin:0 0 12px;line-height:1.5;overflow-wrap:anywhere}
.reference-note{border:1px solid #d0dcd1;border-radius:16px;background:#f3f6e9;padding:20px;max-width:850px;line-height:1.6}
.reference-note p{margin:8px 0}.reference-note a{color:#21645f;font-size:14px}
.reference-group{margin-top:34px}.reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.reference-card{border:1px solid var(--line);background:#fffdf7;border-radius:18px;padding:22px;display:flex;flex-direction:column;align-items:start}
.reference-card h3{font-size:20px;margin:10px 0 0}.reference-card p{font-size:14px;color:var(--muted)}
.reference-route{font-size:12px;color:var(--muted);line-height:1.6;min-height:20px}
.reference-actions{display:flex;gap:9px;flex-wrap:wrap;margin:auto 0 18px;padding-top:10px}
.reference-actions a{display:inline-block;padding:10px 12px;background:#27736e;color:white;border-radius:9px;font-size:14px;font-weight:700;text-decoration:none}
.reference-actions a:hover{background:#1c5b57}
@media(max-width:900px){.topbar{padding:16px 4%;height:auto;flex-wrap:wrap;gap:12px}.site-nav{margin:0 0 0 auto}.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.topbar{gap:14px}.header-right{margin-left:auto}.site-nav{order:3;width:100%;margin:0;justify-content:center;background:#f5ebdb;border-radius:13px;gap:4px}.site-nav button{flex:1;padding:12px 9px;font-size:14px}.home-postcards{gap:10px}.postcard{padding:7px 7px 14px}.postcard img{height:85px}.postcard strong{font-size:17px}.reference-grid{grid-template-columns:1fr}.shuffle-button{width:160px;height:160px}.welcome{padding-top:16px}}
@media(hover:hover) and (pointer:fine){
 body,body *{cursor:url('assets/cursor-arrow.svg') 2 2,default}
 button,a,summary,select,[role=button],button *,a *,summary *{cursor:url('assets/cursor-arrow-active.svg') 2 2,pointer}
 input,textarea,input *,textarea *{cursor:text}
 button:disabled,button:disabled *{cursor:not-allowed}
}

/* Inline placeholders display before the same-resolution card image arrives. */
.topic-picture{display:block;width:100%;height:100%;background-size:cover;background-position:center 45%;overflow:hidden}
.topic-picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%}
.postcard .topic-picture{height:145px;border-radius:12px;margin-bottom:15px}
.postcard .topic-picture img{height:100%;margin:0}
@media(max-width:600px){.postcard .topic-picture{height:85px}}

.image-status{position:absolute;left:50%;top:12px;transform:translateX(-50%);z-index:4;background:#fffaf1e8;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:14px;text-align:center;max-width:90%;width:max-content;pointer-events:none}
.image-status[hidden]{display:none}
.image-status button{border:0;background:none;color:var(--blue);text-decoration:underline;font-weight:700;pointer-events:auto;padding:6px}
@media(max-width:760px){.scene-contents .hotspot{min-width:calc(36px * var(--pin-scale));min-height:calc(36px * var(--pin-scale))}.scene-drills{scroll-padding:4px}.scene-drills button:focus-visible{outline-offset:0}}
/* Scale around the arrow's exact click point; movement itself has no trailing delay. */
.smooth-cursor{position:fixed;left:0;top:0;width:32px;height:38px;z-index:2147483647;pointer-events:none;will-change:transform}
.smooth-cursor[hidden]{display:none}
.cursor-shape{position:relative;width:100%;height:100%;transform-origin:2px 2px;transform:scale(1);transition:transform 180ms cubic-bezier(.2,.75,.25,1);will-change:transform}
.cursor-shape img{position:absolute;inset:0;width:32px;height:38px;pointer-events:none;user-select:none}
.cursor-gold{opacity:0;transition:opacity 150ms ease}
.is-hovering .cursor-shape{transform:scale(1.28)}
.is-hovering .cursor-gold{opacity:1}
@media(hover:hover) and (pointer:fine){body.smooth-cursor-visible,body.smooth-cursor-visible *{cursor:none!important}}
@media(prefers-reduced-motion:reduce){.cursor-shape,.cursor-gold{transition:none}}
.level-picker{margin:0 0 28px;background:#fffaf1;border:1px solid var(--line);border-radius:20px;padding:22px}
.level-picker-head h2{font-size:23px;margin:0 0 8px}.level-picker-head p{color:var(--muted);margin:0 0 18px;font-size:15px}
.level-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.level-option{position:relative;display:flex;flex-direction:column;align-items:start;text-align:left;border:2px solid #eadfce;background:#fffdf7;padding:18px;border-radius:14px;gap:8px}
.level-option.selected{border-color:#27736e;background:#edf5eb;box-shadow:0 3px 0 #c8d8c6}.level-option:hover{border-color:#27736e}
.level-number{width:27px;height:27px;border-radius:50%;background:#ffebc5;font-size:14px;font-weight:700;text-align:center;line-height:27px}
.level-option strong{font-size:20px}.level-tag{font-weight:700;color:#27736e;font-size:14px}.level-description{color:var(--muted);font-size:14px;line-height:1.5}.level-note{font-size:12px;color:var(--muted);margin:16px 0 0}
.topic-level{display:inline-block;font-size:13px;color:#27736e;font-weight:700;margin:0 10px 12px 0}
.lesson-level{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-bottom:14px;font-size:14px;color:#27736e;font-weight:700}.lesson-level button{border:0;background:none;text-decoration:underline;padding:4px;color:var(--blue);font-size:14px}
.practice-card{margin-top:22px;padding:17px;background:#eef5e7;border:1px solid #d3dfbd;border-radius:13px}.practice-card p{font-size:16px;color:var(--ink);line-height:1.6;margin:10px 0}.practice-card .voice-note{font-size:12px;color:var(--muted)}
.reference-group-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.reference-group-head h2{margin:0}.level-download{padding:12px 16px;border-radius:10px;background:var(--blue);color:white;text-decoration:none;font-size:14px;font-weight:700}.reference-group .small{font-size:14px;color:var(--muted)}
@media(max-width:900px){.level-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.level-picker{padding:15px}.level-options{gap:9px}.level-option{padding:13px}.level-option strong{font-size:17px}.level-description{font-size:14px}}

/* Scenario discovery */
.scenario-search{max-width:760px;margin:24px auto 30px;text-align:left}.scenario-search label{display:block;font-weight:700;font-size:18px;margin-bottom:10px}.search-field{display:flex;gap:10px}.search-field input{min-width:0;flex:1;font:inherit;font-size:16px;border:2px solid var(--line);background:#fffdf8;color:var(--ink);padding:14px 16px;border-radius:14px}.search-field input:focus{outline:3px solid #ffb34b;outline-offset:2px;border-color:var(--blue)}.scenario-search p{font-size:14px;color:var(--muted);margin:10px 0}.scenario-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 4px}.scenario-tag{font-size:14px;line-height:1.4;padding:4px 9px;border-radius:20px;background:#f2e9db;color:#594630;font-weight:400}.scenario-tag .cn{font-size:14px}.browse-card{min-width:0;display:flex;flex-direction:column}.browse-card>.topic,.browse-card>.postcard{width:100%;height:100%}.postcard-copy{padding:0 14px 12px}.postcard-copy>strong{display:block}.postcard-copy .scenario-tags{justify-content:center}.more-scenarios{text-align:center;margin-top:26px}.more-scenarios .home-postcards{text-align:left;margin-top:24px}.branch-results{background:#fffdf8;border:1px solid var(--line);border-radius:0 0 16px 16px;padding:14px;display:flex;flex-direction:column;gap:10px}.branch-results>span{font-size:14px;color:var(--muted)}.branch-results button{text-align:left;line-height:1.5}.search-count{font-size:16px;margin:0 0 16px}.search-empty{border:1px dashed var(--line);padding:28px;background:#fffdf8;border-radius:16px}.search-empty h2{font-size:22px}.search-empty p{line-height:1.6}@media(max-width:560px){.search-field{gap:8px}.search-field input{padding:12px 10px}.search-field button{padding:10px}.scenario-search{margin:20px 0}.scenario-tag{font-size:14px}}
.scenario-tag,.postcard-copy>strong{overflow-wrap:anywhere}@media(max-width:700px){.home-postcards{grid-template-columns:repeat(2,minmax(0,1fr))}.postcard-copy{padding:0 6px 6px}}@media(max-width:480px){.home-postcards{grid-template-columns:1fr;gap:18px}.postcard .topic-picture{height:160px}.postcard strong{font-size:22px}}

/* Equal-height cards must keep their picture at the same top edge. */
.browse-card>.postcard,.browse-card>.topic{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}
.browse-card>.postcard>.topic-picture,.browse-card>.topic>.topic-art{flex-shrink:0}
.browse-card>.postcard>.postcard-copy{width:100%}
