.chat-stage-wrap{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.chat-stage-wrap>.chat-stage{flex:1}.chat-play{border:1px solid var(--line-2);background:color-mix(in srgb, var(--surface) 86%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--fg);cursor:pointer;transition:background .15s var(--ease-out), border-color .15s var(--ease-out), transform .12s var(--ease-out);border-radius:999px;align-items:center;gap:7px;padding:7px 12px;font-size:.78rem;font-weight:600;display:inline-flex;position:absolute;bottom:12px;right:12px}.chat-play:hover{border-color:var(--fg-3)}.chat-play:active{transform:translateY(1px)}.chat-play[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 18%, var(--surface))}.chat-play-time{font-family:var(--font-mono), ui-monospace, monospace;font-variant-numeric:tabular-nums;color:var(--fg-3);font-size:.64rem}.chat-play:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-menu{width:19rem}.chat-menu-label{font-family:var(--font-mono), ui-monospace, monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--fg-4);margin:6px 9px 2px;font-size:.58rem}.chat-hint{color:var(--fg-3);align-items:center;gap:7px;font-size:.74rem;display:flex}.chat-hint svg,.chat-row-star{color:var(--accent);flex:none}.chat-stage{height:min(68vh,620px);min-height:320px;max-height:none;padding:20px;overflow:auto;box-shadow:0 26px 60px -46px #000000e6}@media (min-width:1100px) and (min-height:700px){.chat-stage{height:auto;min-height:0}}.chat-artboard{visibility:hidden;position:relative}.chat-artboard[data-ready]{visibility:visible}@media (prefers-reduced-motion:no-preference){.chat-artboard[data-ready]{animation:chat-swap-in .26s var(--ease-out)}}@keyframes chat-swap-in{0%{opacity:.25;transform:translateY(4px)scale(.992)}}.chat-studio .kf-rail-body,.chat-studio .kf-topbar .kf-seg{transition:opacity .2s var(--ease-out)}.chat-studio:not([data-loaded]) .kf-rail-body,.chat-studio:not([data-loaded]) .kf-topbar .kf-seg{opacity:0}.chat-suggest{flex-wrap:wrap;gap:4px;display:flex}.chat-suggest-item{border:1px solid var(--line);background:var(--bg-2);color:var(--fg-2);cursor:pointer;transition:border-color .12s var(--ease-out), color .12s var(--ease-out);border-radius:999px;align-items:center;gap:6px;padding:3px 8px 3px 4px;font-size:.74rem;display:inline-flex}.chat-suggest-item:hover,.chat-suggest-item[aria-selected=true]{border-color:var(--line-2);color:var(--fg)}.chat-suggest-item img{-o-object-fit:contain;object-fit:contain;width:20px;height:20px}.chat-suggest-item .kf-kbd{padding:0 4px;font-size:.56rem}@media (prefers-reduced-motion:no-preference){.chat-suggest{animation:chat-swap-in .16s var(--ease-out)}}.chat-preview{cursor:pointer;display:block}.chat-selection{border:1px solid color-mix(in srgb, var(--accent) 70%, transparent);background:color-mix(in srgb, var(--accent) 8%, transparent);pointer-events:none;transition:top .2s var(--ease-out), height .2s var(--ease-out);border-radius:8px;position:absolute;left:-6px;right:-6px}.kf-seg-item[data-platform=twitch][aria-pressed=true]{color:#c9a8ff;box-shadow:inset 0 0 0 1px #9146ff}.kf-seg-item[data-platform=kick][aria-pressed=true]{color:#8dfd62;box-shadow:inset 0 0 0 1px #53fc18}.chat-composer{border-top:1px solid var(--line);flex-direction:column;gap:8px;margin-top:auto;padding:10px 13px 13px;display:flex}.chat-composer-row{align-items:center;gap:6px;display:flex}.chat-list{flex-direction:column;gap:4px;display:flex}.chat-list-item{border-radius:var(--radius-sm);transition:background .15s var(--ease-out), border-color .15s var(--ease-out);border:1px solid #0000}.chat-list-item[data-selected=true]{border-color:color-mix(in srgb, var(--accent) 42%, transparent);background:color-mix(in srgb, var(--accent) 7%, var(--surface))}.chat-row{border-radius:var(--radius-sm);width:100%;min-width:0;color:var(--fg-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:7px 8px;font-size:.8rem;display:flex}.chat-row:hover{background:var(--surface-3)}.chat-row-badges{flex:none;gap:2px;display:inline-flex}.chat-row-badges:empty{display:none}.chat-row-badges img{width:16px;height:16px}.chat-row-name{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:45%;font-weight:700;overflow:hidden}.chat-row-text{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.chat-editor{flex-direction:column;gap:10px;padding:4px 9px 10px;display:flex}.chat-name-row{align-items:center;gap:6px;display:flex}.chat-swatch{border-radius:var(--radius-sm);width:34px;height:34px}.chat-textarea{resize:vertical;min-height:56px;line-height:1.4}.chat-emote-toggle{align-self:flex-start}.chat-editor-actions{justify-content:flex-end;gap:2px;display:flex}.chat-badges{flex-wrap:wrap;gap:5px;display:flex}.chat-badge-toggle{border:1px solid var(--line);background:var(--bg-2);cursor:pointer;width:32px;height:32px;transition:border-color .15s var(--ease-out), background .15s var(--ease-out), transform .12s var(--ease-out);border-radius:8px;place-items:center;padding:0;display:grid}.chat-badge-toggle img{opacity:.42;filter:grayscale(.7);width:20px;height:20px;transition:opacity .15s var(--ease-out), filter .15s var(--ease-out)}.chat-badge-toggle:hover img{opacity:.8}.chat-badge-toggle:active{transform:translateY(1px)}.chat-badge-toggle[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, var(--bg-2))}.chat-badge-toggle[aria-pressed=true] img{opacity:1;filter:none}.chat-emotes{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg-2);flex-direction:column;display:flex}.chat-emotes-search{border-bottom:1px solid var(--line);color:var(--fg-3);align-items:center;gap:8px;padding:8px 10px;display:flex}.chat-emotes-grid{scrollbar-width:thin;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:2px;max-height:172px;padding:6px;display:grid;overflow-y:auto}.chat-emote{aspect-ratio:1;cursor:pointer;transition:background .12s var(--ease-out), transform .12s var(--ease-out);background:0 0;border:0;border-radius:6px;place-items:center;padding:4px;display:grid}.chat-emote:hover{background:var(--surface-3)}.chat-emote:active{transform:scale(.94)}.chat-emote img{-o-object-fit:contain;object-fit:contain;max-width:100%;max-height:28px}.chat-steps{gap:12px;margin-top:20px;display:grid}@media (min-width:720px){.chat-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}.chat-steps li{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg, var(--surface-2), var(--surface));padding:16px}.chat-steps h3{font-size:.92rem;font-weight:600}.chat-steps p{color:var(--fg-3);margin-top:6px;font-size:.8rem;line-height:1.55}.chat-row:focus-visible,.chat-badge-toggle:focus-visible,.chat-emote:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (prefers-reduced-transparency:reduce){.chat-play{background:var(--surface-2);-webkit-backdrop-filter:none;backdrop-filter:none}}@media (prefers-reduced-motion:reduce){.chat-play,.chat-selection,.chat-list-item,.chat-badge-toggle,.chat-emote{transition:none}}
