/* Adventure Club: original imagined landscapes; historical portraits remain reviewed assets. */
:root{--cream:#fcf5e7;--purple:#116e65;--pale:#e1f2e8;--ink:#233f3e;--muted:#5d706a;--line:#e2dccb;--surface:#fffdf7;--surface-soft:#f3f0df;--surface-strong:#e0e7d2;--gold:#916007;--nav-ink:#e6f1dd;--peach:#ffe6c4;--mint:#e2f0dc;--lavender:#e7e9fa;--card-shadow:0 6px 0 #1b534516,0 12px 30px #4c5b3a09;--heritage-gold:#bb7b13}
:root[data-theme=dark]{--cream:#101f24;--purple:#8cdbc4;--pale:#203e3d;--ink:#f6eed9;--muted:#b3c7c2;--line:#36504f;--surface:#1c3035;--surface-soft:#233c40;--surface-strong:#304d4c;--gold:#ffd48c;--peach:#42342b;--mint:#254139;--lavender:#303953;--heritage-gold:#ffd48c}
body{background:radial-gradient(ellipse at 95% 0,#fbc55c17,transparent 55%),var(--cream)}.sidebar{background:#134e49;border-color:#ffffff18;color:#fff3d5;padding:26px 18px}.brand{color:#fff3d5;font-size:22px;letter-spacing:-.8px}.brand small{color:#b8d0b4;font-size:16px;letter-spacing:1.15px}.logo{background:#ffd06e;color:#21574e;border-color:#ffdf99;box-shadow:0 5px 0 #99712d;font-size:35px}.sidebar nav{margin-top:29px;gap:4px;max-height:calc(100dvh - 295px)}.sidebar nav button{min-height:46px;padding:11px 13px;color:#dfebd9;border-radius:13px}.sidebar nav button span{font-size:16px}.sidebar nav button:hover{background:#ffffff10}.sidebar nav button.active{background:#ffce73;color:#294d40;box-shadow:0 3px 0 #ad803c}.sidebar nav .tutor-nav{background:#ffffff10;color:#fff1c6;border:1px solid #ffffff22}.sidebar nav .tutor-nav.active{background:#ffce73;color:#294d40}.side-bottom b{color:#f2e8cf}.side-bottom p{color:#c3d6ca}.mini-mascot{background:#f3d08b;border:4px solid #eabf64;box-shadow:0 5px 0 #092f2b55;width:78px;height:78px;border-radius:24px}.mini-mascot img{width:68px;height:68px}.parent-link{background:#ffffff12;color:#fff0cb}.side-bottom{padding-top:16px}.side-bottom .mini-mascot{margin-bottom:10px}.side-bottom b{font-size:16px}.side-bottom p{font-size:16px;margin:5px 0}.parent-link{margin-top:10px}header{height:82px;background:var(--surface);padding:0 34px}.crumb{font-size:16px}.header-right{gap:10px}.portal-entry{background:var(--pale);border-color:transparent;color:var(--purple);font-size:16px}.motion-control{background:transparent;color:var(--muted);font-size:16px;min-height:44px;padding:8px;white-space:nowrap}.theme-switch button{min-height:36px}.star-counter{background:#ffe8b7;color:#72500d;border-color:#e6c889}.app main{max-width:1480px;padding:27px 34px 30px}.eyebrow{font-size:16px;letter-spacing:1.6px}h1{font-size:32px;letter-spacing:-1.1px}.adventure-welcome h1{font-size:26px;margin:6px 0 0}.adventure-welcome{margin-bottom:22px}.adventure-welcome h1>span{color:#dc9e33}.adventure-hero{position:relative;isolation:isolate;min-height:410px;border-radius:29px;overflow:hidden;background:#1b4b46;box-shadow:0 7px 0 #134e491b,0 18px 45px #66452118}.adventure-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;z-index:-2}.adventure-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#123e3bf2 0,#123e3be8 24%,#123e3b77 46%,transparent 68%);z-index:-1}.adventure-hero-copy{padding:37px 34px 33px;max-width:440px;color:#fff5dc}.club-label{display:inline-block;color:#ffdd98;font-weight:800;font-size:16px;letter-spacing:1.5px;border:1px solid #ffde952e;background:#124e4b88;padding:8px 11px;border-radius:20px}.adventure-hero h2{font-size:clamp(38px,4vw,57px);line-height:1.04;letter-spacing:-1.9px;margin:22px 0 16px;color:#fff9e8}.adventure-hero h2 em{font-style:normal;color:#ffd179}.adventure-hero p{font-size:16px;line-height:1.75;max-width:275px;color:#edf0da;margin:15px 0 22px}.btn.sun-button{background:linear-gradient(#ffda82,#ffc05a);color:#354b36;box-shadow:0 5px 0 #aa7933;border:1px solid #ffe0a1;min-height:51px;padding:13px 20px;font-size:16px}.hero-next{display:block;font-size:16px;color:#e7dec3;margin-top:17px}.hero-art-note{position:absolute;right:18px;bottom:15px;padding:5px 9px;background:#123e3bba;color:#fff1d7;border-radius:20px;font-size:16px}.hero-spark{position:absolute;color:#ffdfa3;font-size:28px;animation:sparkle 4s ease-in-out infinite}.spark-a{left:42%;top:44px}.spark-b{left:45%;bottom:55px;animation-delay:1s}@keyframes sparkle{50%{transform:scale(.7) rotate(25deg);opacity:.4}}.adventure-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:29px 0 17px}.adventure-section-title h2{font-size:23px;letter-spacing:-.7px}.adventure-section-title>span{color:var(--muted);font-size:16px}.adventure-section-title .eyebrow{margin-bottom:7px}.child-home-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.child-action{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:220px;padding:0;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--surface);box-shadow:0 5px 0 #35534515;transition:transform .2s}.action-picture{position:relative;height:132px;display:block;overflow:hidden;border-bottom:1px solid #00000007}.child-action img.action-landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;opacity:.9}.child-action img.action-animal,.child-action .legend-portrait{position:absolute;width:101px;height:101px;object-fit:contain;bottom:-4px;left:50%;transform:translateX(-50%) rotate(-5deg);border-radius:19px;filter:drop-shadow(0 5px 0 #274b4524);transition:transform .25s}.child-action .legend-portrait{bottom:-10px;object-fit:cover;width:116px;height:116px;border:4px solid #ffe2a6;transform:translateX(-50%) rotate(4deg)}.child-action:hover img.action-animal{transform:translateX(-50%) rotate(4deg) translateY(-5px)}.action-orbit{position:absolute;right:20%;top:21px;color:#fff5cd;font-size:24px}.child-action .action-copy{padding:19px 17px 22px;display:block;min-height:96px}.child-action b{font-size:22px;letter-spacing:-.8px}.child-action small{font-size:16px;line-height:1.6;margin-top:7px;max-width:155px;color:var(--muted)}.child-action>.action-arrow:last-child{position:absolute;right:13px;bottom:16px;background:var(--pale);border-radius:50%;font-size:17px;width:27px;height:27px;display:grid;place-items:center;color:var(--purple);margin:0}.action-tutor{border:2px solid #d8af58}.action-tutor .action-copy{background:var(--peach)}.home-learning-summary{margin:21px 0 0;padding:16px 20px;background:var(--surface);border:1px solid var(--line);border-radius:15px;gap:22px;align-items:center;font-size:16px}.home-learning-summary>.text-link{margin-left:auto}.discovery-preview{margin-top:30px}.story-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.story-preview{padding:0;overflow:hidden;text-align:left;border-radius:21px;border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:var(--card-shadow);transition:transform .2s}.story-preview:hover{transform:translateY(-4px)}.story-preview-art{display:block;position:relative;height:170px;overflow:hidden}.world-scene{position:absolute;inset:0;overflow:hidden}.world-scene>img{width:100%;height:100%;object-fit:cover}.story-preview-art>.legend-portrait{position:absolute;width:145px;height:145px;bottom:-16px;left:50%;transform:translateX(-50%);border-radius:36px 36px 0 0;filter:drop-shadow(0 5px 9px #1c403b33)}.play-story-icon{position:absolute;left:14px;bottom:13px;display:grid;place-items:center;border-radius:50%;width:34px;height:34px;background:#fff9e8;color:#1b6157;font-size:22px;box-shadow:0 3px 0 #17564833}.story-preview-copy{display:flex;flex-direction:column;gap:7px;padding:20px}.story-preview-copy small{font-size:16px;letter-spacing:1px;text-transform:uppercase;color:var(--purple)}.story-preview-copy b{font-size:19px}.story-preview-copy>span{font-size:16px;color:var(--muted)}.scene-cloud{position:absolute;width:90px;height:19px;border-radius:50%;background:#fff8df80;top:17%;animation:cloud-sail 12s ease-in-out infinite}.scene-cloud:before{content:'';position:absolute;width:42px;height:28px;background:inherit;left:22px;bottom:2px;border-radius:50%}.cloud-one{left:10%}.cloud-two{right:8%;top:30%;width:60px;animation-delay:-6s}.scene-bird{position:absolute;top:18%;left:70%;font-size:40px;color:#25574f;animation:bird-drift 8s ease-in-out infinite}.scene-spark{position:absolute;left:35%;top:20%;font-size:23px;color:#fff4c7;animation:sparkle 4s ease-in-out infinite}@keyframes cloud-sail{50%{transform:translateX(23px)}}@keyframes bird-drift{50%{transform:translate(-22px,8px)}}.btn:not(.sun-button):not(.secondary){background:linear-gradient(140deg,#238578,#12685e);border-color:#3c9a85;box-shadow:0 4px 0 #084e45;color:#fff8e5}.btn.secondary{background:var(--surface-soft);box-shadow:0 2px 0 #173e3b12}.tutor-shortcut{background:#164f49;color:#fff6db;border-color:#e3b95d;box-shadow:0 6px 0 #0a342f,0 12px 30px #173f3a26}.tutor-shortcut small{color:#e4ddbf}.tutor-shortcut img{border-color:#f1c76d}.tutor-welcome,.heritage-home{border-color:var(--line)}.legend-card{border-radius:22px;box-shadow:var(--card-shadow)}.portrait-button{background:linear-gradient(135deg,#ffe3a3,#c3e1ce)}.legend-card-footer{gap:7px;flex-wrap:wrap}.story-card-button{background:var(--pale);color:var(--purple);font-size:16px;min-height:44px;padding:9px 11px;border-radius:11px;font-weight:800}.legend-card-footer .stamp-mini{margin-left:auto}.guide-profile .story-open{margin-top:18px;width:100%}.journey-card{overflow:hidden;padding:0 23px 23px}.journey-scene{height:150px;position:relative;margin:0 -23px 24px}.journey-scene>button{position:absolute;bottom:15px;left:17px;background:#fff9e8;color:#1c534c;padding:10px 15px;border-radius:20px;font-weight:800;font-size:16px;box-shadow:0 3px 0 #153d3a33;min-height:44px}.journey-cards{gap:22px}.journey-stops button{border-width:1px;box-shadow:0 3px 0 #1d56400a}.track,.lesson-card{border-bottom:4px solid var(--line)}.lesson-card .num{background:var(--pale);color:var(--purple)}.lesson-card:nth-child(3n+2){background:var(--mint)}.lesson-card:nth-child(3n+1){background:var(--peach)}.level-tabs button.selected{background:#176e62;border-color:#176e62}.level-tabs button{min-height:48px}.world-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px;margin:23px 0}.world-tools>div:first-child{flex:1 1 160px}.world-tools b{font-size:16px}.world-tools>div>span{display:block;font-size:16px;color:var(--muted);margin-top:6px}.world-tools p{font-size:16px;color:var(--muted);margin:0;width:100%;line-height:1.5}.piece-options{display:flex;gap:5px;flex-wrap:wrap}.piece-options button,.venue-options button{min-height:44px;border-radius:12px;border:1px solid var(--line);padding:8px 12px;background:var(--surface-soft);color:var(--ink);font-size:16px;font-weight:750}.piece-options button{display:flex;align-items:center;gap:6px}.piece-options img{width:26px;height:26px}.piece-options button[aria-pressed=true],.venue-options button[aria-pressed=true]{background:var(--pale);border-color:var(--purple);color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple)}.venue-options{display:flex;flex-wrap:wrap;gap:5px;width:100%}.venue-options button{flex:1;min-width:70px}.arena-banner{position:relative;isolation:isolate;overflow:hidden;margin:-5px -6px 17px;border-radius:16px;background:#316762;min-height:86px}.arena-scenery{z-index:-2}.arena-scenery:after{content:'';position:absolute;inset:0;background:#103d3bcc}.arena-scenery .scene-cloud,.arena-scenery .scene-bird,.arena-scenery .scene-spark{display:none}.arena-contestants{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 14px;color:#fff0d2}.arena-player{display:flex;gap:9px;align-items:center;flex:1;min-width:0}.arena-player:last-child{flex-direction:row-reverse;text-align:right}.arena-player img{width:46px;height:46px;background:#f4d18c;border:2px solid #e6c575;border-radius:14px}.arena-player b{font-size:16px;line-height:1.4}.arena-player small{display:block;font-weight:400;font-size:16px;color:#e3dbc0;margin-top:4px}.arena-vs{font-weight:900;font-size:17px;color:#ffd273;font-style:italic;padding:0 7px}.arena-banner.is-thinking .arena-player:last-child img{animation:thinking-hop 1.4s ease-in-out infinite}@keyframes thinking-hop{50%{transform:translateY(-4px) rotate(4deg)}}.classic-piece{display:block;pointer-events:none;z-index:1}.safari-piece{display:none;position:absolute;inset:5%;pointer-events:none;z-index:1;align-items:center;justify-content:center;border-radius:13px;background:linear-gradient(#fff2c6,#f0bd69);box-shadow:inset 0 -3px 0 #8a653044,0 2px 2px #26433333}.safari-piece>img{height:88%;width:88%;object-fit:contain;filter:drop-shadow(0 2px 0 #65432333)}.blackpiece .safari-piece{background:linear-gradient(#345e63,#193c43);box-shadow:inset 0 -3px 0 #092d39,0 2px 2px #26433333}.blackpiece .safari-piece>img{filter:saturate(.7) brightness(.93)}.piece-marker{position:absolute;right:-1px;bottom:-1px;width:37%;height:37%;display:grid;place-items:center;font-size:clamp(16px,1.3vw,18px);line-height:1;background:#fff3c6;color:#37574c;border:1px solid #bd9c66;border-radius:5px;text-shadow:none}.blackpiece .piece-marker{background:#1b3b41;color:#fff1ca;border-color:#6d9693}.square .coord{z-index:3;pointer-events:none}.square.target:after{z-index:4;pointer-events:none}.square.target:not(:empty):after{background:transparent}.square.target:has(.classic-piece):after{width:80%;height:80%;border:4px solid #7550a7;background:transparent}:root[data-pieces=safari] .classic-piece{display:none}:root[data-pieces=safari] .safari-piece{display:flex}.story-dialog{max-width:760px;padding:24px;border-radius:29px}.story-dialog .close{position:absolute;right:17px;top:15px;z-index:5;min-width:44px;min-height:44px}.story-kicker{display:flex;justify-content:space-between;padding:4px 45px 20px 1px;gap:15px;font-weight:800;font-size:16px;letter-spacing:1px;color:var(--purple)}.story-kicker>span:last-child{color:var(--muted);font-size:16px;letter-spacing:0}.story-stage{position:relative;height:280px;border-radius:21px;overflow:hidden;background:#92cdca;isolation:isolate}.story-stage>.world-scene{z-index:-1}.story-stage .world-scene>img{object-position:center}.story-character{position:absolute;left:20%;bottom:25px;display:grid;justify-items:center;animation:story-enter .6s ease-out both}.story-character .legend-portrait{width:190px;height:190px;border-radius:50px;border:5px solid #ffe7af;box-shadow:0 9px 0 #244d4633}.story-character-label{font-size:16px;font-weight:800;color:#fff3d7;background:#164f49;padding:9px 16px;border-radius:18px;transform:translateY(-12px);box-shadow:0 3px 0 #143d3b22}.story-prop{position:absolute;right:19%;top:28%;width:87px;height:87px;border-radius:26px;display:grid;place-items:center;font-size:54px;color:#7d5a1c;background:#ffe6a3;border:4px solid #fff4cd;box-shadow:0 8px 0 #39615033;animation:story-prop 4s ease-in-out infinite}.story-frame-label{position:absolute;left:12px;bottom:9px;color:#fff5db;background:#153c3b9e;border-radius:8px;padding:5px 8px;font-size:16px}.story-caption{padding:23px 8px 0}.story-caption h2{font-size:26px;line-height:1.2;margin:8px 0 13px}.story-caption p{font-size:16px;line-height:1.75;min-height:83px;color:var(--ink);margin:0}.story-dots{display:flex;justify-content:center;gap:5px;margin:15px 0}.story-dots button{width:44px;height:44px;border-radius:50%;background:transparent;color:var(--purple);font-size:22px}.story-controls{display:flex;align-items:center;justify-content:space-between;gap:10px}.story-controls button{min-height:46px}.story-chess{min-height:44px;display:block;margin:12px auto}.story-evidence{font-size:16px;color:var(--muted);line-height:1.7;margin:20px 8px 3px}.story-evidence summary{min-height:44px;cursor:pointer}.story-evidence a{color:var(--purple);text-decoration:underline}.story-open{min-height:48px}@keyframes story-enter{from{opacity:0;transform:translateY(25px) rotate(-5deg)}to{opacity:1;transform:none}}@keyframes story-prop{50%{transform:translateY(-8px) rotate(5deg)}}button:disabled{opacity:.5;cursor:default}.rank-controls select{min-height:48px}:root[data-motion=off] *,:root[data-motion=off] *:before,:root[data-motion=off] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}:root[data-theme=dark] .adventure-hero-image{filter:brightness(.85)}:root[data-theme=dark] .portrait-button{background:linear-gradient(135deg,#5d5434,#28534d)}:root[data-theme=dark] .star-counter{background:#4b3d26;color:#ffda8d;border-color:#675333}:root[data-theme=dark] .sidebar{background:#113d3b}:root[data-theme=dark] .btn:not(.secondary):not(.sun-button){color:#fff8e5}.board-wrap{border:2px solid var(--line)}.board{border-color:#2f6257}.square{--board-light:#f9edcf;--board-dark:#81aa8a}.coord{color:#234e44}.square.blackpiece{color:#263e3a;text-shadow:0 1px #f3eccb}.square.whitepiece{color:#fff9e8;text-shadow:0 2px 1px #2b5346,1px 0 #2b5346,-1px 0 #2b5346}.square.target:after{background:#154b4599}.square.selected{background:#ffda7d}.square.target:not(:empty):after{border-color:#11574e}footer{font-size:16px}
@media(min-width:1600px){.adventure-hero{min-height:460px}.adventure-hero-copy{padding:45px}.adventure-hero h2{font-size:63px}.action-picture{height:155px}.child-action{min-height:250px}.story-preview-art{height:200px}}
@media(max-width:1150px){header{padding:0 25px}.crumb{display:none}.header-right{width:100%;justify-content:space-between}.app main{padding:25px}.adventure-hero{min-height:390px}.adventure-hero-copy{padding:30px;max-width:340px}.adventure-hero h2{font-size:45px}.adventure-hero-image{object-position:63% center}.child-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.child-action{min-height:190px}.action-picture{height:120px}.child-action .action-copy{min-height:94px}.story-preview-grid{gap:12px}.story-preview-art{height:145px}.story-preview-art>.legend-portrait{width:125px;height:125px}.story-preview-copy{padding:16px}.story-preview-copy b{font-size:16px}.home-learning-summary{gap:15px}}
@media(max-width:760px){.sidebar{padding:18px 16px}.sidebar .brand{font-size:23px}.sidebar nav{margin-top:20px;max-height:none;padding-bottom:6px;gap:7px}.sidebar nav button{border:1px solid #ffffff15;padding:10px 12px;min-height:44px}.sidebar nav button span{font-size:16px}.app main{padding:22px 16px}.app header{padding:0 12px;height:auto;min-height:70px}.header-right{flex-wrap:wrap;gap:5px;padding:9px 0}.motion-control{font-size:16px;padding:6px}.portal-entry{font-size:16px;padding:8px}.theme-switch button{padding:5px 7px}.star-counter{font-size:16px;padding:8px}.adventure-welcome{align-items:center;gap:10px}.adventure-welcome h1{font-size:23px}.adventure-welcome .text-link{font-size:16px;max-width:68px;text-align:right;line-height:1.6}.adventure-welcome .eyebrow{font-size:16px}.adventure-hero{min-height:510px;border-radius:24px;display:flex;align-items:flex-end}.adventure-hero-image{object-position:61% top;height:70%;object-fit:cover}.adventure-hero:after{background:linear-gradient(0deg,#123e3b 0,#123e3b 27%,#123e3bdb 42%,#123e3b00 72%)}.adventure-hero-copy{padding:24px;max-width:100%;width:100%}.club-label{font-size:16px;padding:7px 10px}.adventure-hero h2{font-size:38px;margin:14px 0 8px;line-height:1.05;letter-spacing:-1.5px}.adventure-hero h2 br:first-child{display:none}.adventure-hero h2 br:first-child:after{content:' '}.adventure-hero p{font-size:16px;max-width:250px;margin:12px 0 18px}.hero-next{font-size:16px;margin-top:15px}.hero-art-note{right:10px;top:12px;bottom:auto;font-size:16px}.spark-a{top:31%;left:10%;font-size:24px}.spark-b{left:auto;right:12%;bottom:25%}.adventure-section-title{margin-top:26px}.adventure-section-title h2{font-size:21px}.adventure-section-title>span{display:none}.adventure-section-title .text-link{max-width:92px;font-size:16px;text-align:right;line-height:1.6}.child-home-actions{gap:12px}.child-action{padding:0;min-height:200px;display:flex;flex-direction:column;align-items:stretch;gap:0;border-radius:18px}.child-action .action-picture{height:115px}.child-action .action-copy{padding:16px 13px 19px;min-height:83px}.child-action b{font-size:21px}.child-action small{font-size:16px;padding-right:10px;max-width:160px}.child-action>.action-arrow:last-child{display:none}.child-action .legend-portrait{width:107px;height:107px}.home-learning-summary{padding:15px 14px;gap:12px;font-size:16px}.home-learning-summary>.text-link{width:100%;text-align:left;margin:0}.story-preview-grid{grid-template-columns:1fr}.story-preview{display:grid;grid-template-columns:42% 1fr}.story-preview-art{height:150px}.story-preview-copy{justify-content:center;padding:18px}.story-preview-copy b{font-size:18px}.story-preview-art>.legend-portrait{width:130px;height:130px}.story-dialog{padding:18px;border-radius:23px}.story-stage{height:230px}.story-character{left:10%;bottom:17px}.story-character .legend-portrait{width:150px;height:150px;border-radius:38px}.story-prop{right:9%;width:65px;height:65px;font-size:40px}.story-character-label{font-size:16px}.story-caption{padding:22px 3px 0}.story-caption h2{font-size:24px}.story-caption p{font-size:16px;min-height:110px}.story-controls .btn{font-size:16px;padding:10px 13px;gap:8px}.story-controls{gap:5px}.story-controls .text-link{font-size:16px}.story-kicker{font-size:16px;padding-right:44px;line-height:1.5}.story-kicker>span:last-child{font-size:16px;max-width:105px}.world-tools{padding:17px}.arena-contestants{padding:14px 11px}.arena-player img{width:39px;height:39px}.arena-player b{font-size:16px}.arena-player small{font-size:16px}.arena-vs{font-size:16px}.piece-marker{font-size:clamp(16px,3vw,17px)}.safari-piece{border-radius:8px}.story-preview-art .scene-cloud{width:55px}.journey-card{padding:0 21px 23px}.journey-scene{margin:0 -21px 23px}.tutor-shortcut{bottom:15px}.lesson-card .num{width:40px;height:40px}.world-tools p{font-size:16px}.venue-options{gap:7px}.venue-options button{flex:1 1 70px}.adventure-hero h2 br:first-child{display:block}}
@media(max-width:360px){.adventure-welcome h1{font-size:21px}.adventure-hero h2{font-size:34px}.adventure-hero-copy{padding:22px}.child-action b{font-size:19px}.header-right .portal-entry{display:none}.story-character{left:6%}.story-character .legend-portrait{width:130px;height:130px}.story-prop{right:8%}.story-controls{flex-wrap:wrap}.story-controls .btn:last-child{flex:1}.hero-art-note{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.landmark-lab{margin:35px 0}.landmark-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0 30px}.landmark-card{position:relative;isolation:isolate;overflow:hidden;min-height:230px;border-radius:23px;text-align:left;background:#174a46;color:#fff8df;padding:0;border:2px solid #d8b666}.landmark-card .world-scene{z-index:-2}.landmark-card:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 25%,#143e3be8);z-index:-1}.landmark-card>span{position:absolute;inset:auto 20px 20px;display:flex;flex-direction:column;gap:9px}.landmark-card small{font-size:16px;color:#ffdf9b;text-transform:uppercase;letter-spacing:1px}.landmark-card b{font-size:22px;line-height:1.15}.landmark-card strong{font-size:16px;color:#ffdda0}.landmark-stage{position:relative;height:260px;overflow:hidden;border-radius:22px;margin:20px 0}.discovery-star{position:absolute;background:#ffe09b;border:3px solid #fff2cb;color:#654910;font-weight:900;border-radius:17px;min-width:55px;height:55px;box-shadow:0 5px 0 #9c7338;animation:story-prop 4s ease-in-out infinite}.star-0{left:17%;top:31%}.star-1{left:44%;top:15%;animation-delay:-1s}.star-2{right:16%;top:44%;animation-delay:-2s}.discovery-star[aria-pressed=true]{background:#e2f1cd;color:#245e49;border-color:#b5d7b5;animation:none;box-shadow:0 3px 0 #386c52}.landmark-fact{font-size:17px;line-height:1.8;min-height:85px;padding:4px 9px;color:var(--ink)}.landmark-count{font-size:16px;color:var(--purple);text-align:center;font-weight:800;margin:18px 0 25px}.landmark-lab+.btn{margin-bottom:20px}.story-controls a{font-size:16px;text-align:right}.landmark-lab h2{font-size:26px}
@media(max-width:760px){.landmark-cards{grid-template-columns:1fr}.landmark-card{min-height:210px}.landmark-stage{height:220px}.landmark-fact{font-size:16px}.story-controls a{max-width:130px;line-height:1.6}}
:root[data-theme=dark] .tutor-shortcut,:root[data-theme=dark] .tutor-primary{color:#fff8e5}:root[data-theme=dark] .mini-mascot{background:#d9ba7e;border-color:#a78b55}
/* Teacher Fosu home: the existing chess adventure sits one clear tap away. */
.brand .fosu-brand-logo{width:60px;height:60px;object-fit:contain;border-radius:16px;background:#fff;flex-shrink:0;box-shadow:0 3px 0 #092d2b44}.brand>span{font-size:20px;line-height:1.15}.brand>span>small{font-size:16px;letter-spacing:1.5px;color:#ffdc95;margin:0 0 5px}.sidebar nav{margin-top:24px;max-height:calc(100dvh - 315px)}.fosu-intro{display:grid;grid-template-columns:1fr 1fr;min-height:390px;overflow:hidden;border-radius:28px;background:#134e49;box-shadow:var(--card-shadow);color:#fff4d6}.fosu-intro-copy{padding:38px 34px;position:relative;z-index:1}.fosu-intro h1{font-size:42px;line-height:1.05;letter-spacing:-1.3px;color:#ffda86;margin:24px 0 18px}.fosu-intro h2{font-size:29px;line-height:1.18;color:#fff8e5}.fosu-intro p{font-size:16px;line-height:1.8;max-width:290px;color:#e2eddb;margin:19px 0}.fosu-welcome-note{font-size:16px;color:#f9dfaa}.fosu-intro-art{position:relative;min-width:0;overflow:hidden}.fosu-intro-art>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 56%}.fosu-intro-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#134e4944,transparent 30%)}.fosu-art-label{position:absolute;bottom:17px;left:18px;right:18px;z-index:1;text-align:center;border-radius:20px;background:#144f49df;color:#fff1d0;padding:10px;font-size:16px;font-weight:750}.fosu-launch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.fosu-launch{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;border:1px solid var(--line);border-bottom:5px solid var(--line);border-radius:23px;overflow:hidden;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);transition:transform .2s}.fosu-launch:hover{transform:translateY(-4px)}.fosu-launch-picture{position:relative;display:block;height:155px;overflow:hidden;background:#fbeac9}.fosu-launch-picture>img{width:100%;height:100%;object-fit:cover}.launch-chess .fosu-launch-picture>img{object-position:center 65%}.launch-twi .fosu-launch-picture>img{object-position:center 50%}.launch-parents .fosu-launch-picture>img{object-fit:contain;padding:5px}.fosu-launch-picture>span{position:absolute;left:17px;bottom:13px;width:40px;height:40px;display:grid;place-items:center;border:2px solid #fff2bd;border-radius:13px;background:#165a50;color:#ffdb92;font-size:29px;box-shadow:0 3px 0 #103e3655}.fosu-launch-copy{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:22px 20px;flex:1}.fosu-launch-copy>small{font-size:16px;font-weight:800;letter-spacing:1px;color:var(--purple)}.fosu-launch-copy>b{font-size:24px;letter-spacing:-.9px;line-height:1.15}.fosu-launch-copy>span{font-size:16px;line-height:1.75;color:var(--muted);flex:1}.fosu-launch-copy>strong{font-size:16px;color:var(--purple);padding-top:6px;min-height:30px}.fosu-launch-copy>em{font-size:16px;color:var(--muted);font-style:normal}.launch-chess{border-color:#d8b56b}.launch-chess .fosu-launch-copy{background:var(--peach)}.fosu-tutor-invite{display:flex;align-items:center;gap:20px;background:var(--surface);border:1px solid var(--line);border-radius:23px;margin-top:28px;padding:24px}.fosu-tutor-invite>img{width:70px;height:70px;border-radius:18px;border:3px solid #dcb66a}.fosu-tutor-invite>div{flex:1}.fosu-tutor-invite h2{font-size:20px;margin:8px 0}.fosu-tutor-invite p{font-size:16px;color:var(--muted);line-height:1.7;margin:0}.fosu-tutor-invite .btn{flex-shrink:0}.fosu-family-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0}.fosu-family-steps .num{display:grid;place-items:center;width:44px;height:44px;background:var(--pale);color:var(--purple);font-size:22px;border-radius:14px;margin-bottom:20px;font-weight:900}.fosu-family-steps h2{font-size:22px;line-height:1.2}.fosu-parent-learning{display:flex;align-items:center;gap:25px;margin:24px 0}.fosu-parent-learning>img{width:110px;height:110px;object-fit:contain;background:#fff;border-radius:22px;flex-shrink:0}.fosu-parent-note{margin-bottom:20px}footer a{font-weight:750;color:var(--purple);line-height:1.7}footer{align-items:center;gap:20px}.brand{gap:9px}
@media(max-width:1150px){.brand>span{font-size:17px}.brand>span>small{font-size:16px}.brand .fosu-brand-logo{width:49px;height:49px}.fosu-intro-copy{padding:30px}.fosu-intro h1{font-size:37px}.fosu-intro h2{font-size:25px}.fosu-launch-grid{gap:13px}.fosu-launch-copy{padding:20px 16px}.fosu-launch-copy>b{font-size:21px}.fosu-family-steps{grid-template-columns:1fr}.fosu-tutor-invite{flex-wrap:wrap}.fosu-tutor-invite .btn{margin-left:90px}}
@media(max-width:760px){.sidebar nav{max-height:none}.brand>span{font-size:22px}.brand>span>small{font-size:16px}.brand .fosu-brand-logo{width:58px;height:58px}.fosu-intro{grid-template-columns:1fr;border-radius:23px}.fosu-intro-copy{padding:28px;order:2}.fosu-intro-art{height:240px;order:1}.fosu-intro-art>img{object-position:50% 52%}.fosu-intro-art:after{background:linear-gradient(0deg,#134e4966,transparent 40%)}.fosu-intro h1{font-size:36px;margin:18px 0 12px}.fosu-intro h1 br{display:none}.fosu-intro h2{font-size:27px}.fosu-intro h2 br{display:none}.fosu-intro p{max-width:100%;margin:14px 0}.fosu-launch-grid{grid-template-columns:1fr;gap:18px}.fosu-launch{display:grid;grid-template-columns:37% 1fr;min-height:220px}.fosu-launch-picture{height:100%;min-height:220px}.fosu-launch-copy{padding:20px 18px;gap:10px}.fosu-launch-copy>b{font-size:23px}.fosu-launch-copy>small{font-size:16px}.fosu-launch-copy>span{font-size:16px}.launch-twi .fosu-launch-picture>img{object-position:53% 51%}.fosu-launch-copy>strong{font-size:16px}.fosu-tutor-invite{padding:21px;gap:15px;align-items:flex-start}.fosu-tutor-invite h2{font-size:19px}.fosu-tutor-invite>div{flex:1 1 150px}.fosu-tutor-invite .btn{width:100%;margin-left:0}.fosu-parent-learning{flex-direction:column;align-items:flex-start}.fosu-parent-learning>img{width:95px;height:95px}.fosu-family-steps .panel{padding:24px}footer{align-items:flex-start}footer a{display:block;margin-top:10px}}
@media(max-width:360px){.fosu-launch{grid-template-columns:31% 1fr}.fosu-launch-copy{padding:18px 14px}.fosu-launch-copy>b{font-size:21px}}
.sidebar nav{scrollbar-color:#a4c2a8 transparent;scrollbar-width:thin}.sidebar nav::-webkit-scrollbar{width:5px}.sidebar nav::-webkit-scrollbar-thumb{background:#8bad94;border-radius:10px}.sidebar nav::-webkit-scrollbar-track{background:transparent}

/* Real HTML labels stay crisp as the classroom resizes. */
.fosu-intro{grid-template-columns:minmax(240px,.85fr) minmax(0,1.5fr)}
.fosu-intro-art{margin:0;display:flex;flex-direction:column;align-self:center;background:#fff4d6}
.fosu-intro-art>img{position:static;display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.fosu-intro-art:after{display:none}
.fosu-friends{position:static;padding:15px 12px 17px;color:#134e49;background:#fff4d6}
.fosu-friends-heading{display:block;font-size:16px;font-weight:800;text-align:center;margin-bottom:12px}
.fosu-friends-heading small{display:block;font-size:16px;font-weight:500;margin-top:5px}
.fosu-friend-names{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;text-align:center}
.fosu-friend-names>b{display:grid;place-items:center;padding:9px 3px;min-height:38px;border:1px solid #c1d9ce;border-radius:10px;background:#fffdf4;font-size:16px;line-height:1.3}
.fosu-portrait{display:inline-block;position:relative;overflow:hidden;flex:none;width:48px;height:48px;border-radius:50%;background:#f6dfb0;isolation:isolate}
.fosu-portrait>img{position:absolute!important;max-width:none!important;width:350%!important;height:auto!important;left:-145%;top:-240%;border:0!important;border-radius:0!important;object-fit:initial!important}
.fosu-tutor-invite>.fosu-portrait{width:70px;height:70px;border:3px solid #dcb66a}
.tutor-welcome-face>.fosu-portrait{width:100%;height:100%;aspect-ratio:1}
.action-picture>.fosu-portrait{width:100px;height:100px;position:absolute;right:18px;bottom:8px;box-shadow:0 5px 15px #103e3655}
.tutor-shortcut>.fosu-portrait{width:48px;height:48px}
@media(max-width:760px){.fosu-intro{grid-template-columns:1fr}.fosu-intro-art{height:auto;width:100%;order:1}.fosu-intro-art>img{height:auto;object-fit:contain}.fosu-friend-names>b{font-size:16px}.fosu-intro-copy{order:2}}

/* Playful name bubbles sit in front of each child, below their face. */
.fosu-intro-art{container-type:inline-size}
.fosu-friends{position:absolute;inset:0;padding:0;background:transparent;pointer-events:none}
.fosu-friends-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fosu-friend-names{display:block}
.fosu-friend-names>b{position:absolute;top:79%;left:13%;display:block;min-height:0;width:max-content;max-width:25%;padding:clamp(5px,1.25cqw,9px) clamp(8px,2cqw,16px);border:clamp(2px,.5cqw,4px) solid #fff;border-radius:48% 45% 43% 46% / 48% 53% 45% 48%;background:#8c3db0;color:#fff;font-family:'Comic Sans MS','Chalkboard SE','Trebuchet MS',sans-serif;font-size:clamp(16px,3.1cqw,22px);font-weight:900;line-height:1.05;letter-spacing:.2px;white-space:nowrap;transform:translateX(-50%) rotate(-7deg);text-shadow:0 2px 0 #0003;box-shadow:0 clamp(3px,.8cqw,6px) 0 #51235f,0 8px 15px #12342b33}
.fosu-friend-names>b:before{content:'';position:absolute;top:-7px;left:55%;width:12px;height:12px;background:inherit;border-top:3px solid #fff;border-left:3px solid #fff;transform:rotate(45deg);border-radius:3px}
.fosu-friend-names>b:nth-child(2){left:33%;top:83%;background:#006eaf;box-shadow:0 clamp(3px,.8cqw,6px) 0 #06466b,0 8px 15px #12342b33;transform:translateX(-50%) rotate(5deg)}
.fosu-friend-names>b:nth-child(3){left:71%;top:80%;background:#c02e64;box-shadow:0 clamp(3px,.8cqw,6px) 0 #79203f,0 8px 15px #12342b33;transform:translateX(-50%) rotate(-5deg)}
.fosu-friend-names>b:nth-child(4){left:90%;top:83%;background:#f8c64c;color:#49300a;text-shadow:0 1px 0 #fff8;box-shadow:0 clamp(3px,.8cqw,6px) 0 #9b6517,0 8px 15px #12342b33;transform:translateX(-50%) rotate(7deg)}
