:root{--paper:#f3eedf;--ink:#4d5140;--sage:#788569;--muted:#919781;--line:#dcdcca}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 system-ui,"Microsoft YaHei",sans-serif}.shell{max-width:1180px;margin:auto;padding:0 32px}button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:var(--sage);text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #8a9973;outline-offset:5px}header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:650;color:#637450}.brand>span{font:38px Georgia;color:#b69668}.brand small{font:9px monospace;letter-spacing:2px;color:#9a9f88;margin-left:7px}.tools{display:flex;gap:14px;align-items:center;font-size:11px}.tools button{background:none;border:0;color:var(--sage);padding:7px}.tools button:disabled{opacity:.4}.title-row{display:flex;justify-content:space-between;align-items:center;padding:28px 0 24px;gap:20px}.eyebrow{font:10px/1.5 monospace;letter-spacing:2px;color:#8b977a;margin:0 0 8px}h1{font:500 34px/1.4 Georgia,"Songti SC",serif;margin:0;letter-spacing:1px}.lead{font-size:12px;color:#9a9e88;margin:8px 0 0}.episode-number{font:44px/1 Georgia;color:#c1c4ad;text-align:right}.episode-number small{display:block;font:10px/1.5 system-ui;color:#9ca58b;margin-top:8px;letter-spacing:1px}.theatre{height:510px;position:relative;border:1px solid #e1dccb;border-radius:25px;overflow:hidden;background:radial-gradient(ellipse at 48% 27%,#fffaeb,#e8dfca)}#stage{position:absolute;inset:0}#stage canvas{display:block;touch-action:manipulation}.scene-top{position:absolute;top:21px;left:25px;right:25px;display:flex;justify-content:space-between;color:#84916f;font-size:10px;letter-spacing:1px;pointer-events:none}.welcome{position:absolute;bottom:23px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center;gap:16px;pointer-events:none}.welcome>span{font-size:12px;color:#7e896d;background:#fffaf0c9;padding:9px 15px;border-radius:12px}.welcome button{pointer-events:auto;border:1px solid #7a8a60;background:#778d5c;color:#fff8e7;border-radius:14px;padding:12px 25px;font-size:14px;box-shadow:0 4px 0 #5f7148}.welcome button:active{transform:translateY(3px);box-shadow:0 1px 0 #5f7148}.pause-screen{position:absolute;inset:0;display:grid;place-items:center;background:#f6efdd8c;backdrop-filter:blur(4px);text-align:center}.pause-screen>div{padding:23px 35px;background:#fff9eede;border:1px solid #fff;border-radius:20px}.pause-screen p{font-size:21px;margin:0 0 17px;color:#71825b}.pause-screen button{background:#7b8e63;color:#fff;border:0;border-radius:12px;padding:10px 24px}.view-controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:7px;background:#fff9eee5;padding:6px;border:1px solid #fff9ec;border-radius:13px}.view-controls button{border:0;padding:5px 16px;background:none;color:#949c86;font-size:11px;border-radius:8px}.view-controls [aria-pressed=true]{background:#e4e9d6;color:#73805e}.coach{max-width:790px;margin:23px auto 8px;display:flex;align-items:center;gap:15px;min-height:63px}.speaker{display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:17px;background:#e8dbc0;color:#99825d;font-weight:650;font-size:12px}.coach h2{font-size:19px;font-weight:550;margin:0 0 4px}.coach p{font-size:12px;color:#929981;margin:0}.coach>span:last-child{margin-left:auto;font:24px Georgia;color:#a2af8a;white-space:nowrap}.phrase{height:32px;display:flex;justify-content:center;align-items:center;gap:10px;margin:8px auto 14px}.phrase span{width:25px;height:25px;background:#bdc6aa;border-radius:8px;display:grid;place-items:center;color:#fffaf0;font-size:12px}.phrase .ghost{opacity:.25}.phrase .active{transform:translateY(-4px);box-shadow:0 3px 0 #7c8d651e}.actions{display:flex;justify-content:center;margin:0 auto 15px;gap:10px}.actions button{border:1px solid #c4d1af;background:#edf2df;color:#71855a;border-radius:13px;padding:11px 25px;font-size:13px}.actions #hold{position:relative;overflow:hidden;background:#809669;color:#fff8ec;border-color:#809669;min-width:230px;touch-action:none;user-select:none;-webkit-user-select:none}.actions #hold span{position:absolute;inset:auto auto 0 0;height:3px;background:#e5e9c4;pointer-events:none;width:0}.rest-progress{height:3px;width:210px;margin:-9px auto 14px;background:#dce3ca;border-radius:3px;overflow:hidden}.rest-progress i{display:block;height:100%;background:#91a477;width:0}.notes{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;max-width:530px;margin:auto}.notes button{height:66px;border-radius:17px;background:var(--note);border:2px solid #fff9ed77;color:#fff8ec;font-size:23px;box-shadow:0 5px 0 color-mix(in srgb,var(--note),#7a7f60 23%);position:relative;touch-action:manipulation}.notes button b{font-size:21px;font-weight:600;margin-left:6px}.notes button small{position:absolute;right:12px;bottom:7px;font-size:9px;opacity:.5}.notes button:disabled{opacity:.38;filter:saturate(.75)}.notes button.hit{transform:translateY(4px);box-shadow:0 1px 0 color-mix(in srgb,var(--note),#7a7f60 23%)}.notes button.hint{outline:3px solid #8c9e6b;outline-offset:5px}.status{font-size:10px;color:#99a089;text-align:center;min-height:17px;margin:16px 0 0}.secondary-actions{display:flex;justify-content:center;gap:20px;margin:7px 0 0}.secondary-actions button{font-size:10px;color:#96a084;border:0;background:none;padding:6px}.memory{max-width:740px;margin:22px auto 0;border:1px solid #d5ddc4;border-radius:18px;background:#e9efda;display:flex;gap:18px;align-items:center;padding:18px 24px}.memory>span{font-size:37px;color:#9bae7d}.memory b{font-size:15px;color:#6d8056;font-weight:600}.memory p{font-size:11px;color:#899677;margin:5px 0}.memory small{font-size:9px;color:#99a587}.characters{border-top:1px solid var(--line);margin-top:29px;padding-top:26px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:17px}.section-heading h2{font:500 23px/1.4 Georgia,"Songti SC",serif;margin:0}.section-heading button{background:#f9f6e9;color:#8b9877;border:1px solid #d6ddc7;border-radius:11px;padding:9px 15px;font-size:11px}.section-heading>span{font-size:10px;color:#a1a78f}.cast{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cast button{border:1px solid #dadfca;border-radius:15px;background:#f8f4e6;color:#869274;text-align:left;padding:15px;display:grid;grid-template-columns:39px 1fr;align-items:center;gap:0 10px}.cast i{grid-row:1/3;width:39px;height:39px;display:grid;place-items:center;background:var(--color);border-radius:12px;color:#fff8e8;font:25px Georgia;font-style:normal}.cast b{font-size:14px;font-weight:550}.cast small{font-size:9px;color:#a1aa91;white-space:nowrap}.cast [aria-pressed=true]{border-color:#a0b48a;background:#eaf0dc;box-shadow:0 0 0 2px #a9ba9630}.character-description{font-size:11px;color:#8d977d;margin:13px 0 0;line-height:1.8}.season{margin-top:30px}.season ol{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.season li{padding:12px 11px;border:1px solid #dfe2d1;border-radius:11px;color:#a5ac96;background:#f6f2e6}.season li>span{font:10px monospace;display:block;color:#b6bea6;margin-bottom:7px}.season li>b{font-size:11px;font-weight:400;display:block}.season li>small{display:block;font-size:9px;color:#b1b7a1;margin-top:6px}.season li.current{background:#e8eedb;border-color:#b5c4a0;color:#7a8d61}.season li.current small{color:#93a57c}.design{margin-top:25px;border-top:1px solid var(--line);padding-top:16px}.design summary{cursor:pointer;list-style:none;font-size:11px;color:#99a086;display:flex;justify-content:space-between}.design summary::-webkit-details-marker{display:none}.design p{font-size:11px;color:#9da48d;margin:15px 0}.design img{display:block;width:100%;height:auto;border-radius:15px;margin:15px 0;border:1px solid #e3ddcb}.sound-files{display:flex;gap:23px;font-size:11px;padding:7px 0}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:18px 0 25px;margin-top:23px;color:#a1aa90;font-size:10px}[hidden]{display:none!important}@media(max-width:720px){.shell{padding:0 17px}header{height:67px}.brand{font-size:16px}.brand small{display:none}.tools{gap:7px;font-size:10px}.tools a{display:none}.title-row{padding:21px 0 18px}h1{font-size:27px}.lead{font-size:11px;max-width:255px}.episode-number{font-size:35px}.episode-number small{font-size:8px}.theatre{height:380px;border-radius:20px}.scene-top{top:15px;left:17px;right:17px;font-size:9px}.welcome{bottom:17px;left:17px;right:17px;display:block;text-align:center}.welcome>span{font-size:10px;padding:7px 11px;display:inline-block}.welcome button{display:block;margin:9px auto 0;padding:10px 22px;font-size:12px}.coach{gap:11px;margin-top:18px}.speaker{width:40px;height:40px;font-size:11px;border-radius:14px}.coach h2{font-size:16px}.coach p{font-size:11px}.coach>span:last-child{font-size:19px}.notes{gap:10px}.notes button{height:61px;border-radius:15px;font-size:21px}.notes button b{font-size:20px}.notes button small{display:none}.memory{padding:15px;gap:12px}.memory b{font-size:13px}.section-heading h2{font-size:21px}.section-heading button{font-size:10px;padding:7px 10px}.cast{grid-template-columns:repeat(2,1fr);gap:8px}.cast button{padding:12px;grid-template-columns:32px 1fr;gap:0 8px}.cast i{width:32px;height:32px;border-radius:10px;font-size:23px}.cast b{font-size:13px}.cast small{font-size:9px}.season .section-heading>span{display:none}.season ol{grid-template-columns:1fr 1fr;gap:7px}.season li.current{grid-column:1/-1}.season li{padding:10px 13px}.season li>span{display:inline-block;margin:0 8px 0 0}.season li>b{display:inline;font-size:11px}.season li>small{margin-top:4px}.sound-files{display:block;line-height:2}.sound-files a{display:block}.view-controls button{padding:5px 14px}.characters{margin-top:24px;padding-top:21px}.status{font-size:9px}}@media(max-width:380px){.theatre{height:340px}.episode-number small{display:none}.lead{max-width:235px}.coach h2{font-size:14px}.coach p{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.notes button.hit{transform:none}.phrase .active{transform:none}}

/* Episode v2: a story stage first, controls arrive when the character needs them. */
.theatre{height:540px;background:radial-gradient(ellipse at 48% 25%,#fffbed 0%,#eee5ce 75%,#e4dac2)}
.scene-top{color:#677452;font-size:11px}
.welcome{bottom:24px;justify-content:center;flex-direction:column;gap:12px}
.welcome>span{color:#6f785d;background:#fffaf0d9;letter-spacing:1px;padding:7px 17px}
.welcome-actions{display:flex;gap:12px;align-items:center;pointer-events:auto}
.welcome .play-together{background:#f7f3e5;color:#6c7f51;border:1px solid #a7b98d;box-shadow:0 4px 0 #bcc7a4}
.welcome .play-together:active{box-shadow:0 1px 0 #bcc7a4}
.coach{position:absolute;bottom:18px;left:23px;right:23px;max-width:700px;margin:0 auto;padding:13px 18px;min-height:72px;border:1px solid #fffbefcf;border-radius:17px;background:#faf6e7eb;box-shadow:0 3px 17px #8075520a;pointer-events:none;gap:14px}
.coach h2{font-size:19px;color:#566044;line-height:1.4}
.coach p{font-size:12px;line-height:1.5;color:#748064;max-width:565px}
.coach>span:last-child{color:#8d9d73;font-size:20px}
.speaker{width:43px;height:43px;border-radius:15px;background:#e8d8b7;color:#796540}
.actions{margin-top:18px;margin-bottom:14px}.actions button{font-size:14px;min-height:47px}
.phrase{margin-top:15px;margin-bottom:12px}
.status{font-size:11px;color:#758163;margin-top:14px}
.secondary-actions button{font-size:11px;color:#748464}
.lead,.character-description{color:#7f896f}
.cast small{color:#7e8b70}.design summary,.design p{color:#7f8a6c}
@media(max-width:720px){
  .theatre{height:430px}.welcome{bottom:17px;gap:8px}.welcome-actions{gap:8px;flex-direction:column}
  .welcome button{margin:0;padding:9px 17px;font-size:12px;min-width:214px}
  .welcome>span{font-size:11px;padding:5px 12px}
  .coach{bottom:13px;left:12px;right:12px;padding:11px 12px;gap:10px;min-height:68px}
  .coach h2{font-size:15px}.coach p{font-size:10px;line-height:1.5}.coach>span:last-child{font-size:17px}
  .speaker{width:35px;height:38px;font-size:10px;border-radius:12px}
  .status{font-size:10px}.scene-top{font-size:10px}
}
@media(max-width:380px){.theatre{height:400px}.coach>span:last-child{display:none}.coach h2{font-size:14px}}
