:root{color-scheme:dark;font-family:PingFang TC,Noto Sans TC,Microsoft JhengHei,sans-serif;background:#070708;color:#ece7df}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}.phone{width:min(480px,100%);height:100dvh;margin:0 auto;background:#141416;display:flex;flex-direction:column;position:relative;--text: 16px;--frame: 240px}.phone[data-font=sm]{--text: 14px}.phone[data-font=lg]{--text: 18px}.phone[data-image=sm]{--frame: 170px}.phone[data-image=lg]{--frame: 320px}.topbar,.sheet>header,.drawer header,.settings-screen>header{display:flex;align-items:center;gap:8px;min-height:52px;padding:8px 10px;border-bottom:1px solid #2a2a2e}.topbar-spacer{width:36px}.topbar h1,.sheet h2,.drawer strong{flex:1;margin:0;text-align:center;font-size:17px;font-weight:600}.topbar button,.sheet header button,.drawer header button{width:36px;height:36px;border:0;border-radius:999px;background:transparent;color:#d9d4cc}.topbar svg,.composer svg{width:22px;height:22px}.credits{font-size:12px;color:#c8c2ff;border:1px solid #3a3658;border-radius:999px;padding:2px 8px}.transcript{flex:1;min-height:0;overflow:auto;padding:12px 14px 18px}.who{display:flex;align-items:center;gap:8px;margin-bottom:10px}.mark{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:#243044;color:#d5e4ff;font-size:13px}.hud{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;border:1px solid #34343a;border-radius:14px;padding:10px 12px 12px;margin-bottom:14px;background:#1b1b1f}.hud p{margin:0;display:flex;gap:6px;align-items:center;font-size:13px;color:#ddd8d0}.hud svg{width:16px;height:16px;color:#8fd0c6}.hud[data-band=不安] svg{color:#e2c16a}.hud[data-band=動搖] svg{color:#e29262}.hud[data-band=崩潰] svg{color:#e26a6a}.sanity-bar{grid-column:1 / -1;height:3px;border-radius:99px;background:#2c2c32;overflow:hidden}.sanity-bar span{display:block;height:100%;background:currentColor;color:#8fd0c6}.hud[data-band=不安] .sanity-bar span{color:#e2c16a}.hud[data-band=動搖] .sanity-bar span{color:#e29262}.hud[data-band=崩潰] .sanity-bar span{color:#e26a6a}.bubble,.ending{margin:10px 0;padding:10px 12px;border-radius:14px;background:#2a2a2e;line-height:1.65;font-size:var(--text);white-space:pre-wrap}.bubble.player{margin-left:18%;background:#343c4e}.bubble.dialogue b{color:#d7c7a2;font-weight:600}.bubble.error{background:#3a2424;color:#f0d0d0}.ending{background:#1d2430;border:1px solid #3d4c66}.frame,.news,.monitor{margin:12px 0;border-radius:16px;overflow:hidden;background:#101014}.frame img,.news img,.monitor img,.pending{height:var(--frame)}.pending{display:grid;place-items:center;color:#9a958c;background:linear-gradient(160deg,#1a1c22,#101216 60%,#24303a);font-size:13px}.news{position:relative}.news>span{position:absolute;top:10px;left:10px;background:#c51616;color:#fff;font-size:12px;padding:2px 6px;border-radius:4px}.news figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:8px 10px;background:#f4f1ea;color:#1a1a1a;font-size:14px;font-weight:700}.monitor{border:8px solid #0c0c0e;border-radius:18px;box-shadow:inset 0 0 0 1px #2a2a2e}.dock{border-top:1px solid #2a2a2e;background:#161618}.dock.buttons-only{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.dock.buttons-only .choices{padding-bottom:10px}.choices{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px 0}.choices button{border:1px solid #3a3658;border-radius:999px;background:#221f33;color:#e4e0ff;padding:8px 12px;font-size:13px}.choices button:disabled{opacity:.45}.composer{display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#161618}.composer input{flex:1;border:0;border-radius:999px;background:#2a2a2e;padding:12px 16px}.composer button{width:44px;height:44px;border:0;border-radius:999px;background:#6d5ef5;color:#fff}.composer button:disabled,.composer input:disabled{opacity:.45}.composer-error{margin:0;padding:8px 16px 0;color:#ffb4b4;font-size:13px}.scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;justify-content:flex-end}.drawer{width:min(320px,86%);height:100%;background:#1a1a1d;display:flex;flex-direction:column}.drawer button,.sessions button,.row-actions button,.packs button,.file,.textish{border:0;background:transparent;text-align:left}.drawer>button{padding:14px 16px;border-top:1px solid #2a2a2e}.drawer>button span,.sessions strong{display:block}.drawer small,.sessions small,.hint,.meter{color:#9a958c}.drawer .danger,.dialog .danger{color:#ff8d8d}.sheet{position:absolute;top:0;right:0;bottom:0;left:0;background:#141416;z-index:2;display:flex;flex-direction:column}.sheet-body{flex:1;min-height:0;overflow:auto;padding:14px 16px 28px}.prose{white-space:pre-wrap;line-height:1.7}.album{display:grid;grid-template-columns:1fr 1fr;gap:8px}.shot{margin:0;position:relative;min-height:110px;border-radius:12px;overflow:hidden;background:#222228}.shot img{height:120px}.shot figcaption{position:absolute;left:6px;bottom:6px;font-size:12px;text-shadow:0 1px 4px #000}.shot.locked{display:grid;place-items:center;color:#6e6a64;font-size:12px}.sessions{list-style:none;padding:0;margin:12px 0}.sessions button{width:100%;padding:12px 0;border-bottom:1px solid #2a2a2e}.row-actions,.modes,.packs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.row-actions button,.modes button,.packs button,.file{border-radius:999px;background:#2a2a2e;padding:8px 12px}.modes button.on{background:#6d5ef5}.packs small{display:block;color:#c8c2ff}.file input{display:none}fieldset{border:1px solid #2e2e34;border-radius:12px;margin:12px 0;padding:10px 12px}label{display:block;margin:8px 0;font-size:13px;color:#bdb8b0}label input,select,.dialog input{width:100%;margin-top:4px;border:0;border-radius:10px;background:#2a2a2e;padding:10px 12px}.dialog{margin:auto;width:min(360px,calc(100% - 32px));background:#1d1d21;border-radius:16px;padding:16px}.dialog h2{margin:0 0 10px;font-size:18px}.shelf{flex:1;min-height:0;overflow:auto;padding:8px 14px 28px}.shelf h2{margin:12px 2px 14px;font-size:22px;font-weight:650}.shelf ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.story-card{width:100%;padding:0;overflow:hidden;text-align:left;border:1px solid #34343a;border-radius:16px;background:#1b1b1f}.story-card:disabled{opacity:.55;cursor:default}.story-card img{height:168px}.story-card div{padding:12px 14px 14px}.story-card small{display:block;margin-bottom:4px;color:#8d887f;font-size:12px;letter-spacing:.08em}.story-card strong{font-size:18px}.story-card p{margin:6px 0 0;color:#b7b1a8;font-size:14px;line-height:1.55}.story-card em{display:inline-block;margin-top:10px;font-style:normal;color:#d5e4ff;font-size:13px}.booting{margin:auto;color:#9a958c}.textish{color:#9a958c;padding:8px 0}
