:root{color-scheme:light;--paper:#fff9ee;--surface:#fffdf7;--teal:#167c70;--deep:#124e46;--muted:#71817d;--ink:#213e37;--line:#e9e9da;--mint:#d9efe3;--gold:#e3a036;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;-webkit-tap-highlight-color:transparent}
*{box-sizing:border-box}html{background:var(--paper);scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b78e4c;outline-offset:3px}svg{flex:none;width:22px;height:22px}button[hidden],[hidden]{display:none!important}button:disabled{opacity:.55;cursor:wait}.app-shell{max-width:840px;margin:0 auto;padding-bottom:calc(95px + var(--safe-bottom))}.app-header{display:flex;align-items:center;justify-content:space-between;min-height:78px;padding:calc(15px + var(--safe-top)) 22px 14px;gap:12px}.brand{display:flex;gap:10px;align-items:center}.brand>img{width:37px;height:37px}.brand>span{font-size:19px;line-height:1.3;font-weight:750;letter-spacing:.06em;color:var(--deep)}.brand small{display:block;font-size:10px;letter-spacing:.22em;color:#7d8a80;font-weight:500;margin-top:3px}.icon-button{width:44px;height:44px;min-width:44px;display:grid;place-items:center;border-radius:50%;background:#ffffff80;border:1px solid var(--line);color:var(--teal)}.icon-button:active{background:#d9efe3}.icon-button svg{width:22px;height:22px}main{padding:0 18px}.hero{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr .9fr;min-height:246px;padding:24px 0 18px 21px;border:1px solid #dce4d7;border-radius:22px;background:linear-gradient(120deg,#fff1d6,#eef5df 58%,#d9efe3);overflow:hidden}.hero-copy{position:relative;z-index:2}.eyebrow{font-size:10px;color:#687f70;letter-spacing:.07em;font-weight:650}.hero h1{margin:13px 0 9px;font-size:29px;line-height:1.35;letter-spacing:-.05em;color:var(--deep);font-weight:780}.hero h1 span{color:#eba92f}.hero-copy>p{font-size:11px;color:#61786d;margin:0 0 21px}.continue-button{display:flex;align-items:center;gap:12px;max-width:180px;border-radius:10px;background:var(--teal);color:#fff;padding:11px 13px;font-size:11px;font-weight:650;min-height:44px}.continue-button span{font-size:18px;font-weight:400;line-height:1}.hero-character{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;align-self:stretch}.hero-character>img{width:205px;max-width:132%;height:auto;position:relative;z-index:1;filter:drop-shadow(0 15px 12px #48695617);transform:translate(-4px,4px)}.orbit{border:1px solid #94b2a13d;border-radius:50%;position:absolute;width:245px;height:160px;top:20%;left:50%;transform:translate(-50%,-10%) rotate(-35deg)}.orbit-two{transform:translate(-50%,-10%) rotate(40deg);width:190px;height:200px}.formula{position:absolute;top:3px;right:20px;color:#8a9f8b;font:italic 13px Georgia,serif;transform:rotate(8deg)}.character-label{position:absolute;z-index:2;bottom:3px;left:50%;transform:translateX(-50%);font-size:9px;white-space:nowrap;color:#6f8070;letter-spacing:.04em}.resource-strip{display:flex;align-items:center;gap:9px;font-size:10px;margin:16px 2px 25px;white-space:nowrap;color:#78877c}.resource-strip b{color:var(--teal);font-size:15px;font-weight:750;margin-right:2px}.resource-strip>i{height:11px;border-left:1px solid #d3d9cd}.save-badge{margin-left:auto;font-size:9px}.save-badge>span{color:#87a78c;font-size:7px;padding-right:3px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 2px 15px}.section-heading h2{font-size:19px;margin:0;font-weight:750;letter-spacing:-.02em}.section-heading>span{color:#879086;font-size:11px;white-space:nowrap}.search-field{display:flex;align-items:center;gap:9px;min-height:48px;border:1px solid #dfe4da;border-radius:12px;background:var(--surface);padding:0 13px}.search-field>svg{color:#8a978a;width:19px;height:19px}.search-field>input{border:0;outline:none;min-width:0;background:none;flex:1;color:var(--ink);height:46px;font-size:12px}.search-field input::-webkit-search-cancel-button{-webkit-appearance:none}.search-field input::placeholder{color:#8b978e}.search-field:focus-within{border-color:#699482;box-shadow:0 0 0 2px #c4d9ca50}.search-field button{font-size:23px;width:30px;height:42px;color:#7c8d80}.filters{display:flex;align-items:center;gap:9px;margin:13px 0 0;justify-content:space-between}.stage-tabs{display:flex;gap:4px;padding:4px;border-radius:11px;background:#eaece3;flex-shrink:0}.stage-tabs button{border-radius:8px;padding:8px 11px;min-height:38px;font-size:12px;white-space:nowrap;color:#788477}.stage-tabs button[aria-pressed=true]{background:var(--surface);color:var(--teal);box-shadow:0 1px 3px #1e432811;font-weight:700}.stage-tabs button span{font-size:9px;margin-left:3px;opacity:.65}.module-picker{position:relative;min-width:0;flex:1;max-width:155px;height:44px;display:flex;align-items:center}.module-picker select{color:#71816f;appearance:none;-webkit-appearance:none;width:100%;min-width:0;border:0;background:transparent;padding:10px 19px 10px 3px;text-align:right;font-size:11px;text-overflow:ellipsis}.module-picker svg{pointer-events:none;position:absolute;right:1px;top:16px;width:12px;height:12px;color:#72836e}.results-status{font-size:10px;color:#8a968b;margin:11px 2px}.experiment-list{display:grid;gap:9px}.experiment-card{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;min-height:85px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding-right:8px;overflow:hidden}.experiment-open{min-width:0;display:flex;align-items:center;text-align:left;padding:15px 0 15px 12px;gap:12px;min-height:83px;width:100%}.experiment-open:active{background:#eff3eb}.experiment-symbol{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px;background:#edf1e7;color:#617c58}.experiment-symbol svg{width:25px;height:25px;stroke-width:1.5}.experiment-symbol.electric{background:#f2edda;color:#ad944f}.experiment-symbol.wave{background:#e5eef1;color:#698b9b}.experiment-symbol.thermal{background:#f2e9e3;color:#b48367}.experiment-copy{min-width:0}.experiment-copy h3{font-size:13px;font-weight:680;line-height:1.55;margin:0 0 3px;overflow-wrap:anywhere}.experiment-meta{display:block;color:#8a968a;font-size:9px;line-height:1.5}.favorite-button{width:42px;height:44px;display:grid;place-items:center;color:#b8bfb1;border-radius:50%}.favorite-button svg{width:19px;height:19px}.favorite-button[aria-pressed=true],#active-favorite[aria-pressed=true]{color:#bd9758}.favorite-button[aria-pressed=true] svg,#active-favorite[aria-pressed=true] svg{fill:#f2e7cf}.favorite-button:active{background:#f0efe6}.empty-state,.load-error{padding:32px 20px;text-align:center;border:1px dashed #d6dfd0;border-radius:15px;background:#f0f3e9}.empty-state>span{display:block;font-size:36px;color:#9cac8f}.empty-state h3,.load-error h3{font-size:16px;margin:8px 0}.empty-state p,.load-error p{font-size:12px;color:#7b8b79}.empty-state button,.load-error button{border:1px solid #bacdb7;border-radius:9px;background:#fffefa;color:var(--teal);min-height:44px;padding:10px 16px;margin-top:8px}.workshops{margin-top:30px}.workshops .section-heading h2{font-size:18px}.workshops .section-heading>span{font-size:10px}.workshop-list{display:grid;gap:10px}.workshop-card{background:#e8eee4;border:1px solid #dde6d6;border-radius:13px;display:grid;grid-template-columns:35px 1fr 20px;gap:12px;padding:17px 14px;align-items:center;text-align:left;width:100%;min-height:88px}.workshop-card>span:first-child{font:italic 22px Georgia,serif;color:#94a489}.workshop-copy h3{font-size:13px;color:#3b5f49;margin:0 0 4px}.workshop-copy p{margin:0;font-size:10px;color:#82917a}.workshop-card>span:last-child{font-size:20px;color:#839877}.home-footer{text-align:center;font-size:11px;letter-spacing:.12em;color:#91a088;margin:35px 0 15px}.home-footer span{display:block;font-size:8px;letter-spacing:.22em;margin-top:4px;color:#a1ab99}.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);max-width:840px;width:100%;display:grid;grid-template-columns:repeat(3,1fr);padding:9px 12px calc(8px + var(--safe-bottom));background:#fffefaf5;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:1px solid #e4e7dd;box-shadow:0 -5px 24px #56724208}.bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:51px;font-size:10px;color:#9aa48f;position:relative}.bottom-nav button>svg{width:21px;height:21px}.bottom-nav button[aria-current=page]{color:var(--teal);font-weight:700}.bottom-nav button[aria-current=page]:before{content:"";width:34px;height:3px;background:#648e77;border-radius:4px;position:absolute;top:-9px}.bottom-nav button:active{background:#f0f4e9;border-radius:10px}body[data-view=favorites] .library,body[data-view=recent] .library{padding-top:12px}.experiment-screen{position:fixed;z-index:40;inset:0;background:var(--paper);display:flex;flex-direction:column;padding-top:var(--safe-top);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);padding-bottom:var(--safe-bottom)}.experiment-header{display:flex;align-items:center;gap:8px;padding:7px 11px;min-height:62px;flex:none;border-bottom:1px solid #dfe5da;background:#fffdf7}.experiment-header .icon-button{background:transparent;border:none}.experiment-heading{min-width:0;flex:1}.experiment-heading h2{font-size:14px;line-height:1.4;margin:0;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.experiment-heading p{font-size:9px;color:#8b998b;margin:3px 0 0}.rotate-tip{background:#e9eedf;font-size:10px;padding:0 11px 0 16px;display:flex;align-items:center;justify-content:space-between;flex:none;color:#758469;min-height:36px;gap:8px}.rotate-tip button{width:36px;height:36px;font-size:22px;flex:none;color:#76866c}.frame-wrap{position:relative;flex:1;min-height:0;overflow:hidden;background:#f8f6ef}.frame-wrap iframe{width:100%;height:100%;display:block;border:0;background:#f8f6ef}.frame-loading{position:absolute;z-index:3;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--paper);color:#849276;font-size:12px;pointer-events:none}.spinner{width:30px;height:30px;border:2px solid #dae4d0;border-top-color:#167c70;border-radius:50%;animation:spin 1s linear infinite}.frame-error{position:absolute;z-index:4;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;padding:30px;background:var(--paper)}.frame-error h3{font-size:18px;color:var(--teal);margin-bottom:6px}.frame-error p{font-size:12px;max-width:300px;color:#809071}.frame-error button{padding:11px 18px;min-height:44px;background:var(--teal);border-radius:10px;color:#fff;margin-top:12px}.frame-error button:last-child{background:transparent;color:var(--teal);margin-top:5px}body.experiment-opened{overflow:hidden}.help-sheet{z-index:100;position:fixed;inset:auto 0 0;margin:0 auto;max-width:560px;width:100%;max-height:calc(92dvh - var(--safe-top));padding:10px 22px calc(22px + var(--safe-bottom));background:var(--surface);color:var(--ink);border:0;border-radius:24px 24px 0 0;box-shadow:0 -10px 80px #163b3322;overscroll-behavior:contain}.help-sheet::backdrop{background:#153f3b60;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.sheet-handle{width:34px;height:4px;border-radius:4px;background:#d7dfd1;margin:0 auto 10px}.help-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.help-sheet h2{font-size:20px;margin:0}.help-sheet header>.icon-button{border:0;background:#f0f3e9;font-size:24px}.sheet-intro{font-size:12px;color:#7b8b73;margin:4px 0 24px}.sheet-content section{border-top:1px solid var(--line);padding:17px 0 0;margin-top:17px}.sheet-content h3{font-size:14px;margin:0 0 8px}.sheet-content section p{font-size:12px;line-height:1.85;color:#7b8974;margin:0}.sheet-action{min-height:44px;color:#fff;background:var(--teal);font-size:12px;padding:10px 14px;border-radius:9px;margin-top:12px}.offline-status{margin-top:8px!important;color:#557959!important}.touch-note{display:flex;gap:11px}.touch-note>span{font-size:29px;color:#96a886}.touch-note>p{padding-top:7px}.toast{position:fixed;z-index:150;bottom:calc(92px + var(--safe-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 40px);width:max-content;padding:12px 18px;border-radius:12px;background:#173f3ceb;color:#fff;font-size:12px;box-shadow:0 4px 24px #16332922;pointer-events:none;text-align:center}.experiment-opened .toast{bottom:calc(28px + var(--safe-bottom))}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:600px){.app-header{padding-left:30px;padding-right:30px}main{padding:0 28px}.hero{min-height:275px;padding:30px 35px}.hero h1{font-size:37px}.hero-copy>p{font-size:13px}.eyebrow{font-size:11px}.continue-button{font-size:12px;max-width:230px}.hero-character>img{width:250px;max-width:100%;transform:none}.hero-character .formula{right:15%}.hero-character .character-label{font-size:10px;bottom:0}.resource-strip{font-size:12px;margin-top:20px}.resource-strip b{font-size:19px}.save-badge{font-size:11px}.experiment-list{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workshop-card{display:flex;flex-wrap:wrap;gap:6px;padding:17px}.workshop-copy{order:2;width:100%}.workshop-card>span:last-child{margin-left:auto}.workshop-copy h3{font-size:12px}.workshop-copy p{font-size:10px}.search-field input{font-size:14px}.module-picker{max-width:250px}.module-picker select{font-size:12px}.experiment-header{padding-left:20px;padding-right:20px}.experiment-heading h2{font-size:16px}}
@media(max-width:360px){main{padding:0 12px}.app-header{padding-left:17px;padding-right:17px}.hero{padding-left:17px;min-height:233px}.hero h1{font-size:26px}.hero-copy>p{font-size:10px}.hero-character>img{width:190px}.continue-button{font-size:10px;padding:10px}.character-label{font-size:8px}.save-badge{font-size:8px}.resource-strip{gap:7px}.stage-tabs button{padding:8px 9px}.stage-tabs button span{display:none}.experiment-header{gap:2px;padding-left:4px;padding-right:4px}.experiment-heading h2{font-size:12px}}
@media(orientation:landscape) and (max-height:600px){.experiment-header{min-height:46px;padding:2px 8px}.experiment-heading p{display:none}.experiment-header .icon-button{height:40px;min-width:40px;width:40px}.rotate-tip{display:none}.help-sheet{max-height:94dvh}.hero{min-height:220px}.hero-character>img{width:200px}.app-header{padding-top:10px}}
.export-button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;width:55px;min-width:55px;min-height:44px;padding:3px 0;border-radius:9px;background:#fff0d3;color:#a76e16;font-size:9px;white-space:nowrap}.export-button svg{width:19px;height:19px}.export-button:active{background:#ffe1a8}.export-status{flex:none;margin:0;padding:8px 14px;background:#fff0d7;border-bottom:1px solid #efdfbc;color:#977133;font-size:11px;line-height:1.6;max-height:90px;overflow:auto}.experiment-header{gap:3px;padding-left:6px;padding-right:6px}.experiment-header .icon-button{width:40px;min-width:40px;height:44px}.experiment-header #active-favorite{width:36px;min-width:36px}.hero h1 span{color:#efad37}.bottom-nav button[aria-current=page]:before{background:#efa92b}.favorite-button[aria-pressed=true],#active-favorite[aria-pressed=true]{color:#e8a126}.favorite-button[aria-pressed=true] svg,#active-favorite[aria-pressed=true] svg{fill:#ffedbf}
/* Keep iOS from zooming the entire application when the search field receives focus. */
.search-field>input{font-size:16px}.search-field input::placeholder{font-size:12px}
.character-label{background:#f8fbf1d9;border-radius:8px;padding:3px 7px;color:#66816c}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.spinner{animation-duration:2s}}

/* The enhanced edition keeps Dongli's palette and character on larger screens. */
.app-shell{max-width:1320px}.header-actions{display:flex;align-items:center;gap:10px}.edition-tag{border:1px solid #e9dcbf;background:#fff1d8;color:#a47938;border-radius:20px;padding:5px 9px;white-space:nowrap;font-size:10px;font-weight:600}.workspace-shortcut{border:1px solid #dce5d5;background:#f7faef;border-radius:10px;min-height:42px;padding:8px 13px;color:#5f7c64;font-size:11px}.hero{grid-template-columns:1.2fr .8fr}.hero h1{font-size:28px;letter-spacing:-.045em}.hero-copy>p{line-height:1.8;font-size:11px}.hero-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.hero-actions .continue-button{white-space:nowrap}.discover-button{color:var(--teal);padding:8px 0;font-size:11px;min-height:40px;white-space:nowrap}.discover-button span{margin-left:6px}.desktop-break{display:none}.new-discover{margin:0 0 28px}.new-discover .section-heading{margin-bottom:13px}.section-kicker{display:block;font-size:8px;letter-spacing:.18em;color:#bd985d;margin-bottom:5px}.new-discover .section-heading h2{font-size:18px}.text-action{color:#6d8a70;font-size:10px;white-space:nowrap;padding:8px 0}.new-groups{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:12px;overflow-x:auto;padding:0 0 6px;overscroll-behavior-x:contain;scrollbar-width:thin}.new-group-card{display:grid;grid-template-columns:40px minmax(0,1fr) 15px;align-items:center;gap:12px;text-align:left;padding:18px 15px;min-height:122px;border:1px solid #dbe8d8;border-radius:16px;background:linear-gradient(125deg,#eff5e7,#e5f1e7);transition:border-color .15s,transform .15s}.new-group-card:hover{border-color:#a8c7b0;transform:translateY(-2px)}.new-group-card:nth-child(2){background:linear-gradient(125deg,#fbf1df,#f2ecd8);border-color:#e8dec5}.new-group-card:nth-child(3){background:linear-gradient(125deg,#edf3ef,#e4f0f0);border-color:#d8e5df}.group-symbol{width:40px;height:46px;display:grid;place-items:center;color:#558a73}.group-symbol svg{width:33px;height:33px;stroke-width:1.35}.new-group-card:nth-child(2) .group-symbol{color:#b18e4c}.new-group-card:nth-child(3) .group-symbol{color:#658e8b}.group-count{font-size:9px;color:#8d9e87}.group-copy{min-width:0}.group-copy h3{font-size:14px;color:#3c6751;margin:4px 0 6px;font-weight:700}.group-copy p{font-size:10px;line-height:1.7;color:#83937e;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.group-arrow{font-size:20px;color:#94ad8a}.scope-tabs{display:flex;align-items:center;gap:7px;margin:16px 0 11px}.scope-tabs button{padding:7px 12px;border-radius:20px;border:1px solid #e3e8dc;background:#fffdf8;color:#82907c;font-size:11px;min-height:35px}.scope-tabs button[aria-pressed=true]{background:#e2eee2;border-color:#bdd5bf;color:#447657;font-weight:650}.scope-tabs button span{font-size:9px;margin-left:4px;opacity:.8}.scope-tabs>span{font-size:10px;color:#96a18d;margin-left:auto}.card-heading{display:flex;align-items:flex-start;gap:8px}.card-heading h3{flex:1;min-width:0}.new-badge{color:#b68535;background:#fff0cd;border:1px solid #eeddb5;border-radius:5px;padding:1px 5px;font-size:8px;white-space:nowrap;line-height:1.6;margin-top:2px;flex:none}.experiment-card{transition:border-color .15s,box-shadow .15s}.experiment-card:hover{border-color:#b8cdb4;box-shadow:0 5px 14px #31563405}.experiment-card.is-new{border-color:#d5e3cf;background:linear-gradient(120deg,#fffef9,#f5f9ef)}.experiment-card.is-new .experiment-symbol{background:#e4eedb;color:#668a56}.experiment-card.is-new .experiment-symbol.electric{background:#f3ebd3;color:#ad9149}.experiment-card.is-new .experiment-symbol.thermal{background:#f5e9db;color:#b38c64}.experiment-description{font-size:10px;line-height:1.75;color:#8c9984;margin:7px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.experiment-card.is-new .experiment-open{min-height:112px}.experiment-card.is-new .favorite-button{align-self:start;margin-top:11px}.session-note{margin:0;padding:7px 14px;background:#f5f2e4;border-bottom:1px solid #e9e2cc;color:#8f835c;font-size:10px;line-height:1.6;flex:none}.library{scroll-margin-top:24px}.home-footer{margin-bottom:25px}.bottom-nav{max-width:840px}
@media(max-width:599px){.workspace-shortcut{display:none}.app-header{padding-left:18px;padding-right:18px}.brand>span{font-size:17px;letter-spacing:.04em}.brand small{font-size:8px;letter-spacing:.1em}.header-actions{gap:7px}.edition-tag{font-size:9px;padding:5px 8px}.header-actions>.icon-button{width:36px;height:36px;min-width:36px}.hero{min-height:268px;padding-top:23px}.hero h1{font-size:27px;margin:12px 0 10px}.hero-character>img{max-width:148%;width:205px;transform:translate(-7px,4px)}.hero-actions{gap:2px 12px}.hero-copy>p{font-size:10px}.hero-copy>p br{display:none}.discover-button{font-size:10px;padding:4px 0;min-height:32px}.hero-actions .continue-button{padding:10px 11px;font-size:10px;min-height:42px}.hero-character .character-label{bottom:0;font-size:8px}.new-groups{grid-template-columns:repeat(3,255px);gap:10px}.new-group-card{min-height:113px;padding:15px 12px;gap:9px}.new-discover .section-heading h2{font-size:17px}.text-action{font-size:9px}.scope-tabs>span{display:none}.new-discover{margin-bottom:24px}.resource-strip{margin-bottom:22px}.new-badge{font-size:8px}.experiment-card.is-new .experiment-open{padding:14px 0 14px 12px}.experiment-description{-webkit-line-clamp:2;font-size:10px}.session-note{font-size:9px;padding:5px 12px}}
@media(min-width:600px){.app-header{min-height:86px}.hero{grid-template-columns:1.3fr .7fr;min-height:286px;padding:31px 34px}.hero h1{font-size:37px;line-height:1.3}.hero-copy>p{font-size:12px;line-height:1.8;margin-bottom:20px}.hero-character>img{width:265px}.hero-actions{gap:21px}.discover-button{font-size:12px}.new-group-card{grid-template-columns:35px minmax(0,1fr) 13px;gap:10px;padding:17px 13px}.new-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.group-symbol{width:35px}.group-symbol svg{width:29px}.group-copy h3{font-size:13px}.group-copy p{font-size:9px}.experiment-card{min-height:101px}.experiment-open{padding:17px 0 17px 15px;min-height:99px}.experiment-copy h3{font-size:14px}.experiment-meta{font-size:10px}.experiment-symbol{width:45px;height:45px}.experiment-card.is-new .experiment-open{min-height:136px}.experiment-description{font-size:10px}.new-discover .section-heading h2{font-size:21px}.scope-tabs button{font-size:12px;padding:7px 15px}.filters{margin-top:16px}.stage-tabs button{padding:9px 17px}.results-status{font-size:11px;margin:13px 2px}.section-heading{margin-bottom:18px}}
@media(min-width:1050px){.app-shell{padding-bottom:105px}.app-header{padding:24px 36px;min-height:96px}.brand>img{width:45px;height:45px}.brand>span{font-size:23px}.brand small{font-size:10px}.header-actions{gap:14px}.edition-tag{padding:6px 12px;font-size:11px}main{padding:0 36px}.hero{padding:42px 52px;min-height:320px;border-radius:26px;grid-template-columns:1.3fr .7fr}.hero h1{font-size:44px;line-height:1.3;margin:15px 0}.hero-copy>p{font-size:13px;margin-bottom:22px}.eyebrow{font-size:12px;letter-spacing:.12em}.desktop-break{display:block}.hero-character>img{width:295px}.hero-character .formula{top:10px;right:12%;font-size:17px}.hero-character .character-label{bottom:0;font-size:11px}.hero-character .orbit-one{width:345px;height:225px;top:19%}.hero-character .orbit-two{width:235px;height:275px;top:18%}.continue-button{padding:13px 18px;border-radius:12px;font-size:13px;min-height:46px}.resource-strip{padding:0 3px;margin:22px 0 32px;gap:15px;font-size:12px}.resource-strip b{font-size:21px}.new-discover{margin-bottom:35px}.new-discover .section-heading{margin-bottom:16px}.section-kicker{font-size:9px;margin-bottom:7px}.text-action{font-size:12px}.new-group-card{grid-template-columns:48px minmax(0,1fr) 18px;gap:14px;min-height:131px;padding:22px 19px;border-radius:18px}.group-symbol{width:48px}.group-symbol svg{width:37px;height:37px}.group-count{font-size:10px}.group-copy h3{font-size:16px;margin:5px 0 7px}.group-copy p{font-size:11px}.group-arrow{font-size:24px}.section-heading h2{font-size:24px}.section-heading>span{font-size:12px}.experiment-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.experiment-card{border-radius:16px}.experiment-open{padding:19px 0 19px 16px;gap:13px}.experiment-symbol{width:47px;height:47px;border-radius:14px}.experiment-symbol svg{width:27px;height:27px}.experiment-copy h3{font-size:14px}.experiment-meta{font-size:10px}.experiment-description{font-size:10px}.experiment-card.is-new .experiment-open{min-height:150px}.search-field{min-height:52px;padding:0 16px;border-radius:13px}.search-field>input{height:50px}.search-field input::placeholder{font-size:13px}.filters{margin:18px 0 0}.stage-tabs button{font-size:13px;padding:9px 20px}.module-picker{max-width:280px}.scope-tabs{margin:17px 0 12px}.scope-tabs>span{font-size:11px}.bottom-nav{max-width:560px;width:calc(100% - 36px);bottom:15px;border:1px solid #e0e7d8;border-radius:19px;padding:9px 15px;box-shadow:0 8px 30px #3d654719}.bottom-nav button{flex-direction:row;gap:9px;font-size:12px;min-height:42px}.bottom-nav button[aria-current=page]:before{top:auto;bottom:-10px}.workshops{margin-top:38px}.workshop-card{padding:22px}.workshop-copy h3{font-size:15px}.workshop-copy p{font-size:11px}.workshop-card>span:first-child{font-size:27px}.home-footer{font-size:12px;margin:40px 0 12px}.experiment-header{padding:8px 24px;min-height:67px;gap:10px}.experiment-heading h2{font-size:18px}.experiment-heading p{font-size:10px}.experiment-header .export-button{width:auto;flex-direction:row;gap:8px;padding:10px 14px;font-size:12px;min-width:120px}.session-note{padding-left:31px;font-size:11px}}
@media(max-width:360px){.app-header{padding-left:13px;padding-right:13px}.brand>img{width:31px;height:31px}.brand>span{font-size:15px}.brand{gap:7px}.edition-tag{font-size:8px;padding:4px 7px}.header-actions{gap:5px}.hero h1{font-size:24px}.hero-copy>p{font-size:9px}.hero-character>img{width:180px;max-width:146%}.new-discover .section-heading h2{font-size:15px}.text-action{font-size:8px}.scope-tabs button{font-size:10px}.group-copy h3{font-size:14px}}
@media(max-width:599px){.hero-character>img{width:174px;max-width:123%;transform:translate(-3px,6px)}.hero-copy>p{max-width:165px}}

/* Modes belong to one experiment theme; their controls remain separate from the frame. */
.experiment-variants{display:flex;align-items:center;gap:7px;flex:none;flex-wrap:wrap;padding:7px 14px;background:#f6f9ef;border-bottom:1px solid #dfe7d5}.experiment-variant{min-height:44px;padding:8px 16px;border:1px solid #cbdac9;border-radius:9px;background:#fffdf7;color:#607960;font-size:12px}.experiment-variant[aria-pressed="true"]{background:var(--teal);border-color:var(--teal);color:white;font-weight:650}.experiment-variant:active{transform:translateY(1px)}@media(max-width:599px){.experiment-variants{padding:5px 10px;gap:6px}.experiment-variant{flex:1;min-width:0;padding:7px 9px;font-size:11px;line-height:1.4}}@media(orientation:landscape) and (max-height:600px){.experiment-variants{padding-top:3px;padding-bottom:3px}.experiment-variant{min-height:36px;padding:5px 12px}}

/* Shuxia Classroom: navigation and presentation only. Experiment runtimes stay intact. */
:root{--paper:#faf9f5;--surface:#fffefa;--teal:#287e72;--deep:#173f3c;--muted:#748381;--ink:#274440;--line:#dfe6e1;--mint:#e5f0ea;--gold:#ed9b40}
body{background:var(--paper)}.desktop-sidebar,.page-title{display:none}.app-header{flex-wrap:wrap;gap:12px;min-height:0;padding:16px 18px 12px}.app-header>.brand{order:0}.app-header .header-actions{order:1;margin-left:auto;gap:7px}.app-header>.search-field{order:2;width:100%;background:#fffefb;border-color:#d7e0da;border-radius:12px}.app-header .edition-tag{display:none}.brand>img{object-fit:contain;object-position:center;filter:drop-shadow(0 2px 3px #204b3310)}.brand>span{letter-spacing:.01em}.brand small{letter-spacing:.06em}.workspace-shortcut{font-size:10px;padding:7px 10px}.explore-toolbar{margin:0 0 14px}.explore-toolbar .filters{margin:0;gap:8px}.explore-toolbar .stage-tabs{background:#edf0ea}.explore-toolbar .stage-tabs button{min-height:36px}.explore-toolbar .module-picker{background:#fffefb;border:1px solid var(--line);border-radius:10px;padding:0 8px;max-width:260px}.explore-toolbar .module-picker select{text-align:left;padding-left:4px;padding-right:19px}.explore-toolbar .module-picker svg{right:10px}.explore-toolbar .scope-tabs{margin:10px 0 0}.scope-tabs>span{display:none}.hero{min-height:206px;padding:22px 16px 20px 20px;grid-template-columns:1.2fr .8fr;border-radius:17px;border:1px solid #e6e7dc;background:radial-gradient(ellipse at 80% 30%,#edf1e4 0,transparent 55%),linear-gradient(105deg,#fbecd6,#f9f8ee 60%,#e8efe7)}.hero h1{font-size:25px;line-height:1.35;margin:10px 0 9px;letter-spacing:0;max-width:290px}.hero-copy>p{font-size:12px;max-width:none;margin-bottom:16px}.eyebrow{font-size:8px;letter-spacing:.08em;color:#718275}.hero-actions{gap:8px}.continue-button{font-size:12px;border-radius:30px;padding:10px 16px}.discover-button{font-size:10px;padding:3px 0}.hero-character>img{height:200px;width:180px;max-width:130%;object-fit:contain;transform:none;align-self:center}.hero-character .character-label{font-size:9px;bottom:0;background:#ffffffb8;border:1px solid #e4e9de}.hero-spark{position:absolute;color:#df9b4e;font-size:25px}.hero-spark-one{top:12px;right:10px}.hero-spark-two{bottom:32px;left:0;font-size:19px;color:#779d84}.resource-strip{margin:14px 2px 20px;gap:10px}.resource-strip b{font-size:18px}.resource-strip .save-badge{font-size:9px}.resume-strip{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;background:#fffefb;padding:10px 14px;margin:12px 0 0;min-height:60px}.resume-label{font-weight:650;font-size:12px;white-space:nowrap}.resume-strip strong{font-weight:500;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.local-badge{font-size:9px;background:#e6eeea;border-radius:5px;color:#607871;padding:2px 5px;white-space:nowrap}.resume-strip button{margin-left:auto;color:var(--teal);white-space:nowrap;min-height:36px;font-size:11px}.resume-strip button span{margin-left:4px}.experiment-card{background:#fffefa;border-radius:13px;border-color:#dfe6df;position:relative}.experiment-card.is-new{background:linear-gradient(125deg,#fffdf8,#f0f5ed);border-color:#dbe5d8}.experiment-open{min-height:100px;padding:16px 0 16px 14px}.experiment-card.is-new .experiment-open{min-height:118px}.experiment-copy h3{font-size:14px;color:var(--deep)}.experiment-meta{color:#788a80}.experiment-symbol{background:#e7eee2}.experiment-symbol.electric{background:#fff0d8;color:#ba8745}.experiment-symbol.wave{background:#e5eeef;color:#4d8d96}.experiment-symbol.thermal{background:#f7e8d8;color:#b68560}.favorite-button{color:#7f978c}.card-arrow{display:block;font-size:20px;color:var(--teal);margin-top:10px;line-height:1}.new-discover{margin-top:30px;margin-bottom:0}.new-discover .section-heading h2{font-size:18px}.section-heading h2{font-size:20px}.workshops{margin-top:28px}.workshop-card{background:#eef2e9}.home-footer{margin:28px 0 12px;color:#839185}.bottom-nav{background:#fffefaef}.character-options{display:flex;gap:5px;padding:4px;background:#edf1ea;border-radius:10px}.character-options button{min-height:36px;flex:1;font-size:12px;padding:7px 10px;border-radius:7px;color:#60766e}.character-options button[aria-pressed=true]{background:white;color:var(--teal);box-shadow:0 1px 4px #204a2810;font-weight:650}.help-character .character-options{margin-top:12px}.help-sheet{background:#fffef9}.experiment-header{background:#fffefa;border-color:#dce4de}.experiment-variants{background:#eff3eb}.session-note{background:#f6f0e2;color:#8a7853}.export-button{background:#fff2d8;color:#9c6927}.fullscreen-button{display:none!important}.frame-wrap,.frame-wrap iframe{background:#f8f8f1}.experiment-heading p{color:#7a8b80}.frame-loading{gap:3px}.frame-loading::before{content:"";display:block;width:92px;height:110px;background:var(--shuxia-art,url('/branding/shuxia-boy.png')) center/contain no-repeat;margin-bottom:12px}.frame-loading p{color:#5f7c68}.experiment-header .icon-button{border-radius:10px}.experiment-header .icon-button:hover,.export-button:hover{background:#e9f1e8}
@media(min-width:600px){.app-header{padding:20px 28px 14px}.hero{min-height:225px;padding:26px 30px;grid-template-columns:1.35fr .65fr}.hero h1{font-size:32px;max-width:none}.hero-character>img{height:218px;width:210px;max-width:100%}.hero-copy>p{font-size:14px}.hero-actions{gap:16px}.eyebrow{font-size:9px}.hero-character .character-label{bottom:-8px;font-size:10px}.continue-button{font-size:13px}.discover-button{font-size:12px}.resource-strip{font-size:12px}.resource-strip .save-badge{font-size:10px}.resume-strip{padding:10px 20px}.resume-label{font-size:14px;padding-right:16px;border-right:1px solid var(--line)}.resume-strip strong{font-size:13px}.resume-strip button{font-size:12px}.fullscreen-button{display:grid!important}.experiment-header{min-height:65px;padding:8px 16px;gap:8px}.experiment-heading h2{font-size:18px}.experiment-header .export-button{width:auto;flex-direction:row;gap:7px;min-width:115px;padding:9px 13px;font-size:12px}.experiment-header #active-favorite{width:42px;min-width:42px}}
@media(min-width:1050px){
  .app-shell{max-width:none;margin:0 0 0 226px;padding-bottom:30px}.desktop-sidebar{display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:226px;padding:24px 16px 18px;background:#fbfbf7;border-right:1px solid #e3e8e1;z-index:25}.sidebar-brand{gap:9px;padding:0 7px 26px}.sidebar-brand>img{width:51px;height:64px}.sidebar-brand>span{font-size:24px;letter-spacing:.01em;white-space:nowrap}.sidebar-brand small{font-size:10px;letter-spacing:.07em;margin-top:5px}.sidebar-nav{display:flex;flex-direction:column;gap:8px}.sidebar-nav button,.sidebar-help{display:flex;align-items:center;gap:17px;min-height:54px;width:100%;text-align:left;padding:12px 18px;border-radius:12px;font-size:14px;color:#49665e}.sidebar-nav button svg,.sidebar-help svg{width:23px;height:23px}.sidebar-nav button[aria-current=page]{background:#e6efe7;color:var(--deep);font-weight:700}.sidebar-nav button:hover,.sidebar-help:hover{background:#edf3e9}.sidebar-bottom{margin-top:auto;padding-top:26px}.sidebar-help{min-height:48px;font-size:13px}.character-switch{margin-top:14px;padding:14px 9px 0;border-top:1px solid #e2e9df}.character-switch-title{display:flex;align-items:center;gap:12px;margin-bottom:10px}.character-switch-title img{object-fit:contain;width:38px;height:48px}.character-switch-title>span{font-size:15px;color:var(--deep);font-weight:650}.character-switch-title small{display:block;font-size:10px;margin-top:2px;color:#83948b;font-weight:400}.character-options button{font-size:11px;min-height:32px}.app-header{flex-wrap:nowrap;padding:22px 30px 12px;gap:24px;min-height:88px;max-width:1760px;margin:0 auto}.app-header>.brand{display:none}.page-title{display:block;font-size:27px;color:var(--deep);font-weight:750;letter-spacing:.02em;margin:0;white-space:nowrap;min-width:132px}.app-header>.search-field{order:0;flex:1;width:auto;min-width:200px;min-height:48px;background:#f8f9f5}.app-header>.search-field input{height:46px}.app-header .header-actions{order:0;flex:none;margin:0}.app-header .workspace-shortcut{display:none}.app-header .header-actions>.icon-button{border-radius:12px}.header-actions button{white-space:nowrap}.app-shell>main{padding:0 30px;max-width:1760px;margin:0 auto}.explore-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.explore-toolbar .filters{flex:1;justify-content:flex-start;gap:13px}.explore-toolbar .stage-tabs{padding:3px;border:1px solid #e1e6dc;background:#f5f6f1}.stage-tabs button{font-size:12px;padding:7px 13px;min-height:33px}.stage-tabs button[aria-pressed=true]{background:var(--teal);color:#fff;box-shadow:none}.stage-tabs button span{font-size:9px}.explore-toolbar .module-picker{height:40px;flex:1;max-width:280px;background:transparent}.module-picker select{font-size:12px}.explore-toolbar .scope-tabs{margin:0;gap:6px}.scope-tabs button{min-height:34px;font-size:11px;padding:6px 10px}.hero{min-height:230px;max-height:255px;padding:28px 38px;grid-template-columns:1.5fr .65fr;border-radius:17px}.hero h1{font-size:35px;line-height:1.35;margin:9px 0 10px;white-space:normal}.hero-copy>p{font-size:15px;margin-bottom:17px;line-height:1.7}.eyebrow{font-size:9px;letter-spacing:.12em}.hero-character>img{height:228px;width:224px;max-width:100%;margin-top:-15px;margin-bottom:-20px;object-fit:contain}.hero-character .character-label{bottom:-7px;font-size:10px}.hero-spark-one{right:12%;top:8px;font-size:28px}.hero-spark-two{left:4%;bottom:25px}.continue-button{font-size:13px;min-height:42px;padding:10px 20px}.hero-actions{gap:20px}.resource-strip{margin:14px 2px 21px;font-size:11px;padding:0;gap:13px}.resource-strip b{font-size:19px}.resource-strip .save-badge{font-size:10px}.resume-strip{margin-top:12px;min-height:58px}.section-heading{margin-bottom:14px}.section-heading h2{font-size:23px}.section-heading>span{font-size:11px}.results-status{margin:0 2px 12px;font-size:10px}.experiment-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.experiment-card{border-radius:14px;align-items:stretch;grid-template-columns:minmax(0,1fr);padding:0;min-height:154px}.experiment-open,.experiment-card.is-new .experiment-open{min-height:154px;align-items:flex-start;gap:18px;padding:22px 35px 18px 19px;position:relative;flex-direction:row-reverse;justify-content:space-between}.experiment-symbol{width:65px;height:65px;border-radius:20px;align-self:flex-end;flex:none;margin-top:12px}.experiment-symbol svg{width:42px;height:42px;stroke-width:1.25}.experiment-copy{align-self:stretch;display:flex;flex-direction:column;flex:1;min-width:0}.card-heading{flex-direction:column;gap:5px}.card-heading h3{font-size:16px;line-height:1.45;margin:0}.new-badge{font-size:8px;align-self:flex-start;margin:0}.experiment-meta{font-size:9px;margin-top:7px}.experiment-description{font-size:10px;line-height:1.65;margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-arrow{margin-top:auto;padding-top:12px;font-size:22px}.experiment-card>.favorite-button{position:absolute;right:5px;top:8px;width:30px;height:32px;border-radius:8px;z-index:2}.favorite-button svg{width:18px;height:18px}.experiment-card:hover{border-color:#aac4b4;box-shadow:0 4px 14px #31563408}.workshops{margin-top:30px}.workshop-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.workshop-card{border-radius:14px;padding:18px;min-height:118px}.workshop-copy h3{font-size:15px}.workshop-copy p{font-size:11px}.new-discover{margin-top:30px}.new-groups{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.new-group-card{min-height:108px;padding:16px;border-radius:13px;gap:10px;grid-template-columns:30px minmax(0,1fr) 13px}.group-symbol{width:30px}.group-symbol svg{width:28px;height:28px}.group-copy h3{font-size:14px}.group-copy p{font-size:10px}.bottom-nav{display:none}.home-footer{font-size:11px;margin:30px 0 10px}.toast{bottom:25px}.experiment-header{padding:10px 24px;gap:12px;min-height:72px}.experiment-heading h2{font-size:21px}.experiment-heading p{font-size:11px}.experiment-header .icon-button{border:1px solid var(--line);background:#fffefa}.experiment-header .back-button{border:0}.experiment-variants{padding:7px 24px}.frame-wrap{margin:10px 14px 14px;border:1px solid #e0e5de;border-radius:13px;overflow:hidden}.session-note{padding:6px 24px;font-size:11px}
}
@media(min-width:1600px){.desktop-sidebar{width:248px;padding-left:20px;padding-right:20px}.app-shell{margin-left:248px}.app-header{padding-left:38px;padding-right:38px}.app-shell>main{padding-left:38px;padding-right:38px}.hero{grid-template-columns:1.5fr .7fr}.hero h1{font-size:40px}.experiment-copy h3{font-size:17px}.experiment-symbol{width:82px;height:82px}.experiment-symbol svg{width:48px;height:48px}.experiment-open,.experiment-card.is-new .experiment-open{min-height:170px}}
@media(max-width:599px){.app-header .workspace-shortcut{max-width:100px;line-height:1.4}.brand>span{font-size:18px}.brand>img{height:41px;width:31px}.brand small{font-size:8px}.header-actions .icon-button{width:36px;min-width:36px;height:38px}.resume-strip{gap:8px;flex-wrap:wrap}.resume-label{font-size:11px}.resume-strip strong{flex:1;min-width:100px}.resume-strip .local-badge{display:none}.resume-strip button{font-size:10px;min-height:28px}.hero{grid-template-columns:1.2fr .8fr;padding:20px 13px 18px 18px}.hero h1{font-size:24px;max-width:190px}.hero-copy>p{font-size:11px;white-space:nowrap}.hero-character>img{width:155px;height:185px;max-width:145%;transform:none}.hero-character .character-label{font-size:8px;bottom:-1px}.hero-actions{gap:2px;align-items:flex-start;flex-direction:column}.continue-button{font-size:11px;min-height:40px;padding:9px 13px}.discover-button{min-height:28px;font-size:9px}.resource-strip{gap:7px;font-size:10px}.resource-strip b{font-size:16px}.resource-strip .save-badge{font-size:8px}.explore-toolbar .scope-tabs button{min-height:32px;font-size:10px}.module-picker select{font-size:10px}.experiment-header{gap:2px}.experiment-header #active-favorite{min-width:32px;width:32px}.experiment-heading h2{font-size:14px}.experiment-heading p{font-size:9px}.export-button{min-width:51px;width:51px}.experiment-header .icon-button{min-width:33px;width:33px}.new-discover .section-heading h2{font-size:17px}.card-arrow{display:none}.character-options button{min-height:40px}}
@media(max-width:360px){.app-header{padding-left:12px;padding-right:12px}.app-header .workspace-shortcut{font-size:9px;padding:6px}.brand>span{font-size:16px}.brand{gap:6px}.header-actions{gap:4px}.hero h1{font-size:21px}.hero-copy>p{font-size:10px}.hero-character>img{height:168px;width:135px}.hero{padding-left:15px;min-height:200px}.hero .eyebrow{font-size:7px}.stage-tabs button{padding:7px}.resource-strip .save-badge{font-size:7px}}
@media(orientation:landscape) and (max-height:600px){.experiment-header{min-height:45px;padding:2px 8px}.experiment-heading h2{font-size:15px}.experiment-header .icon-button{height:38px}.frame-wrap{margin:0;border:0;border-radius:0}}

.fullscreen-button[hidden]{display:none!important}
