    body::after {
        content:''; position:fixed; left:0; right:0; top:0; bottom:-12%;
        background:url('../celeste-areas/ForsakenCity01.webp') center/cover no-repeat;
        opacity:0.25; pointer-events:none; z-index:0;
    }
    .rt-wrap { position:relative; z-index:3; max-width:880px; margin:0 auto; padding:24px 20px 60px; color:#e8e8f0; }
    /* ===== stage 演播厅模式：高度不够时允许整页纵向滚动，避免元素被裁 ===== */
    body.rt-stage-on { overflow-x:hidden; overflow-y:auto; }
    html.rt-stage-lock { overflow-x:hidden; overflow-y:auto; }
    /* 演播厅态隐藏页面最上面的公共导航栏，现场占满整屏 */
    body.rt-stage-on .header { display:none; }
    /* 大厅在窄屏允许纵向滚动，但同样裁掉公共导航导致的横向溢出（仅本页） */
    @media (max-width:768px) { html, body { overflow-x:hidden; } }
    .rt-wrap.stage-mode {
        max-width:none; min-height:100vh; min-height:100dvh; height:auto;
        box-sizing:border-box; padding:8px 14px 10px;
        display:flex; flex-direction:column;
    }
    .view { display:none; }
    #setupView.on { display:block; }
    #stageView.on { display:flex; flex-direction:column; flex:1; min-height:0; }
    .rt-title { font-size:22px; font-weight:700; margin-bottom:4px; }
    .rt-sub { font-size:13px; color:rgba(200,210,255,.5); margin-bottom:20px; }

    /* ===== 通用面板 ===== */
    .rt-panel {
        background:rgba(22,34,60,.72); border:1px solid rgba(120,200,255,.15);
        border-radius:12px; padding:18px; backdrop-filter:blur(8px); margin-bottom:16px;
    }
    textarea#topicInput {
        width:100%; box-sizing:border-box; min-height:74px; resize:vertical;
        background:rgba(12,20,40,.8); border:1px solid rgba(120,200,255,.25); border-radius:8px;
        padding:12px; color:#e8e8f0; font-size:14px; outline:none; font-family:inherit;
    }
    textarea#topicInput:focus { border-color:#ffe36d; }
    .rt-row { display:flex; align-items:center; gap:12px; margin-top:12px; flex-wrap:wrap; }
    .rt-label { font-size:13px; color:rgba(200,210,255,.65); }
    .seg { display:inline-flex; border:1px solid rgba(120,200,255,.25); border-radius:8px; overflow:hidden; }
    .seg button {
        background:transparent; border:0; color:rgba(200,210,255,.7); padding:7px 16px;
        font-size:13px; cursor:pointer; border-right:1px solid rgba(120,200,255,.25);
    }
    .seg button:last-child { border-right:0; }
    .seg button.on { background:#ffe36d; color:#222; font-weight:700; }
    .btn-primary {
        background:#ffe36d; color:#222; border:0; border-radius:8px; padding:10px 26px;
        font-size:14px; font-weight:700; cursor:pointer;
    }
    .btn-primary:disabled { opacity:.5; cursor:not-allowed; }
    /* 顶栏的「写文章」不被本地黄色按钮污染：紫色渐变 + 小尺寸（本地 .btn-primary 的 padding 会压过 .btn-sm，必须在此显式复位） */
    header .btn.btn-primary {
        background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);
        color:#fff; box-shadow:0 4px 15px rgba(138,43,226,.4);
        padding:5px 12px; font-size:13px;
    }
    /* 图标导航尺寸（对齐 index 局部规则，圆桌首次用图标必须自带，否则按原图尺寸渲染） */
    .nav-diary-btn img { height:36px; width:auto; display:block; filter:drop-shadow(0 0 10px rgba(255,235,59,.7)); }
    /* 当前页 = 圆桌：凳子 emoji 常驻金光，替代文字链 active 态 */
    .chair-here { filter:drop-shadow(0 0 7px rgba(255,227,109,.95)) drop-shadow(0 0 2px rgba(255,227,109,.9)); }
    .btn-ghost {
        background:transparent; color:rgba(200,210,255,.8); border:1px solid rgba(120,200,255,.3);
        border-radius:8px; padding:9px 18px; font-size:13px; cursor:pointer;
    }
    .btn-ghost:hover { border-color:#ffe36d; color:#ffe36d; }

    /* ===== 推荐话题 ===== */
    .sugg-head { display:flex; align-items:center; gap:10px; margin:4px 2px 10px; }
    .sugg-head .sugg-title { font-size:14px; font-weight:700; }
    .sugg-head .sugg-sub { font-size:11px; color:rgba(200,210,255,.4); }
    .sugg-list { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:18px; }
    .sugg-card {
        text-align:left; background:rgba(22,34,60,.72); border:1px solid rgba(120,200,255,.15);
        border-radius:10px; padding:12px 14px; color:#e8e8f0; font-size:13px; line-height:1.5;
        cursor:pointer; font-family:inherit; transition:border-color .2s, transform .2s, box-shadow .2s;
        display:flex; flex-direction:column; gap:8px;
    }
    .sugg-card:hover { border-color:#ffe36d; transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,.3); }
    /* 来源标签：个人素材 → PPT 同款思考小人 + 羊皮纸手写标签；通用话题 → 学霸鸟 */
    .sugg-from { align-self:flex-start; display:inline-flex; align-items:center; gap:6px; }
    .sugg-from img { width:auto; object-fit:contain; flex-shrink:0; }
    .sugg-from .from-txt {
        font-family:'Renogare','CelesteZH','Microsoft YaHei',sans-serif;
        font-weight:700; letter-spacing:.4px; white-space:nowrap;
    }
    .sugg-from.person {
        background:linear-gradient(180deg,#f7efdc 0%,#ecdfbe 100%);
        border-radius:17px 21px 16px 22px / 21px 15px 22px 16px;
        padding:2px 13px 2px 0;
        box-shadow:0 2px 8px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.65);
        transform:rotate(-1.2deg);
        transition:transform .2s;
    }
    .sugg-from.person img { height:42px; margin:-3px 0 -3px -2px; }
    .sugg-from.person .from-txt { font-size:13.5px; color:#43301b; }
    .sugg-card:hover .sugg-from.person { transform:rotate(0deg); }
    .sugg-from.bird img { height:38px; filter:drop-shadow(0 0 7px rgba(126,108,255,.55)); }
    .sugg-from.bird .from-txt {
        font-size:12.5px; color:#c3b2ff;
        text-shadow:0 0 10px rgba(126,108,255,.45);
    }
    .sugg-loading { display:flex; flex-direction:column; align-items:center; gap:12px; font-size:12px; color:rgba(200,210,255,.4); padding:14px 2px 22px; }
    /* 推荐话题加载：Madeline 跑步动画（10 帧，00 首尾衔接做无缝循环） */
    .sugg-running {
        width:72px; height:72px;
        background-size:100% 100%; background-repeat:no-repeat; background-position:center;
        image-rendering:pixelated;
        animation:suggRun 0.8s steps(10) infinite;
    }
    @keyframes suggRun {
        0%   { background-image:url('../celeste-gui/loading/00.png'); }
        10%  { background-image:url('../celeste-gui/loading/01.png'); }
        20%  { background-image:url('../celeste-gui/loading/02.png'); }
        30%  { background-image:url('../celeste-gui/loading/03.png'); }
        40%  { background-image:url('../celeste-gui/loading/04.png'); }
        50%  { background-image:url('../celeste-gui/loading/05.png'); }
        60%  { background-image:url('../celeste-gui/loading/06.png'); }
        70%  { background-image:url('../celeste-gui/loading/07.png'); }
        80%  { background-image:url('../celeste-gui/loading/08.png'); }
        90%  { background-image:url('../celeste-gui/loading/09.png'); }
        100% { background-image:url('../celeste-gui/loading/00.png'); }
    }

    /* ===== 席位卡片（演播厅栅格子元素，margin 由 studio gap 接管） ===== */
    .seats { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; align-content:start; }
    .seat {
        background:rgba(22,34,60,.72); border:1px solid rgba(120,200,255,.15); border-radius:10px;
        padding:12px 8px; text-align:center; transition:border-color .25s, box-shadow .25s, transform .25s, opacity .3s, filter .3s;
    }
    .seat .avatar {
        width:44px; height:44px; border-radius:50%; margin:0 auto 8px;
        display:flex; align-items:center; justify-content:center;
        font-size:18px; font-weight:700; color:#101525; opacity:.85;
        overflow:hidden;
    }
    .seat .avatar img.avatar-img {
        width:100%; height:100%; object-fit:cover; border-radius:50%;
        image-rendering:pixelated; image-rendering:crisp-edges; display:block;
    }
    .seat .s-name { font-size:13px; font-weight:700; }
    .seat .s-title { font-size:10px; color:rgba(200,210,255,.45); margin-top:2px; min-height:14px; }
    .seat .s-state { font-size:10px; margin-top:6px; color:rgba(200,210,255,.4); }
    .seat .s-focus {
        font-size:10px; line-height:1.45; color:rgba(200,210,255,.55);
        margin-top:5px; min-height:26px;
        display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    }
    .seat.prepare .s-focus { color:rgba(255,227,109,.92); }
    .seat.prepare { border-color:rgba(255,227,109,.55); }
    .seat.prepare .s-state { color:#ffe36d; }
    .seat.speaking {
        border-color:var(--c); box-shadow:0 0 22px var(--glow), 0 0 6px var(--glow);
        transform:translateY(-3px) scale(1.03); background:rgba(30,46,80,.9);
    }
    .seat.speaking .s-state { color:var(--c); }
    .seat.done .avatar { opacity:1; }
    /* 聚光灯：有人发言时，非发言/非准备中的席位压暗 */
    .studio.spotlight .seat:not(.speaking):not(.prepare) {
        opacity:.42; filter:brightness(.72) saturate(.8);
    }
    .studio.spotlight .seat.speaking { z-index:2; }
    @keyframes pulse { 0%,100%{opacity:.55} 50%{opacity:1} }
    .seat.speaking .avatar { animation:pulse 1.1s ease-in-out infinite; }

    /* ===== 逐字稿 ===== */
    .stage-head { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
    /* 按钮组整体靠右 */
    .stage-head #historyBtn { margin-left:auto; }
    .stage-head .t-topic { font-size:15px; font-weight:700; }
    .stage-head .t-meta { font-size:12px; color:rgba(200,210,255,.5); margin-top:2px; }
    /* ===== 演播厅主体：议题行 / 席位顶排 / 现场主区 + 右侧共识栏 ===== */
    .studio {
        flex:1; min-height:0; display:grid; gap:12px;
        grid-template-columns:minmax(0,1fr) 285px;
        grid-template-rows:auto auto minmax(0,1fr);
        grid-template-areas:
            "topic topic"
            "seats seats"
            "main  side";
    }
    .studio-topic { grid-area:topic; min-height:0; }
    .studio-seats { grid-area:seats; min-height:0; }
    .studio-main {
        grid-area:main; min-height:0; margin-bottom:0;
        width:100%; height:100%;
        justify-self:center;
        display:flex; flex-direction:column; align-items:stretch; padding:15px; overflow:hidden;
        /* 卡片边框透明 */
        border-color:transparent !important; background:transparent; backdrop-filter:none;
    }
    .studio-side { grid-area:side; min-height:0; }
    /* 逐字稿：只显示当前一条对话，叠在动画容器内垂直居中；历史记录走弹窗 */
    #transcript {
        position:absolute; left:0; right:0; top:50%; transform:translateY(-50%); z-index:1;
        max-height:90%; overflow-y:auto; overscroll-behavior:contain;
        padding:10px 4px 6px;
        display:flex; flex-direction:column; justify-content:flex-start; align-items:stretch;
    }
    #resultArea { position:absolute; inset:0; z-index:2; overflow-y:auto; overscroll-behavior:contain; }
    #resultArea:empty { display:none; }
    /* 插话行：绝对定位在动画容器内底部，下边缘与动画下边缘刚好贴合 */
    .interject-row { position:absolute; left:0; right:0; bottom:0; z-index:2; width:100%; box-sizing:border-box; }

    /* ===== Task 12：舞台 canvas 演出背景层（Madeline 待机 → Oshiro 移动 → Oshiro 待机） ===== */
    .studio-main { position:relative; background:transparent; backdrop-filter:none; }
    /* 动画容器：锁死素材原比例 8:5，尺寸由 JS 按卡片空间计算（像素级），永远没有黑边 */
    .scene-wrap { position:relative; flex:none; margin:auto 0; width:100%; aspect-ratio:8/5; }
    .scene-layer {
        position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
        z-index:0; pointer-events:none;
        image-rendering:pixelated; image-rendering:crisp-edges;
    }
    .scene-scrim {
        position:absolute; inset:0; z-index:0; pointer-events:none;
        background:none;
    }
    /* 特殊音效覆盖层：YOLO 绿色像素粒子 / Granny "HA" 字，随 .scene-wrap 一起缩放 */
    .sfx-layer { position:absolute; inset:0; z-index:3; pointer-events:none; overflow:hidden; }
    .sfx-p {
        position:absolute; width:4px; height:4px; border-radius:1px;
        will-change:transform,opacity;
    }
    .sfx-ha {
        position:absolute; width:44px; height:28px;
        image-rendering:pixelated; image-rendering:crisp-edges;
        will-change:transform;
    }
    .studio-main > .stage-head,
    .studio-main > #transcript,
    .studio-main > .interject-row,
    .studio-main > #resultArea { position:relative; z-index:1; }

    /* ===== 超宽档（≥1600）：席位左侧栏 / 现场 / 共识分歧，三栏 ===== */
    @media (min-width:1600px) {
        .studio {
            grid-template-columns:200px minmax(0,1fr) 320px;
            grid-template-rows:auto minmax(0,1fr);
            grid-template-areas:"topic topic topic" "seats main side";
        }
        .studio-seats .seats {
            grid-template-columns:1fr; gap:10px;
            height:100%; overflow-y:auto; overscroll-behavior:contain;
            padding-right:2px;
        }
    }

    /* ===== 窄档（≤768）：堆叠 + 标签切换，同一时刻只看一区，各自独立滚动 ===== */
    .studio-tabs { display:none; }
    @media (max-width:768px) {
        .rt-wrap.stage-mode { padding:6px 8px 8px; }
        .studio {
            grid-template-columns:minmax(0,1fr);
            grid-template-rows:auto minmax(0,1fr);
            grid-template-areas:"topic" "main"; gap:8px;
        }
        .studio[data-tab="seats"] { grid-template-areas:"topic" "seats"; }
        .studio[data-tab="side"]  { grid-template-areas:"topic" "side"; }
        .studio-main { width:100%; height:100%; aspect-ratio:auto; margin-inline:0; justify-self:stretch; }
        .studio-seats, .studio-main, .studio-side { display:none; }
        .studio[data-tab="seats"] .studio-seats { display:block; }
        .studio[data-tab="main"]  .studio-main  { display:flex; }
        .studio[data-tab="side"]  .studio-side  { display:block; }
        .studio-seats .seats {
            grid-template-columns:repeat(2,1fr);
            height:100%; overflow-y:auto; overscroll-behavior:contain; align-content:start;
        }
        .studio-tabs {
            display:flex; flex:none; gap:6px; margin:8px 0 0;
        }
        .studio-tabs button {
            flex:1; background:rgba(22,34,60,.72); border:1px solid rgba(120,200,255,.2);
            color:rgba(200,210,255,.7); border-radius:8px; padding:8px 0;
            font-size:13px; cursor:pointer; font-family:inherit;
        }
        .studio-tabs button.on { background:#ffe36d; color:#222; font-weight:700; border-color:#ffe36d; }
    }

    /* ===== 右栏：共识雷达（焦点 + 共识 + 分歧，各列表独立滚动） ===== */
    .pulse-panel {
        height:100%; box-sizing:border-box; display:flex; flex-direction:column; gap:10px;
        background:rgba(22,34,60,.72); border:1px solid rgba(120,200,255,.15);
        border-radius:12px; padding:14px; backdrop-filter:blur(8px);
    }
    .pulse-head { font-size:14px; font-weight:700; letter-spacing:1px; flex:none; }
    .pulse-focus {
        flex:none; font-size:12px; line-height:1.6; color:#ffe36d;
        background:rgba(255,227,109,.08); border:1px solid rgba(255,227,109,.22);
        border-radius:8px; padding:8px 10px;
    }
    .pulse-block { flex:1 1 0; min-height:60px; display:flex; flex-direction:column; }
    .pulse-sub { font-size:12px; font-weight:700; margin-bottom:6px; flex:none; }
    .pulse-sub.ok { color:#8fe6b4; }
    .pulse-sub.no { color:#ff9c9c; }
    .pulse-list {
        flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain;
        margin:0; padding:0 2px 0 4px; list-style:none;
        display:flex; flex-direction:column; gap:6px;
    }
    .pulse-list li {
        font-size:12px; line-height:1.6; color:rgba(220,226,245,.82);
        background:rgba(12,20,40,.55); border-radius:7px; padding:7px 9px;
        border-left:3px solid rgba(143,230,180,.5);
        animation:spIn .3s ease both;
    }
    #disagreeList li { border-left-color:rgba(255,140,140,.55); }
    .pulse-list li.empty { color:rgba(200,210,255,.35); border-left-color:rgba(120,200,255,.18); font-style:italic; }
    @media (max-width:768px) {
        .pulse-panel { padding:12px; }
        .pulse-block { flex:1 1 0; }
    }

    /* ===== setup 顶部大厅区（Task 8 填充数据，Task 7 先立独立滚动容器） ===== */
    .live-list {
        max-height:210px; overflow-y:auto; overscroll-behavior:contain;
        display:grid; gap:8px; padding-right:2px;
    }
    .sp { display:flex; gap:10px; margin-bottom:14px; animation:spIn .3s ease both; }
    @keyframes spIn { from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }
    .sp .b-avatar {
        flex:0 0 34px; width:34px; height:34px; border-radius:50%; display:flex;
        align-items:center; justify-content:center; font-weight:700; color:#101525; font-size:14px;
        overflow:hidden;
    }
    .sp .b-avatar img.b-avatar-img {
        width:100%; height:100%; object-fit:cover; border-radius:50%;
        image-rendering:pixelated; image-rendering:crisp-edges; display:block;
    }
    .sp .b-main { min-width:0; }
    .sp .b-meta { font-size:11px; color:rgba(200,210,255,.45); margin-bottom:3px; }
    .sp .b-bubble {
        padding:9px 13px; border-radius:4px 12px 12px 12px; font-size:14px; line-height:1.65;
        word-break:break-word; border-left:3px solid var(--c); background:rgba(12,20,40,.66);
    }
    /* ===== 会议对话框：diary 版式原比例放大（Renogare + CelesteZH，内部比例不变） ===== */
    /* 主持人/议题主人：深色横栏（小鸟或首字母居左），与 AI textbox 同尺寸档 */
    .sp.host, .sp.user {
        width:100%; max-width:1260px; align-self:center; box-sizing:border-box;
        min-height:130px; padding:18px 34px; gap:20px;
        display:flex; flex-direction:row; align-items:center;
        background:rgba(8,10,20,.72); backdrop-filter:blur(6px);
        border:1px solid rgba(120,200,255,.18); border-radius:12px;
    }
    /* 主持人形象 = Celeste 小鸟：左侧方块、不署名 */
    .sp.host .b-avatar.b-avatar-bird {
        background:transparent; overflow:visible; border-radius:0;
        flex:0 0 90px; width:90px; height:90px; margin:0;
    }
    .sp.host .b-avatar.b-avatar-bird img {
        width:100%; height:100%; object-fit:contain; display:block;
        image-rendering:pixelated; image-rendering:crisp-edges;
    }
    .sp.host .b-main { min-width:0; }
    .sp.host .b-bubble {
        border:0; border-radius:0; background:transparent; padding:0;
        color:rgba(230,238,255,.92); font-size:20px; line-height:1.7; text-align:left; max-width:none;
    }
    .sp.user .b-avatar { flex:0 0 90px; width:90px; height:90px; border-radius:8px; font-size:36px; }
    .sp.user .b-main { text-align:left; }
    .sp.user .b-bubble {
        border:0; border-radius:0; background:transparent; padding:0;
        color:#fff; font-size:20px; line-height:1.7; text-align:left;
    }
    .sp.typing .b-bubble::after { content:'▍'; animation:pulse 1s steps(1) infinite; color:var(--c); }
    .sys-line { text-align:center; font-size:12px; color:rgba(200,210,255,.4); margin:10px 0; }

    /* ===== 主持鸟（在会议卡片上方盘旋）；动作系统见 js/bird-motion.js + js/roundtable-bird.js ===== */
    #stageView .rt-panel { position:relative; }
    .bird-sprite {
        position:fixed; left:0; top:0; width:96px; height:72px;
        image-rendering:pixelated; image-rendering:crisp-edges;
        pointer-events:auto; cursor:grab; z-index:999; display:none;
        transform-origin:50% 50%;   /* 曲线飞行绕中心旋转/压扁（FlingBird draw 口径） */
        touch-action:none;         /* 抱鸟甩鸟：阻止移动端拖拽被滚动手势吃掉 */
    }
    .bird-sprite.bird-grabbed { cursor:grabbing; }
    /* 拖尾层：#639bff 蓝尾点阵，盖在内容之上、鸟之下 */
    .bird-trail {
        position:fixed; left:0; top:0; pointer-events:none; z-index:998;
    }
    /* 鸟声开关：小挂在右下角，不干扰主内容 */
    .bird-sfx-toggle {
        position:fixed; right:14px; bottom:14px; z-index:1000;
        display:none;              /* enter/perch 后才显形，由 JS 控制 */
        align-items:center; justify-content:center;
        width:34px; height:34px; border-radius:50%;
        background:rgba(12,20,40,.55); border:1px solid rgba(120,200,255,.3);
        color:#9cc8ff; font-size:14px; cursor:pointer; line-height:1;
        backdrop-filter:blur(4px); transition:background .2s;
    }
    .bird-sfx-toggle:hover { background:rgba(24,40,72,.8); }

    /* ===== Task 12：AI 发言 = diary 版 textbox 对话框原比例放大 1.4 倍
       （左方形头像帧 / 名字在文本上方 / 打字机文本，字体 Renogare + CelesteZH） ===== */
    .sp.tb {
        position:relative;
        display:flex; align-items:center; gap:20px; box-sizing:border-box;
        width:100%; max-width:1260px; align-self:center;
        min-height:140px; padding:22px 34px;
        background-position:center; background-size:100% 100%; background-repeat:no-repeat;
    }
    .tb-madeline { background-image:url('../Atlases/Portraits/textbox/madeline.png'); }
    .tb-theo     { background-image:url('../Atlases/Portraits/textbox/theo.png'); }
    .tb-granny   { background-image:url('../Atlases/Portraits/textbox/granny.png'); }
    .tb-badeline { background-image:url('../Atlases/Portraits/textbox/badeline.png'); }
    .tb-oshiro   { background-image:url('../Atlases/Portraits/textbox/oshiro.png'); }
    /* Oshiro 对话框上层叠加 oshiro_overlay 素材（玻璃/装饰层） */
    .tb-oshiro::after {
        content:''; position:absolute; inset:0; pointer-events:none;
        background:url('../Atlases/Portraits/textbox/oshiro_overlay.png') center/100% 100% no-repeat;
    }
    .tb-portrait {
        flex:0 0 90px; width:90px; height:90px; flex-shrink:0;
        border-radius:8px; overflow:hidden;
        display:flex; align-items:center; justify-content:center;
    }
    .tb-portrait img {
        width:100%; height:100%; object-fit:cover; display:block;
        image-rendering:pixelated; image-rendering:crisp-edges;
    }
    .tb-body { flex:1 1 0; min-width:0; }
    .tb-name {
        font-family:'Renogare','CelesteZH','Microsoft YaHei',sans-serif;
        color:#ffe36d; font-size:18px; letter-spacing:.08em; margin-bottom:7px;
        text-shadow:1px 1px 0 #000;
    }
    .sp .tb-text {
        padding:0; border:0; border-radius:0; background:transparent;
        font-family:'Renogare','CelesteZH','Microsoft YaHei',sans-serif;
        color:#fff; font-size:20px; line-height:1.7; word-break:break-word;
        text-shadow:1px 1px 0 rgba(0,0,0,.6);
    }
    .sp.tb.typing .tb-text::after { content:'▍'; animation:pulse 1s steps(1) infinite; color:#ffe36d; }

    /* 字体动画系统见 css/text-fx.css（TextFx 公共模块）。
       弹跳在打字进行中暂停，发言结束整句播一次（.sp.typing 为圆桌本地打字态） */
    .sp.typing .fx-bounce .fx-ch { animation:none; }
    @media (max-width:768px) {
        .sp.tb, .sp.host, .sp.user { min-height:104px; padding:14px 20px; gap:12px; max-width:100%; }
        .tb-portrait, .sp.host .b-avatar.b-avatar-bird, .sp.user .b-avatar { flex-basis:72px; width:72px; height:72px; }
        .tb-name { font-size:13px; margin-bottom:5px; }
        .sp .tb-text, .sp.host .b-bubble, .sp.user .b-bubble { font-size:14px; }
        .sp.user .b-avatar { font-size:26px; }
    }

    /* ===== 结束模式：结局卡片替换动画窗口（不叠加） ===== */
    .studio-main.ended .scene-wrap,
    .studio-main.ended .interject-row { display:none !important; }
    .studio-main.ended #resultArea {
        flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain;
        display:flex; flex-direction:column;
    }
    /* 卡片吃满结束区高度（definite 高度链：card→scene→img 的 max-height 才有效） */
    .studio-main.ended #resultArea .result-card {
        margin:0 auto; width:min(100%, 860px); max-width:100%;
        height:100%; max-height:100%; box-sizing:border-box;
        display:flex; flex-direction:column;
    }
    /* 图片区占满标题之外的全部空间；图片 absolute + contain，避免自然尺寸反向撑动 flex 高度 */
    .studio-main.ended .result-scene { flex:1 1 0; min-height:0; position:relative; }
    .studio-main.ended .result-caption { flex:0 0 auto; margin-top:8px; }
    .studio-main.ended .result-caption .r-title { margin:0; }
    .studio-main.ended .result-caption .r-flavor { margin-top:3px; line-height:1.5; }
    /* 评论/待办紧凑化并限 2 行，把垂直空间让给主视觉图片 */
    .studio-main.ended .grade-comment {
        margin-top:8px !important; margin-bottom:0; line-height:1.5;
        display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    }
    .studio-main.ended .result-card > div[style*="margin-top:12px"] { margin-top:6px !important; }
    .studio-main.ended .todo-list {
        margin-top:3px !important; line-height:1.5;
        display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    }
    .studio-main.ended .grade-actions { margin-top:10px; }
    .studio-main.ended .grade-actions button { padding:7px 14px; }
    .studio-main.ended .result-scene img {
        position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
    }

    /* 全站隐藏滚动条：保持画面美感（滚轮/触摸滚动不受影响） */
    ::-webkit-scrollbar { width:0; height:0; display:none; }
    * { scrollbar-width:none; -ms-overflow-style:none; }

    /* ===== 观察者徽章 ===== */
    .observer-badge {
        display:none; align-items:center; gap:4px; flex:none;
        font-size:12px; color:#9cc8ff; background:rgba(124,183,255,.14);
        border:1px solid rgba(124,183,255,.4); border-radius:20px; padding:3px 12px;
    }
    .observer-badge.show { display:inline-flex; }

    /* ===== 历史记录按钮 + 弹窗 ===== */
    .btn-history {
        flex:none; background:rgba(255,227,109,.14); color:#ffe36d;
        border:1px solid rgba(255,227,109,.4); border-radius:20px;
        padding:4px 14px; font-size:12px; cursor:pointer; font-family:inherit;
        transition:background .2s;
    }
    .btn-history:hover { background:rgba(255,227,109,.28); }
    .btn-history:disabled { opacity:.4; cursor:not-allowed; }
    .history-mask {
        position:fixed; inset:0; z-index:100; display:none;
        background:rgba(8,10,20,.72); backdrop-filter:blur(6px);
        align-items:center; justify-content:center; padding:24px;
    }
    .history-mask.show { display:flex; }
    .history-panel {
        width:min(720px, 94vw); max-height:82vh; display:flex; flex-direction:column;
        background:rgba(18,24,46,.96); border:1px solid rgba(120,200,255,.25);
        border-radius:14px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.6);
    }
    .history-head {
        flex:none; display:flex; align-items:center; justify-content:space-between;
        padding:14px 20px; border-bottom:1px solid rgba(120,200,255,.15);
    }
    .history-head .h-title { font-size:15px; font-weight:700; color:#ffe36d; }
    .history-head .h-close {
        background:transparent; border:0; color:rgba(200,210,255,.6);
        font-size:20px; cursor:pointer; line-height:1; padding:0 6px;
    }
    .history-head .h-close:hover { color:#fff; }
    .history-body {
        flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain;
        padding:16px 20px;
    }
    .history-body .sp { margin-bottom:12px; }
    .history-body .sp.tb { min-height:0; padding:12px 18px; gap:12px; max-width:100%; }
    .history-body .tb-portrait { flex-basis:56px; width:56px; height:56px; }
    .history-body .tb-name { font-size:12px; margin-bottom:3px; }
    .history-body .tb-text { font-size:13px; line-height:1.6; }
    .history-body .sp.host .b-bubble, .history-body .sp.user .b-bubble { font-size:13px; line-height:1.6; }
    .history-body .sp.host .b-avatar.b-avatar-bird, .history-body .sp.user .b-avatar { flex-basis:56px; width:56px; height:56px; }
    .history-body .sp.user .b-avatar { font-size:20px; }
    .history-empty { text-align:center; color:rgba(200,210,255,.4); padding:40px 0; font-size:13px; }

    /* ===== 全站讨论大厅卡片 ===== */
    .live-list { display:grid; gap:8px; }
    .live-card {
        text-align:left; width:100%; display:flex; align-items:center; gap:12px;
        background:rgba(22,34,60,.72); border:1px solid rgba(255,107,107,.22);
        border-radius:10px; padding:11px 14px; color:#e8e8f0; cursor:pointer;
        font-family:inherit; font-size:13px; transition:border-color .2s, transform .2s, box-shadow .2s;
    }
    .live-card:hover { border-color:#ff8f8f; transform:translateY(-1px); box-shadow:0 6px 18px rgba(0,0,0,.3); }
    .live-dot { width:8px; height:8px; border-radius:50%; background:#ff6b6b; flex:none;
                animation:livePulse 1.4s ease-in-out infinite; }
    @keyframes livePulse { 0%,100%{box-shadow:0 0 0 0 rgba(255,107,107,.5);} 50%{box-shadow:0 0 0 5px rgba(255,107,107,0);} }
    .live-main { flex:1; min-width:0; }
    .live-topic { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .live-meta { font-size:11px; color:rgba(200,210,255,.45); margin-top:2px; }
    .live-go { flex:none; font-size:12px; color:#9cc8ff; }
    .live-empty { font-size:12px; color:rgba(200,210,255,.35); padding:2px; }

    /* ===== 人类插话 ===== */
    .interject-row { display:flex; gap:8px; margin-top:10px; }
    #interjectInput {
        flex:1; background:rgba(12,20,40,.8); border:1px solid rgba(120,200,255,.25);
        border-radius:8px; padding:10px 12px; color:#e8e8f0; font-size:14px; outline:none;
    }
    #interjectInput:focus { border-color:#ffe36d; }
    #interjectInput:disabled { opacity:.5; }

    /* ===== 讨论结果场景图（评分系统已隐藏，仅以聚餐插画呈现讨论成色） ===== */
    .result-card { margin-top:18px; border:1px solid var(--rc, rgba(255,227,109,.35)); border-radius:12px;
        padding:16px 16px 20px; background:rgba(18,26,48,.92);
        box-shadow:0 0 26px var(--rcglow, rgba(255,227,109,.12)); }
    .result-scene {
        position:relative; border-radius:10px; overflow:hidden;
        background:rgba(0,0,0,.35);
        display:flex; align-items:center; justify-content:center;
    }
    .result-scene img {
        width:100%; height:auto; object-fit:contain; display:block;
        opacity:0; animation:sceneIn 1s cubic-bezier(.2,.8,.2,1) forwards;
    }
    @keyframes sceneIn { from { opacity:0; } to { opacity:1; } }
    /* 光扫：好结果才有，越圆满扫得越亮 */
    .result-scene::after {
        content:''; position:absolute; inset:0; pointer-events:none;
        background:linear-gradient(115deg, transparent 40%, var(--sheen, rgba(255,255,255,0)) 50%, transparent 60%);
        background-size:250% 100%; background-position:120% 0;
        animation:sheen 3.2s ease-out .5s 1;
    }
    @keyframes sheen { to { background-position:-60% 0; } }
    .result-caption { text-align:center; margin:14px 2px 0; }
    .result-caption .r-title {
        font-size:17px; font-weight:800; letter-spacing:2px; color:var(--rc, #ffe36d);
        opacity:0; animation:fadeUp .7s ease .55s forwards;
    }
    .result-caption .r-flavor {
        font-size:13px; line-height:1.7; color:rgba(215,222,242,.78); margin-top:6px;
        opacity:0; animation:fadeUp .7s ease .75s forwards;
    }
    @keyframes fadeUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
    .grade-comment { font-size:13px; line-height:1.7; color:rgba(220,226,245,.85);
        margin:14px 2px 6px; padding-top:12px; border-top:1px dashed rgba(120,200,255,.15);
        opacity:0; animation:fadeUp .7s ease .95s forwards; }
    .todo-list { margin:6px 2px 0; padding-left:20px; font-size:13px; line-height:1.9; color:rgba(220,226,245,.8);
        opacity:0; animation:fadeUp .7s ease 1.1s forwards; }
    .grade-actions { display:flex; gap:10px; margin-top:16px; flex-wrap:wrap;
        opacity:0; animation:fadeUp .7s ease 1.25s forwards; }

    /* ===== 历史 ===== */
    .hist-title { font-size:14px; font-weight:700; margin:22px 0 10px; color:rgba(200,210,255,.75); }
    .hist-item {
        display:flex; align-items:center; gap:12px; padding:11px 14px; margin-bottom:8px;
        background:rgba(22,34,60,.6); border:1px solid rgba(120,200,255,.12); border-radius:8px; font-size:13px;
    }
    .hist-item .h-thumb { flex:0 0 52px; width:52px; height:30px; object-fit:cover; border-radius:5px;
        border:1px solid rgba(120,200,255,.18); }
    .hist-item .h-topic { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .hist-item .h-time { font-size:11px; color:rgba(200,210,255,.4); }
    .hist-item button { background:transparent; border:1px solid rgba(120,200,255,.3); color:rgba(200,210,255,.75);
        border-radius:6px; padding:4px 10px; font-size:12px; cursor:pointer; }
    .hist-item button:hover { border-color:#ffe36d; color:#ffe36d; }
    .hist-empty { font-size:12px; color:rgba(200,210,255,.35); padding:8px 2px; }
    .rt-login-tip { text-align:center; color:rgba(200,210,255,.55); padding:90px 20px; font-size:14px; position:relative; z-index:3; }
    .back-link { font-size:15px; color:rgba(200,210,255,.55); cursor:pointer; margin-bottom:12px; display:inline-flex; align-items:center; gap:6px; flex:none; }
    .back-link:hover { color:#ffe36d; }
    .back-link img { width:48px; height:48px; image-rendering:pixelated; display:block; }

    /* ===== 全屏观演模式：点击画面空白处进入；UA 会把全屏元素强制铺满（!important），
       所以全屏的是外层空壳 .scene-fs-host，舞台 .scene-wrap 作为普通子元素锁 1152×720
       后整体 scale 居中适配——canvas、逐字稿气泡、插话行全部等比放大，不重排不裁剪 ===== */
    .scene-fs-host { position:relative; flex:none; margin:auto 0; width:100%; }
    .scene-wrap { cursor:zoom-in; }
    #transcript, .interject-row { cursor:auto; }
    .scene-fs-host:fullscreen { background:#05070f; overflow:hidden; }
    .scene-fs-host:fullscreen::backdrop { background:#05070f; }
    .scene-fs-host:fullscreen .scene-wrap {
        position:absolute; left:50%; top:50%; margin:0;
        width:1152px; height:720px;
        transform-origin:center center;
        background:#0b0f22;
        cursor:default;
        box-shadow:0 0 120px rgba(0,0,0,.8);
    }
    .rt-fs-exit {
        position:absolute; top:14px; right:14px; z-index:10;
        padding:7px 16px; font-size:12px; letter-spacing:1px;
        color:rgba(220,228,255,.85); background:rgba(10,14,30,.55);
        border:1px solid rgba(160,175,220,.35); border-radius:6px;
        cursor:pointer; backdrop-filter:blur(4px);
        display:none;
    }
    .scene-fs-host:fullscreen .rt-fs-exit { display:block; }
    .rt-fs-exit:hover { color:#ffe36d; border-color:rgba(255,227,109,.7); background:rgba(20,26,50,.78); }

    /* ===== 临时真机对比开关：URL 加 ?nofx=1 时关掉雪 / 玻璃模糊（.rt-nofx 由 head 内联脚本挂到 html 上）。
       只为在真机 DevTools 里开关比对 paint 成本用，不做任何观感调优；保留不删。 ===== */
    html.rt-nofx #snowCanvas { display:none !important; }
    html.rt-nofx * { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }

