
:root{--ink:#1a3940;--line:#d9ebe8;--mint:#eefaf7;--teal:#1d9088;--bg:#f4f9f9;--soft:#fffdf8;--gold:#f4c56f;--shadow:0 14px 30px rgba(71,116,122,.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,#eef7f7,#f9fcfb);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(60px);opacity:.35;z-index:-1}.ambient.a{width:340px;height:340px;background:#d7f8ed;left:-100px;top:-80px}.ambient.b{width:420px;height:420px;background:#ffedcf;right:-120px;top:140px}
.topbar{max-width:1180px;margin:0 auto;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.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,#bbefe1,#e7f7f1)}.brand small{display:block;color:#6a8a90;font-size:11px;font-weight:700}.top-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pill-select{display:flex;gap:7px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 12px;box-shadow:0 8px 20px rgba(69,113,116,.08)}.pill-select span{font-size:12px;font-weight:800;color:#6b8b93}.pill-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}
.shell{max-width:1180px;margin:0 auto;padding:0 20px 22px;display:grid;gap:16px}
.hero{background:linear-gradient(118deg,#ffffff,#f4fcfb);border:1px solid var(--line);border-radius:26px;display:flex;justify-content:space-between;align-items:center;min-height:240px;overflow:hidden;box-shadow:var(--shadow)}.hero-copy{padding:28px 28px 24px;max-width:70%}.eyebrow{color:#14a08d;font-size:12px;font-weight:900;letter-spacing:2px}.hero h1{margin:12px 0 10px;font-size:38px;line-height:1.2}.hero p{margin:0;color:#667f85;font-size:15px;line-height:1.8}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.chips span{background:#eff9f7;color:#367b84;border:1px solid #d1ebe5;padding:6px 11px;border-radius:999px;font-size:12px;font-weight:800}
.mascot-wrap{padding:18px 20px 18px 0;display:grid;place-items:center;position:relative}.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{margin-top:12px;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)}}
.progress-panel,.mode-card,.chat-panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.progress-panel{padding:18px 20px}.progress-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.progress-top h2{margin:0 0 5px;font-size:21px}.progress-top p{margin:0;color:#728b8f;font-size:13px;line-height:1.7}.reset-btn{border:1px solid #d7e7e6;background:#f5fbfb;border-radius:10px;padding:10px 12px;color:#577983;font-weight:800}.step-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.step-pill{border:1px dashed #cadad7;border-radius:18px;padding:13px 10px;text-align:center;background:#fbfdfd;opacity:.6}.step-pill span{display:grid;place-items:center;width:28px;height:28px;margin:0 auto 8px;border-radius:999px;background:#e9efef;font-size:12px;font-weight:900}.step-pill b{font-size:15px}.step-pill.current{opacity:1;border-color:#6ac5b0;background:#eefbf6;box-shadow:0 6px 16px rgba(76,166,138,.12)}.step-pill.current span{background:#49b796;color:white}.step-pill.done{opacity:1;border-color:#8fd2be;background:#f4fffa}.step-pill.done span{background:#2aa377;color:white}.step-pill.locked{opacity:.45}
.mode-card{padding:20px}.mode-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.mode-head small{display:block;color:#13a18d;font-size:12px;font-weight:900;letter-spacing:1px}.mode-head h2{margin:4px 0 0;font-size:24px}.mode-tag{background:#eef9f7;border:1px solid #d2ebe6;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900;color:#3d7d86;white-space:nowrap}.live-tag{background:#fff8e7;border-color:#eeddb8;color:#8c6b31}.mode-text{margin:0 0 14px;color:#69848a;font-size:14px;line-height:1.8}
.guided-box{background:#f8fcfc;border:1px solid #e4efee;border-radius:18px;padding:18px}.guided-step-label{font-size:13px;font-weight:900;color:#168a7d}.guided-question{margin-top:9px;font-size:28px;font-weight:950;line-height:1.3}.guided-ask-btn{display:block;width:100%;margin-top:16px;border:0;border-radius:16px;background:linear-gradient(120deg,#27a89d,#168c8b);color:#fff;font-size:20px;font-weight:900;padding:16px;box-shadow:0 8px 20px rgba(39,158,148,.25)}.guided-ask-btn:disabled{opacity:.55;cursor:wait}.guided-help{margin-top:12px;font-size:12px;color:#769195;line-height:1.7}
.hint-box{background:#f8fcfc;border:1px solid #e4efee;border-radius:18px;padding:14px 14px 10px}.hint-title{font-size:13px;font-weight:900;color:#168a7d;margin-bottom:10px}.hint-list{display:flex;flex-wrap:wrap;gap:8px}.hint-list button{border:1px solid #cce5df;background:#f4fcf8;border-radius:999px;color:#47818a;font-size:12px;padding:8px 12px;font-weight:800}.hint-list button:hover{background:#e0f8ef}.composer{margin-top:14px}.composer textarea{display:block;width:100%;resize:vertical;min-height:68px;max-height:130px;border:1px solid #cbdedc;border-radius:14px;background:#fbfefd;padding:12px 13px;color:var(--ink);font-size:14px}.composer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:11px}.left-actions{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:.55;cursor:wait}
.panel-head{padding:18px 20px 12px}.panel-head h2{margin:0 0 4px;font-size:21px}.panel-head p{margin:0;color:#6f898f;font-size:12px}.mode-banner{font-size:11px;font-weight:700;background:#fff8e9;color:#94763c;padding:9px 20px;line-height:1.65;border-top:1px solid #eef2f2;border-bottom:1px solid #f6ead1}.mode-banner.live{background:#e8f8f1;color:#167a60;border-color:#cbeee1}.dialogue{height:340px;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}.speech-note{font-size:11px;color:#8a9da2;padding:12px 20px 16px;line-height:1.7}
footer{max-width:1180px;margin:8px auto 24px;text-align:center;color:#7c989b;font-size:11px;padding:0 20px}.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}.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:900px){.hero{display:block}.hero-copy{max-width:100%}.mascot-wrap{padding:0 20px 18px}.step-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.guided-question{font-size:23px}.composer-actions{display:block}.left-actions{margin-bottom:10px}}
@media(max-width:650px){.topbar{padding:12px}.brand{font-size:14px}.brand-icon{width:34px;height:34px}.brand small{font-size:9px}.pill-select span{display:none}.shell{padding:0 10px 18px;gap:10px}.hero h1{font-size:29px}.hero p{font-size:13px}.hero-copy{padding:22px 16px 10px}.progress-panel,.mode-card,.chat-panel{border-radius:16px}.guided-question{font-size:20px}.guided-ask-btn{font-size:18px;padding:14px}.dialogue{height:300px;padding:14px}.msg{font-size:12px}.step-strip{grid-template-columns:1fr 1fr}.step-pill b{font-size:14px}}
