:root{font-family:PingFang SC,Noto Sans SC,system-ui,sans-serif;color:#292b21;background:#f5f1e7;font-synthesis:none;--ink:#292b21;--line:#d9d1bf;--green:#3a4735}*{box-sizing:border-box}body{margin:0}button{font:inherit;font-size:.875rem;cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:2px solid #b36c3f;outline-offset:3px}[hidden]{display:none!important}header{height:72px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 max(4vw,20px)}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px;font-family:Songti SC,serif;font-size:17px;font-weight:700}.mark{background:var(--green);color:#fff5df;display:grid;place-items:center;width:36px;height:36px;font:24px Georgia}.brand small{display:block;font:10px system-ui;letter-spacing:.13em;margin-top:3px}.views{display:flex;gap:3px;padding:3px;border:1px solid var(--line);background:#f5f1e8;border-radius:5px}.views button{border:0;background:transparent;padding:7px 13px;border-radius:3px}.active{background:var(--green)!important;color:#fff9eb}main{width:min(94%,1660px);margin:auto}.intro{display:flex;align-items:end;justify-content:space-between;padding:29px 1.2% 22px}.eyebrow{font-size:11px;font-weight:650;letter-spacing:.18em;color:#665840;margin:0 0 10px}.eyebrow span{display:inline-block;width:20px;height:1px;background:#9d896b;vertical-align:middle;margin:0 7px}h1,h2{font-family:Songti SC,"Noto Serif SC",serif;margin:0}h1{font-size:clamp(43px,5.2vw,82px);line-height:1;letter-spacing:.055em}.description{font-size:15px;line-height:1.7;color:#665840;margin:0 0 3px}#stage{position:relative;height:clamp(430px,62vh,840px);background:#e4caac;border:1px solid #b9a58a;border-radius:6px;overflow:hidden;isolation:isolate}#viewport{position:absolute;inset:0;width:100%;height:100%}canvas{display:block;touch-action:none}.stage-top,.stage-bottom{position:absolute;inset-inline:17px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;gap:8px}.stage-top{top:16px}.stage-bottom{bottom:16px}.stage-top>*,.stage-bottom>*{pointer-events:auto}#caption,#hint,#capture,#dialogue{background:#f7f0e3ed;border:1px solid #d3c2a9;border-radius:4px;padding:8px 12px}#caption,#hint{font-size:13px}#capture{font-weight:650}.characters{display:flex;justify-content:space-between;gap:18px;padding:17px 1.2% 26px;align-items:center}.character-title h2{font-size:23px}.character-title p{font-size:13px;color:#665840;margin:5px 0 0}.cast{display:flex;gap:8px;flex-wrap:wrap}.cast button{border:1px solid var(--line);border-radius:4px;background:#fbf6ec;display:flex;align-items:center;gap:8px;padding:3px 11px 3px 7px}.cast .selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.cast img{height:42px;width:28px;object-fit:contain}#status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}#dialogue{position:absolute;bottom:66px;left:17px;max-width:min(360px,85%)}#dialogue p{margin:4px 0;font-size:14px}@media(max-width:640px){header{height:62px;padding:0 3vw}.mark{display:none}.brand{font-size:14px}.brand small{font-size:8px}.views button{padding:6px 9px}.intro{display:block;padding:19px 0 16px}.description{margin-top:9px}.description br{display:none}#stage{height:57vh}.characters{display:block}.cast{margin-top:10px}.cast button{padding-right:7px;gap:4px}.stage-top,.stage-bottom{inset-inline:10px}}.mode{font-size:13px;border:1px solid var(--line);padding:6px 10px;color:#625941}.enclosure{display:flex;gap:3px;border:1px solid var(--line);border-radius:5px;padding:3px}.enclosure button{border:0;padding:6px 10px;border-radius:3px;background:none;font-size:.8rem;white-space:nowrap}@media(max-width:360px){.enclosure button{padding-inline:5px;font-size:.72rem}}:root{font-family:PingFang SC,苹方-简,Helvetica Neue,sans-serif}.brand,h2{font-family:inherit}header{height:49px;padding-inline:max(2vw,12px)}.brand{font-size:14px}.mark{width:27px;height:27px;font-size:18px}main{width:100%;margin:0}#stage{height:max(360px,calc(100dvh - 122px));border-inline:0;border-radius:0}.characters{padding:6px max(2vw,12px);gap:10px;min-height:68px}.character-title h2{font-size:16px}.cast img{height:35px}@media(max-width:640px){.characters{display:flex}.character-title p{display:none}.cast{margin:0;gap:4px}.cast button{font-size:11px;padding:2px 4px}.cast img{width:15px;height:26px}.enclosure button{padding-inline:5px}.brand{font-size:12px}#stage{height:max(340px,calc(100dvh - 120px))}}.stage-actions{display:flex;gap:6px;align-items:center}.stage-actions select{font:inherit;font-size:.875rem;background:#f7f0e3ed;border:1px solid #d3c2a9;color:#292b21;border-radius:4px;padding:8px 7px;cursor:pointer}@media(max-width:480px){.stage-actions select,#capture,#caption{font-size:11px;padding:7px 6px}}#viewport{inset:50% auto auto 50%;transform:translate(-50%,-50%)}#regionPicker{font:inherit;font-size:.875rem;background:#f7f0e3ed;border:1px solid #d3c2a9;color:#292b21;border-radius:4px;padding:7px 6px;max-width:42vw;cursor:pointer}@media(max-width:480px){#regionPicker{font-size:11px}}.views button{white-space:nowrap}@media(max-width:480px){.views button{font-size:11px;padding-inline:6px}#regionPicker{max-width:39vw}}#hint{display:grid;gap:3px;line-height:1.35;pointer-events:none}#hint kbd{font:inherit;padding:1px 4px;border:1px solid #c6bba7;border-radius:3px;background:#fffbf2}#hint .touch-hint{display:none}@media(hover:none)and (pointer:coarse){#hint .mouse-hint{display:none}#hint .touch-hint{display:block}}@media(max-width:760px){.stage-bottom{flex-wrap:wrap}#hint{order:-1;width:100%;font-size:12px;gap:2px;padding:6px 9px}#dialogue{bottom:116px;left:10px}}
