:root{--bg:#14161d;--surface:#1c1f28;--surface-2:#232733;--border:#2e3240;--text:#ece8df;--muted:#a9a59b;--amber:#e8a33d;--amber-soft:#2b2416;--amber-text:#f2c46d;--teal:#6cc3b5;--red:#f0a397;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);margin:0;font:15px/1.6 Noto Sans JP,system-ui,sans-serif}a{color:var(--amber-text)}button,input,textarea,select{font:inherit;color:inherit}input,textarea,select{background:var(--bg);border:1px solid #3a3f52;border-radius:8px;min-width:0;padding:8px 10px}input[type=color]{cursor:pointer;width:64px;height:40px;padding:4px}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:5px}input[type=color]::-moz-color-swatch{border:none;border-radius:5px}textarea{resize:vertical;width:100%}button{cursor:pointer;background:0 0;border:1px solid #4a4f60;border-radius:8px;padding:8px 14px}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--amber);border-color:var(--amber);color:#1a1408;font-weight:700}button.ghost{background:0 0}button.small{padding:4px 10px;font-size:13px}button.danger{color:var(--red);border-color:#e07a6b}:focus-visible{outline:2px solid var(--amber-text);outline-offset:2px}.muted{color:var(--muted)}.error{color:var(--red);margin:0}.visually-hidden{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px}.form{flex-direction:column;gap:12px;display:flex}.form label{color:var(--muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.form label>input,.form label>textarea{color:var(--text);font-size:15px}.form label.inline{color:var(--text);flex-direction:row;align-items:center;gap:6px}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.row.end{justify-content:flex-end}.window-actions{z-index:2;border-top:1px solid var(--border);background:#1c1f28;margin:0 -14px -14px;padding:10px 14px 14px;position:sticky;bottom:-14px}.row>input{flex:160px}.grid2{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.chip{border:1px solid #3a3f52;border-radius:999px;padding:4px 10px;font-size:13px}.chip.on{border-color:var(--amber);background:var(--amber-soft);color:var(--amber-text)}.lobby{flex-direction:column;gap:16px;max-width:440px;margin:0 auto;padding:64px 16px;display:flex}.logo{letter-spacing:.18em;color:#f3e7cf;align-items:center;gap:.32em;margin:0;font-family:Marcellus,serif;font-weight:400;line-height:1;text-decoration:none;display:inline-flex}.logo:before{content:"";background:url(/mark.svg) 50%/contain no-repeat;flex:none;width:.95em;height:1em}.logo.small{font-size:18px}.radios{border:none;gap:16px;margin:0;padding:0;display:flex}.radios legend{color:var(--muted);margin-bottom:4px;font-size:13px}.radios label{color:var(--text);flex-direction:row;align-items:center;font-size:15px}.room{height:100%;display:flex;overflow:hidden}.stage{background:#111318;flex:1;min-width:0;position:relative;overflow:hidden}.overlay{z-index:5;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:absolute}.overlay>*{pointer-events:auto}.top-left{align-items:flex-start;max-width:min(560px,65%);top:12px;left:12px}.top-right{align-items:flex-end;top:12px;right:12px}@media (width>=761px){.room.has-demo .overlay.top-right{top:60px}}.bottom-left{align-items:flex-start;bottom:16px;left:16px}button.icon{width:36px;height:36px;color:var(--text);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}button.icon:hover,button.icon.on{background:#ffffff1a}button.icon.on{color:var(--amber-text)}button.link{text-underline-offset:3px;text-align:left;border:none;padding:0;text-decoration:underline}.room-name{background:#14161dd9;border:none;align-items:center;gap:8px;padding:6px 10px;font-weight:700;display:inline-flex}.room-name small{color:var(--muted);font-weight:400}.icon-row{background:#14161dd9;border-radius:999px;align-items:center;gap:2px;padding:2px 6px;display:flex}.avatar{background:#3a3f52;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;margin-left:4px;font-size:13px;font-weight:700;display:inline-flex}.conn-banner{z-index:60;border:1px solid var(--red);color:#ffe3de;background:#4a1f1c;border-radius:10px;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 10px;max-width:calc(100% - 32px);padding:10px 16px;font-size:14px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0006}.conn-banner span{opacity:.85;font-size:12px}.demo-bar{z-index:8;white-space:nowrap;border:1px solid var(--border);max-width:calc(100% - 32px);color:var(--text);background:#141822eb;border-radius:10px;flex-wrap:nowrap;justify-content:center;align-items:center;gap:8px;padding:4px 4px 4px 12px;font-size:13px;display:flex;position:absolute;top:12px;left:auto;right:16px;transform:none;box-shadow:0 8px 24px #0006}.demo-bar button,.demo-bar a{min-height:30px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #4a4f60;border-radius:8px;align-items:center;padding:0 10px;font-weight:700;text-decoration:none;display:inline-flex}.demo-bar a.primary{background:var(--amber);border-color:var(--amber);color:#1a1408}.demo-short{display:none}.demo-welcome{z-index:40;box-sizing:border-box;border:1px solid var(--amber);text-align:center;background:#141822f7;border-radius:14px;flex-direction:column;align-items:center;gap:10px;width:min(400px,100% - 32px);padding:24px 24px 20px;animation:.2s ease-out portrait-in;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 16px 48px #0000008c}.demo-welcome h2{color:var(--amber-text);margin:0;font-size:18px}.demo-welcome p{white-space:pre-line;margin:0;font-size:14px;line-height:1.8}.demo-welcome button.primary{background:var(--amber);color:#1a1408;min-height:40px;font:inherit;cursor:pointer;border:none;border-radius:10px;margin-top:6px;padding:0 28px;font-weight:700}.demo-welcome-x{position:absolute;top:6px;right:6px}.ai-welcome-cover{z-index:1000;background:#0000008c;position:fixed;inset:0}.ai-welcome-cover .demo-welcome{max-height:calc(100dvh - 32px);position:fixed;overflow-y:auto}@media (width<=760px){.demo-bar{z-index:31;white-space:nowrap;box-sizing:border-box;flex-wrap:nowrap;gap:6px;max-width:calc(100% - 16px);padding:4px 4px 4px 10px;font-size:12px;inset:auto auto 8px 8px;transform:none}.room.phone-chat .demo-bar{max-width:none;height:44px;box-shadow:none;box-sizing:border-box;background:#14161d;border-width:0 0 1px;border-radius:0;justify-content:space-between;inset:0 0 auto}.room.phone-chat .demo-note{top:calc(100% + 6px);bottom:auto}.demo-bar button,.demo-bar a{min-height:28px;padding:0 8px}.demo-long{display:none}.demo-short{display:inline}.demo-when{flex-direction:column;font-size:10px;line-height:1.25;display:inline-flex}.demo-note{border:1px solid var(--amber);white-space:normal;text-align:left;background:#141822f5;border-radius:8px;width:min(320px,100vw - 16px);padding:8px 10px;position:absolute;bottom:calc(100% + 6px);right:0}}.demo-note{color:#f6e3bf;text-align:center;flex-basis:100%;margin:0;padding:0 0 2px;font-size:12px}.try-join{flex-direction:column;gap:12px;display:flex}.try-join label{flex-direction:column;gap:6px;font-size:14px;display:flex}.try-join input{min-height:44px;color:var(--text);font:inherit;background:#1b1f2a;border:1px solid #4a4f60;border-radius:10px;padding:0 12px}.menu{border:1px solid var(--border);background:#2a2d38;border-radius:10px;flex-direction:column;min-width:240px;padding:6px;display:flex;box-shadow:0 8px 24px #00000080}.menu>button,.menu>a{text-align:left;color:var(--text);border:none;border-radius:6px;align-items:center;gap:10px;padding:8px 10px;font-size:14px;text-decoration:none;display:flex}.menu>button:hover,.menu>a:hover{background:#ffffff14}.menu small{color:var(--muted);font-size:12px;display:block}.toast{z-index:50;color:var(--red);background:#2e1d1b;border-radius:10px;align-items:center;gap:8px;padding:6px 8px 6px 16px;display:flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}.board-wrap{scrollbar-width:none;display:flex;position:absolute;inset:0;overflow:auto}.backdrop{background-position:50%;background-size:cover;position:absolute;inset:0}.backdrop:after{content:"";background:#0a0b0f73;position:absolute;inset:0}.board{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;flex:none;margin:auto;position:relative;box-shadow:0 0 0 1px #ffffff14,0 12px 48px #00000080}.board-wrap{cursor:grab;touch-action:none}.board-wrap:active{cursor:grabbing}.board .foreground{object-fit:fill;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.board .grid{pointer-events:none;background-image:linear-gradient(#ffffff14 1px,#0000 1px),linear-gradient(90deg,#ffffff14 1px,#0000 1px);background-size:var(--cell) var(--cell);position:absolute;inset:0}.panel{position:absolute}.panel img{object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;inset:0}.panel.movable{cursor:move}.panel.movable:hover{outline:1px solid #e8a33d99}.panel.hidden{opacity:.45;outline:2px dashed var(--red)}.panel-empty{width:100%;height:100%;color:var(--muted);border:1px dashed #4a4f60;place-items:center;font-size:.7em;display:grid}.piece{background:var(--piece-color);color:#14161d;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;font-weight:700;transition:left 80ms linear,top 80ms linear;display:flex;position:absolute;box-shadow:0 0 0 3px #14161d}.board.resizing .piece{transition:none}.piece.movable{cursor:grab}.piece.movable:active{cursor:grabbing}.piece.hidden{opacity:.5;outline:2px dashed var(--red)}.piece.selected{box-shadow:0 0 0 3px #14161d, 0 0 0 5px var(--amber-text)}.piece img{object-fit:cover;pointer-events:none;border-radius:50%;width:100%;height:100%}.piece.focus-top img{object-position:50% 0}.piece.full{box-shadow:none;background:0 0;border-radius:0}.piece.full img{object-fit:contain;object-position:50% 100%;pointer-events:auto;filter:drop-shadow(0 2px 4px #0009);border-radius:0;height:auto;max-height:300%;position:absolute;bottom:0;left:0}.piece.full.selected{box-shadow:none}.piece.full.selected img{filter:drop-shadow(0 0 1px var(--amber-text)) drop-shadow(0 0 3px var(--amber-text))}.piece-name{white-space:nowrap;color:var(--text);pointer-events:none;background:#14161dcc;border-radius:4px;margin-top:4px;padding:0 6px;font-size:.7em;font-weight:500;position:absolute;top:100%;left:50%;transform:translate(-50%)}.board-chars{box-sizing:border-box;background:#14161dd9;border-radius:10px;flex-direction:column;gap:2px;width:460px;max-width:100%;margin:0;padding:6px;list-style:none;display:flex;container:board-chars/inline-size}.board-chars li{border-radius:6px;grid-template-columns:112px minmax(0,1fr);align-items:start;gap:0 8px;padding:4px 6px;display:grid}.board-chars li.board-chars-head{display:flex}.board-char-head{align-items:center;gap:6px;min-width:0;min-height:22px;display:flex}.board-char-head .name{min-width:0}.board-char-head .name-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.board-chars li.selected{background:#e8a33d26}.board-chars .ref-url{width:22px;height:22px;color:var(--muted);border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.board-chars .ref-url:hover{color:var(--amber);background:#ffffff0f}.board-chars .ref-url svg{width:14px;height:14px}.board-chars .initiative{min-width:28px;height:22px;color:var(--text);text-align:center;background:#ffffff0f;border:1px solid #ffffff26;border-radius:6px;padding:0 6px;font-size:12px;font-weight:700;line-height:20px}.board-chars .initiative.editable{cursor:pointer}.board-chars .initiative.editable:hover{border-color:var(--amber)}.board-chars .initiative-input{width:56px;height:22px;padding:0 4px;font-size:12px}.board-chars .name{border:none;align-items:center;gap:6px;padding:0;font-size:14px;font-weight:700;display:inline-flex}.board-chars .name small{color:var(--red);font-weight:400}.gauges{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;font-size:12px;display:grid}.gauge{min-width:0;display:flex;position:relative}.gauge-target{min-width:0;height:20px;font-size:inherit;background:#ffffff0a;border:1px solid #0000;border-radius:4px;flex:1;justify-content:space-between;align-items:center;gap:4px;padding:0 6px;line-height:1;display:flex;position:relative;overflow:hidden}.gauge .bar{pointer-events:none;position:absolute;inset:0}.gauge .bar>span{background:#4db6ac4d;height:100%;display:block}.gauge .label{text-overflow:ellipsis;white-space:nowrap;color:#e3e5ec;min-width:0;position:relative;overflow:hidden}.gauge .value{font-variant-numeric:tabular-nums;flex:none;font-weight:700;position:relative}.gauge .value small{color:#b8bcc8;font-weight:400}.board-chars .gauges-more{color:var(--muted);grid-area:2/1;justify-self:start;margin-top:4px;padding:0 0 0 16px;font-size:12px}.board-chars li>.board-char-head{grid-area:1/1}.board-chars li>.gauges{grid-area:1/2/span 2}.board-chars.has-ref{width:490px}.board-chars.has-ref li:not(.board-chars-head){grid-template-columns:112px minmax(0,1fr) 22px}.board-chars li>.ref-url{grid-area:1/3}@container board-chars (width<=419px){.board-chars li{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px}.board-chars li>.gauges{grid-area:2/1/auto/-1}.board-chars .gauges-more{grid-area:1/2;justify-self:end;margin-top:0;padding:0}.board-chars.has-ref li:not(.board-chars-head){grid-template-columns:minmax(0,1fr) auto 22px}}.gauge-target.editable:hover,.gauge-target.editable[aria-expanded=true]{border-color:var(--amber-text);background:#e8a33d1a}.gauge-editor{z-index:20;border:1px solid var(--border);background:#2a2d38;border-radius:10px;align-items:center;gap:4px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 8px 24px #00000080}.gauge-editor .value{text-align:center;min-width:36px}.gauges>.gauge:nth-child(4n) .gauge-editor,.gauges>.gauge:nth-child(4n-1) .gauge-editor{left:auto;right:0}@container board-chars (width<=339px){.gauges{grid-template-columns:repeat(3,minmax(0,1fr))}.gauges>.gauge:nth-child(n) .gauge-editor{left:0;right:auto}.gauges>.gauge:nth-child(3n) .gauge-editor{left:auto;right:0}}.gauge-editor button{white-space:nowrap}.gauge-editor .gauge-input{width:92px;height:28px;padding:0 6px;font-size:13px}.step{border:1px solid #3a3f52;border-radius:6px;min-width:36px;height:30px;padding:0 6px;font-size:12px}.swatch{background:var(--piece-color);border-radius:50%;flex:none;width:10px;height:10px}.window{-webkit-backdrop-filter:blur(6px);background:#1c1f28e0;border:1px solid #ffffff1f;border-radius:10px;flex-direction:column;max-height:calc(100vh - 120px);display:flex;position:fixed;box-shadow:0 12px 32px #0000008c}.window-bar{cursor:move;border-bottom:1px solid var(--border);align-items:center;gap:4px;padding:4px 4px 4px 14px;display:flex}.window-bar h2{flex:1;margin:0;font-size:14px}.window-body{flex-direction:column;gap:10px;min-height:0;padding:12px 14px 14px;display:flex;overflow:auto}.char-list,.scene-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.char-list li{align-items:center;gap:8px;display:flex}.char-list .char-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:4em;overflow:hidden}.char-list li>button.icon{width:30px;height:30px;color:var(--muted);flex:none}.char-list li>button.icon:hover{color:var(--text)}.char-list li>button.icon.on{color:var(--amber-text)}.char-list li>small,.char-list li>button.small{white-space:nowrap;flex:none}.char-list .char-owner{text-overflow:ellipsis;max-width:8em;overflow:hidden}.char-list li>span:not(.swatch){flex:1}.char-list .linked{color:var(--teal);border:1px solid;border-radius:999px;padding:0 8px;font-size:11px}.from-account{flex-direction:column;align-items:stretch;gap:8px;display:flex}.from-account .char-list{align-self:stretch}.scene-list li{border-radius:8px;align-items:center;gap:6px;padding:4px;display:flex}.scene-list li.on{background:#e8a33d26}.scene-list .thumb{background-position:50%;background-size:cover;border:1px solid #3a3f52;border-radius:6px;flex:none;width:56px;height:36px}.scene-list .scene-name{text-overflow:ellipsis;white-space:nowrap;flex:1;align-items:center;gap:6px;min-width:0;margin-left:4px;font-size:14px;display:flex;overflow:hidden}.scene-list button.small{flex:none;padding:4px 12px;font-size:12px}.scene-list .scene-showing{color:var(--amber-text);flex:none;padding:4px 8px;font-size:12px}.scene-list button.icon{width:30px;height:30px;color:var(--muted);flex:none}.scene-list button.icon:hover{color:var(--text)}.scene-list button.icon.danger:hover{color:var(--red)}.scene-list button.icon.on{color:var(--amber-text);background:#e8a33d2e}.chat{z-index:7;border-left:1px solid var(--border);background:#1b1d25;flex-direction:column;flex:0 0 340px;width:340px;min-width:0;max-width:340px;min-height:0;display:flex;position:relative}.chat-head{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:6px 8px;display:flex}.chat-head h2{text-align:center;flex:1;margin:0;font-size:15px}.messages{flex:1;margin:0;padding:0;list-style:none;overflow-y:auto}.msg{border-bottom:1px solid #262933;padding:8px 14px}.msg.system .text{color:var(--muted);font-size:13px}.msg .speaker{color:var(--muted);font-size:13px;font-weight:700}.msg time{color:#7d7a72;margin-left:6px;font-size:11px;font-weight:400}.msg .text{white-space:pre-wrap;word-break:break-word}.msg .result{color:var(--muted);font-size:13px}.msg .result.ok{color:var(--teal)}.msg .result.ng{color:var(--red)}.msg-handout{border:1px solid var(--border);color:var(--text);font:inherit;cursor:pointer;background:#ffffff0d;border-radius:6px;align-items:center;gap:6px;margin-top:6px;padding:4px 10px;font-size:13px;display:inline-flex}.msg-handout:hover{background:#ffffff1a}.msg-handout svg{width:15px;height:15px}.msg .result,.message-box-dice{box-sizing:border-box;background:#ffffff0d;border:1px solid #ffffff1f;border-left-width:3px;border-radius:6px;align-items:flex-start;gap:6px;width:fit-content;max-width:100%;margin-top:4px;padding:3px 9px 3px 6px;line-height:1.5;display:flex}.msg .result svg,.message-box-dice svg{flex:none;width:15px;height:15px;margin-top:2px}.msg .result.ok,.message-box-dice.ok{background:#6cc3b51a;border-color:#6cc3b573}.msg .result.ng,.message-box-dice.ng{background:#e07a6b1a;border-color:#e07a6b73}.msg .system-mark{vertical-align:-2px;color:var(--muted);margin-right:4px;display:inline-flex}.msg .system-mark svg{width:13px;height:13px}.msg .result.crit,.msg .result.fumble{font-weight:700}.secret-note{color:var(--amber-text);font-size:11px}.secret-who{color:inherit;font:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:none;padding:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.secret-who:hover{text-decoration-style:solid}.whisper-filter{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:6px;padding:8px 12px;display:flex}.whisper-filter button{border:1px solid var(--border);color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:3px 10px;font-size:12px}.whisper-filter button.on{border-color:var(--amber);color:var(--amber-text);background:#e8a33d1f}.composer{border-top:1px solid var(--border);flex-direction:column;gap:6px;padding:0 10px 10px;display:flex}.tabs{scrollbar-width:none;justify-content:safe center;gap:2px;display:flex;overflow-x:auto}.tabs button{color:var(--muted);white-space:nowrap;border:none;border-bottom:2px solid #0000;border-radius:0;flex-shrink:0;padding:8px 10px;font-size:14px;position:relative}.tabs button.on{border-bottom-color:var(--amber);color:var(--text)}.tabs button.icon{border-bottom:none;border-radius:50%;align-self:center;width:34px;height:34px;padding:0}.tabs button.icon svg{width:18px;height:18px}.tabs .dot{background:var(--amber);border-radius:50%;width:6px;height:6px;position:absolute;top:6px;right:2px}.speaker-row{align-items:center;gap:6px;display:flex}.speaker-row .swatch{width:14px;height:14px}.speaker-row select{flex:1}.dice-row{align-items:center;gap:3px;display:flex}.deco-row{background:var(--bg);border:1px solid #3a3f52;border-bottom:none;border-radius:8px 8px 0 0;align-items:center;gap:2px;margin-bottom:-6px;padding:3px 4px;display:flex;position:relative}.deco-row+label+textarea{border-top-color:#2b2f3c;border-top-left-radius:0;border-top-right-radius:0}.deco-row button,.deco-color{min-width:28px;height:24px;color:var(--muted);text-align:center;cursor:pointer;background:0 0;border:none;border-radius:5px;padding:0 7px;font-size:12px;line-height:24px}.deco-row button:hover,.deco-color:hover{color:var(--text);background:#ffffff0f}.deco-row .deco-bold{font-weight:800}.deco-row .deco-strike{text-decoration:line-through}.deco-spoiler{color:#0000;cursor:pointer;background:#2c3040;border-radius:4px;padding:0 2px;transition:color .15s,background .15s}.deco-spoiler *{color:#0000}.chat .text .deco-spoiler:not(.open) a,.message-box-text .deco-spoiler:not(.open) a{color:#0000;text-decoration:none}.deco-spoiler:not(.open):hover{background:#3a3f52}.deco-spoiler.open{color:inherit;cursor:auto;background:#ffffff14}.deco-spoiler.open *{color:inherit}.deco-spoiler:focus-visible{outline:2px solid var(--amber);outline-offset:1px}.palette-suggest{z-index:30;background:var(--bg);border:1px solid #3a3f52;border-radius:8px;max-height:240px;margin:0;padding:4px;list-style:none;position:absolute;bottom:calc(100% + 4px);left:-1px;right:-1px;overflow:auto;box-shadow:0 6px 18px #0006}.palette-suggest li[role=option]{white-space:nowrap;text-overflow:ellipsis;cursor:pointer;border-radius:5px;padding:6px 10px;font-size:13px;line-height:1.5;overflow:hidden}.palette-suggest li[role=option]:hover{background:#ffffff0f}.palette-suggest .suggest-note{color:var(--muted);margin-left:10px;font-size:12px}.palette-suggest li.on{background:#e8a33d2e}.deco-color{-webkit-text-decoration:underline 3px var(--amber);text-decoration:underline 3px var(--amber);text-underline-offset:3px;justify-content:center;align-items:center;font-weight:700;display:inline-flex;position:relative}.deco-color input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.msg .text ruby rt,.message-box-text ruby rt{font-size:.55em}.msg .text.size-small,.message-box-text.size-small{font-size:.82em}.msg .text.size-large,.message-box-text.size-large{font-size:1.35em;line-height:1.5}.msg .text.size-xlarge,.message-box-text.size-xlarge{font-size:1.9em;font-weight:700;line-height:1.35}.deco-size{height:24px;color:var(--muted);cursor:pointer;field-sizing:content;background:0 0;border:none;border-radius:5px;padding:0 4px;font-size:12px}.deco-size:hover,.deco-size.on{color:var(--text);background:#ffffff0f}.die{color:var(--muted);border-color:#3a3f52;border-radius:6px;padding:2px 5px;font-size:11px;position:relative}.die.on{color:var(--text);border-color:var(--amber)}.die-count{background:var(--amber);color:#1a1a1a;text-align:center;pointer-events:none;border-radius:8px;min-width:15px;height:15px;padding:0 3px;font-size:10px;font-weight:700;line-height:15px;position:absolute;top:-7px;right:-5px}.die-clear{align-items:center;padding:2px 3px;display:inline-flex}.die-clear svg{width:12px;height:12px}.send{white-space:nowrap;border:none;flex-shrink:0;margin-left:auto;font-weight:700}.palette-list{background:#0f111773;border-radius:8px;flex-direction:column;gap:6px;max-height:180px;margin:0;padding:6px;list-style:none;display:flex;overflow:auto}.palette-list button{text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;background:#1f212999;border:1px solid #ffffff1a;border-radius:6px;width:100%;padding:7px 10px;font-size:13px;line-height:1.6}.palette-list button:hover{background:#262a35d9;border-color:#4a4f60}.palette-list li.muted{padding:4px 6px}.palette-list li:not(.muted){gap:4px;display:flex}.palette-list .palette-line{flex:1;min-width:0}.palette-list .palette-send{text-align:center;width:34px;color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.palette-list .palette-send:hover{color:inherit}.palette-list .palette-send svg{width:16px;height:16px}.deco-face{color:var(--muted);border-left:1px solid #3a3f52;align-items:center;gap:2px;margin-left:4px;padding-left:4px;font-size:12px;display:inline-flex}.deco-face.on,.deco-face.on select{color:var(--amber-text)}.help{color:var(--muted);background:var(--bg);border-radius:8px;padding:6px 10px;font-size:12px}.help p{margin:2px 0}.help code{color:var(--amber-text)}.help h3{color:var(--text);margin:8px 0 2px;font-size:12px}.help .system-help{white-space:pre-wrap;font:inherit;max-height:220px;margin:0;overflow:auto}.help-block{margin:0 0 14px}.help-block h3{color:var(--amber-text);margin:0 0 6px;font-size:13px}.help-note{color:var(--muted);margin:0 0 6px;font-size:12px}.help-block dl{grid-template-columns:max-content minmax(0,1fr);gap:4px 12px;margin:0;font-size:13px;display:grid}.help-block dl>div{display:contents}.help-block dt code{white-space:nowrap}.help-block dd{color:var(--text);margin:0;line-height:1.5}.help-system summary{color:var(--amber-text);font-size:13px}.help-system .system-help{color:var(--muted);margin-top:6px;font-size:12px}.recipients{border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;gap:8px;font-size:13px;display:flex}.recipients legend{color:var(--muted)}details summary{cursor:pointer;color:var(--amber-text);font-size:14px}details[open]{flex-direction:column;gap:8px;display:flex}.tooltip{z-index:1000;white-space:nowrap;pointer-events:none;color:var(--text);background:#3a3f52;border-radius:6px;padding:4px 8px;font:500 12px/1.4 Noto Sans JP,system-ui,sans-serif;animation:.12s ease-out tooltip-in;position:fixed;box-shadow:0 4px 12px #0006}.tooltip.wrap{white-space:normal;width:max-content;max-width:280px}@keyframes tooltip-in{0%{opacity:0}}button:disabled[data-tip]{pointer-events:auto}@media (width<=760px){.room{flex-direction:column;position:relative}.stage{flex:auto}.chat{z-index:30;border-left:none;flex:none;width:auto;max-width:none;position:absolute;inset:0}.room.has-demo .chat{top:44px}.window{right:8px;width:auto!important;left:8px!important}}.button-link{min-height:44px;color:var(--text);border:1px solid #4a4f60;border-radius:10px;justify-content:center;align-self:flex-start;align-items:center;padding:0 20px;font-weight:700;text-decoration:none;display:inline-flex}.button-link.primary{background:var(--amber);border-color:var(--amber);color:#1a1408}.avatar{overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.portrait{z-index:5;pointer-events:none;flex-direction:column;align-items:center;margin:0;animation:.22s ease-out portrait-in;display:flex;position:absolute;bottom:0;left:16px}.portrait img{object-fit:contain;filter:drop-shadow(0 8px 24px #0009);max-width:min(30vw,400px);max-height:50vh}.portrait figcaption{background:#14161de6;border-bottom:2px solid;border-radius:999px;margin:-8px 0 16px;padding:2px 14px;font-size:13px;font-weight:700}@keyframes portrait-in{0%{opacity:0;transform:translateY(12px)}}@media (prefers-reduced-motion:reduce){.portrait{animation:none}}.faces{border:1px solid #3a3f52;border-radius:10px;flex-direction:column;gap:8px;padding:10px;display:flex}.faces legend{color:var(--muted);padding:0 4px;font-size:13px}.face-row{grid-template-columns:110px 1fr auto;align-items:start;gap:8px;display:grid}@media (width<=760px){.face-row{grid-template-columns:1fr}}.bgm-bar{background:#14161dd9;border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:12px;display:flex}.bgm-now{min-width:0;max-width:180px;color:var(--muted);white-space:nowrap;background:0 0;border:none;border-radius:999px;align-items:center;gap:4px;padding:2px 6px;font-size:12px;display:inline-flex}button.bgm-now{cursor:pointer}button.bgm-now:hover{color:var(--text)}.bgm-now span{text-overflow:ellipsis;overflow:hidden}.bgm-now svg{flex:none;width:14px;height:14px}.bgm-percent{text-align:right;width:2.2em;color:var(--muted);font-variant-numeric:tabular-nums}.bgm-bar input[type=range]{width:90px;accent-color:var(--amber);background:0 0;border:none;padding:0}.timer-bar{background:#14161dd9;border-radius:12px;align-items:center;padding:2px 14px;display:flex;position:relative}.timer-bar.gm{padding:0}button.timer-time{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;padding:2px 14px}button.timer-time:hover,button.timer-time.on{border-color:var(--amber-text)}.timer-time{font-variant-numeric:tabular-nums;letter-spacing:.02em;color:var(--text);font-size:30px;font-weight:300;line-height:1.15}.timer-bar:not(.running) .timer-time{color:#c9ccd6}.timer-bar.warn .timer-time{color:#ff6b6b;font-weight:500}.timer-actions{justify-content:space-between;gap:8px;display:flex}.timer-actions button{white-space:nowrap;color:var(--muted);background:0 0;border:none;align-items:center;gap:4px;padding:2px 4px;font-size:13px;display:inline-flex}.timer-actions button:hover:not(:disabled){color:var(--text)}.timer-actions button svg{width:16px;height:16px}.timer-actions button:disabled{opacity:.4}.overlay.top-right:has(.timer-setting){z-index:8}.timer-setting{z-index:20;border:1px solid var(--border);background:#2a2d38;border-radius:10px;gap:8px;width:260px;padding:10px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #00000080}.timer-fields{grid-template-columns:1fr 1fr auto;align-items:end;gap:6px;display:grid}.timer-fields label{color:var(--muted);gap:2px;font-size:12px;display:grid}.timer-fields input{width:100%;min-width:0}.timer-setting .small-note{margin:0}.bgm-unblock{border-color:var(--amber);color:var(--amber-text);padding:4px 10px;font-size:12px}.small-note{margin:0;font-size:12px}.save-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.save-list li{border:1px solid #3a3f52;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 8px;display:flex}.save-name{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:700}.save-list time{font-size:12px}.form fieldset{border:1px solid #3a3f52;border-radius:8px;flex-direction:column;gap:6px;margin:0;padding:8px 12px 10px;display:flex}.form fieldset legend{color:var(--muted);padding:0 4px;font-size:13px}.form fieldset p{margin:0;font-size:13px}.form fieldset.choice label,.form label.check{color:var(--text);flex-direction:row;align-items:center;gap:8px}.form label.check input,.form fieldset.choice input{flex:none;width:auto}.cutin{z-index:50;cursor:pointer;background:#00000059;place-items:center;animation:.3s both cutin-fade;display:grid;position:absolute;inset:0}.cutin img,.cutin video{object-fit:contain;filter:drop-shadow(0 12px 32px #0009);max-width:min(90%,900px);max-height:80%}.cutin-unmute{color:#fff;background:#000000b3;border:1px solid #fff6;border-radius:999px;align-items:center;gap:6px;padding:8px 16px;font-size:14px;display:inline-flex;position:absolute;bottom:24px;left:50%;transform:translate(-50%)}@keyframes cutin-fade{0%{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.cutin{animation:none}}.tool-list{flex-direction:column;gap:8px;margin:8px 0;padding:0;list-style:none;display:flex}.tool-list>li{border-bottom:1px solid #3a3f52;padding-bottom:8px}.tool-list .row{align-items:center}.tool-list .row .link{text-align:left;flex:1}.tool-list .row>input{flex:1}.tool-list textarea{font-family:inherit}.sound-field{flex-direction:column;gap:4px;display:flex}.sound-field .field-label{color:var(--muted);font-size:13px}.sound-field .row>input{flex:1;min-width:0}.tabs .tab-edit{margin-left:auto}.select-box{border:1px dashed var(--amber-text);pointer-events:none;z-index:5;background:#e8a33d1f;position:absolute}.board-chars-head{justify-content:flex-end;padding:0 6px!important}.board-chars-head .link{color:var(--muted);font-size:12px}.board-chars-toggle{background:#14161dd9;border:none;border-radius:999px;padding:6px 12px;font-size:13px}@media (width<=760px){.top-left{max-width:calc(100% - 16px);top:8px;left:8px}.top-right{max-width:58vw;top:8px;right:8px}.room-name{flex:0 auto;min-width:0}.room-name .room-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.room-name small{display:none}.bottom-left{bottom:8px;left:8px}.icon-row{border-radius:16px;flex-wrap:wrap;justify-content:flex-end}.icon-row button.icon{width:32px;height:32px}.top-left .board-chars-toggle{margin-top:40px}.top-left .board-chars{max-width:calc(100vw - 16px);max-height:45vh;margin-top:40px;overflow:auto}.overlay.top-left:has(.board-chars){z-index:7}.bgm-bar{max-width:58vw;overflow:hidden}.bgm-bar input[type=range]{width:60px}.bgm-now{display:none}.top-left .room-line{max-width:calc(100vw - 186px)}.timer-bar,button.timer-time{padding:0 8px}.timer-bar.gm{padding:0}.timer-time{font-size:20px}.portrait img{max-width:50vw;max-height:40vh}.tabs{overflow-x:auto}}.palette-button{white-space:nowrap;border-radius:8px;align-items:center;gap:4px;height:34px;padding:0 10px;font-size:13px;display:inline-flex}.palette-button svg{width:16px;height:16px}.palette-button.on{border-color:var(--amber);color:var(--amber-text)}.palette-button:disabled{opacity:.45}.window .palette-list{max-height:50vh}.window .small-note{margin:0 0 6px}.chat .typing{min-height:20px;color:var(--muted);margin:0;padding:0 12px;font-size:12px}.message-box{z-index:6;background:#0c0d12e0;border:1px solid #ffffff1f;border-radius:12px;width:min(760px,100% - 200px);max-height:34%;padding:12px 18px 14px;animation:.2s ease-out portrait-in;position:absolute;bottom:16px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 12px 32px #00000080}.message-box header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.message-box header strong{font-size:14px}.message-box header .icon{opacity:.6;width:28px;height:28px}.message-box.narration{padding-right:44px}.message-box.narration header{margin:0;position:absolute;top:8px;right:8px}.message-box-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:17px;line-height:1.8}.message-box-dice{color:var(--muted);margin:6px 0 0;font-size:14px}.message-box-dice.ok{color:var(--teal)}.message-box-dice.ng{color:#f0a397}.message-box-typing{min-height:18px;color:var(--muted);margin:4px 0 0;font-size:12px;line-height:18px}.typing-dots{vertical-align:middle;gap:3px;margin-left:4px;display:inline-flex}.typing-dots i{opacity:.3;background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite typing-dot}.typing-dots i:nth-child(2){animation-delay:.2s}.typing-dots i:nth-child(3){animation-delay:.4s}@keyframes typing-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.typing-dots i{opacity:.7;animation:none}}.message-box-note{color:var(--amber-text);margin:6px 0 0;font-size:12px}@media (width<=760px){.message-box{width:calc(100% - 24px);max-height:40%;bottom:64px}.message-box-text{font-size:15px}}.howto{flex-direction:column;gap:10px;margin:0 0 10px;padding-left:1.4em;display:flex}.howto strong{font-size:14px;display:block}.howto span{color:var(--muted);font-size:13px;line-height:1.7;display:block}.help .link{color:var(--amber-text);cursor:pointer;background:0 0;border:none;padding:0;font-size:13px;text-decoration:underline}.move-from{z-index:3;pointer-events:none;border:2px dashed #f2c46db3;border-radius:50%;position:absolute}.move-distance{z-index:30;color:#1a1408;white-space:nowrap;pointer-events:none;background:#e8a33d;border-radius:999px;padding:2px 8px;font-size:13px;font-weight:700;position:absolute;box-shadow:0 4px 12px #0006}.piece-menu{z-index:40;overscroll-behavior:contain;width:max-content;min-width:180px;max-width:min(360px,90vw);max-height:min(70vh,480px);position:absolute;overflow-y:auto}.piece-menu>button{white-space:nowrap}.piece-menu>button.on{color:var(--amber-text)}.piece-menu>button.on:before{content:"✓ "}.msg{position:relative}.reply-quote{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;border-left:3px solid #3a3f52;gap:6px;margin:0 0 4px;padding:2px 8px;font-size:12px;display:flex;overflow:hidden}.reply-quote strong{flex:none;font-weight:700}.msg-actions{opacity:0;gap:2px;transition:opacity .12s;display:flex;position:absolute;top:2px;right:4px}.reply-button{width:28px;height:24px;color:var(--muted);background:#2a2d38;border:none;border-radius:6px;place-items:center;padding:0;display:grid}.reply-button svg{width:15px;height:15px}.msg:hover .msg-actions,.msg-actions:focus-within{opacity:1}.reply-button:hover{color:var(--text)}.edited-mark{color:var(--muted);margin-left:4px;font-size:11px;font-style:normal;font-weight:400}.msg-edit{flex-direction:column;gap:4px;margin-top:2px;display:flex}.msg-edit textarea{box-sizing:border-box;resize:vertical;width:100%;font:inherit;font-size:14px;line-height:1.6}.msg-edit-row{justify-content:flex-end;gap:6px;display:flex}.msg-edit-row button{min-height:28px;padding:0 12px;font-size:12px}.replying{border-left:3px solid var(--amber);background:#22252f;border-radius:8px;align-items:center;gap:6px;padding:4px 4px 4px 10px;font-size:12px;display:flex}.replying span{flex-direction:column;flex:1;min-width:0;display:flex}.replying small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.replying .icon{width:26px;height:26px}@media (hover:none){.msg-actions{opacity:.7}}.chat .messages,.chat .composer,.replying,.reply-quote{min-width:0;max-width:100%}.window .help{background:0 0;padding:0;font-size:13px;line-height:1.7}.window .help .system-help{max-height:40vh}.link-button{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.link-button:hover{color:var(--text);background:0 0}.tabs .tab-collapse{display:none}@media (width<=760px){.chat-head{display:none}.chat textarea#chat-input{height:40px;min-height:40px}.chat .typing:empty{display:none}.chat .composer{gap:6px;padding-top:6px}.chat .dice-row{flex-wrap:nowrap;padding:7px 5px 0 0;overflow-x:auto}}.sound-state{color:var(--muted);font-size:12px}.sound-state.set{color:var(--teal)}.chat-resize{z-index:5;cursor:col-resize;touch-action:none;width:8px;position:absolute;top:0;bottom:0;left:-4px}.chat-resize:hover,.chat-resize:active{background:linear-gradient(to right, transparent 3px, var(--amber) 3px, var(--amber) 5px, transparent 5px)}.chat{transition:width .22s,max-width .22s,flex-basis .22s,opacity .18s}.chat.resizing{transition:none}.chat.folded{opacity:0;border-left-width:0;overflow:hidden}@media (width<=760px){.chat{transition:transform .22s,opacity .18s}.chat.folded{transform:translateY(100%)}}@media (prefers-reduced-motion:reduce){.chat{transition:none}}.chat-log{color:var(--muted);place-items:center;display:inline-grid}.chat-log:hover,.log-menu button.icon:hover{color:var(--text)}.log-menu{position:relative}.log-menu>button.icon{color:var(--muted)}.log-menu-list{z-index:40;min-width:180px;position:absolute;top:calc(100% + 4px);right:0}.log-menu-list.up{top:auto;bottom:calc(100% + 4px)}.log-menu-list .danger-item{color:var(--red)}.tab-log{display:none}@media (width<=760px){.tabs .tab-log{color:var(--muted);place-items:center;margin-left:auto;display:inline-grid}.tabs .tab-log+.tab-edit{margin-left:0}}.rail{border-right:1px solid var(--border);z-index:8;background:#181a22;flex-direction:column;flex:none;align-items:center;gap:2px;width:52px;padding:10px 0;display:flex}.rail-sep{border-top:1px solid var(--border);flex:none;width:32px;margin:8px 0 4px}.rail-gap{flex:1;min-height:12px}.rail .zoom-value{color:var(--muted);font-size:11px}.rail{scrollbar-width:none;overflow-y:auto}.rail::-webkit-scrollbar{display:none}.rail button.icon.named{border-radius:8px;flex-direction:column;flex:none;gap:1px;width:50px;height:38px}.rail button.icon.named svg{width:18px;height:18px}.icon-name{white-space:nowrap;color:var(--muted);letter-spacing:-.02em;font-size:9.5px;line-height:1.1}.rail button.icon.named.on .icon-name,.rail button.icon.named:hover .icon-name{color:inherit}.rail-group{display:contents}.rail-menu{z-index:1000;min-width:160px;position:fixed}.rail-menu>button svg{flex:none;width:18px;height:18px}.rail-menu>button.on{color:var(--amber-text)}.rail button.icon.named .zoom-value{color:inherit;font-size:12px;line-height:18px}.members-role{color:#14161d;background:#f2c46d;border:2px solid #14161d;border-radius:999px;padding:0 5px;font-size:9px;font-weight:700;line-height:12px;position:absolute;bottom:-2px;left:50%;transform:translate(-50%)}@media (width<=760px){.rail{border-right:none;border-bottom:1px solid var(--border);flex-direction:row;order:-1;gap:0;width:auto;height:44px;padding:0 6px;overflow-x:auto}.rail button.icon{flex:none;width:34px;height:34px}.rail{height:48px;overflow-y:hidden}.rail button.icon.named{width:auto;min-width:40px;height:42px;padding:0 3px}.rail-sep{border-top:none;border-left:1px solid var(--border);width:0;height:24px;margin:0 4px}.rail-gap{min-width:8px;min-height:0}.rail .zoom-value{flex:none}}.members-role.pl{background:var(--teal)}.chat .text a,.message-box-text a{color:var(--teal);overflow-wrap:anywhere}.prep-wrap{flex:none;position:relative}.prep-banner{z-index:9;border:1px solid var(--amber);color:#f6e3bf;background:#3b2f1a;border-radius:8px;width:max-content;max-width:min(480px,80vw);padding:8px 12px;font-size:12px;line-height:1.6;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 8px 24px #0006}.prep-banner:before{content:"";border-left:1px solid var(--amber);border-top:1px solid var(--amber);background:#3b2f1a;width:10px;height:10px;position:absolute;top:-6px;left:18px;transform:rotate(45deg)}.prep-cover{z-index:4;background:#111318;justify-content:center;align-items:center;padding:24px;display:flex;position:absolute;inset:0}.prep-cover>div{text-align:center;border:1px dashed #fff3;border-radius:12px;flex-direction:column;gap:8px;max-width:420px;padding:20px 24px;display:flex}.prep-cover strong{font-size:16px}.prep-cover p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.room-line{align-items:center;gap:8px;max-width:100%;display:flex}.prep-chip{border:1px solid var(--border);color:var(--muted);background:#14161dd9;border-radius:999px;flex:none;align-items:center;gap:6px;padding:4px 11px;font-size:12px;font-weight:700;display:inline-flex}.prep-chip:hover{color:var(--text)}.prep-dot{background:#4a4f5e;border-radius:50%;width:8px;height:8px}.prep-chip.on{border-color:var(--amber);color:#f2c46d;background:#3b2f1a}.prep-chip.on .prep-dot{background:var(--amber);box-shadow:0 0 6px var(--amber)}.prep-banner{animation:.2s ease-out prep-in}@keyframes prep-in{0%{opacity:0;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){.prep-banner{animation:none}}.library{border-radius:8px;flex-direction:column;gap:10px;display:flex}.library.over{outline:2px dashed var(--amber);outline-offset:4px;background:#e8a33d0f}.library-head{align-items:center;gap:8px;display:flex}.library-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.library-actions .primary{order:-1;align-items:center;gap:6px;max-width:100%;display:inline-flex}.library-actions .library-folder-tools{margin-left:auto}.library-actions .primary svg{flex:none;width:16px;height:16px}.library-kinds,.library-folders{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.library-kinds button,.library-folders button[role=tab]{color:var(--muted);border:none;border-bottom:2px solid #0000;border-radius:0;padding:6px 10px;font-size:13px}.library-kinds button.on,.library-folders button.on{border-bottom-color:var(--amber);color:var(--text)}.library-folders{border-bottom:1px solid var(--border)}.library-folder-tools{color:var(--muted);gap:14px;font-size:12px;display:flex}.library-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px;max-height:46vh;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.library-grid li{flex-direction:column;gap:4px;min-width:0;display:flex;position:relative}.library-gear{position:absolute;top:4px;right:4px}.library-gear button.icon{width:28px;height:28px;color:var(--text);background:#14161dd9;border-radius:999px}.library-gear button.icon:hover,.library-gear button.icon.on{color:var(--amber);background:#14161df2}.library-thumb{aspect-ratio:1;background:#14161d 50%/contain no-repeat;border:1px solid #3a3f52;border-radius:8px;width:100%;padding:0}.library-thumb:not(:disabled):hover{border-color:var(--amber)}.library-thumb:disabled{opacity:1;cursor:default}.library-thumb.video{place-items:center;display:grid;position:relative;overflow:hidden}.library-thumb.video video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.library-thumb.video .icon-svg,.library-thumb.video svg{color:#fff;background:#0000008c;border-radius:50%;width:28px;height:28px;padding:6px;position:relative}.library-list{flex-direction:column;gap:4px;max-height:46vh;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.library-list li{border-radius:8px;align-items:center;gap:8px;padding:4px 6px;display:flex}.library-list li:hover{background:#ffffff0a}.library-list .library-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;overflow:hidden}.library-name.pick{text-align:left;border:none;padding:4px 0}.library-name.pick:hover{color:var(--amber)}.library-file{flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:11px;display:flex}.library-grid .library-name{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:12px;overflow:hidden}.library-file select{max-width:100%;padding:2px 4px;font-size:11px}.library-file button.link{color:var(--muted);font-size:11px}.library-file button.link.danger:hover{color:var(--red)}.library-empty{text-align:center;margin:16px 0}.library-foot{flex-direction:column;gap:2px;margin:0;font-size:11px;display:flex}.bgm-editor button.icon.play:not(:disabled){background:var(--amber);color:#1a1408}.bgm-editor button.icon.play:not(:disabled):hover{filter:brightness(1.08)}button.icon.solid svg path{fill:currentColor}.bgm-editor{border:1px solid #3a3f52;border-radius:10px;flex-direction:column;gap:4px;padding:6px 8px;display:flex}.bgm-editor.is-playing{border-color:var(--teal)}.bgm-row{align-items:center;gap:4px;display:flex}.bgm-row button.icon{flex:none;width:32px;height:32px}.bgm-label{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;margin:0 4px;font-size:12px;font-weight:600}.is-playing .bgm-label{color:var(--teal)}.bgm-name{flex:1;min-width:0;padding:5px 8px;font-size:13px}.bgm-volume{min-width:60px;accent-color:var(--amber);flex:1;margin-left:4px}.bgm-editor button.icon.on{color:var(--amber-text)}.bgm-editor .bgm-remove{color:var(--muted)}.bgm-editor .bgm-remove:hover{color:var(--red)}.library-file button.icon{width:28px;height:28px;color:var(--muted)}.library-file button.icon:hover{color:var(--text)}.library-file button.icon.danger:hover{color:var(--red)}.gm-notes{flex-direction:column;gap:8px;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow:auto}.gm-note{border:1px solid #3a3f52;border-radius:10px;flex-direction:column;gap:6px;padding:8px;display:flex}.gm-note textarea{resize:none;min-height:0;font-size:13px;line-height:1.7}.gm-note-actions{align-items:center;gap:6px;display:flex}.gm-note-actions .row-menu{margin-left:auto}.gm-note-actions button:not(.icon){padding:4px 12px;font-size:12px}.gm-note-actions button.icon{width:30px;height:30px;color:var(--muted)}.gm-note-actions button.icon:hover{color:var(--red)}.gm-note-speaker{padding:4px 8px;font-size:12px}.gm-note-help strong{color:var(--text);font-weight:600}.image-field{border:1px solid #3a3f52;border-radius:10px;flex-direction:column;gap:4px;padding:4px 6px;display:flex}.image-field.over{border-color:var(--amber);background:#e8a33d14}.image-field-row{align-items:center;gap:4px;display:flex}.image-field-preview{background:#14161d 50%/cover no-repeat;border:1px solid #3a3f52;border-radius:6px;flex:none;width:40px;height:40px}.image-field-label{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;margin-left:6px;font-size:13px;overflow:hidden}.image-field-row button.icon{width:32px;height:32px;color:var(--muted);flex:none}.image-field-row button.icon:hover{color:var(--text)}.image-field-color{flex:none;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.image-field-color input{cursor:pointer;background:0 0;border:1px solid #3a3f52;border-radius:6px;width:24px;height:24px;padding:0}.scene-bgm{flex-direction:column;gap:6px;display:flex}.scene-bgm-label{color:var(--muted);font-size:13px}.scene-bgm-modes{gap:4px;display:flex}.scene-bgm-modes label{color:var(--muted);cursor:pointer;border:1px solid #3a3f52;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:0;padding:6px 8px;font-size:13px;display:flex}.scene-bgm-modes label.on{border-color:var(--amber);color:var(--text);background:#e8a33d1f}.scene-bgm-modes input{opacity:0;pointer-events:none;position:absolute}.scene-bgm-modes label:focus-within{outline:2px solid var(--amber);outline-offset:1px}.scene-bgm-track{border:1px solid #3a3f52;border-radius:8px;align-items:center;gap:4px;padding:2px 4px;display:flex}.scene-bgm-track button.icon{flex:none;width:30px;height:30px}.scene-bgm-track .bgm-volume{max-width:90px}.scene-bgm-track button.icon.on{color:var(--amber-text)}.scene-bgm-track button.icon.danger{color:var(--muted)}.scene-bgm-track button.icon.danger:hover{color:var(--red)}.grid-size{align-items:center;gap:8px;font-size:13px;display:flex}.grid-size>span:first-child{color:var(--muted);margin-right:4px}.grid-size label{flex-direction:row;align-items:center;gap:6px;margin:0;display:flex}.grid-size input{width:72px}.grid-size .ratio-link:not(.on){opacity:.55}.tool-list .row button.icon{width:30px;height:30px;color:var(--muted);flex:none}.tool-list .row button.icon:not(:disabled):hover{color:var(--text)}.tool-list .row button.icon.danger:hover{color:var(--red)}.tool-list .row .tool-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;overflow:hidden}.sound-field .image-field-row>button.icon:first-child,.sound-field-empty{width:40px;height:40px;color:var(--muted);background:#14161d;border:1px solid #3a3f52;border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.sound-field .image-field-label{flex-direction:column;gap:1px;display:flex}.sound-field .sound-state{font-size:11px}.sound-field-video{object-fit:cover;background:#14161d;border:1px solid #3a3f52;border-radius:6px;flex:none;width:40px;height:40px}.handout-list li.handout-row{flex-direction:column;align-items:stretch;gap:6px}.handout-main{align-items:center;gap:6px;display:flex}.handout-list .thumb{color:var(--muted);background-color:#14161d;justify-content:center;align-items:center;display:inline-flex}.handout-list .scene-name{flex-direction:column;align-items:flex-start;gap:0}.handout-list .scene-name small{font-size:11px}.handout-list button.link.scene-name{text-align:left;border:none;padding:0}.handout-give{border:1px solid #3a3f52;border-radius:8px;flex-direction:column;gap:8px;margin:0 4px 4px 66px;padding:8px;display:flex}.handout-give-names{flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.handout-give-names label{align-items:center;gap:6px;margin:0;display:inline-flex}.handout-give-names label.has{color:var(--muted)}.handout-give button.small{padding:4px 12px;font-size:12px}.handout-image{border-radius:6px;max-width:100%;max-height:60vh;margin:0 auto;display:block}.handout-text,.room-notice-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.8}.handout-takeback{color:var(--muted);margin-left:8px;font-size:11px}.handout-takeback:hover{color:var(--red)}.handout-give-names label small{margin-left:2px}.board-chars li.concealed .name{opacity:.55}.char-list button.linked.off{color:var(--muted);cursor:pointer;background:0 0}.char-list button.linked.off:hover:not(:disabled){color:var(--text)}.panel-resize{cursor:nwse-resize;width:28px;height:28px;position:absolute;bottom:-14px;right:-14px}.panel-resize:after{content:"";box-sizing:border-box;background:var(--amber);opacity:0;border:2px solid #1a1408;border-radius:3px;width:14px;height:14px;transition:opacity .12s;position:absolute;top:7px;left:7px}.panel.movable:hover .panel-resize:after,.panel-resize:active:after{opacity:1}.import-terms{color:var(--amber-text);margin:0;font-size:12px}button.icon.has-count{position:relative}.icon-count{box-sizing:border-box;background:var(--amber);color:#1a1408;text-align:center;pointer-events:none;border-radius:999px;min-width:16px;height:16px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px;position:absolute;top:1px;right:0}.window.glass .window-body{gap:8px;padding:8px 10px 10px}.scene-list.compact{gap:2px;max-height:34vh;overflow:auto}.scene-list.compact li{gap:4px;padding:2px 4px}.scene-list.compact .thumb{border-radius:4px;width:40px;height:26px}.scene-list.compact .scene-name{margin-left:2px;font-size:13px}.scene-list.compact button.icon{width:28px;height:28px}.scene-list button.icon.switch{color:var(--muted)}.scene-list button.icon.switch:hover{color:var(--amber-text)}.scene-list button.icon.switch.on,.scene-list button.icon.switch.on:hover{color:var(--amber-text);cursor:default;background:0 0}.scene-list button.icon.switch.quiet:disabled,.scene-list button.icon.switch.quiet:disabled:hover{opacity:1;color:var(--muted);cursor:default;background:0 0}.window-resize{z-index:2;touch-action:none;width:16px;height:16px;position:absolute}.window-resize.nw{cursor:nwse-resize;top:0;left:0}.window-resize.ne{cursor:nesw-resize;top:0;right:0}.window-resize.sw{cursor:nesw-resize;bottom:0;left:0}.window-resize.se{cursor:nwse-resize;background:linear-gradient(135deg,#0000 55%,#ffffff47 55% 62%,#0000 62% 72%,#ffffff47 72% 79%,#0000 79%);border-bottom-right-radius:10px;width:18px;height:18px;bottom:0;right:0}.window.sized .window-body{flex:1}.window.sized .scene-list.compact{max-height:none}.window-bar button{z-index:3;position:relative}.window-bar h2{align-items:center;gap:2px;min-width:0;display:flex}.window-bar .window-help{width:26px;height:26px;color:var(--muted);cursor:help}.window-bar .window-help svg{width:16px;height:16px}.window-bar .window-help:hover{color:var(--text)}.drag-grip{width:14px;color:var(--muted);cursor:grab;flex:none;align-self:stretch;place-items:center;margin-right:-2px;display:grid}.drag-grip:hover{color:var(--text)}.drag-grip svg{stroke-width:3.2px;width:16px}@media (pointer:coarse){.drag-grip{display:none}}.reorder-row.dragging{opacity:.4}.reorder-row.drop-before{box-shadow:0 -2px 0 var(--amber-text)}.reorder-row.drop-after{box-shadow:0 2px 0 var(--amber-text)}.window .panel-order-note{margin:8px 0 0}.row-menu-list{z-index:1000;min-width:140px;position:fixed}.row-menu-list .danger-item{color:var(--red)}.row-menu-list button:disabled{opacity:.5;cursor:default;background:0 0}.scene-list button.thumb-open{cursor:zoom-in;padding:0}.scene-list button.thumb-open:hover{border-color:var(--amber-text)}.piece-menu .danger-item{color:var(--red)}.panel-list li.off .thumb{opacity:.45}.people-bar{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.people{scrollbar-width:none;flex:1;gap:8px;min-width:0;margin:0;padding:2px 2px 8px;list-style:none;display:flex;overflow-x:auto}.people li{flex:none;position:relative}.people .avatar{width:30px;height:30px;margin:0;transition:box-shadow .12s;overflow:hidden}.people .avatar img{object-fit:cover;border-radius:50%;width:100%;height:100%}.people li.away .avatar{opacity:.4}.people li.online .avatar{box-shadow:0 0 0 2px #3a3f52}.people li.speaking .avatar{box-shadow:0 0 0 2px var(--teal), 0 0 12px #6cc3b5b3}.people button.own-avatar{cursor:pointer;background:#3a3f52;border:0;border-radius:50%;padding:0;display:block}.people button.own-avatar:hover,.people button.own-avatar:focus-visible,.people button.own-avatar.on{box-shadow:0 0 0 2px var(--amber);outline:none}.people .members-role,.people .voice-mark{pointer-events:none}.people .voice-mark{width:18px;height:18px;color:var(--teal);background:#14322e;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:-5px;right:-6px}.people .voice-mark.muted{color:var(--red);background:#2e1d1b}.people .voice-mark svg{width:12px;height:12px}.voice-controls{gap:2px;display:inline-flex}button.icon.voice-join{color:var(--teal);border:1px solid var(--teal)}button.icon.voice-leave:hover{color:var(--red)}.voice-controls{align-items:center}.people-bar .voice-error{color:var(--red);flex-basis:100%;margin:0;font-size:12px}@media (width<=760px){.chat-head{padding:4px 8px;display:flex}.chat-head>button.icon:first-child,.chat-head .chat-log{display:none}.chat-head .chat-to-board{display:inline-flex}.tabs .tab-collapse{display:none}}.chat-to-board{border:1px solid var(--amber);background:var(--amber-soft);min-height:36px;color:var(--amber-text);font:inherit;cursor:pointer;border-radius:18px;flex:none;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:700;display:none}.phone-chat-open{z-index:20;background:var(--amber);color:#1a1408;min-height:44px;font:inherit;cursor:pointer;border:none;border-radius:22px;align-items:center;gap:6px;padding:0 18px;font-size:14px;font-weight:700;display:inline-flex;position:absolute;bottom:8px;right:8px;box-shadow:0 8px 24px #00000073}.board-news{z-index:32;border:1px solid var(--amber);max-width:calc(100% - 24px);color:var(--text);font:inherit;cursor:pointer;background:#141822f5;border-radius:18px;align-items:center;gap:10px;padding:8px 14px;font-size:13px;animation:.2s ease-out portrait-in;display:inline-flex;position:absolute;top:52px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000073}.board-news strong{color:var(--amber-text);flex:none}.room.has-demo .board-news{top:96px}@media (width<=420px){.demo-bar{gap:4px;padding-left:6px;font-size:11px}.demo-bar button,.demo-bar a{padding:0 6px}}.demo-bar .feedback-tiny{display:none!important}@media (width<=389px){.demo-bar .feedback-wide{display:none!important}.demo-bar .feedback-tiny{display:inline!important}}@media (width>=761px){.room.chat-folded .demo-bar{right:72px}}@media (width<=760px){.room.phone-board.has-trial .demo-bar{max-width:calc(100% - 116px)}.room.phone-board.has-trial:has(.demo-when) .demo-bar{max-width:calc(100% - 16px)}.room.has-trial:has(.demo-when) .phone-chat-open{bottom:56px}.room.has-trial:has(.demo-when) .message-box{bottom:112px}}@media (width<=379px){.room.phone-board.has-trial .demo-bar{max-width:calc(100% - 16px)}.room.has-trial .phone-chat-open{bottom:56px}.room.has-trial .message-box{bottom:112px}}.piece-menu hr{border:none;border-top:1px solid var(--border);margin:4px 2px}.menu>hr{border:none;border-top:1px solid #ffffff29;margin:4px 2px}.menu>.menu-label{color:var(--muted);margin:4px 10px 2px;font-size:12px}.menu>.menu-info{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:4px 10px 6px;font-size:13px;display:flex}.menu>.menu-info strong{color:var(--text);font-weight:700}.menu>.menu-info a{color:var(--muted);margin-left:auto;font-size:12px}.menu>.menu-info a:hover{color:var(--text)}.menu>button.checked:before{content:"✓";color:var(--amber-text);margin-right:-4px}.menu>button[role=menuitemradio]:not(.checked){padding-left:26px}.room-data-head{margin:4px 0 6px;font-size:13px}.room-data-export{border-bottom:1px solid var(--border);flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:4px;padding-bottom:12px;display:flex}.room-data-run{align-items:center;gap:6px;display:inline-flex}.room-data-run svg{width:16px;height:16px}@media (width>=761px){.room.layout-text{grid-template-columns:auto minmax(0,1fr);grid-template-rows:var(--strip,38%) minmax(0, 1fr);display:grid}.room.layout-text .rail{grid-area:1/1/3}.room.layout-text .stage{grid-area:1/2;overflow:visible}.room.layout-text .overlay.top-left{z-index:9}.room.layout-text .chat{border-left:none;border-top:1px solid var(--border);flex:none;grid-area:2/2;width:auto;max-width:none}.room.layout-text.chat-folded{grid-template-rows:minmax(0,1fr) 0 auto}.room.layout-text.chat-folded .rail{grid-row:1/4}.room.layout-text.chat-folded .chat{border-top:none;overflow:hidden}.room.layout-text .chat-head>button.icon:first-child svg,.room.layout-text .tab-collapse svg{transform:rotate(90deg)}.chat-reopen-bottom{grid-area:3/2}.room.layout-text .strip-resize{z-index:6;cursor:row-resize;touch-action:none;grid-area:1/2;align-self:end;height:10px;display:block;position:relative}.room.layout-text .strip-resize:hover,.room.layout-text .strip-resize:active{background:linear-gradient(to bottom, transparent 8px, var(--amber) 8px)}.room.layout-text .portrait{bottom:8px}.room.layout-text .portrait img{max-height:calc(var(--strip,38vh) - 24px);max-width:28vw}.room.layout-text .composer{box-sizing:border-box;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 16px;width:100%;max-width:64em;margin:0 auto;padding:10px 20px 12px;display:grid}.room.layout-text .composer>.tabs{grid-column:1;justify-content:flex-start}.room.layout-text .composer>.speaker-row{grid-column:2/-1}.room.layout-text .composer>.recipients,.room.layout-text .composer>.dice-row,.room.layout-text .composer>.replying,.room.layout-text .composer>.deco-row,.room.layout-text .composer>textarea{grid-column:1/-1}}.room.layout-text .messages{padding:8px 0}.room.layout-text .msg{box-sizing:border-box;border-bottom:none;grid-template-columns:minmax(5em,max-content) minmax(0,1fr);column-gap:14px;max-width:64em;margin:0 auto;padding:3px 20px;font-size:15px;line-height:1.75;display:grid}.room.layout-text .msg:hover{background:#ffffff08}.room.layout-text .msg .speaker{text-align:right;white-space:nowrap;grid-column:1;font-size:13px;line-height:2}.room.layout-text .msg .speaker time{display:none}.room.layout-text .msg>:not(.speaker):not(.msg-actions){grid-column:2}.room.layout-text .msg.narration .text{color:#d9d3c5;font-style:italic}.room.layout-text .msg.system .speaker{color:var(--muted)}@media (width<=760px){.room.layout-text .msg{grid-template-columns:1fr;padding:4px 12px}.room.layout-text .msg .speaker{text-align:left}.room.layout-text .msg>:not(.speaker):not(.msg-actions){grid-column:1}}.strip-resize{display:none}.chat-reopen-bottom{border-top:1px solid var(--border);background:#1b1d25;justify-content:center;align-items:center;gap:12px;min-height:36px;display:flex}.chat-reopen-bottom>button{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:6px 16px;font-size:13px;display:flex}.chat-reopen-bottom>button:hover{color:var(--text);background:#22252f}.chat-reopen-bottom>button>svg{transform:rotate(-90deg)}.tabs .tab-popout{color:var(--muted)}.tabs .tab-popout:hover{color:var(--text)}.chat-window{flex-direction:column;flex:1;min-height:0;display:flex}.chat-window .messages{background:#14161d73;border-radius:8px;flex:260px;min-height:140px;overflow-y:auto}.chat-window .msg{padding:6px 10px}.chat-window-empty{padding:12px;font-size:13px}.chat-window-input{flex-direction:column;gap:4px;padding-top:8px;display:flex}.chat-window-as{color:var(--muted);margin:0;font-size:11px}.chat-window-row{align-items:flex-end;gap:6px;display:flex}.chat-window-row textarea{resize:none;flex:1;min-height:36px}.chat-window-row .send{flex:none}.replay{flex-direction:column;height:100%;display:flex}.replay-head{border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:12px;padding:10px 16px;display:flex}.replay-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.replay-body{flex:1;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);min-height:0;display:grid;position:relative}.replay-stage{place-items:center;display:grid;position:relative;overflow:hidden}.replay-stage.empty{color:var(--muted);background:#101218}.replay-bg,.replay-fg{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.replay-scene{background:#0000008c;border-radius:999px;padding:4px 10px;font-size:13px;position:absolute;top:12px;left:12px}.replay-missing{color:var(--muted);background:#0009;border-radius:8px;margin:0;padding:4px 10px;font-size:12px;position:relative}.replay-chat{border-left:1px solid var(--border);background:var(--surface);flex-direction:column;min-height:0;display:flex}.replay-chat .messages{padding:8px 0}.replay-tab{color:var(--muted);letter-spacing:.06em;margin:8px 14px -6px;font-size:11px}.replay-start{text-align:center;background:#0a0b0fb8;place-content:center;justify-items:center;gap:12px;display:grid;position:absolute;inset:0}.replay-start button{align-items:center;gap:8px;padding:12px 28px;font-size:16px;display:inline-flex}.replay-start p{color:var(--muted);margin:0;font-size:14px}.replay-controls{border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 16px;display:flex}.replay-controls input[type=range]{min-width:120px;accent-color:var(--amber);flex:1}.replay-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.replay-bgm{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.replay-bgm input[type=range]{flex:none;width:90px;min-width:0}.replay-message{text-align:center;color:var(--muted);flex:1;place-content:center;justify-items:center;gap:14px;padding:24px;display:grid}.replay>.replay-message{height:100%}.replay-cta{background:var(--amber);color:#1a1408;border-radius:8px;padding:10px 22px;font-weight:700;text-decoration:none}@media (width<=760px){.replay-body{grid-template-rows:38vh minmax(0,1fr);grid-template-columns:1fr}.replay-chat{border-left:none;border-top:1px solid var(--border)}}.card-deck,.table-card,.card-discard{color:inherit;font:inherit;background:0 0;border:none;padding:0;position:absolute}.card-deck,.table-card{cursor:pointer;touch-action:none}.card-deck.movable,.table-card.movable{cursor:grab}.table-card{transition:transform .15s}.card-discard.pickable{cursor:pointer}.pile-picker .hand-cards{margin:8px 0 4px;padding-top:8px}.pile-picker .hand-buttons{z-index:1;border-top:1px solid var(--border);background:#1c1f28;margin:0 -14px -14px;padding:10px 14px 14px;position:sticky;bottom:-14px}.table-card.selected{box-shadow:0 0 0 2px #14161d, 0 0 0 4px var(--amber-text);border-radius:6px}.board-wrap.box-mode{cursor:crosshair}.card-deck .card-face{box-shadow:2px 2px #c9c3b5,4px 4px #a9a398,0 6px 16px #00000073}.card-face{box-sizing:border-box;color:#1c1d22;background:#fbf8f1;border:1px solid #c9c3b5;border-radius:8%/5.5%;width:100%;height:100%;font-family:Georgia,Times New Roman,serif;display:block;position:relative;overflow:hidden;box-shadow:0 4px 12px #0006}.card-face.red{color:#c0392b}.card-face.joker{color:#6b3fa0}.card-corner{font-size:calc(var(--cell) * .42);text-align:center;font-weight:700;line-height:1;position:absolute;top:5%;left:7%}.card-corner.end{inset:auto 7% 5% auto;transform:rotate(180deg)}.card-face.joker .card-corner{font-size:calc(var(--cell) * .26);writing-mode:vertical-rl;letter-spacing:.05em}.card-mark{font-size:calc(var(--cell) * 1.2);place-items:center;line-height:1;display:grid;position:absolute;inset:0}.card-face.back{background:repeating-linear-gradient(45deg,#2c3b6b 0 4px,#24305a 4px 8px);border:3px solid #fbf8f1;outline:1px solid #c9c3b5}.card-empty{box-sizing:border-box;color:#fffffff2;width:100%;height:100%;font-size:calc(var(--cell) * .32);background:#14161db3;border:2px dashed #ffffff80;border-radius:8%/5.5%;place-items:center;display:grid}.card-discard.drop>.card-face,.card-discard.drop>.card-empty{box-shadow:0 0 0 3px var(--amber), 0 6px 16px #00000073}.card-count{color:var(--text);white-space:nowrap;background:#14161de6;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:700;position:absolute;bottom:-.2em;left:50%;transform:translate(-50%,50%)}.card-draw{align-items:center;gap:6px;display:flex}.card-draw select{padding:2px 4px;font-size:13px}.hand-deck .card-draw select,.hand-deck .card-draw .button-small{box-sizing:border-box;border-radius:8px;height:32px;min-height:32px;font-size:13px}.hand-deck .card-draw select{width:72px;padding:0 6px}.card-menu .card-draw{padding:2px 4px 2px 6px}.card-menu .card-draw select{box-sizing:border-box;border-radius:6px;height:30px;padding:0 4px;font-size:13px}.card-menu .card-draw button{color:var(--text);text-align:left;background:0 0;border:none;border-radius:6px;flex:1;padding:8px 10px;font-size:14px;font-weight:400}.card-menu .card-draw button:hover:not(:disabled){background:#ffffff14}.card-menu button:disabled{opacity:.4;cursor:default}.hand-section{margin-bottom:14px}.hand-section>.hand-title{margin:0 0 6px}.hand-decks{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px 10px;display:grid}.hand-deck{font-size:13px;display:contents}.hand-deck-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hand-deck-left{text-align:right;font-size:12px}.hand-others-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.hand-other{width:100%;color:inherit;font:inherit;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.hand-other>span:first-child{flex:1;min-width:0}button.hand-other{cursor:pointer}button.hand-other:hover{color:var(--amber-text)}button.hand-other svg{width:14px;height:14px;transition:transform .15s;transform:rotate(-90deg)}button.hand-other[aria-expanded=true] svg{transform:none}.button-small{min-height:32px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #4a4f60;border-radius:8px;padding:0 12px;font-size:13px;font-weight:700}.button-small:disabled{opacity:.4;cursor:default}.hand-title{margin:12px 0 6px;font-size:13px;font-weight:700}.card-back-name{color:#24305a;font-family:inherit;font-weight:700;font-size:calc(var(--cell) * .28);text-align:center;overflow-wrap:anywhere;background:#fbf8f1eb;border-radius:6%;place-items:center;padding:4%;line-height:1.3;display:grid;position:absolute;inset:12% 8%;overflow:hidden}.card-face.custom{text-align:left;flex-direction:column;gap:4%;padding:8% 7%;font-family:inherit;display:flex}.card-face.custom .card-image{object-fit:cover;border-radius:4%;flex:auto;width:100%;min-height:0}.card-face.custom .card-name{font-weight:700;font-size:calc(var(--cell) * .3);overflow-wrap:anywhere;flex:none;line-height:1.25}.card-face.custom.name-only{text-align:center;justify-content:center;align-items:center}.card-face.custom.name-only .card-name{font-size:calc(var(--cell) * .38)}.card-face.custom .card-text{min-height:0;font-size:calc(var(--cell) * .2);white-space:pre-wrap;overflow-wrap:anywhere;color:#3b3d45;flex:auto;line-height:1.45;overflow:hidden}.card-face.peek{opacity:.82;outline-offset:-4px;outline:2px dashed #8fa2d6}.card-peek{color:#fbf8f1;font-family:inherit;font-size:calc(var(--cell) * .2);white-space:nowrap;background:#24305a;border-radius:999px;padding:0 6px;font-weight:700;position:absolute;bottom:4%;left:50%;transform:translate(-50%)}.card-detail{background:#ffffff0d;border-radius:6px;gap:4px;max-width:280px;margin:0 0 6px;padding:8px 10px;font-size:13px;line-height:1.6;display:grid}.card-detail img{object-fit:contain;border-radius:4px;max-width:100%;max-height:160px}.card-detail p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.card-menu .card-detail{margin:0 0 4px}.custom-deck,.deck-chooser{gap:8px;display:grid}.hand-deck-add .with-icon{align-items:center;gap:4px;display:inline-flex}.hand-deck-add .with-icon svg{width:14px;height:14px}.deck-chooser>button{border:1px solid var(--border);color:inherit;text-align:left;cursor:pointer;background:#ffffff08;border-radius:8px;gap:2px;padding:10px 12px;display:grid}.deck-chooser>button:hover{border-color:var(--amber);background:#e8a33d14}.deck-chooser>button span{color:var(--muted);font-size:12px}.saved-decks{gap:8px;display:grid}.saved-deck-list{gap:6px;max-height:40vh;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.saved-deck-list li{border:1px solid var(--border);border-radius:8px;align-items:center;gap:6px;padding:8px 10px;display:flex}.saved-deck-name{flex:1;gap:2px;min-width:0;display:grid}.saved-deck-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.custom-deck label{color:var(--muted);gap:4px;font-size:13px;display:grid}.custom-deck label.check{color:var(--text);align-items:center;gap:6px;display:flex}.custom-deck-kind{border:none;flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;display:flex}.custom-deck-kind legend{width:100%;color:var(--muted);margin-bottom:4px;padding:0;font-size:13px}.custom-deck label.check input{flex:none;width:auto;margin:0}.custom-deck textarea{font-size:13px;line-height:1.6}.custom-deck-list{gap:6px;max-height:40vh;margin:0;padding:0 0 0 1.4em;font-size:13px;display:grid;overflow:auto}.custom-deck-list li>div{gap:2px;margin-bottom:2px;display:grid}.custom-deck-list li span{white-space:pre-wrap;font-size:12px}.hand-gm-sees{color:var(--muted);border-top:1px solid #ffffff1a;margin:4px 0 2px;padding-top:10px;font-size:12px}.hand-gm-sees-note{margin:0 0 8px}.hand-theirs{margin-top:8px}.hand-cards{--cell:28px;flex-wrap:wrap;gap:6px;display:flex}.hand-card{cursor:pointer;background:0 0;border:none;width:56px;height:84px;padding:0;transition:transform .12s}.hand-card.chosen{transform:translateY(-8px)}.hand-card.chosen .card-face{outline:3px solid var(--amber);outline-offset:1px}.hand-actions{border-top:1px solid var(--border);margin-top:12px;padding-top:10px}.hand-chosen{color:var(--amber-text);margin:0 0 8px;font-size:13px}.hand-buttons,.hand-give{flex-wrap:wrap;gap:6px;display:flex}.hand-buttons button,.hand-give button{min-height:34px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #4a4f60;border-radius:8px;padding:0 12px;font-size:13px}.hand-buttons button.primary{background:var(--amber);border-color:var(--amber);color:#1a1408;font-weight:700}.hand-give{align-items:center;margin-top:8px;font-size:13px}.hand-others{color:var(--muted);margin:12px 0 0;font-size:12px}.guest-bar .guest-bar-x{width:28px;min-height:28px;color:var(--muted);border:none;place-items:center;padding:0;display:inline-grid}.hand-deck-add{flex-wrap:wrap;gap:6px;display:flex}body.popout-body{height:100vh;color:var(--text);background:#14161d;margin:0}.window.popout{height:100vh;max-height:none;box-shadow:none;background:#1c1f28;border:none;border-radius:0;position:static}.window.popout .window-bar{cursor:default}.window.popout .window-body{flex:1}.window.popout .scene-list.compact,.window.popout .gm-notes,.window.popout .library-grid,.window.popout .library-list,.window.popout .palette-list,.window.popout .help .system-help{max-height:none}@media (width<=760px){.window-popout{display:none}}.panel.flippable,.panel.clickable{cursor:pointer}.panel.clickable:hover{outline:2px solid var(--amber)}.panel-click{border:1px solid var(--border);border-radius:8px;padding:8px 10px}.panel-click-body{flex-direction:column;gap:12px;margin-top:10px;display:flex}.panel-click-body label{flex-direction:column;gap:4px;display:flex}.panel-click-body label.check{flex-direction:row;align-items:center;gap:6px}.panel-click-body p{margin:0;font-size:12px;line-height:1.7}.panel-click summary{cursor:pointer;color:var(--muted);font-size:13px}.panel-click .radio-row{gap:14px;display:flex}.panel-note{box-sizing:border-box;color:#2a2620;text-align:center;overflow-wrap:anywhere;background:#f4efe2;border:1px solid #c9c2b0;border-radius:6px;place-items:center;width:100%;height:100%;padding:4px;font-size:.8em;font-weight:700;display:grid;overflow:hidden}.panel-note-large{text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:24px 12px;font-size:20px;font-weight:700}.panel-button{box-sizing:border-box;border:1px solid var(--amber);width:100%;height:100%;color:var(--text);text-align:center;background:#14161dd9;border-radius:8px;place-items:center;padding:4px;font-size:.8em;font-weight:700;display:grid;overflow:hidden}.panel.flippable:hover{outline:2px solid var(--amber)}.card-back-plain{pointer-events:none;background:repeating-linear-gradient(45deg,#2a2340 0 8px,#241e38 8px 16px);border:2px solid #b8955a;border-radius:6px;place-items:center;padding:6%;display:grid;position:absolute;inset:0;box-shadow:inset 0 0 0 4px #1a1528}.card-back-plain>span{color:#f0e2c0;text-align:center;overflow-wrap:anywhere;background:#14161dd9;border-radius:4px;max-width:100%;padding:2px 8px;font-size:1.2em;font-weight:700}.demo-welcome .demo-welcome-note{color:var(--amber-text);background:#e8a33d1f;border-radius:8px;margin:0;padding:8px 10px;font-size:13px}.demo-bar-playing{color:var(--muted)}.demo-intro-dot{background:var(--red,#e5484d);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite intro-blink}@keyframes intro-blink{50%{opacity:.3}}.die-symbol{z-index:6;color:inherit;font:inherit;cursor:default;touch-action:none;background:0 0;border:none;padding:0;position:absolute}.die-symbol.movable{cursor:grab}.die-symbol-face{box-sizing:border-box;color:#1c1d22;background:#fbf8f1;border:1px solid #c9c3b5;border-radius:18%;place-items:center;width:100%;height:100%;display:grid;position:relative;box-shadow:0 3px 8px #00000073}.die-symbol-value{font-weight:800;font-size:calc(var(--cell,40px) * .5);line-height:1}.die-symbol-kind{font-size:calc(var(--cell,40px) * .18);color:#6b6f7d;font-weight:700;position:absolute;bottom:3%;right:6%}.die-symbol-face.masked{color:#fbf8f1;background:#2c3b6b;border-color:#fbf8f1}.die-symbol-face.peek{opacity:.85;outline-offset:-4px;outline:2px dashed #8fa2d6}.die-symbol-hidden{color:#fbf8f1;font-size:calc(var(--cell,40px) * .16);background:#24305a;border-radius:4px;padding:0 3px;font-weight:700;position:absolute;top:4%;left:6%}.die-symbol-menu{min-width:200px}.die-symbol-selects{gap:12px;padding:4px 10px 6px;display:flex}.die-symbol-selects label{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:flex}.die-symbol-selects select{border-radius:6px;height:30px;padding:0 6px;font-size:13px}.die-symbol-add{gap:6px;margin-bottom:8px;display:flex}.die-symbol-add select{border-radius:8px;height:32px;padding:0 6px;font-size:13px}.die-symbol-reveal{margin-bottom:8px}.die-symbol-row{grid-template-columns:44px 1fr;align-items:start;gap:8px;margin-bottom:8px;display:grid}.die-symbol-chip{--cell:44px;width:44px;height:44px}.die-symbol-row-controls.menu{min-width:0;box-shadow:none;padding:4px}.char-editor .char-editor-bottom .spacer{flex:1}.char-editor .char-name-row{grid-template-columns:minmax(0,1fr) 120px;gap:10px;display:grid}.char-import-toggle{border-color:var(--amber);width:100%;color:var(--amber-text);justify-content:center;align-items:center;gap:8px;font-weight:700;display:flex}.char-import-toggle svg{width:18px;height:18px}.char-import-toggle:hover,.char-import-toggle.on{background:var(--amber-soft)}.char-import{border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:8px;margin-top:-4px;padding:10px;display:flex}.char-import>button{align-self:flex-start}.char-import-note{border:1px solid var(--amber);background:var(--amber-soft);color:var(--amber-text);border-radius:8px;gap:4px;padding:8px 10px;font-size:13px;display:grid}.char-import-note p{margin:0}.char-section{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr);gap:6px;padding-top:12px;display:grid}.char-section-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.char-section-head h3{margin:0;font-size:14px}.char-section .small-note{margin:0}.char-piece-row{grid-template-columns:64px minmax(0,1fr) minmax(0,1fr);align-items:end;gap:10px;display:grid}.char-piece-row select{width:100%;min-width:0}.char-rows{align-items:center;gap:4px 8px;display:grid}.char-rows.status{grid-template-columns:minmax(0,1fr) 72px 72px 32px}.char-rows input{min-width:0}.char-rows.params{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px;max-height:320px;overflow:auto}.char-rows-head{color:var(--muted);font-size:12px}.char-rows .icon,.char-section-head .icon,.char-section .face-row .icon{width:30px;height:30px}.char-toggle{align-items:flex-start;gap:8px;color:var(--text)!important;flex-direction:row!important;display:flex!important}.char-toggle input{flex-shrink:0;width:auto;margin-top:3px}.char-toggle span{gap:2px;font-size:14px;display:grid}.char-toggle small{color:var(--muted);font-size:12px}.menu .menu-select{gap:4px;padding:4px 10px 8px;display:grid}.menu .menu-select select{width:100%}.motion-shake{animation:.12s linear 18 motion-shake;display:inline-block}@keyframes motion-shake{0%{transform:translate(0)}25%{transform:translate(-1.5px,1px)}50%{transform:translate(1.5px,-1px)}75%{transform:translate(-1px,-1px)}to{transform:translate(0)}}.motion-fade{animation:2.4s ease-out motion-fade;display:inline-block}@keyframes motion-fade{0%{opacity:0;filter:blur(6px)}to{opacity:1;filter:blur()}}.motion-stack{display:block;position:relative}.motion-under{visibility:hidden}.motion-over{position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.motion-shake,.motion-fade{animation:none}}.messages .older-lines{text-align:center;min-height:1px;color:var(--muted);padding:4px 0;font-size:13px;list-style:none}.messages .older-lines:empty{padding:0}.menu .menu-fold{justify-content:space-between;align-items:center;gap:8px;display:flex}.menu .menu-fold svg{width:14px;height:14px;transition:transform .15s;transform:rotate(-90deg)}.menu .menu-fold[aria-expanded=true] svg{transform:none}.menu .menu-folded{display:grid}.menu .menu-folded>button{text-align:left;color:var(--text);white-space:nowrap;background:0 0;border:none;border-radius:6px;align-items:center;padding:8px 10px 8px 24px;font-size:14px;display:flex}.menu .menu-folded>button:hover{background:#ffffff14}.help-win .menu-label{color:var(--muted);margin:0 0 4px;font-size:12px}.help-win-list{flex-direction:column;margin:0 0 12px;display:flex}.help-win-list>button,.help-win-list>a{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:7px 8px;font-size:13px;text-decoration:none;display:flex}.help-win-list>button:hover,.help-win-list>a:hover{background:var(--bg)}.help-win-list svg{width:14px;height:14px;color:var(--muted);flex:none}.help-win-all{color:var(--amber-text);font-size:13px}.msg .result.rolling,.message-box-dice.rolling{visibility:hidden}.msg .result.settled,.message-box-dice.settled{animation:.3s ease-out dice-in}@keyframes dice-in{0%{opacity:0;transform:translateY(3px)}}.msg .result.settled.crit,.msg .result.settled.fumble,.message-box-dice.settled.crit,.message-box-dice.settled.fumble{animation:.3s ease-out dice-in,1.2s ease-out dice-glow}@keyframes dice-glow{0%{box-shadow:0 0 #f0c878b3}to{box-shadow:0 0 0 10px #f0c87800}}.dice-reveal{z-index:100000;pointer-events:none;background:#0c0d12e6;border:1px solid #ffffff1f;border-radius:14px;justify-items:center;gap:2px;padding:14px 28px 12px;animation:2s forwards dice-reveal;display:grid;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 32px #00000080}.dice-reveal-who{color:var(--muted);font-size:12px}.dice-reveal-value{text-align:center;font-variant-numeric:tabular-nums;color:#f3e7cf;text-shadow:0 0 18px #e8a33d8c;min-width:2ch;font-size:56px;font-weight:700;line-height:1.05}.dice-reveal-verdict{letter-spacing:.15em;min-height:1.5em;color:var(--amber-text);font-size:14px;font-weight:700}.dice-reveal.ok .dice-reveal-verdict{color:var(--teal)}.dice-reveal.ng .dice-reveal-verdict{color:var(--red)}.dice-reveal.crit .dice-reveal-value,.dice-reveal.fumble .dice-reveal-value{animation:.35s ease-out dice-stop}@keyframes dice-stop{0%{transform:scale(1.15)}}@keyframes dice-reveal{0%{opacity:0;transform:translate(-50%,-42%)scale(.92)}12%{opacity:1;transform:translate(-50%,-50%)scale(1)}82%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.msg .result.settled,.message-box-dice.settled,.msg .result.settled.crit,.msg .result.settled.fumble,.message-box-dice.settled.crit,.message-box-dice.settled.fumble,.dice-reveal,.dice-reveal-value{animation:none}}
