/* ============================================================
   css/panels/panels-watch.css — 观影（TASK-REALTIME-COWATCH-001 阶段 A）
   暖米纸底 / 干燥玫瑰 + 雾紫 / 衬线体 + 英文花字 / 零 emoji
   全屏子面板（.nest-sub-panel.fullscreen）里的一整页，竖屏 360~430 自适应
   ============================================================ */

/* ===== 面板本体 ===== */
#nest-sub-watch {
    background:
        radial-gradient(ellipse 78% 46% at 50% -6%, rgba(201, 168, 168, 0.16), transparent 56%),
        radial-gradient(ellipse 58% 38% at 92% 96%, rgba(184, 168, 196, 0.10), transparent 52%),
        var(--bg-primary);
}

/* ===== 标题区 ===== */
.watch-hero {
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 16px 18px 8px;
}
.watch-hero-en {
    font-family: var(--font-serif-en); font-style: italic;
    font-size: 22px; line-height: 1.1; color: var(--accent);
}
.watch-hero-cn {
    font-size: 11px; letter-spacing: 0.42em; color: var(--text-muted);
    margin-top: 3px; padding-left: 2px;
}
.watch-hero-manage {
    border: none; background: transparent; cursor: pointer; font-family: inherit;
    font-size: 12px; letter-spacing: 0.06em; color: var(--text-secondary);
    padding: 2px 0 3px; border-bottom: 1px solid var(--border);
}
.watch-hero-manage:active { color: var(--accent); border-color: var(--accent); }

/* 一行提示（添加中 / 已删除 …）：空的时候不占高度 */
.watch-msg {
    min-height: 0; padding: 0 18px; margin-bottom: 2px;
    font-size: 12.5px; line-height: 1.6; color: var(--accent);
}
.watch-msg:empty { display: none; }

/* ===== 主区域 ===== */
#watch-body { padding: 4px 16px 10px; }

/* 返回片库 / 返回上一级 */
.watch-backline {
    border: none; background: transparent; cursor: pointer; font-family: inherit;
    font-size: 13px; color: var(--text-secondary); padding: 6px 0 12px;
}
.watch-backline:active { color: var(--accent); }

/* ===== 片库：上次看到 ===== */
.watch-resume {
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}
.watch-resume-head {
    font-size: 11px; letter-spacing: 0.24em; color: var(--text-muted);
    margin-bottom: 10px; padding-left: 2px;
}
.watch-resume-row { display: flex; align-items: center; gap: 12px; }
.watch-resume-poster {
    position: relative; flex: 0 0 auto;
    width: 54px; aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm); overflow: hidden;
    background: linear-gradient(152deg, rgba(201, 168, 168, 0.34), rgba(184, 168, 196, 0.26));
}
.watch-resume-info { flex: 1; min-width: 0; }
.watch-resume-title {
    font-size: 14.5px; color: var(--text-primary); margin-bottom: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.watch-resume-time {
    font-size: 11.5px; color: var(--text-muted); margin-bottom: 7px;
    font-variant-numeric: tabular-nums;
}
.watch-resume-go {
    flex: 0 0 auto; height: 34px; padding: 0 16px; cursor: pointer;
    border: none; border-radius: var(--radius-full);
    background: var(--accent); color: #FCFAF6;
    font-family: inherit; font-size: 13px; letter-spacing: 0.06em;
}
.watch-resume-go:active { transform: scale(0.97); }

/* ===== 片库：海报网格 ===== */
.watch-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
}
.watch-card { transition: opacity 0.22s ease, transform 0.22s ease; }
.watch-card.watch-removing { opacity: 0; transform: scale(0.96); }
.watch-poster {
    position: relative; aspect-ratio: 3 / 4; width: 100%;
    border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(152deg, rgba(201, 168, 168, 0.34), rgba(184, 168, 196, 0.26));
    cursor: pointer;
}
.watch-poster-inner { position: absolute; inset: 0; }
.watch-poster-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif-en); font-style: italic;
    font-size: 30px; color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.04em;
}
.watch-poster-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 0.24s ease;
}
.watch-poster-img.on { opacity: 1; }
.watch-poster-dur {
    position: absolute; right: 6px; bottom: 6px;
    font-size: 10px; line-height: 1; padding: 4px 6px; border-radius: var(--radius-full);
    background: rgba(30, 28, 26, 0.52); color: #FFFFFF;
    font-variant-numeric: tabular-nums;
}
.watch-card-row { display: flex; align-items: center; gap: 4px; padding: 8px 2px 0; }
.watch-card-title {
    flex: 1; min-width: 0; font-size: 13px; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.watch-card-more {
    flex: 0 0 auto; width: 26px; height: 26px; border: none; background: transparent;
    color: var(--text-muted); font-size: 15px; line-height: 1; cursor: pointer;
    border-radius: 50%;
}
.watch-card-more:active { background: var(--accent-light, rgba(201, 168, 168, 0.18)); }
.watch-card-bar { margin-top: 6px; }

/* 进度条 */
.watch-bar {
    height: 2.5px; border-radius: var(--radius-full); overflow: hidden;
    background: rgba(180, 170, 155, 0.26);
}
.watch-bar i { display: block; height: 100%; border-radius: var(--radius-full); background: var(--accent); }

/* ===== 空态 ===== */
.watch-empty {
    padding: 54px 20px 40px; text-align: center;
}
.watch-empty-line {
    font-family: var(--font-serif-en); font-style: italic;
    font-size: 15px; line-height: 2; color: var(--text-secondary);
    margin-bottom: 22px;
}
.watch-empty-btn { max-width: 240px; margin: 0 auto; }

/* ===== 通用按钮 / 输入 ===== */
.watch-btn-main {
    display: block; width: 100%; height: 44px; cursor: pointer;
    border: none; border-radius: var(--radius-md);
    background: var(--accent); color: #FCFAF6;
    font-family: inherit; font-size: 14px; letter-spacing: 0.06em;
    box-shadow: var(--shadow-md);
}
.watch-btn-main:active { transform: scale(0.985); background: var(--accent-hover, var(--accent)); }
.watch-btn-ghost {
    height: 44px; padding: 0 16px; cursor: pointer;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: transparent; color: var(--text-secondary);
    font-family: inherit; font-size: 13.5px;
}
.watch-btn-danger {
    height: 44px; padding: 0 18px; cursor: pointer;
    border: none; border-radius: var(--radius-md);
    background: var(--danger); color: #FFFFFF;
    font-family: inherit; font-size: 13.5px;
}
.watch-btn-danger-ghost {
    display: block; width: 100%; height: 44px; margin-top: 22px; cursor: pointer;
    border: 1px solid rgba(190, 110, 105, 0.4); border-radius: var(--radius-md);
    background: transparent; color: var(--danger);
    font-family: inherit; font-size: 13.5px; letter-spacing: 0.04em;
}
.watch-btn-xs { height: 30px; padding: 0 12px; font-size: 12px; }
.watch-label {
    font-size: 11px; letter-spacing: 0.2em; color: var(--text-muted);
    margin: 0 0 6px 2px;
}
.watch-input {
    width: 100%; height: 44px; box-sizing: border-box;
    border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--surface-solid); color: var(--text-primary);
    font-family: inherit; font-size: 15px; padding: 0 12px;
    outline: none; -webkit-appearance: none; appearance: none;
    margin-bottom: 12px;
}
.watch-input:focus { border-color: var(--accent); }

/* ===== 某一部的详情 ===== */
.watch-detail { padding-bottom: 12px; }
.watch-detail-poster {
    position: relative; width: 118px; aspect-ratio: 3 / 4;
    margin: 2px auto 18px;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-md);
    background: linear-gradient(152deg, rgba(201, 168, 168, 0.34), rgba(184, 168, 196, 0.26));
}
.watch-meta {
    margin-top: 16px; font-size: 12px; line-height: 1.8; color: var(--text-muted);
    text-align: center; font-variant-numeric: tabular-nums;
}
.watch-confirm {
    margin-top: 18px; padding: 14px;
    border: 1px solid rgba(190, 110, 105, 0.3); border-radius: var(--radius-md);
    background: rgba(190, 110, 105, 0.05);
}
.watch-confirm-text { font-size: 12.5px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 12px; }
.watch-confirm-row { display: flex; gap: 10px; }
.watch-confirm-row .watch-btn-ghost { flex: 1; }
.watch-confirm-row .watch-btn-danger { flex: 1; }

/* ===== 空间管理 ===== */
.watch-space { padding-bottom: 16px; }
.watch-space-head {
    font-size: 15px; color: var(--text-primary); letter-spacing: 0.06em;
    margin: 0 0 12px 2px;
}
.watch-space-sum {
    font-size: 12.5px; color: var(--text-secondary); line-height: 1.8;
    padding: 12px 14px; border-radius: var(--radius-md);
    background: var(--surface-solid); border: 1px solid var(--border);
}
.watch-space-quota { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }
.watch-space-note {
    font-size: 11.5px; line-height: 1.8; color: var(--text-muted);
    margin: 10px 2px 16px;
}
.watch-space-empty { font-size: 13px; color: var(--text-muted); padding: 12px 2px; }
.watch-space-row {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 2px; border-bottom: 1px solid var(--border);
}
.watch-space-name {
    flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.watch-space-size {
    flex: 0 0 auto; font-size: 11.5px; color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.watch-space-del {
    flex: 0 0 auto; height: 28px; padding: 0 10px; cursor: pointer;
    border: 1px solid var(--border); border-radius: var(--radius-full);
    background: transparent; color: var(--text-secondary);
    font-family: inherit; font-size: 12px;
}
.watch-space-del:active { color: var(--danger); border-color: rgba(190, 110, 105, 0.4); }
.watch-space-ask { display: flex; gap: 8px; }

/* ===== 底部添加栏 ===== */
.watch-addbar {
    position: sticky; bottom: 0; z-index: 5;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, var(--bg-primary) 62%, rgba(248, 244, 239, 0));
}
.watch-add {
    display: block; width: 100%; height: 46px; cursor: pointer;
    border: 1px dashed rgba(201, 168, 168, 0.65); border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72); color: var(--accent);
    font-family: inherit; font-size: 14px; letter-spacing: 0.08em;
}
.watch-add:active { background: var(--accent-light, rgba(201, 168, 168, 0.18)); }

/* ===== 播放视图（阶段 A 最小版）===== */
.watch-player { padding-bottom: 12px; }
.watch-video {
    width: 100%; max-width: 100%; max-height: 62vh;
    display: block; background: #1A1817;
    border-radius: var(--radius-md);
}
.watch-player-title {
    font-size: 14px; color: var(--text-primary); margin: 12px 2px 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.watch-player-note { font-size: 12px; line-height: 1.7; color: var(--text-muted); margin: 0 2px; }

/* ===== 窄屏 / 大屏 ===== */
@media (max-width: 369px) {
    .watch-hero { padding: 14px 14px 6px; }
    .watch-hero-en { font-size: 20px; }
    #watch-body { padding: 4px 12px 8px; }
    .watch-grid { gap: 14px 10px; }
    .watch-poster-fallback { font-size: 26px; }
    .watch-resume-poster { width: 48px; }
}
@media (min-width: 400px) {
    .watch-grid { gap: 18px 14px; }
    .watch-hero-en { font-size: 24px; }
}

/* ============================================================
   一起看的观影空间（自研控件 + 弹幕层 + 记忆条 + 抽屉）
   ============================================================ */
.watch-room { position: relative; display: flex; flex-direction: column; }
.watch-band {
    display: flex; align-items: center; gap: 8px; height: 44px; flex: 0 0 auto;
}
.watch-band-back {
    flex: 0 0 auto; width: 30px; height: 30px; padding: 0;
    border: none; background: transparent; color: var(--text-secondary);
    font-size: 22px; line-height: 1; cursor: pointer;
}
.watch-band-back:active { color: var(--accent); }
.watch-band-t {
    flex: 1; min-width: 0; font-family: var(--font-serif-en); font-style: italic;
    font-size: 15px; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.watch-band-quiet {
    flex: 0 0 auto; padding: 5px 10px; border-radius: var(--radius-full);
    border: 1px solid var(--border); background: transparent;
    color: var(--text-muted); font-size: 11.5px; cursor: pointer;
    transition: color 0.22s, border-color 0.22s, background 0.22s;
}
.watch-band-quiet.is-on { color: var(--accent); border-color: var(--accent); background: rgba(201, 168, 168, 0.12); }
.watch-statline {
    font-size: 11.5px; line-height: 1.6; color: var(--text-muted);
    padding: 0 0 8px;
}
.watch-hint {
    display: none; font-size: 12px; line-height: 1.6; color: var(--accent);
    padding: 6px 10px; margin-bottom: 8px;
    border-radius: var(--radius-md); background: rgba(201, 168, 168, 0.12);
}
.watch-hint.show { display: block; }

/* 播放器：16:9，不用浏览器默认控件 */
.watch-stage {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #12100F; border-radius: var(--radius-md); overflow: hidden;
}
.watch-stage video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: block; background: #12100F; object-fit: contain;
}
.watch-bigplay {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1);
    width: 54px; height: 54px; border-radius: 50%; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(26, 24, 23, 0.42); backdrop-filter: blur(6px);
    transition: opacity 0.3s, transform 0.3s;
}
.watch-bigplay::after {
    content: ''; position: absolute; left: 52%; top: 50%;
    transform: translate(-50%, -50%);
    border-left: 14px solid rgba(255, 255, 255, 0.92);
    border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.watch-bigplay.is-hidden { opacity: 0; transform: translate(-50%, -50%) scale(0.86); pointer-events: none; }

/* 弹幕层：只压上面 2/3，底部 18% 留给字幕，整层不吃点击 */
.watch-dm {
    position: absolute; left: 0; right: 0; top: 0; height: 66%;
    padding: 10px 12px 0; pointer-events: none;
    display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
    transition: opacity 0.3s;
}
.watch-dm.is-dim { opacity: 0.25; }
.watch-dm-item {
    max-width: 78%; padding: 5px 10px; border-radius: 12px;
    font-size: 12.5px; line-height: 1.5;
    color: #FFF9F4; background: rgba(26, 24, 23, 0.62);
    backdrop-filter: blur(4px); pointer-events: auto; cursor: pointer;
    animation: watch-dm-in 0.3s ease-out both;
    transition: opacity 0.32s, transform 0.32s;
}
.watch-dm-item.is-me { background: rgba(201, 168, 168, 0.82); color: #2A2422; align-self: flex-end; }
.watch-dm-item.is-out { opacity: 0; transform: translateY(-6px); }
@keyframes watch-dm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 控件条 */
.watch-ctl {
    display: flex; align-items: center; gap: 8px; padding: 10px 2px 4px;
    flex: 0 0 auto;
}
.watch-play, .watch-jump {
    flex: 0 0 auto; width: 30px; height: 30px; padding: 0;
    border: none; background: transparent; color: var(--text-secondary);
    font-size: 15px; line-height: 1; cursor: pointer;
}
.watch-play { width: 34px; height: 34px; position: relative; }
.watch-play::after {
    content: ''; position: absolute; left: 52%; top: 50%; transform: translate(-50%, -50%);
    border-left: 11px solid var(--text-primary);
    border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.watch-play[data-playing="1"]::after {
    border: none; left: 50%;
    width: 4px; height: 13px; background: var(--accent);
    box-shadow: 7px 0 0 var(--accent); border-radius: 1px;
}
.watch-track {
    position: relative; flex: 1; min-width: 0; height: 26px; cursor: pointer;
}
.watch-track-bg {
    position: absolute; left: 0; right: 0; top: 12px; height: 3px;
    border-radius: var(--radius-full); background: rgba(0, 0, 0, 0.09);
}
.watch-track-fill {
    position: absolute; left: 0; top: 12px; height: 3px; width: 0;
    border-radius: var(--radius-full); background: var(--accent); opacity: 0.55;
}
.watch-track-head {
    position: absolute; top: 8px; left: 0; width: 10px; height: 10px; margin-left: -5px;
    border-radius: 50%; background: var(--accent);
}
/* 记忆条：已确认实线 / 跳过虚线 / 未确认斜纹 / 回看浅纹 */
.watch-mem { position: absolute; left: 0; right: 0; top: 11px; height: 6px; pointer-events: none; }
.watch-mem-seg { position: absolute; top: 0; height: 6px; border-radius: 3px; display: block; }
.watch-mem-seg.is-confirmed { background: var(--accent); }
.watch-mem-seg.is-skipped {
    background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0 4px, rgba(0, 0, 0, 0.06) 4px 8px);
}
.watch-mem-seg.is-uncertain {
    background: repeating-linear-gradient(135deg, rgba(201, 168, 168, 0.26) 0 3px, transparent 3px 7px);
}
.watch-mem-seg.is-rewatch { background: rgba(201, 168, 168, 0.22); height: 6px; }
.watch-mem-dot {
    position: absolute; top: -8px; width: 12px; height: 12px; margin-left: -6px; padding: 0;
    border-radius: 50%; cursor: pointer; pointer-events: auto;
    border: 1.5px solid var(--accent); background: var(--surface-solid);
    transition: transform 0.2s;
}
.watch-mem-dot.is-pending { border-style: dashed; opacity: 0.8; }
.watch-mem-dot.is-corrected { background: var(--accent); }
.watch-mem-dot:active { transform: scale(1.18); }
.watch-time {
    flex: 0 0 auto; font-size: 11px; color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* 底部抽屉：半收 88px，上拉 70% */
.watch-drawer {
    position: relative; flex: 1 1 auto; min-height: 88px; height: 88px;
    margin-top: 6px; padding: 0 12px;
    background: var(--surface-solid); border: 1px solid var(--border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex; flex-direction: column;
    transition: height 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
    overflow: hidden;
}
.watch-drawer.is-open { height: 66vh; max-height: 70vh; }
.watch-drawer-h { flex: 0 0 auto; height: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.watch-drawer-h i { width: 34px; height: 3px; border-radius: 2px; background: rgba(0, 0, 0, 0.14); }
.watch-dm-list {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    display: flex; flex-direction: column; gap: 6px; padding: 2px 0 6px;
    overscroll-behavior: contain;
}
.watch-dm-row {
    display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap;
    max-width: 88%;
}
.watch-dm-row.is-me { align-self: flex-end; justify-content: flex-end; }
.watch-dm-text {
    padding: 6px 10px; border-radius: 12px; font-size: 12.5px; line-height: 1.55;
    color: var(--text-primary); background: rgba(0, 0, 0, 0.045);
}
.watch-dm-row.is-me .watch-dm-text { background: rgba(201, 168, 168, 0.24); }
.watch-dm-tip { font-size: 10.5px; color: var(--text-muted); }
.watch-dm-retry, .watch-dm-jump {
    border: 1px solid var(--border); border-radius: var(--radius-full);
    background: transparent; color: var(--text-muted);
    font-size: 10.5px; padding: 3px 8px; cursor: pointer;
}
.watch-dm-retry:active, .watch-dm-jump:active { color: var(--accent); border-color: var(--accent); }
.watch-input-row {
    flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
}
.watch-input-row .watch-input { flex: 1; min-width: 0; }
.watch-send {
    flex: 0 0 auto; padding: 7px 14px; border: none; border-radius: var(--radius-full);
    background: var(--accent); color: #FCFAF6; font-size: 12.5px; cursor: pointer;
}
.watch-send:active { transform: scale(0.97); }
.watch-switch-row {
    flex: 0 0 auto; display: flex; gap: 8px; padding: 0 0 calc(8px + env(safe-area-inset-bottom, 0px));
    flex-wrap: wrap;
}
.watch-sw {
    padding: 5px 11px; border-radius: var(--radius-full);
    border: 1px solid var(--border); background: transparent;
    color: var(--text-muted); font-size: 11.5px; cursor: pointer;
    transition: color 0.22s, border-color 0.22s, background 0.22s;
}
.watch-sw.is-on { color: var(--accent); border-color: var(--accent); background: rgba(201, 168, 168, 0.12); }
.watch-sw-exit { margin-left: auto; color: var(--danger); }

/* 小记忆气泡 */
.watch-seg-bubble {
    position: absolute; left: 10px; right: 10px; bottom: 92px; z-index: 6;
    padding: 12px 14px; border-radius: var(--radius-md);
    background: var(--surface-solid); border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    animation: watch-bubble-in 0.22s ease-out both;
}
@keyframes watch-bubble-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.watch-seg-t { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--text-primary); }
.watch-seg-r { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.watch-seg-s { font-size: 12.5px; line-height: 1.7; color: var(--text-secondary); margin-top: 6px; }
.watch-seg-warn { font-size: 11.5px; color: var(--danger); margin-top: 6px; }
.watch-seg-acts { display: flex; gap: 8px; margin-top: 10px; }
.watch-seg-acts button {
    padding: 5px 12px; border-radius: var(--radius-full);
    border: 1px solid var(--border); background: transparent;
    color: var(--text-secondary); font-size: 11.5px; cursor: pointer;
}
.watch-seg-acts button:active { color: var(--accent); border-color: var(--accent); }
.watch-exit-ask {
    position: absolute; left: 12px; right: 12px; bottom: 10px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 10px 12px; border-radius: var(--radius-md);
    background: var(--surface-solid); border: 1px solid var(--border);
    box-shadow: var(--shadow-md); font-size: 12px; color: var(--text-secondary);
}
.watch-exit-ask button {
    padding: 5px 12px; border-radius: var(--radius-full); cursor: pointer;
    border: 1px solid var(--border); background: transparent;
    color: var(--text-secondary); font-size: 11.5px;
}

/* ===== 观影记录 ===== */
.watch-recent { margin-top: 22px; padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.watch-recent-h {
    font-size: 11px; letter-spacing: 0.24em; color: var(--text-muted);
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.watch-recent-list { display: flex; flex-direction: column; }
.watch-recent-empty { font-size: 12.5px; line-height: 1.8; color: var(--text-muted); padding: 14px 2px; }
.watch-rec {
    display: flex; align-items: center; gap: 10px; padding: 12px 2px;
    border-bottom: 1px solid var(--border); cursor: pointer;
}
.watch-rec-main { flex: 1; min-width: 0; }
.watch-rec-t {
    font-size: 13.5px; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.watch-rec-s { font-size: 11.5px; line-height: 1.6; color: var(--text-muted); margin-top: 3px; }
.watch-rec-arrow { flex: 0 0 auto; color: var(--text-muted); font-size: 17px; }
.watch-rec-mask { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; }
.watch-rec-shade { position: absolute; inset: 0; background: rgba(20, 18, 17, 0.36); }
.watch-rec-sheet {
    position: relative; z-index: 1; width: 100%; max-height: 78%;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    background: var(--surface-solid);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-md);
    animation: watch-sheet-in 0.26s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
@keyframes watch-sheet-in { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.watch-rec-sheet-t { font-family: var(--font-serif-en); font-style: italic; font-size: 17px; color: var(--text-primary); }
.watch-rec-sheet-s { font-size: 11.5px; line-height: 1.7; color: var(--text-muted); margin-top: 5px; }
.watch-rec-segs { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.watch-rec-seg { padding: 10px 12px; border-radius: var(--radius-md); background: rgba(0, 0, 0, 0.035); }
.watch-rec-seg-t { font-size: 12.5px; color: var(--text-primary); display: flex; gap: 8px; align-items: baseline; }
.watch-rec-seg-t span { font-size: 10.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.watch-rec-seg-s { font-size: 12px; line-height: 1.7; color: var(--text-secondary); margin-top: 5px; }
.watch-rec-noseg { font-size: 12px; line-height: 1.7; color: var(--text-muted); margin-top: 12px; }
.watch-rec-acts { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.watch-rec-warn { font-size: 11.5px; color: var(--danger); line-height: 1.6; }
.watch-rec-dead { font-size: 11.5px; color: var(--text-muted); }

/* ===== 聊天里的观影卡 ===== */
.watch-card-bubble { padding: 0 !important; background: transparent !important; border: none !important; }
.watch-chatcard {
    padding: 12px 14px; border-radius: var(--radius-lg);
    background: var(--surface-solid); border: 1px solid var(--border);
    box-shadow: var(--shadow-md); min-width: 190px; max-width: 100%;
}
.wcc-head { display: flex; align-items: center; gap: 8px; }
.wcc-reel {
    flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%;
    border: 1.5px solid var(--accent); position: relative;
}
.wcc-reel::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px;
    margin: -2px 0 0 -2px; border-radius: 50%; background: var(--accent);
}
.wcc-title {
    flex: 1; min-width: 0; font-family: var(--font-serif-en); font-style: italic;
    font-size: 14px; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcc-when { flex: 0 0 auto; font-size: 10.5px; color: var(--text-muted); }
.wcc-line { font-size: 12px; line-height: 1.7; color: var(--text-secondary); margin-top: 7px; }
.wcc-range { color: var(--text-muted); }
.wcc-dead { color: var(--text-muted); }
.wcc-acts { display: flex; gap: 8px; margin-top: 10px; }
.wcc-go {
    padding: 6px 13px; border-radius: var(--radius-full); cursor: pointer;
    border: 1px solid var(--accent); background: transparent;
    color: var(--accent); font-size: 11.5px;
}
.wcc-go:active { background: rgba(201, 168, 168, 0.14); }

/* 窄屏 / 大屏微调 + 减少动态效果 */
@media (max-width: 369px) {
    .watch-band-t { font-size: 14px; }
    .watch-dm-item { max-width: 86%; font-size: 12px; }
    .watch-time { font-size: 10px; }
    .watch-drawer { padding: 0 10px; }
}
@media (min-width: 400px) {
    .watch-stage { border-radius: var(--radius-lg); }
    .watch-dm-item { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .watch-dm-item { animation: none; }
    .watch-drawer, .watch-rec-sheet, .watch-seg-bubble { transition: none; animation: none; }
}

