.chat-drawer{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);width:min(430px,100vw - 24px)}.chat-drawer>*{min-width:0}.chat-drawer .chat-messages{overscroll-behavior:contain;min-width:0;min-height:0;overflow-x:hidden}.chat-drawer .chat-message{overflow-wrap:anywhere;writing-mode:horizontal-tb;flex:none;width:100%;min-width:0;height:auto;margin:0;padding:12px;display:block}.chat-drawer .chat-message>div{flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-width:0}.chat-drawer .chat-message>div b{overflow-wrap:anywhere;min-width:0}.chat-drawer .chat-message>span{width:auto;height:auto;box-shadow:none;background:0 0;border:0;flex:none}.chat-drawer>header small{letter-spacing:1px;font-size:12px}.chat-controls{border-bottom:1px solid var(--line)}.chat-scope{gap:8px;padding:10px 14px 0;display:flex}.chat-scope button{color:#bfcdc8;cursor:pointer;background:#15251f;border:1px solid #49605a;flex:1;padding:8px;font-size:14px}.chat-scope button[aria-pressed=true]{border-color:var(--acid);color:var(--acid);background:#202b13}.chat-privacy{color:#91a69c;margin:0 14px 10px;font-size:12px;line-height:1.55}.chat-message.chat-scope-private{border-left:3px solid #b7a0db}.chat-controls .chat-note{color:#a0b5af;border:0;font-size:13px;line-height:1.65}.chat-controls label{color:#bfcdc8;align-items:center;gap:8px;padding:0 14px 10px;font-size:14px;display:flex}.chat-controls select{color:#e5ede9;background:#15251f;border:1px solid #49605a;flex:1;min-width:0;padding:8px;font-size:14px}.chat-message b{font-size:14px}.chat-message small{letter-spacing:0;white-space:nowrap;font:12px monospace}.chat-drawer .chat-message p{overflow-wrap:anywhere;white-space:pre-wrap;color:#d2ddd8;margin:7px 0 0;font-size:16px;line-height:1.7}.chat-recipient,.chat-fallback{color:#91a69c;margin-top:5px;font-size:12px;line-height:1.6;display:block}.chat-fallback{color:#e4bc77}.chat-empty span{font-size:14px;line-height:1.6}.chat-compose{border-top:1px solid var(--line)}.chat-compose form{border:0;grid-template-columns:minmax(0,1fr) 82px}.chat-compose input{font-size:16px}.chat-compose .error,.chat-thinking{margin:9px 12px 0;font-size:13px;line-height:1.6}.chat-thinking{color:var(--acid)}.chat-compose button:disabled{opacity:.55;cursor:wait}.chat-drawer select:focus-visible{outline:2px solid var(--acid);outline-offset:2px}.chat-launcher:focus-visible{outline:2px solid var(--acid);outline-offset:2px}@media (max-width:700px){.chat-drawer{width:calc(100vw - 16px);height:min(620px,100dvh - 78px);right:8px}}.chat-launcher{color:#091522;background:linear-gradient(145deg,#e1b65d,#b87d31);border-color:#d6a84f;box-shadow:0 12px 35px #000b}.chat-launcher span{color:#7d312b}.chat-launcher.is-open{color:#f0dfbc;background:#102a3b;border-color:#82633e}.chat-drawer{background:#081a28;border-color:#8a693f}.chat-drawer>header{background:#102a3b;border-color:#6d5436}.chat-drawer>header small{color:#d6a84f}.chat-note,.chat-privacy,.chat-recipient{color:#aa967a}.chat-controls{border-color:#6d5436}.chat-scope button,.chat-controls select{color:#e8d8b7;background:#102b3d;border-color:#70573b}.chat-scope button[aria-pressed=true]{color:#f0cb77;background:#3c2a21;border-color:#d6a84f}.chat-message{background:#102737;border-color:#5e4b35}.chat-message.ai{background:#30261f;border-color:#9b7543}.chat-message.chat-scope-private{border-left-color:#a85142}.chat-message small,.chat-thinking{color:#e0b45a}.chat-drawer .chat-message p{color:#eadfc8}.chat-compose{border-color:#6d5436}.chat-drawer input{color:#f4e6c8;background:#061522;border-color:#70573b}.chat-drawer form button{color:#0a1520;background:linear-gradient(145deg,#dcb15a,#aa702d)}.chat-drawer select:focus-visible{outline-color:#d6a84f}.chat-launcher:focus-visible{outline-color:#d6a84f}.scene-actors{z-index:3;pointer-events:none;position:absolute;inset:0}.scene-actor{width:calc(20% * var(--actor-scale));aspect-ratio:1/2;pointer-events:auto;cursor:pointer;filter:drop-shadow(0 12px 12px #000a);background:0 0;border:0;padding:0;transition:transform .2s,filter .2s;position:absolute;transform:translate(-50%)}:is(.scene-actor:hover,.scene-actor:focus-visible){filter:drop-shadow(0 0 12px #f0b85fa8);outline:none;transform:translate(-50%)scale(1.07)}.scene-actor-visual{background-image:var(--pose-image);background-repeat:no-repeat;background-position:var(--pose-position) bottom;background-size:300% 100%;width:100%;height:100%;display:block}.scene-actor.is-single .scene-actor-visual{background-position:bottom;background-size:contain}.scene-actor-name{white-space:nowrap;color:#ffe1a1;text-align:center;background:#081722e8;border:1px solid #d3a555;min-width:76px;padding:5px 11px;font:700 13px Microsoft YaHei,sans-serif;position:absolute;bottom:-12px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #000a}.scene-actor-name small{color:#b4c3c9;margin-top:2px;font-size:10px;font-weight:400;display:block}.scene-corpse{z-index:4;aspect-ratio:3;cursor:pointer;filter:drop-shadow(0 6px 8px #000b);background:50%/contain no-repeat;border:0;width:35%;position:absolute;transform:translate(-50%)}.scene-corpse:disabled{cursor:default}.scene-corpse:not(:disabled):hover{filter:drop-shadow(0 0 12px #ebbd66)}.scene-corpse span{white-space:nowrap;color:#f4d39b;background:#0c1824de;border:1px solid #c5944f;padding:4px 8px;font-size:11px;position:absolute;bottom:-8px;left:50%;transform:translate(-50%)}.scene-conversation{z-index:8;flex-direction:column;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}.scene-conversation-shade{pointer-events:none;background:linear-gradient(90deg,#02070dbb,#03101a52 50%,#02070dbb),linear-gradient(#0000 30%,#02070df5 100%);position:absolute;inset:0}.scene-portrait-wrap{z-index:1;flex:1;justify-content:center;align-items:end;width:100%;min-height:0;display:flex;position:relative}.scene-portrait{aspect-ratio:1/2;background-image:var(--pose-image);background-repeat:no-repeat;background-size:300% 100%;background-position:var(--pose-position) bottom;filter:drop-shadow(0 14px 12px #000c);height:100%}.scene-portrait.is-single{background-position:bottom;background-size:contain}.scene-portrait-caption{color:#ffe5b8;background:#06131ecf;border-left:2px solid #d7a558;padding:7px 11px;position:absolute;top:14px;right:16px}.scene-portrait-caption b,.scene-portrait-caption small{display:block}.scene-portrait-caption small{color:#b7bfc2;margin-top:2px;font-size:11px}.scene-conversation-panel{z-index:2;background:linear-gradient(#091826ef,#08131cfb);border-top:1px solid #ba8c4c;flex:0 0 44%;grid-template-rows:minmax(0,1fr) auto auto auto;width:100%;padding:12px 16px;display:grid;position:relative;box-shadow:0 -15px 40px #0008}.scene-dialogue{flex-direction:column;gap:7px;min-height:0;padding-right:6px;display:flex;overflow:auto}.scene-dialogue article{color:#f4e8d4;background:#173144e8;border:1px solid #527186;max-width:86%;padding:8px 11px}.scene-dialogue article.mine{background:#443121e8;border-color:#a4733d;align-self:flex-end}.scene-dialogue article b{color:#f0bd65;font-size:11px}.scene-dialogue article p{white-space:pre-wrap;margin:3px 0 0;font-size:14px;line-height:1.55}.scene-dialogue article small{color:#df9c78;display:block}.scene-dialogue-empty,.scene-thinking{color:#c8b99e;margin:7px 0;font-size:13px}.scene-chat-error{margin:4px 0;font-size:12px}.scene-chat-form{gap:7px;margin-top:8px;display:flex}.scene-chat-form input{color:#f6e7c9;background:#071520;border:1px solid #876b48;flex:1;min-width:0;padding:10px 12px;font-size:14px}.scene-chat-form button,.scene-interaction-actions button{color:#101a22;cursor:pointer;background:#d3a254;border:1px solid #bb8b47;padding:9px 16px;font-weight:700}.scene-interaction-actions{justify-content:center;gap:10px;margin-top:8px;display:flex}.scene-interaction-actions button{color:#ecd7aa;background:#122b3b;min-width:90px}.scene-interaction-actions button.is-danger{color:#ffe1cd;background:#6b302e;border-color:#b56251}.scene-interaction-actions button:disabled,.scene-chat-form button:disabled{opacity:.45;cursor:not-allowed}.scene-card-overlay{z-index:30;background:#01060de5;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.scene-card-backdrop{cursor:zoom-out;background:0 0;border:0;position:absolute;inset:0}.scene-card-content{z-index:1;background:#0c2130;border:1px solid #b1874e;flex-direction:column;width:min(900px,100%);max-height:100%;padding:14px;display:flex;position:relative;box-shadow:0 20px 50px #000b}.scene-card-content header{color:#f4dfb5;justify-content:space-between;align-items:start;display:flex}.scene-card-content header small{color:#dba858;letter-spacing:2px;font:11px monospace}.scene-card-content header h3{margin:4px 0 12px;font-size:18px}.scene-card-content header button{color:#eac990;cursor:pointer;background:#102b3a;border:1px solid #a77b46;font-size:22px}.scene-card-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;display:grid;overflow:auto}.scene-card-grid button{color:#f3dfbd;cursor:pointer;background:#112a38;border:1px solid #765f46;flex-direction:column;align-items:center;gap:5px;padding:7px;display:flex}.scene-card-grid button:hover{background:#264257;border-color:#e6bb72}.scene-card-grid img{object-fit:contain;width:100%;height:156px}.scene-card-grid b{font-size:13px}.scene-card-grid small{color:#bdac91;font-size:10px;line-height:1.3}.scene-no-cards{color:#ddc8a6}.ambient-combat{color:#f8ddd1;background:#2b1920;border:1px solid #ad594e;margin-top:12px;padding:12px}.scene-conversation-panel .ambient-combat{background:#2b1920f7;width:min(390px,90%);max-height:85%;position:absolute;bottom:12px;right:16px;overflow:auto;box-shadow:0 15px 35px #000b}.ambient-combat-heading{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.ambient-combat-heading b{color:#ffb5a0}.ambient-combat-heading small{color:#d5b4a8}.ambient-combat-actions{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.ambient-combat-actions button{color:#ffe6d8;cursor:pointer;background:#5a2926;border:1px solid #b46651;padding:7px 9px}.ambient-combat-actions button:disabled{opacity:.4;cursor:not-allowed}.ambient-combat .combat-log{margin-top:9px}.chat-launcher.is-inline{width:auto;height:auto;margin-top:14px;padding:10px 18px;display:block;position:static;transform:none}.chat-launcher.is-inline:hover{transform:none}@media (max-width:700px){.scene-actor{width:calc(26% * var(--actor-scale))}.scene-actor-name{min-width:50px;padding:3px 5px;font-size:10px}.scene-actor-name small,.scene-corpse span{font-size:8px}.scene-conversation-panel{flex-basis:55%;padding:8px}.scene-portrait-caption{top:5px;right:5px}.scene-portrait-caption b{font-size:11px}.scene-portrait-caption small{font-size:8px}.scene-dialogue article p{font-size:12px}.scene-chat-form input{padding:7px;font-size:12px}.scene-interaction-actions{gap:5px}.scene-interaction-actions button{min-width:0;padding:6px 11px;font-size:11px}.scene-conversation-panel .ambient-combat{max-height:95%;font-size:11px;bottom:5px;right:5px}.scene-card-grid{grid-template-columns:repeat(auto-fill,minmax(85px,1fr))}.scene-card-grid img{height:100px}}.roof-controls{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.roof-controls span{color:#e9c994;margin-right:8px;font-size:12px}.roof-controls button,.carriage-viewer footer>button{color:#f2d6a8;cursor:pointer;background:#102c3c;border:1px solid #a87941;padding:5px 8px}.roof-controls button:disabled{opacity:.45;cursor:default}.carriage-scene-stage.is-roof{background-position:50%;background-size:cover}.carriage-scene-stage.is-roof .scene-actor{width:calc(14% * var(--actor-scale))}.locked-door-overlay{z-index:200;background:#020712e8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.locked-door-panel{color:#f4dfba;background:#0b1d2a;border:1px solid #b3854d;grid-template-columns:minmax(180px,46%) 1fr;width:min(820px,100%);max-height:90vh;display:grid;overflow:auto;box-shadow:0 20px 70px #000d}.locked-door-panel img{object-fit:cover;width:100%;height:100%;max-height:540px}.locked-door-panel>div{padding:24px}.locked-door-panel small{color:#d9a85f;letter-spacing:2px}.locked-door-panel h2{font-size:24px;line-height:1.35}.locked-door-panel p{line-height:1.7}.locked-door-actions{flex-wrap:wrap;gap:8px;display:flex}.locked-door-actions button{color:#f5dfb5;cursor:pointer;background:#163146;border:1px solid #bb8f54;padding:10px 14px}.locked-door-actions button:disabled{opacity:.4;cursor:not-allowed}@media (max-width:700px){.locked-door-panel{grid-template-columns:1fr}.locked-door-panel img{height:240px}.locked-door-panel>div{padding:14px}}.carriage-viewer:has(.roof-controls)>footer{height:auto;min-height:42px;padding:8px 16px}.carriage-viewer:has(.roof-controls) .carriage-scene-stage{aspect-ratio:3/2;max-height:calc(100vh - 210px)}.carriage-scene-stage.is-roof{animation:.32s cubic-bezier(.2,.72,.2,1) both scene-window-in}@media (prefers-reduced-motion:reduce){.carriage-scene-stage.is-roof{animation:none}}.hand-replace-overlay{z-index:500;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#010712ed;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.hand-replace-panel{color:#f1dfbd;background:linear-gradient(145deg,#0d283a,#071725);border:1px solid #c69b57;width:min(980px,100%);max-height:94vh;padding:22px;overflow:auto;box-shadow:0 24px 90px #000d}.hand-replace-panel header{text-align:center}.hand-replace-panel header small,.hand-replace-new small{color:#dea95e;letter-spacing:2px;font:11px monospace}.hand-replace-panel h2{margin:8px 0;font:28px Georgia,Songti SC,serif}.hand-replace-panel p{color:#c7b89b;line-height:1.6}.hand-replace-new{background:#173446;border:1px solid #b78c4e;justify-content:center;align-items:center;gap:15px;width:max-content;max-width:100%;margin:15px auto;padding:10px;display:flex}.hand-replace-new img{object-fit:contain;width:100px;height:145px}.hand-replace-new b{margin-top:7px;font-size:18px;display:block}.hand-replace-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.hand-replace-list button{color:#f6e3bf;cursor:pointer;background:#122a3a;border:1px solid #745c3c;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:8px;display:flex}:is(.hand-replace-list button:hover,.hand-replace-list button:focus-visible){background:#25445a;border-color:#f3c16d;outline:none}.hand-replace-list button:disabled{opacity:.5;cursor:not-allowed}.hand-replace-list img{aspect-ratio:2/3;object-fit:contain;width:100%;max-height:200px}.hand-replace-list b{font-size:13px}.hand-replace-list span{color:#e8ad65;font-size:11px}@media (max-width:700px){.hand-replace-panel{padding:12px}.hand-replace-panel h2{font-size:19px}.hand-replace-new img{width:65px;height:90px}.hand-replace-list{grid-template-columns:repeat(3,minmax(0,1fr))}.hand-replace-list img{max-height:130px}}.scene-conversation .scene-portrait.is-single{aspect-ratio:1;background-position:bottom;background-size:contain}.scene-conversation-panel{flex-basis:36%}.eavesdrop-overlay{z-index:480;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#020812ee;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.eavesdrop-panel{color:#f0dfbd;background:#091c29;border:1px solid #b68d52;flex-direction:column;width:min(1180px,100%);max-height:96vh;display:flex;overflow:hidden;box-shadow:0 20px 80px #000d}.eavesdrop-panel header,.eavesdrop-panel footer{justify-content:space-between;align-items:center;gap:12px;padding:11px 16px;display:flex}.eavesdrop-panel header small{letter-spacing:2px;color:#deb16e;font:11px monospace}.eavesdrop-panel h2{margin:3px 0;font-size:19px}.eavesdrop-panel button{color:#f2d9a6;cursor:pointer;background:#173247;border:1px solid #b68d52;padding:7px 12px}.eavesdrop-panel header button{font-size:21px;line-height:1}.eavesdrop-scene{aspect-ratio:3/2;background:#030d16 50%/contain no-repeat;width:100%;min-height:0;max-height:53vh}.eavesdrop-transcript{background:#0b2331;flex:1;min-height:0;padding:8px 16px;overflow:auto}.eavesdrop-transcript>p{color:#aaafa8;margin:4px 0 10px;font-size:12px}.eavesdrop-transcript article{overflow-wrap:anywhere;background:#163143;border-left:2px solid #ad8651;align-items:start;gap:12px;margin:5px 0;padding:7px 10px;font-size:14px;line-height:1.55;display:flex}.eavesdrop-transcript article b{color:#e6bd76;white-space:nowrap}.eavesdrop-panel footer span{color:#d7bd8e;font-size:12px}@media (max-width:700px){.eavesdrop-panel header,.eavesdrop-panel footer{padding:8px}.eavesdrop-panel h2{font-size:15px}.eavesdrop-scene{aspect-ratio:3/2;max-height:43vh}.eavesdrop-transcript{padding:7px}.eavesdrop-transcript article{font-size:12px}}.scene-dialogue-current{flex-direction:column;align-items:stretch;gap:5px;min-height:0;display:flex;overflow:hidden}.scene-dialogue-toolbar{color:#c9b18a;letter-spacing:1px;flex:none;justify-content:space-between;align-items:center;font-size:11px;display:flex}.scene-dialogue-toolbar button{color:#f4d49c;cursor:pointer;background:#102a39;border:1px solid #967747;padding:2px 8px;font-size:11px}.scene-dialogue-current article,.scene-history-list article{color:#f4e8d4;background:#173144e8;border:1px solid #527186;max-width:90%;min-height:0;padding:6px 10px;overflow:auto}.scene-dialogue-current article.mine,.scene-history-list article.mine{background:#443121e8;border-color:#a4733d;align-self:flex-end}.scene-dialogue-current article b,.scene-history-list article b{color:#f0bd65;font-size:11px}.scene-dialogue-current article p,.scene-history-list article p{white-space:pre-wrap;margin:2px 0 0;font-size:13px;line-height:1.45}.scene-dialogue-current article small,.scene-history-list article small{color:#df9c78;display:block}.scene-dialogue-current .scene-thinking{margin:0;font-size:11px}.scene-history-overlay{z-index:25;background:#01060ddc;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.scene-history-backdrop{cursor:zoom-out;background:0 0;border:0;position:absolute;inset:0}.scene-history-panel{z-index:1;color:#f4dfb5;background:#0c2130;border:1px solid #b1874e;flex-direction:column;width:min(720px,100%);height:min(75%,560px);min-height:220px;padding:14px;display:flex;position:relative;box-shadow:0 20px 50px #000b}.scene-history-panel header{flex:none;justify-content:space-between;align-items:start;gap:12px;display:flex}.scene-history-panel header small{color:#dba858;letter-spacing:2px;font:11px monospace}.scene-history-panel header h3{margin:3px 0 12px;font-size:18px}.scene-history-panel header button{color:#eac990;cursor:pointer;background:#102b3a;border:1px solid #a77b46;padding:4px 10px}.scene-history-list{flex-direction:column;gap:9px;min-height:0;padding:4px 6px 4px 0;display:flex;overflow:auto}.scene-history-list article{flex:none;max-width:85%;overflow:visible}@media (max-width:700px){.scene-conversation-panel{flex-basis:48%}.scene-dialogue-current article p{font-size:11px}.scene-dialogue-toolbar{font-size:9px}.scene-history-panel{height:85%}}.carriage-scene-stage.is-overview .scene-actor{width:auto;height:calc(13% * var(--actor-scale));transform-origin:bottom;filter:drop-shadow(0 3px 3px #0009)}.carriage-scene-stage.is-overview .scene-actor .scene-actor-visual{background-size:var(--standing-size);background-position:var(--pose-position);overflow:hidden}.scene-actor,.scene-portrait{aspect-ratio:var(--pose-aspect,1 / 2)}.scene-actor-visual,.scene-portrait.is-sheet{background-size:300%}.scene-actor.is-self:disabled{opacity:1;pointer-events:none;cursor:default}.scene-actor.is-self .scene-actor-name{background:#553d20ed;border-color:#f2cf7d}:is(.carriage-scene-stage.is-overview .scene-actor:hover,.carriage-scene-stage.is-overview .scene-actor:focus-visible){filter:drop-shadow(0 0 9px #f0b85fcc)}.carriage-scene-stage.is-overview .scene-actor-name{white-space:normal;pointer-events:none;width:max-content;min-width:0;max-width:110px;padding:2px 5px;font-size:10px;line-height:1.25;top:calc(100% + 4px);bottom:auto}.carriage-scene-stage.is-overview .scene-actor-name small{font-size:8px}.carriage-scene-stage.is-overview .scene-corpse{width:calc(13% * var(--corpse-scale,1));height:auto;aspect-ratio:var(--corpse-aspect,2 / 1);background-size:var(--corpse-size,contain);background-position:var(--corpse-position,center);background-repeat:no-repeat;overflow:visible;transform:translate(-50%,-50%)}.carriage-scene-stage.is-overview .scene-corpse span{white-space:normal;width:max-content;max-width:150px;padding:3px 6px;font-size:10px;line-height:1.3;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%)}.car-condition-tokens{z-index:90;pointer-events:none;align-items:flex-end;gap:8px;max-width:55%;display:flex;position:absolute;bottom:14px;left:15px}.car-condition-token{color:#f5dfb8;text-align:center;background:#061522df;border:1px solid #d4aa6b99;flex-direction:column;align-items:center;gap:3px;min-width:54px;max-width:76px;padding:5px 4px 4px;display:flex;box-shadow:0 4px 14px #000a}.car-condition-token img{object-fit:contain;width:43px;height:43px;display:block}.car-condition-token span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:9px;line-height:1.2;overflow:hidden}@media (max-width:700px){.car-condition-tokens{gap:3px;max-width:68%;bottom:6px;left:6px}.car-condition-token{min-width:38px;max-width:52px;padding:2px}.car-condition-token img{width:31px;height:31px}.car-condition-token span{font-size:7px}.carriage-scene-stage.is-overview .scene-actor-name{min-width:0;max-width:72px;padding:2px 4px;font-size:8px}}.card-rule-controls{text-align:left;color:#eee4ce;background:#102a38;border:1px solid #a68b55;gap:10px;max-height:52vh;padding:14px;display:grid;overflow:auto}.card-rule-controls p{min-height:0;margin:0;font-size:13px;line-height:1.6}.card-rule-controls small{color:#e1b968}.card-rule-controls label{gap:5px;font-size:12px;display:grid}.card-rule-controls select,.card-rule-controls input{color:#eee4ce;background:#071e2a;border:1px solid #577785;width:100%;min-height:38px;padding:8px}.rule-notebook{overflow-wrap:anywhere;margin-top:14px;font-size:12px;line-height:1.6}.rule-notebook summary{cursor:pointer;color:#e1b968}.rule-notebook .note-list{max-height:240px;overflow:auto}.rule-notebook p{background:#102a38;margin:7px 0;padding:7px}.rule-notebook button{margin-top:4px}.rule-item-dialog{z-index:260;background:#000c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.rule-item-dialog>section{background:#0b2230;border:1px solid #bda066;width:min(500px,94vw);max-height:90vh;padding:20px;position:relative;overflow:auto}.rule-item-dialog h3{color:#e1b968;margin:0 0 14px}.rule-status{color:#e1b968;font-size:12px;line-height:1.6}.dm-panel{color:#eee4ce;overflow-wrap:anywhere;background:#102a38;border:1px solid #ad8748;max-width:650px;padding:18px;line-height:1.65}.dm-panel h3{color:#e1b968;margin:0}.dm-panel p{margin:8px 0}.dm-panel label{gap:6px;margin:12px 0;display:grid}.dm-panel textarea,.dm-panel select{box-sizing:border-box;color:#eee4ce;width:100%;font:inherit;background:#071e2a;border:1px solid #577785;padding:10px}.dm-panel textarea{resize:vertical;min-height:84px;max-height:180px}.dm-panel button{color:#f7d995;cursor:pointer;background:#283947;border:1px solid #ad8748;padding:12px 18px}.dm-panel button:disabled{opacity:.45;cursor:not-allowed}.dm-answer{border-top:1px solid #577785;max-height:220px;margin-top:15px;padding-top:10px;overflow:auto}.note-list span{display:block}.scene-item-layout{grid-template-columns:minmax(180px,280px) minmax(0,1fr);gap:12px;min-height:280px;max-height:min(62vh,460px);display:grid}.scene-item-layout.is-attack{min-height:0;display:block}.scene-item-layout .scene-card-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));align-content:start;min-height:0;overflow:auto}.scene-item-layout.is-attack .scene-card-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.scene-item-layout .scene-card-grid button{touch-action:none;-webkit-user-select:none;user-select:none}.scene-gift-drop{color:#b8ab94;text-align:center;background:#0a1d2b55;border:1px dashed #526575;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:220px;padding:18px;transition:background .15s,border-color .15s;display:flex}.scene-gift-drop span{font-size:14px;line-height:1.5}.scene-gift-drop small{color:#eac17a}.scene-gift-drop.is-dragging{color:#ffe0a4;background:#1a3140d9;border-color:#d0a461}.scene-gift-drop.is-over{background:#305443e8;border-color:#ffe0a4;box-shadow:inset 0 0 30px #e6bb7240}.scene-gift-dragging{z-index:100;pointer-events:none;color:#ffe5b5;background:#102736ed;border:1px solid #d9ad69;justify-items:center;gap:3px;padding:6px;display:grid;position:fixed;transform:translate(-50%,-65%);box-shadow:0 12px 30px #000b}.scene-gift-dragging img{object-fit:contain;width:70px;height:100px}.scene-gift-dragging span{font-size:12px}.scene-conversation .scene-portrait{animation:.32s ease-out both scene-expression-shift}@keyframes scene-expression-shift{0%{opacity:.45;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.scene-conversation .scene-portrait{animation:none}}@media (max-width:700px){.scene-item-layout{grid-template-columns:minmax(100px,42%) minmax(0,1fr);min-height:240px}.scene-item-layout .scene-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-gift-drop{min-height:200px;padding:8px}.scene-gift-drop span{font-size:11px}.scene-gift-dragging img{width:50px;height:72px}}.carriage-scene-stage.is-overview .scene-actor.is-frank-idle{aspect-ratio:1;height:13%}.carriage-scene-stage.is-overview .scene-actor .frank-idle-visual{background-position:bottom;background-size:contain}.player-investigation-overlay{z-index:500;background:#02080cdf;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.player-investigation-overlay section{color:#f0e4cd;background:#0d2532;border:1px solid #b99755;width:min(560px,100%);max-height:80dvh;padding:28px;overflow:auto;box-shadow:0 20px 80px #000a}.player-investigation-overlay p{overflow-wrap:anywhere;line-height:1.7}.player-investigation-overlay small{color:#cfbb93;line-height:1.5;display:block}.player-investigation-overlay button{margin:24px auto 0;display:block}.bloodied-badge{color:#ffb3a5;white-space:nowrap;background:#631f29;border:1px solid #bb6466;border-radius:3px;padding:2px 6px;font-size:12px;line-height:1.3;display:inline-block}.supply-thumb .bloodied-badge{position:absolute;top:4px;bottom:auto;right:3px}.scene-interaction-actions{flex-wrap:wrap}.night-battle-overlay{z-index:720;color:#f2e3c8;background:#01070cf5;outline:none;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.night-battle-overlay *{box-sizing:border-box}.night-battle-overlay.is-scene-entry{background:#000}.is-scene-entry>.night-battle-shell{pointer-events:none;animation:1.2s both scene-battle-entry}@keyframes scene-battle-entry{0%,25%{opacity:0}to{opacity:1}}.night-battle-overlay button{cursor:pointer;color:#f2d096;font:inherit;background:#102d3a;border:1px solid #ad8247;padding:12px 22px}.night-battle-overlay button:disabled{opacity:.45;cursor:default}.night-battle-overlay button:focus-visible{outline-offset:4px;outline:3px solid #f6c776}.night-battle-intro{text-align:center;width:min(960px,92vw);animation:.65s both night-battle-appear}.night-battle-intro-art{aspect-ratio:16/9;width:100%;max-height:68dvh}.night-battle-intro-art img{object-fit:contain;width:100%;height:100%}.night-battle-intro p{overflow-wrap:anywhere;margin:20px 0;font-size:clamp(16px,1.6vw,24px)}.night-battle-intro>button{min-width:180px}.night-battle-shell{width:min(1600px,100%);position:relative}.night-battle-shell>header,.night-battle-items header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.night-battle-shell>header>span{letter-spacing:2px;font-size:14px}.night-battle-stage{isolation:isolate;background:#0b141c;border:1px solid #806344;height:min(48dvh,540px);min-height:240px;position:relative;overflow:hidden}.night-battle-background,.night-battle-shade{object-fit:cover;z-index:-2;width:100%;height:100%;position:absolute;inset:0}.night-battle-shade{z-index:-1;background:linear-gradient(#02080c80,#0000 45%,#02080ccc)}.night-battle-broadcast{text-align:center;text-shadow:0 2px 4px #000;z-index:2;overflow-wrap:anywhere;background:#040d13bf;border-top:1px solid #b28c56;width:36%;max-height:43%;padding:10px;position:absolute;top:4%;left:32%;overflow:auto}.night-battle-broadcast b{color:#e9b966;letter-spacing:3px;font-size:13px}.night-battle-broadcast p{margin:6px 0;font-size:clamp(12px,1.15vw,18px);line-height:1.6}.night-battle-fighter{flex-direction:column;justify-content:flex-end;align-items:center;width:31%;height:84%;display:flex;position:absolute;bottom:0}.night-battle-fighter.self{left:14%}.night-battle-fighter.opponent{right:14%}.night-battle-portrait{object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 12px #0009);width:100%;height:calc(100% - 62px);display:block}.combat-pose{filter:drop-shadow(0 7px 8px #0009);flex:none;width:100%;height:calc(100% - 62px);position:relative}.combat-pose-layer{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.combat-pose-layer.is-leaving{animation:.7s both combat-pose-out}.combat-pose-layer.is-entering{animation:.7s both combat-pose-in}@keyframes combat-pose-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-28px)}}@keyframes combat-pose-in{0%{opacity:0;transform:translate(-28px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.combat-pose-layer.is-leaving{opacity:0;animation:none}.combat-pose-layer.is-entering{opacity:1;animation:none}}.night-battle-name{text-align:center;overflow-wrap:anywhere;background:#041118d9;border-top:1px solid #9d7b49;max-width:100%;min-height:62px;padding:8px 18px}.night-battle-name b,.night-battle-name span{display:block}.night-battle-name span{margin-top:3px;font-size:13px}.night-battle-status{text-align:center;min-height:36px;padding:8px;font-size:14px}.night-battle-status button{margin-left:10px;padding:4px 12px}.night-battle-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,5vw,90px);max-width:1200px;margin:8px auto 0;display:grid}.night-battle-actions button{min-height:70px;padding:14px 6px;font-size:clamp(16px,1.6vw,24px)}.night-battle-error{color:#ffb0a0;text-align:center;overflow-wrap:anywhere;margin:8px}.night-battle-return{min-width:180px;margin:12px auto 0;display:block}.night-battle-history{z-index:3;overflow-wrap:anywhere;background:#0a202ef5;border:1px solid #ad8247;padding:16px;position:absolute;inset:8% 25%;overflow:auto}.night-battle-history p{border-bottom:1px solid #ffffff26;padding-bottom:10px;line-height:1.6}.night-battle-items{z-index:5;background:#000c;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.night-battle-items>section{background:#0b2433;border:1px solid #ad8247;width:min(900px,100%);max-height:90dvh;padding:22px;overflow:auto}.night-battle-items h2{margin:0;font-size:22px}.night-battle-items p{line-height:1.6}.night-battle-item-grid{flex-wrap:wrap;gap:14px;display:flex}.night-battle-item-grid button{flex-direction:column;align-items:center;gap:8px;width:130px;padding:8px;display:flex}.night-battle-item-grid img{object-fit:contain;width:100%;height:160px}.night-battle-item-grid button[aria-pressed=true]{outline:3px solid #ecc578}.night-battle-use{margin:20px auto 0;display:block}@keyframes night-battle-appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:700px){.night-battle-overlay{padding:10px}.night-battle-stage{height:58dvh;min-height:280px}.night-battle-fighter{width:36%;height:66%}.night-battle-fighter.self{left:0}.night-battle-fighter.opponent{right:0}.night-battle-broadcast{width:76%;max-height:30%;top:2%;left:12%}.night-battle-name{padding:6px;font-size:12px}.night-battle-actions{gap:8px}.night-battle-actions button{min-height:58px}.night-battle-history{inset:5%}.night-battle-status{font-size:12px}}@media (prefers-reduced-motion:reduce){.night-battle-intro{animation:none}.is-scene-entry>.night-battle-shell{animation-duration:.01ms}}.combat-dialogue{overflow-wrap:anywhere;background:#0b2332;border:1px solid #806344;padding:12px 18px;line-height:1.6}.combat-dialogue small{color:#d6b879;letter-spacing:1px}.combat-dialogue p{margin:5px 0;font-size:15px}.combat-dialogue b{color:#f4c875}.night-battle-shell>.combat-dialogue{max-height:25dvh;overflow:auto}.combat-surrender>div{flex-wrap:wrap;gap:12px;margin-top:10px;display:flex}.combat-surrender button{flex:1;min-width:170px}.combat-surrender button:first-child{background:#264b40}.vote-event-overlay{z-index:180;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#020102ed;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.vote-event{color:#eadedb;background:#0c0608;border:1px solid #62343d;border-radius:4px;flex-direction:column;width:min(1500px,96vw,170.576svh - 337.598px);max-height:96svh;animation:.6s vote-event-enter;display:flex;overflow:hidden;box-shadow:0 20px 100px #000}.vote-event-header{background:linear-gradient(90deg,#281117,#0c0608);justify-content:space-between;align-items:center;gap:16px;padding:18px 24px 8px;display:flex}.vote-event-header small{letter-spacing:3px;color:#b1878b;font:10px monospace}.vote-event-header h2{letter-spacing:2px;color:#f0dfd9;margin:7px 0 0;font:25px Georgia,Songti SC,serif}.vote-event-header button{color:#c9a9ad;cursor:pointer;background:#15090d;border:1px solid #62434a;flex:none;width:36px;height:36px;font-size:24px}.vote-rule{color:#b6979d;margin:0;padding:5px 24px 14px;font-size:12px;line-height:1.7}.vote-stage-scroll{scrollbar-color:#66414a #0c0608;scrollbar-width:thin;overflow:auto hidden}.vote-stage{isolation:isolate;width:100%;min-width:calc(var(--vote-count)*64px);aspect-ratio:1672/941;background:#13080c url(/images/vote/red-black-chamber-v1.png) 50%/100% 100% no-repeat;position:relative;overflow:hidden}.vote-spotlight-beam{z-index:0;pointer-events:none;clip-path:polygon(50% 18.6%,calc(var(--light-x) - 10%) 90%,calc(var(--light-x) + 10%) 90%);mix-blend-mode:screen;background:linear-gradient(#fff6df00 18%,#ffead726 36%,#ffe6cf0a 90%);position:absolute;inset:0}.vote-spotlight-pool{left:var(--light-x);pointer-events:none;background:radial-gradient(#ffe2c32b,#0000 70%);border-radius:50%;width:19%;height:9%;position:absolute;top:84%;transform:translate(-50%)}.vote-lamp-direction{pointer-events:none;width:8%;height:5px;transform:translateX(-50%) rotate(var(--lamp-angle,0deg));transform-origin:50%;background:#fce4c44a;border-radius:50%;transition:transform .1s linear;position:absolute;top:18.2%;left:50%;box-shadow:0 0 10px #fff1d45c}.vote-lineup{grid-template-columns:repeat(var(--vote-count),minmax(0,1fr));z-index:1;align-items:end;gap:2px;display:grid;position:absolute;inset:29% 3% 4%}.vote-person{color:#a9959c;cursor:pointer;outline-offset:-2px;background:0 0;border:0;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0;height:100%;padding:0 3px;display:flex}.vote-person[aria-disabled=true]{cursor:default}.vote-person:focus-visible{outline:1px solid #d5b3a8}.vote-portrait-slot{background:0 0;border:0;width:100%;height:84%;min-height:0;display:block;position:relative}.vote-person-art{object-fit:contain;object-position:center bottom;filter:brightness(0);width:100%;height:100%;transition:filter .18s;display:block}.vote-person.is-lit .vote-person-art{filter:brightness()contrast(1.04)drop-shadow(0 0 5px #eac4a14d)}.vote-art-pending{color:#78535b;white-space:nowrap;opacity:.5;font-size:10px;position:absolute;bottom:7%;left:50%;transform:translate(-50%)}.vote-person.is-lit .vote-art-pending{color:#bfa29a;opacity:1}.vote-person-name{text-align:center;overflow-wrap:anywhere;text-shadow:0 2px 4px #000;width:100%;font-size:clamp(10px,.8vw,13px);font-weight:600;line-height:1.6;transition:color .2s}.vote-person.is-lit .vote-person-name{color:#f0dcc7}.vote-person.is-selected .vote-person-name{color:#f2b5a4}.vote-person-mark{color:#b4807f;min-height:18px;font-size:9px;line-height:18px}.vote-event-footer{background:linear-gradient(90deg,#1e0c12,#0b0608);border-top:1px solid #57323b;justify-content:space-between;align-items:center;gap:18px;padding:14px 24px;display:flex}.vote-event-footer p{color:#cfb5b5;margin:0;font-size:12px;line-height:1.8}.vote-event-footer>div{flex:none;gap:12px;display:flex}.vote-event-footer button,.vote-reopen{color:#e7cecc;cursor:pointer;background:#211017;border:1px solid #754652;min-width:105px;padding:12px 20px;font:600 13px inherit}.vote-event-footer .vote-confirm{color:#fff1e6;background:linear-gradient(135deg,#76313a,#3d1823);border-color:#ae6a70}.vote-event-footer button:disabled{opacity:.38;cursor:not-allowed}.vote-event-footer button:focus-visible{outline-offset:3px;outline:2px solid #edd3c3}.vote-event-header button:focus-visible{outline-offset:3px;outline:2px solid #edd3c3}.vote-reopen:focus-visible{outline-offset:3px;outline:2px solid #edd3c3}.vote-error{color:#ff9b91;display:block}.vote-reopen{width:100%;margin:8px 0}@keyframes vote-event-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:700px){.vote-event-overlay{padding:8px}.vote-event{width:100%;max-height:98svh}.vote-event-header{padding:14px 14px 7px}.vote-event-header h2{font-size:20px}.vote-rule{padding:4px 14px 10px;font-size:11px}.vote-stage{min-width:max(620px,calc(var(--vote-count)*80px));max-height:none}.vote-event-footer{flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px}.vote-event-footer>div{justify-content:flex-end}.vote-event-footer button{flex:1;padding:11px}}@media (prefers-reduced-motion:reduce){.vote-event{animation:none}.vote-person-art,.vote-lamp-direction{transition:none}}.vote-event{width:min(1500px,96vw,170.576svh - 408.672px)}.vote-event-header,.vote-rule,.vote-event-footer{flex-shrink:0}.vote-event-footer{min-height:68px}.vote-event-footer button,.vote-reopen{font-family:inherit;font-size:13px;font-weight:600}.vote-person-name{justify-content:center;align-items:center;height:3.2em;min-height:3.2em;display:flex;overflow:hidden}.vote-portrait-slot{flex:1;min-height:0}@media (max-width:700px){.vote-event{width:100%}.vote-stage{min-width:max(620px,calc(var(--vote-count)*64px))}.vote-event-footer{min-height:105px}}.vote-event-overlay.is-focused{-webkit-backdrop-filter:none;backdrop-filter:none;z-index:30010;background:#000;padding:0}.vote-event.is-focused{width:100%;height:100svh;max-height:100svh;box-shadow:none;background:#000;border:0;border-radius:0;animation:none}.vote-focus{box-sizing:border-box;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;padding:20px;display:flex}.vote-focus-portrait{flex:1;place-items:center;width:min(580px,80vw);height:calc(100svh - 290px);min-height:0;max-height:calc(100svh - 210px);animation:1.25s cubic-bezier(.16,1,.3,1) both vote-portrait-focus;display:grid}.vote-focus-portrait img{object-fit:contain;object-position:center;filter:none;width:100%;height:100%}.vote-focus-pending{color:#8b7479;letter-spacing:3px;font-size:13px}.vote-focus-controls{text-align:center;flex:none;max-width:min(650px,100%);animation:1.3s both vote-focus-controls}.vote-focus-controls h2{color:#eededb;letter-spacing:2px;margin:0 0 8px;font:24px Georgia,Songti SC,serif}.vote-focus-controls p{color:#aa9598;margin:0 0 14px;font-size:12px;line-height:1.7}.vote-focus-controls>div{justify-content:center;gap:16px;display:flex}.vote-focus-controls .vote-last-words{color:#e6d4d0;overflow-wrap:anywhere;min-height:48px;margin:0 0 18px;font:17px/1.8 Georgia,Songti SC,serif;display:block}.vote-last-words blockquote{margin:0;animation:.7s both vote-words-enter}.vote-last-words span{color:#b3a0a4;font:12px/1.8 sans-serif}@keyframes vote-words-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.vote-focus-controls button{color:#ddc8ca;cursor:pointer;background:#150b0e;border:1px solid #68424b;min-width:110px;padding:12px 20px;font-family:inherit}.vote-focus-controls .vote-confirm{color:#f8e8e4;background:#54212b;border-color:#9e616c}.vote-focus-controls button:disabled{opacity:.4;cursor:not-allowed}.vote-focus-controls button:focus-visible{outline-offset:3px;outline:2px solid #edd3c3}@keyframes vote-portrait-focus{0%{opacity:.35;transform:scale(.35)}to{opacity:1;transform:scale(1)}}@keyframes vote-focus-controls{0%{opacity:0}65%{opacity:0}to{opacity:1}}@media (max-width:700px){.vote-focus{padding:16px}.vote-focus-portrait{height:calc(100svh - 235px)}.vote-focus-controls h2{font-size:21px}}@media (prefers-reduced-motion:reduce){.vote-focus-portrait,.vote-focus-controls,.vote-last-words blockquote{animation:none}}.settlement-overlay{z-index:1000;background:#02090fe6;padding:18px}.settlement-panel{box-sizing:border-box;color:#eee4ce;overscroll-behavior:contain;background:linear-gradient(145deg,#152e3b,#071720 75%);border:1px solid #ae8650;width:min(1040px,100%);max-height:94dvh;padding:32px;overflow:auto;box-shadow:0 22px 90px #000}.settlement-panel header{text-align:center;max-width:790px;margin:auto}.settlement-panel h2{color:#f4deb2;letter-spacing:.12em;margin:8px 0;font-size:clamp(28px,4vw,42px)}.settlement-panel p{overflow-wrap:anywhere;margin:8px 0;line-height:1.65}.settlement-victory{color:#eac077;font-size:22px}.settlement-panel small{color:#b2bab8}.settlement-personal{border-block:1px solid #826b46;align-items:center;gap:30px;margin:24px 0;padding:20px;display:flex}.settlement-personal>div{gap:3px;min-width:125px;display:grid}.settlement-personal strong{color:#f2c77c;font-size:46px;line-height:1.1}.settlement-personal strong small{font-size:16px;font-weight:400}.settlement-personal dl{text-align:center;flex:1;grid-template-columns:repeat(3,1fr);gap:18px;margin:0;display:grid}.settlement-personal dt{color:#a9b7b8;font-size:14px}.settlement-personal dd{margin:6px 0 0;font-size:25px}.settlement-personal dd small{font-size:13px}.settlement-dm{background:#0a202b;border:1px solid #3d555b;padding:14px 18px}.settlement-dm b{color:#dfb875}.settlement-dm p{font-size:14px}.settlement-dm button{color:#f4deb2;background:#19313a;border:1px solid #a5834c;padding:8px 16px}.settlement-table-wrap{overflow-x:auto}.settlement-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:15px}.settlement-table th{color:#b9b2a1;text-align:center;padding:10px 5px;font-size:13px}.settlement-table th:first-child{text-align:left;width:58%}.settlement-table td{vertical-align:top;text-align:center;border-top:1px solid #30444b;padding:12px 5px}.settlement-table td:first-child{text-align:left}.settlement-table td strong{color:#f2c77c;font-size:20px}.settlement-table summary{cursor:pointer;gap:3px;padding-right:12px;list-style:none;display:grid}.settlement-table summary span{color:#b4bfbe;overflow-wrap:anywhere;font-size:12px}.settlement-table summary em{color:#bab7ac;font-size:12px;font-style:normal}.settlement-table .goal-achieved{color:#8bc5a0}.settlement-table .goal-pending{color:#e6ba70}.settlement-self{background:#b4904720}.settlement-goal{color:#b9c7c8;padding:12px 10px 2px 0;font-size:13px}.settlement-goal b{color:#edca8e}.settlement-panel footer{border-top:1px solid #826b46;align-items:center;gap:24px;margin-top:18px;padding-top:18px;display:flex}.settlement-panel footer small{flex:1;line-height:1.6}.settlement-panel footer button{width:auto;min-width:130px;margin:0;padding:12px 18px}@media (max-width:600px){.settlement-panel{padding:20px 12px}.settlement-overlay{padding:8px}.settlement-personal{gap:8px;padding:16px 0}.settlement-personal>div{min-width:92px;font-size:12px}.settlement-personal dl{gap:4px}.settlement-personal dt{font-size:12px}.settlement-personal dd{font-size:20px}.settlement-personal strong{font-size:36px}.settlement-table{font-size:13px}.settlement-table th:first-child{width:55%}.settlement-panel footer{flex-direction:column;gap:12px}}.argor-menu{color:#dce6ef;background:#03080e;place-items:center;min-height:100svh;display:grid}.argor-scene{aspect-ratio:1672/941;isolation:isolate;width:min(100vw,177.69svh);position:relative;overflow:hidden}.argor-art,.argor-light,.argor-scene canvas{object-fit:fill;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.argor-light{clip-path:polygon(17% 78%,17% 72%,43% 50%,48% 48%,48% 42%,53% 42%,54% 78%,45% 93%,34% 88%);mix-blend-mode:screen;opacity:.04;animation:7s ease-in-out infinite argor-lamp}.argor-scene canvas{z-index:2}.argor-menu-content{z-index:3;text-align:center;width:30%;position:absolute;top:10%;left:6%}.argor-menu-content h1{letter-spacing:.05em;color:#e4e8eb;text-shadow:2px 3px 1px #435161,0 5px 20px #000;margin:0;font:clamp(36px,5.6vw,100px)/1.25 Georgia,Songti SC,SimSun,serif}.argor-menu-content header p{letter-spacing:.34em;color:#ccd5df;margin:14px 0 4px;font:clamp(9px,.9vw,17px)/2 monospace}.argor-menu-content header span{letter-spacing:.3em;color:#cbd5dc;font:clamp(12px,1.2vw,22px)/2 Georgia,Songti SC,serif}.argor-menu-content nav{flex-direction:column;gap:clamp(14px,2vw,32px);width:72%;margin:28px auto 0;display:flex}.argor-menu-content nav button,.argor-menu-content nav a{text-align:center;color:#e1e9ed;letter-spacing:.18em;cursor:pointer;background:linear-gradient(90deg,#0000,#07121cc2,#0000);border:1px solid #a6b7c377;padding:9px 14px;font:clamp(16px,1.9vw,34px)/1.6 Georgia,Songti SC,serif;text-decoration:none;transition:border-color .25s,box-shadow .25s,background .25s;display:block;position:relative;box-shadow:inset 0 0 0 3px #040a0f77}.argor-menu-content nav button:hover,.argor-menu-content nav a:hover{outline-offset:4px;border-color:#c0eaff;outline:2px solid #b0dfff66;box-shadow:0 0 22px #8ecbff44,inset 0 0 15px #98c9ea22}.argor-menu-content nav :focus-visible{outline-offset:4px;border-color:#c0eaff;outline:2px solid #b0dfff66;box-shadow:0 0 22px #8ecbff44,inset 0 0 15px #98c9ea22}.argor-menu-content nav :is(button,a):before{content:"◇";color:#8bb0c8;background:#07131c;position:absolute;top:50%;left:-12px;transform:translateY(-50%)}.argor-motion{z-index:5;color:#bfd1df;cursor:pointer;background:#07131dc9;border:1px solid #8498a877;padding:8px 12px;font-size:12px;position:absolute;bottom:2%;right:2%}.argor-steam{z-index:1;pointer-events:none;position:absolute;top:16.35%;left:72.25%}.argor-steam i{aspect-ratio:1.2;filter:blur(1.5px);opacity:0;transform-origin:50% 80%;background:radial-gradient(at 30% 58%,#c1ccd5c4 0 13%,#acbdcd70 28%,#0000 46%),radial-gradient(at 54% 38%,#d1dbe4bf 0 16%,#adbdcc80 31%,#0000 50%),radial-gradient(at 75% 58%,#b8c8d7ad 0 15%,#a5b7c86b 27%,#0000 46%),radial-gradient(at 51% 73%,#b8c7d4ad 0 19%,#9aafc069 33%,#0000 53%);width:clamp(32px,4.4vw,78px);animation:6.4s linear infinite argor-steam;position:absolute}.motion-paused *{animation-play-state:paused!important}@keyframes argor-lamp{0%,to{opacity:.025}38%{opacity:.13}53%{opacity:.09}70%{opacity:.12}}@keyframes argor-steam{0%{opacity:0;transform:translate(-50%,-65%)scale(.42)rotate(-6deg)}7%{opacity:.78;transform:translate(-54%,-86%)scale(.65)rotate(-4deg)}26%{opacity:.68;transform:translate(-77%,-132%)scale(1.02)rotate(3deg)}50%{opacity:.48;transform:translate(-118%,-185%)scale(1.32)rotate(9deg)}75%{opacity:.24;transform:translate(-166%,-236%)scale(1.55)rotate(14deg)}to{opacity:0;transform:translate(-215%,-288%)scale(1.85)rotate(19deg)}}.argor-dialog-shade{z-index:6;background:#02070dc9;place-items:center;padding:20px;display:grid;position:absolute;inset:0;overflow:auto}.argor-dialog{color:#d8e3ec;background:linear-gradient(145deg,#182b38f5,#09131df7);border:1px solid #718494;width:min(440px,100%);padding:28px;box-shadow:0 30px 80px #000b}.argor-dialog h2{color:#e3eaf0;margin:14px 0 22px;font:30px/1.4 Georgia,Songti SC,serif}.argor-dialog button{cursor:pointer}.argor-back{color:#aabcca;background:0 0;border:0;padding:0;font-size:13px}.argor-dialog label{margin:16px 0;font-size:14px;display:block}.argor-dialog input{color:#e4eef4;background:#07141e;border:1px solid #667c8c;width:100%;margin-top:8px;padding:13px 14px;font-size:16px}.argor-dialog input:focus-visible{outline-offset:2px;outline:2px solid #bddcf0}.argor-capacity{border:1px solid #667c8c;align-items:center;width:200px;margin-top:8px;display:flex}.argor-capacity button{color:#cddfec;background:#203442;border:0;width:50px;height:44px;font-size:24px}.argor-capacity output{text-align:center;flex:1}.argor-dialog form>p{color:#a6b8c7;font-size:13px;line-height:1.8}.argor-start,.argor-choices button{color:#e1ecf5;cursor:pointer;background:linear-gradient(145deg,#38586d,#172d3e);border:1px solid #90aabc;width:100%;padding:14px;font-size:17px}.argor-choices{gap:16px;display:grid}.argor-dialog .argor-error{color:#f2aaa2;font-size:13px;line-height:1.6}@media (max-width:700px) and (orientation:portrait){.argor-scene{aspect-ratio:auto;background:#07101a;width:100vw;min-height:100svh}.argor-art,.argor-light{aspect-ratio:1672/941;height:auto;top:auto;bottom:0}.argor-light,.argor-steam{display:none}.argor-menu-content{width:80%;top:9%;left:10%}.argor-menu-content h1{font-size:58px}.argor-menu-content header p{font-size:11px}.argor-menu-content header span{font-size:16px}.argor-menu-content nav{gap:22px;width:75%;margin-top:30px}.argor-menu-content nav button,.argor-menu-content nav a{padding:12px;font-size:23px}.argor-dialog-shade{position:fixed}.argor-motion{font-size:11px}}@media (prefers-reduced-motion:reduce){.argor-light,.argor-steam i{animation:none}.argor-steam i{opacity:0}}.argor-menu{width:100%;overflow:clip}.argor-scene{width:min(100%,177.68svh - 2px)}.argor-menu{width:100%;min-height:100svh;overflow:hidden}.argor-scene{aspect-ratio:auto;width:100%;height:100svh;min-height:100svh}.argor-background{pointer-events:none;z-index:0;width:max(100vw,177.683svh);height:max(100svh,56.2799vw);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.argor-background .argor-art,.argor-background .argor-light{aspect-ratio:auto;object-fit:cover;width:100%;height:100%;inset:0}.argor-background .argor-steam{display:block}.argor-scene:after{content:"";z-index:2;pointer-events:none;background:radial-gradient(#0000 62%,#02070c21 85%,#02070c52 100%);position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.argor-background .argor-light{animation:7s ease-in-out infinite argor-lamp}.argor-background .argor-steam i{animation:6.4s linear infinite argor-steam}}.vote-ejection{z-index:30000;color:#e7dcc4;background:#030812;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.vote-ejection-stage{aspect-ratio:12/5;background:#07121f;border:1px solid #283a50;width:min(1536px,100%);position:relative;overflow:hidden;box-shadow:0 15px 60px #0008}.vote-ejection-film{object-fit:fill;width:100%;height:100%;position:absolute;inset:0}.vote-ejection-shade{pointer-events:none;background:linear-gradient(#02081360,#0000 35%);position:absolute;inset:0}.vote-ejection-heading{text-align:center;pointer-events:none;position:absolute;inset:7% 4% auto}.vote-ejection-heading>small{letter-spacing:.55em;color:#a8b8ca;opacity:.7;font:10px Georgia,serif}.vote-ejection-heading>h2{letter-spacing:.13em;color:#e7dcc4;text-shadow:0 2px 7px #000,0 0 20px #cdb98930;margin:10px 0 0;font-family:STSong,SimSun,Songti SC,serif;font-size:clamp(17px,3.1vw,45px);font-weight:500;line-height:1.5}.vote-ejection-heading>h2 span{animation:.85s cubic-bezier(.2,.6,.25,1) both vote-ejection-letter;display:inline-block}.vote-ejection-heading .vote-ejection-name{color:#e8be72}.vote-ejection-heading>i{background:linear-gradient(90deg,#0000,#b39b69,#0000);width:clamp(60px,12vw,150px);height:1px;margin:10px auto;display:block}.vote-ejection-heading>p{letter-spacing:.12em;color:#adb9c9;margin:0;font-size:clamp(9px,1vw,13px)}.vote-ejection-advance{cursor:pointer;border:0;border-radius:0;width:100%;height:100%;position:absolute;inset:0;background:0 0!important}.vote-ejection-advance:disabled{cursor:default}.vote-ejection-advance:focus-visible{outline-offset:-5px;outline:2px solid #e3c38a}.vote-ejection-footer{text-align:center;letter-spacing:.2em;color:#c5cdd8;text-shadow:0 2px 4px #000;pointer-events:none;font-size:clamp(10px,1.1vw,15px);position:absolute;bottom:4%;left:0;right:0}.vote-ejection-footer button{pointer-events:auto;color:#e7dcc4;background:#172336;border:1px solid #665b48;margin-left:10px;padding:5px 10px}.vote-ejection-footer [role=alert]{color:#edbdac;margin-top:8px}@keyframes vote-ejection-letter{0%{opacity:0;filter:blur(5px);transform:translateY(9px)}to{opacity:1;filter:blur();transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.vote-ejection-heading>h2 span{animation:none}}@media (max-width:600px){.vote-ejection{padding:0}.vote-ejection-stage{aspect-ratio:auto;width:100%;min-height:270px}.vote-ejection-film{object-fit:contain}.vote-ejection-heading{inset:8px 8px auto}.vote-ejection-heading>small{font-size:8px}.vote-ejection-heading>h2{letter-spacing:.06em;font-size:18px}.vote-ejection-footer{bottom:8px}}.vote-ejection .vote-ejection-footer{background:0 0;border:0;height:auto;margin:0;padding:0;font-family:Microsoft YaHei,sans-serif;line-height:1.5;display:block}
