.retro-chat-page{min-height:calc(100dvh - var(--site-header-offset, 7.5rem) - 2rem);padding:1rem;background:#f1f5f9;font-family:ui-sans-serif,system-ui,sans-serif;font-size:14px;color:#0f172a}.retro-chat-page--session{display:flex;flex-direction:column;min-height:calc(100dvh - var(--site-header-offset, 7.5rem) - 3rem);padding-bottom:1.25rem}.retro-chat-page--session .retro-chat-shell{flex:1;display:flex;flex-direction:column;min-height:0;width:100%;max-width:var(--site-max-bank,90rem)}.retro-chat-page-alert,.retro-chat-page-loading{max-width:var(--site-max-bank,90rem);margin:1.5rem auto}.retro-chat-page-alert{padding:1rem 1.25rem;border-radius:12px;border:1px solid #fecaca;background:#fff;box-shadow:0 1px 3px rgb(15 23 42/8%)}.retro-chat-page-alert__hint{margin:.5rem 0 .75rem;font-size:13px;color:#64748b;line-height:1.6}.retro-chat-shell{max-width:var(--site-max-bank,90rem);margin:0 auto;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 4px 6px -1px rgb(15 23 42/6%),0 10px 24px -4px rgb(15 23 42/8%);overflow:hidden}.retro-chat-page--session .retro-chat-body{flex:1;min-height:0;margin-bottom:.75rem}.retro-chat-page--session .retro-chat-log,.retro-chat-page--session .retro-chat-online{min-height:0}.retro-chat-page--session .retro-chat-messages{min-height:0;max-height:none}.retro-chat-titlebar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;background:linear-gradient(135deg,#0d9488,#0f766e);color:#fff;font-weight:600;font-size:15px}.retro-chat-titlebar__actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.retro-chat-titlebar__help{padding:.25rem .65rem;border:1px solid hsla(0,0%,100%,.35);border-radius:999px;background:hsla(0,0%,100%,.12);color:#fff;font-size:12px;font-weight:500;cursor:pointer;transition:background .15s}.retro-chat-titlebar__help:hover{background:hsla(0,0%,100%,.22)}.retro-chat-titlebar__status{font-size:11px;font-weight:400;opacity:.9}.retro-chat-notice{margin:.75rem 1rem 0;padding:.5rem .75rem;border-radius:8px;border:1px solid #fde68a;background:#fffbeb;font-size:13px;color:#92400e;line-height:1.5}.retro-chat-progress{margin:.75rem 1rem 0;padding:.45rem .75rem;border-radius:8px;border:1px solid #bbf7d0;background:#f0fdf4;font-size:12px;color:#166534;line-height:1.45}.retro-chat-body{display:grid;grid-template-columns:var(--site-sidebar-width,320px) minmax(0,1fr);gap:0;margin:.75rem 1rem;min-height:420px;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#f8fafc}.retro-chat-online{border-right:1px solid #e2e8f0;background:#f8fafc;color:#334155;overflow-y:auto;font-size:13px}.retro-chat-online__head{padding:.5rem .65rem;border-bottom:1px solid #e2e8f0;background:#fff;font-weight:600;font-size:12px;color:#64748b;text-align:center}.retro-chat-online__list{list-style:none;margin:0;padding:.35rem 0}.retro-chat-online__item{padding:.35rem .65rem;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .12s}.retro-chat-online__item:hover:not(.is-self){background:#e2e8f0}.retro-chat-online__item.is-self{color:#0f766e;font-weight:600;cursor:default}.retro-chat-online__item.is-selected{background:#ccfbf1;color:#0f766e}.retro-chat-online__rank{color:#94a3b8;font-size:11px;margin-right:.15rem}.retro-chat-log{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.retro-chat-messages{flex:1;overflow-y:auto;padding:.75rem 1rem;font-size:14px;line-height:1.6;color:#334155;min-height:320px;max-height:min(52vh,480px)}.retro-chat-msg{margin-bottom:.35rem;word-break:break-word}.retro-chat-msg--system{color:#94a3b8;font-size:13px;font-style:italic}.retro-chat-msg--action{color:#0369a1}.retro-chat-msg--whisper{color:#9333ea}.retro-chat-msg__time{color:#94a3b8;margin-right:.35rem;font-size:11px}.retro-chat-msg__rank{color:#0d9488;margin-right:.25rem;font-size:12px}.retro-chat-msg__name{color:#0f172a;font-weight:600}.retro-chat-inputbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.65rem .75rem;border-top:1px solid #e2e8f0;background:#f8fafc}.retro-chat-inputbar input[type=text]{flex:1;padding:.45rem .65rem}.retro-chat-inputbar input[type=text],.retro-chat-inputbar__textarea{min-width:8rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-family:inherit;font-size:14px}.retro-chat-inputbar__textarea{flex:1 1 100%;min-height:2.75rem;padding:.5rem .65rem;resize:vertical;line-height:1.5;transition:border-color .15s,box-shadow .15s}.retro-chat-inputbar__textarea:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.15)}.retro-chat-math-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;padding:.5rem .75rem;border-top:1px solid #e2e8f0;background:#f1f5f9}.retro-chat-math-toolbar__label{color:#64748b;font-size:12px;font-weight:600;margin-right:.15rem}.retro-chat-btn--math{padding:.2rem .5rem;font-size:12px}.retro-chat-btn--math.is-active{background:#ccfbf1;border-color:#5eead4;color:#0f766e}.retro-chat-btn--greek{min-width:1.75rem;padding:.15rem .35rem;font-size:13px}.retro-chat-math-toolbar__greek-wrap{position:relative}.retro-chat-math-toolbar__greek-pop{position:absolute;left:0;bottom:calc(100% + 6px);z-index:20;display:flex;flex-wrap:wrap;gap:.25rem;max-width:240px;padding:.5rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.12)}.retro-chat-math-toolbar__recent{max-width:8rem;padding:.25rem .4rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-family:inherit;font-size:12px}.retro-chat-math-preview{padding:.5rem .75rem;border-top:1px solid #e2e8f0;background:#f8fafc;color:#334155}.retro-chat-math-preview--dialog{border:1px solid #e2e8f0;border-radius:8px;background:#fff;min-height:3rem}.retro-chat-math-preview__label{font-size:11px;color:#64748b;font-weight:600;margin-bottom:.35rem}.retro-chat-math-preview__body{font-size:15px;line-height:1.6;word-break:break-word}.retro-chat-math-dialog-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.45);padding:1rem;backdrop-filter:blur(2px)}.retro-chat-math-dialog{width:min(520px,100%);border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 20px 48px rgba(15,23,42,.18);font-family:inherit;overflow:hidden}.retro-chat-math-dialog__titlebar{display:flex;align-items:center;justify-content:space-between;padding:.65rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;color:#0f172a;font-weight:600;font-size:15px}.retro-chat-math-dialog__body{padding:1rem}.retro-chat-math-dialog__greek,.retro-chat-math-dialog__templates{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.5rem}.retro-chat-math-dialog__mode{display:flex;gap:.75rem;margin-bottom:.5rem;font-size:13px}.retro-chat-math-dialog__source{width:100%;box-sizing:border-box;padding:.5rem .65rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-family:ui-monospace,monospace;font-size:13px;margin-bottom:.5rem}.retro-chat-math-dialog__actions{display:flex;justify-content:flex-end;gap:.5rem;padding:.65rem 1rem 1rem;border-top:1px solid #f1f5f9}.retro-chat-btn--accent{font-weight:600}.retro-chat-msg__body .katex{color:#0d9488;font-size:1.05em}.retro-chat-msg__body .katex-display{display:block;margin:.35em 0;color:#0f172a;overflow-x:auto;overflow-y:hidden}.retro-chat-msg__body .katex-display>.katex{color:#0f172a}.retro-chat-math-preview__body .katex{color:#0d9488}.retro-chat-math-preview__body .katex-display{display:block;margin:.35em 0;color:#0f172a}.retro-chat-msg--whisper .retro-chat-msg__body .katex{color:#9333ea}.retro-chat-msg--action .retro-chat-msg__body .katex{color:#0369a1}.retro-chat-inputbar select{padding:.35rem .5rem}.retro-chat-btn,.retro-chat-inputbar select{border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-family:inherit;font-size:13px}.retro-chat-btn{padding:.35rem .75rem;font-weight:500;color:#334155;cursor:pointer;transition:background .12s,border-color .12s}.retro-chat-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.retro-chat-btn:active:not(:disabled){background:#e2e8f0}.retro-chat-btn:disabled{opacity:.5;cursor:not-allowed}.retro-chat-btn--primary{background:#0d9488;border-color:#0d9488;color:#fff}.retro-chat-btn--primary:hover:not(:disabled){background:#0f766e;border-color:#0f766e}.retro-chat-status{margin:0 1rem .75rem;padding:.45rem .75rem;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc;font-size:12px;color:#64748b}.retro-chat-status--err{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.retro-chat-gate{max-width:420px;margin:2rem auto;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 10px 32px rgba(15,23,42,.1);overflow:hidden}.retro-chat-gate__title{padding:.85rem 1rem;background:linear-gradient(135deg,#0d9488,#0f766e);color:#fff;font-weight:600;font-size:15px}.retro-chat-gate__body{padding:1.25rem}.retro-chat-gate__tabs{display:flex;gap:.35rem;margin-bottom:1rem;padding:.25rem;border-radius:10px;background:#f1f5f9}.retro-chat-gate__tab{flex:1;padding:.45rem;border:none;border-radius:8px;background:transparent;font-family:inherit;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;transition:background .12s,color .12s}.retro-chat-gate__tab.is-active{background:#fff;color:#0f766e;font-weight:600;box-shadow:0 1px 3px rgb(15 23 42/8%)}.retro-chat-gate label{display:block;margin-bottom:.75rem;font-size:13px;font-weight:500;color:#475569}.retro-chat-gate input{display:block;width:100%;margin-top:.35rem;padding:.5rem .65rem;border:1px solid #cbd5e1;border-radius:8px;font-family:inherit;font-size:14px}.retro-chat-gate input:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px rgba(20,184,166,.15)}.retro-chat-gate__intro{margin:0 0 1rem;font-size:13px;color:#64748b;line-height:1.55}.retro-chat-whisper-tag{display:inline-flex;align-items:center;gap:.25rem;padding:.15rem .5rem;border-radius:999px;background:#f3e8ff;color:#7e22ce;font-size:12px;font-weight:500}.retro-chat-whisper-tag__clear{padding:0 .35rem;min-height:auto;border:none;background:transparent;color:inherit;font-size:14px;line-height:1}.retro-chat-whisper-tag__clear:hover{background:rgba(126,34,206,.12)}.retro-chat-gate__err{margin-bottom:.5rem;color:#b91c1c;font-size:13px}.retro-chat-help-backdrop{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(15,23,42,.45);backdrop-filter:blur(2px)}.retro-chat-help-dialog{display:flex;flex-direction:column;width:min(560px,100%);max-height:min(85vh,640px);border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 24px 56px rgba(15,23,42,.18);overflow:hidden}.retro-chat-help-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 1.15rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.retro-chat-help-dialog__title{margin:0;font-size:16px;font-weight:600;color:#0f172a}.retro-chat-help-dialog__close{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:none;border-radius:8px;background:transparent;color:#64748b;font-size:1.35rem;line-height:1;cursor:pointer}.retro-chat-help-dialog__close:hover{background:#e2e8f0;color:#0f172a}.retro-chat-help-dialog__body{flex:1;overflow-y:auto;padding:1rem 1.15rem}.retro-chat-help-dialog__footer{display:flex;justify-content:flex-end;padding:.75rem 1.15rem;border-top:1px solid #f1f5f9;background:#fafafa}.retro-chat-help-section{margin-bottom:1.25rem}.retro-chat-help-section:last-child{margin-bottom:0}.retro-chat-help-section h3{margin:0 0 .35rem;font-size:14px;font-weight:600;color:#0f172a}.retro-chat-help-section__lead{margin:0 0 .5rem;font-size:13px;color:#64748b}.retro-chat-help-section__note{margin:.5rem 0 0;font-size:12px;color:#64748b;line-height:1.55}.retro-chat-help-section ul{margin:0;padding-left:1.25rem;font-size:13px;color:#334155;line-height:1.65}.retro-chat-help-section li+li{margin-top:.35rem}.retro-chat-help-section code{padding:.1rem .35rem;border-radius:4px;background:#f1f5f9;font-size:12px;color:#0f766e}.retro-chat-help-ranks{list-style:none;padding:0!important}.retro-chat-help-ranks li{display:flex;flex-wrap:wrap;gap:.35rem .75rem;padding:.45rem 0;border-bottom:1px solid #f1f5f9;font-size:13px}.retro-chat-help-ranks li:last-child{border-bottom:none}.retro-chat-help-ranks__label{min-width:3.5rem;font-weight:600;color:#0f766e}.retro-chat-help-ranks__perms{color:#64748b;flex:1}.retro-chat-format-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;padding:.45rem .75rem;border-top:1px solid #e2e8f0;background:#fff}.retro-chat-format-toolbar__label{color:#64748b;font-size:12px;font-weight:600;margin-right:.15rem}.retro-chat-format-toolbar__group{position:relative}.retro-chat-fmt-btn{min-width:1.75rem;padding:.15rem .45rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px;font-weight:600;color:#334155;cursor:pointer;line-height:1.4}.retro-chat-fmt-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.retro-chat-fmt-btn.is-active{background:#ccfbf1;border-color:#5eead4;color:#0f766e}.retro-chat-fmt-btn.is-locked,.retro-chat-format-color.is-locked select{opacity:.45;cursor:not-allowed}.retro-chat-format-color select{padding:.15rem .35rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px}.retro-chat-format-size{display:inline-flex;align-items:center;gap:.25rem}.retro-chat-format-size.is-locked select{opacity:.45;cursor:not-allowed}.retro-chat-format-size select{width:4.25rem;padding:.15rem .35rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:12px}.retro-chat-format-emoji-pop{position:absolute;left:0;bottom:calc(100% + 6px);z-index:30;display:grid;grid-template-columns:repeat(8,1.75rem);gap:.2rem;width:-moz-max-content;width:max-content;max-width:min(18rem,85vw);padding:.45rem;border:1px solid #e2e8f0;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.12)}.retro-chat-format-emoji-pop__item{display:flex;align-items:center;justify-content:center;height:1.75rem;border:none;border-radius:6px;background:transparent;font-size:1.1rem;cursor:pointer}.retro-chat-format-emoji-pop__item:hover{background:#f1f5f9}.retro-chat-fmt-link{color:#2563eb;text-decoration:underline;text-underline-offset:2px}.retro-chat-fmt-link:hover{color:#1d4ed8}.retro-chat-fmt-underline{text-decoration:underline;text-underline-offset:2px}.retro-chat-fmt-mention{color:#0d9488;font-weight:600}.retro-chat-fmt-size{line-height:1.35}.retro-chat-fmt-size-sm{font-size:.85em}.retro-chat-fmt-size-lg{font-size:1.15em}.retro-chat-fmt-font-kai{font-family:KaiTi,STKaiti,serif}.retro-chat-fmt-font-hei{font-family:SimHei,Microsoft YaHei,sans-serif}.retro-chat-fmt-font-song{font-family:SimSun,Songti SC,serif}.retro-chat-fmt-font-mono{font-family:ui-monospace,monospace}.retro-chat-fmt-bg{background:#fef9c3;padding:0 .15rem;border-radius:3px}.retro-chat-fmt-blink{animation:retro-chat-blink 1s step-start infinite}@keyframes retro-chat-blink{50%{opacity:.25}}.retro-chat-fmt-rainbow{background:linear-gradient(90deg,#dc2626,#ca8a04,#16a34a,#2563eb,#9333ea);background-clip:text;-webkit-background-clip:text;color:transparent;font-weight:600}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width:640px){.retro-chat-page{padding:.5rem}.retro-chat-body{grid-template-columns:1fr;grid-template-rows:auto 1fr;margin:.5rem}.retro-chat-online{max-height:120px;border-right:none;border-bottom:1px solid #e2e8f0}.retro-chat-titlebar{flex-wrap:wrap;font-size:14px}}body.dark-theme .retro-chat-page,body.darking .retro-chat-page,html.darking .retro-chat-page,html[data-theme=dark] .retro-chat-page{background:var(--site-surface-page);color:var(--site-text)}body.dark-theme .retro-chat-gate,body.dark-theme .retro-chat-help-dialog,body.dark-theme .retro-chat-math-dialog,body.dark-theme .retro-chat-page-alert,body.dark-theme .retro-chat-shell,body.darking .retro-chat-gate,body.darking .retro-chat-help-dialog,body.darking .retro-chat-math-dialog,body.darking .retro-chat-page-alert,body.darking .retro-chat-shell,html.darking .retro-chat-gate,html.darking .retro-chat-help-dialog,html.darking .retro-chat-math-dialog,html.darking .retro-chat-page-alert,html.darking .retro-chat-shell,html[data-theme=dark] .retro-chat-gate,html[data-theme=dark] .retro-chat-help-dialog,html[data-theme=dark] .retro-chat-math-dialog,html[data-theme=dark] .retro-chat-page-alert,html[data-theme=dark] .retro-chat-shell{background:var(--site-surface-card);border-color:var(--site-border);color:var(--site-text);box-shadow:var(--site-shadow-card)}body.dark-theme .retro-chat-body,body.dark-theme .retro-chat-format-toolbar,body.dark-theme .retro-chat-help-dialog__header,body.dark-theme .retro-chat-inputbar,body.dark-theme .retro-chat-math-dialog__titlebar,body.dark-theme .retro-chat-math-preview,body.dark-theme .retro-chat-math-toolbar,body.dark-theme .retro-chat-messages,body.dark-theme .retro-chat-online,body.dark-theme .retro-chat-online__head,body.darking .retro-chat-body,body.darking .retro-chat-format-toolbar,body.darking .retro-chat-help-dialog__header,body.darking .retro-chat-inputbar,body.darking .retro-chat-math-dialog__titlebar,body.darking .retro-chat-math-preview,body.darking .retro-chat-math-toolbar,body.darking .retro-chat-messages,body.darking .retro-chat-online,body.darking .retro-chat-online__head,html.darking .retro-chat-body,html.darking .retro-chat-format-toolbar,html.darking .retro-chat-help-dialog__header,html.darking .retro-chat-inputbar,html.darking .retro-chat-math-dialog__titlebar,html.darking .retro-chat-math-preview,html.darking .retro-chat-math-toolbar,html.darking .retro-chat-messages,html.darking .retro-chat-online,html.darking .retro-chat-online__head,html[data-theme=dark] .retro-chat-body,html[data-theme=dark] .retro-chat-format-toolbar,html[data-theme=dark] .retro-chat-help-dialog__header,html[data-theme=dark] .retro-chat-inputbar,html[data-theme=dark] .retro-chat-math-dialog__titlebar,html[data-theme=dark] .retro-chat-math-preview,html[data-theme=dark] .retro-chat-math-toolbar,html[data-theme=dark] .retro-chat-messages,html[data-theme=dark] .retro-chat-online,html[data-theme=dark] .retro-chat-online__head{background:var(--site-surface-soft);border-color:var(--site-border);color:var(--site-text-muted)}body.dark-theme .retro-chat-format-emoji-pop,body.dark-theme .retro-chat-log,body.dark-theme .retro-chat-math-preview--dialog,body.dark-theme .retro-chat-math-toolbar__greek-pop,body.darking .retro-chat-format-emoji-pop,body.darking .retro-chat-log,body.darking .retro-chat-math-preview--dialog,body.darking .retro-chat-math-toolbar__greek-pop,html.darking .retro-chat-format-emoji-pop,html.darking .retro-chat-log,html.darking .retro-chat-math-preview--dialog,html.darking .retro-chat-math-toolbar__greek-pop,html[data-theme=dark] .retro-chat-format-emoji-pop,html[data-theme=dark] .retro-chat-log,html[data-theme=dark] .retro-chat-math-preview--dialog,html[data-theme=dark] .retro-chat-math-toolbar__greek-pop{background:var(--site-surface-card);border-color:var(--site-border)}body.dark-theme .retro-chat-gate__title,body.dark-theme .retro-chat-help-dialog__title,body.dark-theme .retro-chat-help-section h3,body.dark-theme .retro-chat-math-dialog__titlebar,body.dark-theme .retro-chat-msg__body,body.dark-theme .retro-chat-msg__name,body.darking .retro-chat-gate__title,body.darking .retro-chat-help-dialog__title,body.darking .retro-chat-help-section h3,body.darking .retro-chat-math-dialog__titlebar,body.darking .retro-chat-msg__body,body.darking .retro-chat-msg__name,html.darking .retro-chat-gate__title,html.darking .retro-chat-help-dialog__title,html.darking .retro-chat-help-section h3,html.darking .retro-chat-math-dialog__titlebar,html.darking .retro-chat-msg__body,html.darking .retro-chat-msg__name,html[data-theme=dark] .retro-chat-gate__title,html[data-theme=dark] .retro-chat-help-dialog__title,html[data-theme=dark] .retro-chat-help-section h3,html[data-theme=dark] .retro-chat-math-dialog__titlebar,html[data-theme=dark] .retro-chat-msg__body,html[data-theme=dark] .retro-chat-msg__name{color:var(--site-text-body)}body.dark-theme .retro-chat-format-toolbar__label,body.dark-theme .retro-chat-gate label,body.dark-theme .retro-chat-gate__intro,body.dark-theme .retro-chat-help-ranks__perms,body.dark-theme .retro-chat-help-section__lead,body.dark-theme .retro-chat-help-section__note,body.dark-theme .retro-chat-math-preview__label,body.dark-theme .retro-chat-math-toolbar__label,body.dark-theme .retro-chat-msg__rank,body.dark-theme .retro-chat-msg__time,body.dark-theme .retro-chat-page-alert__hint,body.dark-theme .retro-chat-status,body.darking .retro-chat-format-toolbar__label,body.darking .retro-chat-gate label,body.darking .retro-chat-gate__intro,body.darking .retro-chat-help-ranks__perms,body.darking .retro-chat-help-section__lead,body.darking .retro-chat-help-section__note,body.darking .retro-chat-math-preview__label,body.darking .retro-chat-math-toolbar__label,body.darking .retro-chat-msg__rank,body.darking .retro-chat-msg__time,body.darking .retro-chat-page-alert__hint,body.darking .retro-chat-status,html.darking .retro-chat-format-toolbar__label,html.darking .retro-chat-gate label,html.darking .retro-chat-gate__intro,html.darking .retro-chat-help-ranks__perms,html.darking .retro-chat-help-section__lead,html.darking .retro-chat-help-section__note,html.darking .retro-chat-math-preview__label,html.darking .retro-chat-math-toolbar__label,html.darking .retro-chat-msg__rank,html.darking .retro-chat-msg__time,html.darking .retro-chat-page-alert__hint,html.darking .retro-chat-status,html[data-theme=dark] .retro-chat-format-toolbar__label,html[data-theme=dark] .retro-chat-gate label,html[data-theme=dark] .retro-chat-gate__intro,html[data-theme=dark] .retro-chat-help-ranks__perms,html[data-theme=dark] .retro-chat-help-section__lead,html[data-theme=dark] .retro-chat-help-section__note,html[data-theme=dark] .retro-chat-math-preview__label,html[data-theme=dark] .retro-chat-math-toolbar__label,html[data-theme=dark] .retro-chat-msg__rank,html[data-theme=dark] .retro-chat-msg__time,html[data-theme=dark] .retro-chat-page-alert__hint,html[data-theme=dark] .retro-chat-status{color:var(--site-text-muted)}body.dark-theme .retro-chat-gate input,body.dark-theme .retro-chat-inputbar input[type=text],body.dark-theme .retro-chat-inputbar select,body.dark-theme .retro-chat-inputbar__textarea,body.dark-theme .retro-chat-math-dialog__source,body.darking .retro-chat-gate input,body.darking .retro-chat-inputbar input[type=text],body.darking .retro-chat-inputbar select,body.darking .retro-chat-inputbar__textarea,body.darking .retro-chat-math-dialog__source,html.darking .retro-chat-gate input,html.darking .retro-chat-inputbar input[type=text],html.darking .retro-chat-inputbar select,html.darking .retro-chat-inputbar__textarea,html.darking .retro-chat-math-dialog__source,html[data-theme=dark] .retro-chat-gate input,html[data-theme=dark] .retro-chat-inputbar input[type=text],html[data-theme=dark] .retro-chat-inputbar select,html[data-theme=dark] .retro-chat-inputbar__textarea,html[data-theme=dark] .retro-chat-math-dialog__source{background:var(--site-input-bg);border-color:var(--site-input-border);color:var(--site-input-text)}body.dark-theme .retro-chat-btn,body.dark-theme .retro-chat-fmt-btn,body.dark-theme .retro-chat-gate__tab,body.darking .retro-chat-btn,body.darking .retro-chat-fmt-btn,body.darking .retro-chat-gate__tab,html.darking .retro-chat-btn,html.darking .retro-chat-fmt-btn,html.darking .retro-chat-gate__tab,html[data-theme=dark] .retro-chat-btn,html[data-theme=dark] .retro-chat-fmt-btn,html[data-theme=dark] .retro-chat-gate__tab{background:var(--site-surface-card);border:1px solid var(--site-border);color:var(--site-text-body)}body.dark-theme .retro-chat-btn:hover:not(:disabled),body.dark-theme .retro-chat-fmt-btn:hover:not(:disabled),body.darking .retro-chat-btn:hover:not(:disabled),body.darking .retro-chat-fmt-btn:hover:not(:disabled),html.darking .retro-chat-btn:hover:not(:disabled),html.darking .retro-chat-fmt-btn:hover:not(:disabled),html[data-theme=dark] .retro-chat-btn:hover:not(:disabled),html[data-theme=dark] .retro-chat-fmt-btn:hover:not(:disabled){background:var(--site-surface-soft)}body.dark-theme .retro-chat-online__item:hover:not(.is-self),body.darking .retro-chat-online__item:hover:not(.is-self),html.darking .retro-chat-online__item:hover:not(.is-self),html[data-theme=dark] .retro-chat-online__item:hover:not(.is-self){background:var(--site-surface-muted)}body.dark-theme .retro-chat-online__item.is-self,body.darking .retro-chat-online__item.is-self,html.darking .retro-chat-online__item.is-self,html[data-theme=dark] .retro-chat-online__item.is-self{background:color-mix(in srgb,var(--site-color-primary,#2563eb) 18%,var(--site-surface-soft))}body.dark-theme .retro-chat-help-dialog__footer,body.dark-theme .retro-chat-math-dialog__actions,body.darking .retro-chat-help-dialog__footer,body.darking .retro-chat-math-dialog__actions,html.darking .retro-chat-help-dialog__footer,html.darking .retro-chat-math-dialog__actions,html[data-theme=dark] .retro-chat-help-dialog__footer,html[data-theme=dark] .retro-chat-math-dialog__actions{border-top-color:var(--site-border);background:var(--site-surface-card)}body.dark-theme .retro-chat-help-ranks li,body.darking .retro-chat-help-ranks li,html.darking .retro-chat-help-ranks li,html[data-theme=dark] .retro-chat-help-ranks li{border-bottom-color:var(--site-border-muted)}body.dark-theme .retro-chat-format-color select,body.dark-theme .retro-chat-format-size select,body.darking .retro-chat-format-color select,body.darking .retro-chat-format-size select,html.darking .retro-chat-format-color select,html.darking .retro-chat-format-size select,html[data-theme=dark] .retro-chat-format-color select,html[data-theme=dark] .retro-chat-format-size select{background:var(--site-input-bg);border-color:var(--site-input-border);color:var(--site-input-text)}