
:root{--bg:#eef6f6;--ink:#18343c;--line:#d9ebe9;--mint:#dff5ef;--teal:#1a968d;--soft:#fffdf8;--gold:#f0bf77;--shadow:0 16px 36px rgba(42,90,97,.12)}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Microsoft JhengHei",sans-serif;background:linear-gradient(180deg,#eff7f7,#f9fdfa 32%,#f7fbfb);color:var(--ink)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ambient{position:fixed;border-radius:999px;filter:blur(55px);opacity:.4;z-index:-1}.sky-a{width:360px;height:360px;background:#d8f7ee;left:-120px;top:-90px}.sky-b{width:420px;height:420px;background:#fce4c4;right:-130px;top:150px}
.topbar{max-width:1500px;margin:0 auto;padding:16px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:12px;font-size:18px;font-weight:900}.brand-icon{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#baf0df,#d7f5ee)}.brand small{display:block;color:#6f8d93;font-size:11px;font-weight:700}.top-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.group-select{display:flex;gap:8px;align-items:center;background:white;border:1px solid var(--line);border-radius:999px;padding:8px 12px;box-shadow:0 8px 20px rgba(69,113,116,.08)}.group-select span{font-size:12px;font-weight:800;color:#6b8b93}.group-select select{border:0;background:transparent;font-size:14px;font-weight:900;color:var(--ink)}.status{display:inline-flex;align-items:center;gap:8px;background:#fff8e8;border:1px solid #ecdcb8;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;color:#876c31}.status.live{background:#e9f8ef;border-color:#c6ead6;color:#1c7c63}.status .dot{width:9px;height:9px;border-radius:50%;background:#d39b25}.status.live .dot{background:#1d9f72}
.layout{max-width:1500px;margin:0 auto;padding:0 24px 24px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:18px}.left-col,.right-col{min-width:0}
.hero{background:linear-gradient(118deg,#ffffff,#f4fcfb);border:1px solid var(--line);border-radius:28px;min-height:275px;display:flex;justify-content:space-between;position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;opacity:.35}.hero:before{width:300px;height:300px;background:#e4fbf2;right:-90px;top:-80px}.hero:after{width:220px;height:220px;background:#fff2cf;right:120px;bottom:-110px}.hero-copy{padding:30px 30px 26px;position:relative;z-index:1;max-width:66%}.eyebrow{color:#14a08d;font-size:12px;font-weight:900;letter-spacing:2px}.hero h1{font-size:42px;line-height:1.15;margin:12px 0 10px;font-weight:950}.hero h1 span{display:block;color:#15857f}.hero p{margin:0;color:#667f85;font-size:15px;line-height:1.8}.hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.hero-meta span{background:#eff9f7;color:#367b84;border:1px solid #d1ebe5;padding:6px 11px;border-radius:999px;font-size:12px;font-weight:800}
.mascot-wrap{position:relative;width:220px;flex:none;display:grid;place-items:center;padding:15px 18px 18px 0;z-index:1}.orbit{position:absolute;border-radius:50%;border:2px dashed #dceee8}.orbit-one{width:185px;height:185px}.orbit-two{width:210px;height:210px;transform:rotate(18deg)}.newspaper{width:118px;height:152px;background:linear-gradient(180deg,#ffffff,#f2f6fb);border:4px solid #2b5a61;border-radius:18px;position:relative;transform:rotate(-3deg);box-shadow:0 14px 24px rgba(67,112,118,.18);animation:floaty 3s ease-in-out infinite}.newspaper.talking .smile{width:34px;height:16px;border-radius:0 0 18px 18px}.newspaper.talking .eye{height:16px}.news-top{display:flex;gap:4px;padding:11px 10px 6px}.news-top i{display:block;height:5px;flex:1;background:#6fc5bb;border-radius:5px}.news-title{font-size:11px;font-weight:900;text-align:center;color:#52757f}.news-rule{height:3px;background:#d5e7e9;border-radius:6px;margin:7px 12px}.news-mid{display:flex;gap:7px;align-items:center;padding:0 12px 8px}.news-photo{width:28px;height:28px;border-radius:8px;background:#dff3ff;display:grid;place-items:center;font-size:14px}.news-lines{flex:1;display:grid;gap:5px}.news-lines b{display:block;height:4px;background:#dce6ea;border-radius:999px}.news-face{position:absolute;left:0;right:0;bottom:24px;height:46px}.eye{position:absolute;top:6px;width:12px;height:14px;background:#20363f;border-radius:50%}.eye.left{left:34px}.eye.right{right:34px}.cheek{position:absolute;top:18px;width:12px;height:8px;background:#ffc7c9;border-radius:999px;opacity:.75}.cheek.left{left:22px}.cheek.right{right:22px}.smile{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);width:28px;height:12px;border:4px solid #1c3940;border-top:0;border-radius:0 0 18px 18px}.news-foot{position:absolute;left:0;right:0;bottom:-12px;display:flex;justify-content:space-between;padding:0 22px}.news-foot b{display:block;width:10px;height:18px;background:#2b5a61;border-radius:0 0 9px 9px}.mascot-speech{position:absolute;bottom:4px;left:8px;right:8px;background:white;border:1px solid #d7ebe8;border-radius:14px;padding:10px 12px;font-size:12px;font-weight:800;color:#55757d;box-shadow:0 8px 20px rgba(60,93,100,.08)}@keyframes floaty{50%{transform:rotate(-1deg) translateY(-6px)}}
.task-strip{margin-top:14px;background:#f6fcfc;border:1px solid var(--line);border-radius:20px;padding:14px 16px;box-shadow:var(--shadow)}.role-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.role-head span{font-size:14px;font-weight:900}.role-head small{font-size:11px;color:#768f95}.role-row{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}.role{display:flex;align-items:center;gap:10px;border:1px solid #d8ece8;background:white;border-radius:16px;padding:11px 12px;text-align:left}.role.active{border-color:#49aaa5;background:#eefbf5}.role-emoji{font-size:25px}.role b,.role small{display:block}.role b{font-size:12px}.role small{font-size:11px;line-height:1.6;color:#779099}.swap{border:0;background:#e6f3f2;color:#3c8590;border-radius:99px;padding:9px 11px;font-weight:900;white-space:nowrap}.swap span{font-size:11px}
.chat-panel{margin-top:14px;background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.panel-heading{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5f0ee}.panel-heading h2{font-size:19px;margin:0 0 4px;font-weight:900}.panel-heading p{margin:0;color:#80929a;font-size:12px}.icon-button{background:#f0f5f5;border:1px solid #e3eeed;border-radius:10px;padding:8px;color:#6c8a92;font-size:12px}.mode-banner{font-size:11px;font-weight:700;background:#fff8e9;color:#94763c;padding:9px 20px;line-height:1.65;border-bottom:1px solid #f6ead1}.mode-banner.live{background:#e8f8f1;color:#167a60;border-color:#cbeee1}.dialogue{height:295px;overflow-y:auto;background:linear-gradient(0deg,#f6fafa,#fcfefe);padding:17px 20px}.bubble-row{display:flex;gap:9px;margin:0 0 13px;align-items:flex-start}.bubble-row.user{flex-direction:row-reverse}.avatar{height:32px;width:32px;border-radius:12px;display:grid;place-items:center;background:#d8f1ed;flex:none;font-size:18px}.bubble-row.user .avatar{background:#e7ebff}.msg{background:#fff;border-radius:3px 15px 15px 15px;padding:10px 13px;max-width:85%;font-size:14px;line-height:1.85;border:1px solid #e3eeed;overflow-wrap:anywhere;white-space:pre-wrap}.bubble-row.user .msg{border-radius:15px 3px 15px 15px;background:#e6f2ff;border-color:#d8e8f9}.msg-label{font-size:10px;color:#7c9ba0;font-weight:900;margin-bottom:3px}.mini-replay{display:block;background:transparent;border:0;color:#1b9d93;font-weight:800;font-size:12px;padding:6px 0 0}.prompt-zone{padding:11px 20px;border-top:1px solid #edf1f1}.prompt-title{font-size:11px;color:#67858e;font-weight:900;margin-bottom:9px}.prompt-list{display:flex;flex-wrap:wrap;gap:7px}.prompt-list button{border:1px solid #cce5df;background:#f4fcf8;border-radius:99px;color:#47818a;font-size:11px;padding:7px 11px;font-weight:800}.prompt-list button:hover{background:#e0f8ef}.composer{padding:12px 20px 16px;border-top:1px solid #ecf2f2}.composer textarea{display:block;width:100%;resize:vertical;min-height:63px;max-height:125px;border:1px solid #cbdedc;border-radius:12px;background:#fbfefd;padding:11px 13px;color:var(--ink);font-size:14px}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.action-left{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.mic-btn{background:#eff8f8;border:1px solid #d5e8e6;border-radius:11px;padding:10px 12px;font-weight:900;color:#3a808c;font-size:12px}.mic-btn.listening{background:#ffe9e9;border-color:#f0baba;color:#c94450;animation:pulse 1s infinite}@keyframes pulse{50%{box-shadow:0 0 0 5px #e69f9f30}}.voice-choice{font-size:11px;font-weight:800;color:#6d8993;display:flex;gap:4px;align-items:center}.voice-choice input{accent-color:#20998f}.send-btn{border:0;background:linear-gradient(115deg,#27a89d,#168c8b);border-radius:11px;color:#fff;padding:11px 20px;font-weight:900;box-shadow:0 5px 9px #279e9435}.send-btn:disabled{opacity:.5;cursor:wait}.hint-line{color:#92a4a9;font-size:10px;line-height:1.6;margin-top:9px}
.notes-panel{background:#fffdf9;border:1px solid #e8e5d5;border-radius:24px;overflow:hidden;box-shadow:0 15px 40px rgba(125,162,166,.11)}.notes-top{background:linear-gradient(112deg,#fff8e9,#fffdf8);padding:22px 22px 13px}.notes-top h2{font-size:22px;margin:7px 0 5px;font-weight:900}.notes-top p{color:#7e9296;font-size:12px;line-height:1.7;margin:0}.progress-line{display:flex;justify-content:space-between;padding:12px 21px 7px;font-size:11px;font-weight:900;color:#6c8d8f}.progress-track{height:7px;border-radius:99px;background:#e8ece7;margin:0 21px 9px;overflow:hidden}.progress-track div{height:100%;width:0%;background:linear-gradient(90deg,#46c7ad,#74bd87);transition:width .2s}.flow-legend{font-size:11px;font-weight:800;color:#709093;padding:4px 22px 12px}.journey-flow{padding:0 16px 4px}.flow-stage{position:relative;margin:12px 0;background:#fbfbfb;border:1px solid #e9ede9;border-radius:18px;padding:13px 14px;transition:.2s ease;overflow:hidden}.flow-stage.is-locked{opacity:.55;filter:saturate(.72)}.flow-stage.is-unlocked{background:#fff;box-shadow:0 10px 22px rgba(84,126,132,.09);border-color:#d9ece7}.flow-stage.is-done{border-color:#91d1c0;background:#f8fffb}.flow-stage-head{display:flex;gap:8px;align-items:center;margin-bottom:8px}.flow-no{font-size:12px;font-weight:900;color:#a3bcbf}.flow-word{font-size:18px;font-weight:900;color:#248c8a}.flow-status{margin-left:auto;font-size:11px;font-weight:900;color:#7f9497}.flow-caption{font-size:12px;font-weight:800;margin:10px 0 6px}.flow-stage input{width:100%;border:1px solid #dbe7e6;background:#f9fdfc;border-radius:10px;padding:9px;font-size:12px}.flow-stage small{font-size:10px;color:#94a4a5;display:block;margin-top:6px}.flow-connector{display:flex;flex-direction:column;align-items:center;gap:2px;margin:-2px 0 4px;opacity:.45;transition:.2s}.flow-connector .dash{display:block;width:2px;height:18px;background:repeating-linear-gradient(to bottom,#c5cdbf 0,#c5cdbf 6px,transparent 6px,transparent 11px)}.flow-connector .arrow{font-size:14px;color:#b6bdaf}.flow-connector.active{opacity:1}.flow-connector.active .dash{background:repeating-linear-gradient(to bottom,#77c1ac 0,#77c1ac 6px,transparent 6px,transparent 11px)}.flow-connector.active .arrow{color:#4ca68a}
.scene{position:relative;height:108px;border-radius:15px;background:linear-gradient(180deg,#f5fbff,#eef7f6);border:1px solid #dde9e7;overflow:hidden}.mini-paper{position:absolute;left:16px;top:20px;font-size:26px}.scene-1 .scene-bin{position:absolute;right:18px;bottom:18px;width:44px;height:44px;border-radius:12px;background:#dff7e6;display:grid;place-items:center;font-size:23px;border:2px solid #7ac498}.scene-1 .scene-home{position:absolute;left:12px;bottom:14px;width:58px;height:34px;background:linear-gradient(180deg,#ffd9a4,#f4bf78);border-radius:8px 8px 0 0}.scene-1 .scene-home:before{content:"";position:absolute;left:-2px;right:-2px;top:-16px;border-left:32px solid transparent;border-right:32px solid transparent;border-bottom:18px solid #d78b67}.scene-1 .scene-station{position:absolute;right:14px;top:12px;background:#fff;border:1px solid #d8ebe7;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;color:#4d7c86}
.scene-2 .scene-truck{position:absolute;left:16px;bottom:24px;font-size:32px}.scene-2 .scene-road{position:absolute;left:0;right:0;bottom:17px;height:8px;background:linear-gradient(90deg,#d8dfe4,#c2cfd5)}.scene-2 .scene-yard{position:absolute;right:12px;top:14px;background:#fff;border:1px solid #d8ebe7;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;color:#4d7c86}.scene-2 .scene-papers{position:absolute;right:18px;bottom:18px;font-size:18px;letter-spacing:2px}
.scene-3 .scene-factory{position:absolute;left:16px;bottom:20px;font-size:38px}.scene-3 .scene-belt{position:absolute;left:74px;right:14px;bottom:25px;height:9px;background:linear-gradient(90deg,#a8c1c6,#d2dee2);border-radius:999px}.scene-3 .scene-worker{position:absolute;right:18px;bottom:32px;font-size:24px}.scene-3 .scene-tag{position:absolute;left:16px;top:13px;background:#fff;border:1px solid #d8ebe7;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;color:#4d7c86}
.scene-4 .scene-pot{position:absolute;left:16px;bottom:18px;font-size:42px}.scene-4 .scene-fire{position:absolute;left:60px;bottom:18px;font-size:22px}.scene-4 .scene-steam{position:absolute;left:34px;top:10px;font-size:20px}.scene-4 .scene-new{position:absolute;right:16px;top:16px;background:#fff;border:1px solid #d8ebe7;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;color:#4d7c86}
.present-btn{display:block;width:calc(100% - 36px);margin:12px 18px 10px;border:0;border-radius:13px;background:linear-gradient(115deg,#faad51,#f3c97f);color:#654928;font-weight:900;font-size:14px;padding:13px;box-shadow:0 6px 12px rgba(221,174,108,.2)}.notes-help{color:#899b9c;font-size:10px;line-height:1.65;margin:0 20px 19px}.teacher-hint{background:#e2f6ef;border:1px solid #c5e9dc;border-radius:16px;margin-top:14px;padding:14px 16px;font-size:12px;color:#4d8583;line-height:1.7}.teacher-hint b{display:block;font-size:13px;color:#377f75}
footer{max-width:1500px;margin:8px auto 24px;text-align:center;color:#7c989b;font-size:11px;padding:0 24px}.overlay{position:fixed;inset:0;background:#173944d9;backdrop-filter:blur(5px);z-index:50;display:flex;align-items:center;justify-content:center;padding:22px}.overlay[hidden]{display:none}.presentation-card{background:#fffaf0;border-radius:22px;width:min(100%,970px);max-height:95vh;overflow:auto;padding:24px;box-shadow:0 35px 80px rgba(6,31,45,.4)}.presentation-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.presentation-top small{font-size:13px;color:#168a7e;font-weight:900;letter-spacing:1px}.presentation-top h2{margin:7px 0 12px;font-size:32px}.close-btn{border:1px solid #d9dcd5;border-radius:10px;padding:9px 12px;background:white;color:var(--ink)}.presentation-route{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}.present-stop{background:white;border:1px solid #dce9e3;border-radius:18px;min-height:185px;padding:18px 15px;position:relative}.present-stop:not(:last-child):after{content:'➜';position:absolute;right:-19px;top:50%;z-index:2;color:#e5b45e;background:#fffaf0;border-radius:50%;width:25px;height:25px;text-align:center}.present-stop .ps-no{font-size:12px;color:#a4bdba;font-weight:900}.present-stop .ps-icon{font-size:36px;display:block;margin:16px 0 6px}.present-stop h3{font-size:20px;color:#168d83;margin:0 0 12px}.present-stop p{font-size:15px;line-height:1.8;overflow-wrap:anywhere}.presentation-foot{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#78a0a0;font-size:12px;font-weight:900}.presentation-foot div{display:flex;gap:9px}.presentation-foot button{border:1px solid #cfddd6;background:white;border-radius:10px;padding:8px 12px;color:#42757f;font-size:12px;font-weight:800}.code-card{width:min(100%,420px);background:#fff;border-radius:20px;padding:24px}.code-card h2{margin:0 0 8px}.code-card p{color:#657e83;line-height:1.7;font-size:13px}.code-card label{display:block;font-weight:800;margin-bottom:7px}.code-card input{width:100%;border:1px solid #d3e5df;border-radius:10px;padding:10px}.code-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}.code-actions button{border:0;border-radius:10px;padding:10px 14px;background:#e8f4f2;color:#267e77;font-weight:900}.code-actions button:last-child{background:#198e88;color:#fff}
@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr)}.hero-copy{max-width:100%}.right-col{display:grid;grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.topbar{padding:12px 13px}.brand{font-size:14px}.brand-icon{width:33px;height:33px}.brand small{font-size:9px}.group-select{padding:7px}.group-select span{display:none}.status{font-size:10px;padding:9px}.layout{padding:0 10px 17px;gap:10px}.hero h1{font-size:28px}.hero p{font-size:12px}.hero-copy{padding:22px 15px}.mascot-wrap{width:105px;align-self:flex-start;height:195px;margin-right:6px;transform:scale(.65);transform-origin:top center}.hero{min-height:206px}.task-strip{padding:12px}.role-row{gap:5px}.role{padding:7px;gap:5px}.role-emoji{font-size:18px}.role b{font-size:11px}.role small{font-size:9px}.swap span{display:none}.chat-panel{border-radius:14px}.panel-heading{padding:14px}.panel-heading h2{font-size:16px}.panel-heading p{font-size:10px}.dialogue{height:275px;padding:13px}.msg{font-size:12px}.prompt-zone,.composer{padding:11px 12px}.prompt-list button{font-size:10px}.voice-choice{font-size:10px}.notes-top h2{font-size:19px}.presentation-card{padding:16px}.presentation-top h2{font-size:22px}.presentation-route{grid-template-columns:1fr 1fr}.present-stop{min-height:130px}.present-stop:not(:last-child):after{display:none}.presentation-foot{display:block}.presentation-foot div{margin-top:12px}}
@media print{@page{size:A4 landscape;margin:12mm}body{background:white}.topbar,.layout,footer,.close-btn,.presentation-foot button,.ambient{display:none!important}.overlay{position:static;display:block!important;padding:0;background:white;backdrop-filter:none}.overlay:not(#presentation){display:none!important}.presentation-card{box-shadow:none;border:0;max-height:none;width:100%;padding:10px}.presentation-route{grid-template-columns:repeat(4,1fr)}.present-stop{min-height:185px}}
