/* =========================================================
   人民艺术 · 共用样式表（8 个页面共用）
   配色为亮蓝色系（深空蓝已调亮）/ 玻璃磨砂 / 流星雨点缀

   【改之前先看这里】
   1. 改配色：只动下面 :root 里的变量，全站同步生效，不用逐条搜颜色。
   2. 改字号 / 间距 / 圆角：每个区块标题下面都有一行「可调」，标了这一节能动什么。
   3. 改动画快慢：搜 animation、transition，把后面的秒数（如 0.3s）改大改小即可。
   4. 改首页专属尺寸：在 home.css 里，不在这里。
   5. 改底部「联系我们」文字：在页面 HTML 的 .player-dock 里。
   6. 本文件末尾第 17 节是「去边框 / 透明底」的统一覆盖层，想给某个容器恢复边框就去那里删一行。
   ========================================================= */

/* ---------------- 0. 基础重置 ---------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* 全站配色 / 圆角总开关：改这里，8 个页面一起变 */
:root {
    /* ---------- 页面留白（顶部距离就是下面这个变量） ---------- */
    --page-gap-top: 20px;                  /* ★ 顶部容器距离浏览器顶端的距离：0 = 完全贴顶；想要留白改成 16px / 1rem */
    --page-gap-bottom: 18px;              /* 底部留白：改大页面更透气，改小内容更满 */
    --page-gap-side: max(14px, 5%);       /* ★ 左右留白：所有页面统一 5%（手机窄屏兜底 14px，不然会贴边） */
    --page-gap-v: calc(var(--page-gap-top) + var(--page-gap-bottom)); /* 上下合计（一屏高度、侧栏高度都用它算） */

    /* ---------- 深空蓝紫底色（已从原来的近黑提亮一档） ---------- */
    --bg: #14143a;                        /* 页面主底色：比原型再提亮一档，动态星星在上面更清楚 */
    --bg-glow: #26396f;                   /* 顶部光晕：淡蓝 */
    --bg-deep: #0a0a22;                   /* 最深处：原来近黑，底部星星几乎看不见，这里抬到深蓝 */
    --bg-veil: rgba(8, 8, 20, 0.55);    /* 半透明深空色：时间轴遮罩、卡片底的备用色 */
    --bg-veil-deep: rgba(5, 5, 14, 0.9);  /* 更深的半透明：渐变末端、边缘压暗 */
    --panel: rgba(20, 20, 43, 0.35);      /* 面板底色：目前已被末尾覆盖层改成透明，此值仅作备用 */
    --panel-solid: #14142b;               /* 不透明面板色：输入框、弹窗底用 */
    --line: rgba(120, 160, 255, 0.2);     /* 主描边色（边框已统一关闭，改这里只在恢复边框时生效） */
    --line-soft: rgba(120, 160, 255, 0.12);/* 次级描边色，比 --line 更淡 */
    --accent: #7aa2ff;                    /* 主强调色：链接、进度条、按钮、激活态 */
    --accent-deep: #4b7bec;               /* 强调色深版：渐变末端、按钮按下 */
    /* ---------- 主题色（侧栏色轮选择后由 js 覆盖这几个变量） ---------- */
    --bg-top: #17173c;                    /* 背景渐变顶部色 */
    --theme-rgb: 122, 162, 255;           /* 主题色 rgb，用于透明渐变 */
    --accent-rgb: 122, 162, 255;          /* 强调色 rgb */
    --meteor: #7aa2ff;                    /* 流星颜色 */
    --meteor-rgb: 120, 160, 255;          /* 流星 rgb（做光晕/尾迹用） */
    --meteor-head-rgb: 232, 241, 255;     /* 流星头部亮点 rgb */
    --text: #f2f7ff;                      /* 主文字色（标题） */
    --text-sub: #d3e2ff;                  /* 正文文字色（亮蓝底上提亮一级） */
    --text-mute: #a4bde3;                 /* 弱文字色：时间、页码、说明 */
    --danger: #ff4d6d;                    /* 警示红：广播条、删除、错误提示 */
    --radius-lg: 2.2rem;                  /* 大面板圆角：0 为直角，3rem 以上接近胶囊 */
    --radius-md: 1.2rem;                  /* 中等卡片圆角 */
    --radius-sm: 0.8rem;                  /* 小元素圆角：标签、缩略图 */
}

/* 浏览器最底部 / 左右两侧露出来的兜底色，取渐变终点同色，保证看不到白边
   ★ 除了兜底色，这里也把同一层深空渐变画在 html 上（钉死在窗口上）：
     页面再高再矮、滚动到任何位置、底部留白区，看到的都是同一张背景，不会出现色带 */
html {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(120% 80% at 50% 0%, var(--bg-glow) 0%, rgba(var(--theme-rgb), 0) 55%),
        radial-gradient(85% 60% at 85% 100%, rgba(var(--accent-rgb), 0.22) 0%, rgba(var(--accent-rgb), 0) 72%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 52%, var(--bg-deep) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;      /* 钉在窗口：渐变的起点/终点始终对齐浏览器上下边 */
    background-size: 100% 100%;        /* 永远铺满整个窗口，不随内容高度伸缩 */
    min-height: 100%;
}

body {
    /* 深空三层：顶部一层很淡的蓝光 → 主色 → 底部近黑（对齐原型背景，只是把黑提亮了一档） */
    background:
        radial-gradient(120% 80% at 50% 0%, var(--bg-glow) 0%, rgba(var(--theme-rgb), 0) 55%),
        radial-gradient(85% 60% at 85% 100%, rgba(var(--accent-rgb), 0.22) 0%, rgba(var(--accent-rgb), 0) 72%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 52%, var(--bg-deep) 100%);
    background-attachment: fixed;      /* ★ 背景钉在浏览器窗口上：页面滚动、内容比屏幕短时，底部也不会露出空白 */
    font-family: 'Inter', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Roboto, system-ui, sans-serif;
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;                /* 手机浏览器地址栏收起/展开时也铺满整窗（不支持 dvh 的老浏览器走上一行） */
    display: flex;
    /* 顶部距离 = --page-gap-top（默认 0，容器直接贴住浏览器顶端） */
    padding: var(--page-gap-top) var(--page-gap-side) var(--page-gap-bottom);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* 背景：非发表页只剩流星层（app.js 的 Layout.meteor + MeteorRain 生成）；
   发表页（publish）保持原样，仍用 canvas 画「穿梭 / 曲速」背景。
   所以 .bg-canvas 现在只会在发表页出现。 */
.bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* 发表页的穿梭背景整体再压一点点亮度，避免抢正文 */
.bg-canvas-warp { opacity: 0.85; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; }

/* 背景流星层 */
#meteorShower {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;                 /* 流星飞出边缘即裁掉，不产生滚动条 */
}

/* 单颗流星：学原型的「小圆点 + 光晕」，从左上向右下（-300px, +300px）划过并放大
   数量 / 粗细在 js/app.js 的 Layout.meteor() 里改；单颗速度与延迟也由那边随机 */
.meteor {
    position: absolute;
    border-radius: 50%;                              /* 圆点（原型就是 2px 圆点，没有长尾） */
    background: var(--meteor, #7aa2ff);                     /* 星体颜色：跟随主题色（侧栏色轮） */
    box-shadow: 0 0 6px 2px rgba(var(--meteor-rgb), 0.6);   /* 光晕：改 0 0 0 0 即不发光 */
    opacity: 0;
    animation-name: meteorFall;
    animation-timing-function: linear;               /* 匀速，原型也是 linear */
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}

@keyframes meteorFall {
    /* 照原型：0% 缩小半透明 → 10% 全亮 → 90% 仍亮 → 至右下 300px 并放大到 1.5 倍淡出
       飞行距离固定 300px（原型同款），想飞更远就把下面两个 300px 一起改大 */
    0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.5); }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { opacity: 0; transform: translate3d(-300px, 300px, 0) scale(1.5); }
}

/* 扫尾流星：一条从透明渐亮到头的斜线 + 头部光晕（app.js 的 MeteorRain 驱动） */
#meteorShower .shooting-star {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: 0 50%;          /* 以尾巴起点为旋转轴 */
    border-radius: 999px;
    pointer-events: none;
    will-change: transform, opacity;
    background: linear-gradient(90deg,
        rgba(var(--meteor-rgb), 0) 0%,
        rgba(var(--meteor-rgb), 0.10) 35%,
        rgba(var(--meteor-rgb), 0.72) 82%,
        rgb(var(--meteor-head-rgb)) 100%);
    box-shadow: 0 0 8px rgba(var(--meteor-rgb), 0.45);
}

/* 头部亮点 + 光晕 */
#meteorShower .shooting-star::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgb(var(--meteor-head-rgb)) 0%,
        rgba(var(--meteor-head-rgb), 0.75) 35%,
        rgba(var(--meteor-rgb), 0) 72%);
}

/* ---------------- 1. 主框架 ---------------- */
/* 可调：下面 .app-layout 的 gap（侧栏与内容的距离）、min-width */
.app-layout {
    display: flex;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 1rem;                            /* 内容区与右侧导航的距离：1.5rem → 1rem */
    position: relative;
}

/* ---------------- 1b. 首页：左右各留 5% 空白 ----------------
   只对首页生效：最左侧容器距窗口左边 5%，最右侧导航距窗口右边 5%；
   中间 5% 的空档露出的是页面背景（背景不改、仍铺满整个窗口）。
   想让留白更大 / 更小，直接改下面两个 5%（比如 6% / 4%），两处要一起改。
   ------------------------------------------------------------- */
/* 说明：左右各 5% 已提到 :root 的 --page-gap-side（所有页面共用），
   这里不用再单独写 padding，改留白只改上面那一个变量即可。
   （原来首页专属的 padding-left/right: 5% 已删除，避免两处数值打架） */

body[data-page="home"] .app-layout { max-width: none; }   /* 首页不再受 1600px 上限约束，否则宽屏上左右留白会大于 5% */

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;                          /* ★ 各大容器之间的上下间距（含标题区与内容区）：0.8rem → 0.5rem，想更紧就 0.3rem */
    min-width: 0;
}

.glass-panel {
    /* 所有大面板的公共外观（首页顶部区、列表容器、播放器、登录卡等都用它） */
    background: var(--panel);             /* 面板底色，已由末尾覆盖层设为透明 */
    border-radius: var(--radius-lg);      /* 面板圆角，改 :root 的 --radius-lg */
    border: 1px solid var(--line);        /* 边框，已由末尾覆盖层统一关闭 */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.05); /* 外阴影 + 顶部内高光，已由覆盖层关闭 */
}

/* ---------------- 2. 页面标题区 ---------------- */
/* 可调：.page-head 的 padding（标题区厚度）、h1 字号、.sub 字号 */
.page-head {
    padding: 5px 2.2rem 0;                /* 标题区厚度：上 5px、下 0，内容尽量贴顶 */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.page-head::after {
    content: '';
    position: absolute;
    right: -60px; top: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(122, 162, 255, 0.18), transparent 65%);
    pointer-events: none;
}

.page-head h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 0 24px rgba(120, 160, 255, 0.35);
}

.page-head .sub {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-sub);
    max-width: 640px;
}

.page-head .head-tag {
    font-size: 0.75rem;
    color: var(--text-mute);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    white-space: nowrap;
}

/* ★ 内页顶部：标题左侧一栏 + 右侧透明 GIF 图片框（与首页 hero 同一张图）
   想调框大小：改 .page-gif-box 的 flex-basis（宽）与 height（高）；
   想换图：改对应页面 header 里 img 的 src；想完全不显示：给页面加 body 类或删掉这段 HTML */
.page-head-main { flex: 1 1 460px; min-width: 0; }
.page-head-main .head-tag { display: inline-block; margin-top: 0.85rem; }
.page-gif-box {
    flex: 0 0 300px;                    /* 框宽 300px */
    height: 122px;                      /* 框高 122px */
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;                   /* 超出部分裁掉，图不会被拉变形 */
}
.page-gif {
    width: 100%; height: 100%;
    object-fit: contain;                /* 完整显示（想裁满改 cover） */
    mix-blend-mode: screen;             /* 透明底叠在星空上，黑色区域自动透掉 */
    pointer-events: none;
}
@media (max-width: 1200px) {
    .page-gif-box { flex: 0 0 230px; height: 100px; }
}
@media (max-width: 900px) {
    .page-gif-box { flex: 1 1 100%; height: 92px; }
}

/* ---------------- 3. 广播条 ---------------- */
/* 可调：padding（红条高矮）、圆角、字号、跑马灯速度（js/app.js 的 BROADCAST_SPEED 或样式里的动画时长） */
.broadcast-section {
    background: rgba(255, 60, 80, 0.1) !important;
    border: 1px solid rgba(255, 80, 100, 0.4) !important;
    border-radius: 1rem;                  /* 广播条圆角 */
    padding: 0.8rem 1.2rem;               /* 广播条高度：改小更细 */
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    animation: broadcastPulse 2s infinite alternate;
    box-shadow: none;
}

@keyframes broadcastPulse {
    0% { box-shadow: 0 0 10px rgba(255, 60, 80, 0.1); }
    100% { box-shadow: 0 0 25px rgba(255, 60, 80, 0.42); }
}

.broadcast-icon { color: var(--danger); animation: blink 1s infinite alternate; flex-shrink: 0; display: flex; }

@keyframes blink {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); text-shadow: 0 0 10px var(--danger); }
}

.broadcast-label {
    font-weight: 700;
    color: var(--danger);
    font-size: 0.9rem;
    white-space: nowrap;
}

.broadcast-marquee { flex: 1; overflow: hidden; position: relative; height: 20px; display: flex; align-items: center; }

.broadcast-text {
    position: absolute;
    white-space: nowrap;
    font-size: 0.92rem;
    color: #ff8fa3;
    font-weight: 500;
    animation: marquee 42s linear infinite;   /* ★ 广播条滚动速度：秒数越大越慢（原来 18s） */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.broadcast-more {
    font-size: 0.75rem;
    color: #ff8fa3;
    border: 1px solid rgba(255, 120, 140, 0.4);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    white-space: nowrap;
    transition: all 0.25s;
}
.broadcast-more:hover { background: rgba(255, 80, 100, 0.18); }

/* ---------------- 4. 右侧导航 ---------------- */
/* 可调：.sidebar width（导航宽窄）、padding、top、height；.nav-item 字号；.logo 字号 */
.sidebar {
    /* ★ 右侧导航与左侧内容区宽度比 = 1 : 8
       算法：(整行宽度 - 中间 gap) / 9 = 侧栏宽度，剩下的 8/9 全给内容区
       想改成 1:7 → 把分母 9 改成 8；1:9 → 改成 10，同时改下面的 min/max 就不再是硬边界
       min/max 只是防呆：窄屏不至于挤扁，超宽屏不至于宽得离谱 */
    width: calc((100% - 1rem) / 9);       /* 8:1 里的那 1 份（导航宽度），见文件上方说明 */
    min-width: 96px;                      /* 图标 + 文字一行至少需要这么宽，再窄会挤 */
    max-width: 240px;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;                    /* 导航上下留白 */
    background: transparent;              /* ★ 导航底与其他容器保持一致：透明、无边框 */
    border-radius: var(--radius-lg);      /* 圆角也跟面板统一（改 :root 的 --radius-lg 一起变） */
    position: sticky;
    top: var(--page-gap-top);             /* 与 body 的顶部留白对齐（未登录页留 0，侧栏贴顶） */
    height: calc(100vh - var(--page-gap-v)); /* 与 body 上下留白联动：改 --page-gap-* 时自动跟着变 */
}

/* 站标：独立图片（assets/logo.svg），换图直接替换文件即可
   可调：宽高 46px（侧栏宽 84px，别超过 64px） */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    cursor: pointer;
    transition: transform 0.25s, filter 0.25s;
}

.logo img,
.logo svg {
    width: 80px;                          /* ★ 站标尺寸：侧栏宽 84px，可调到 56~64px */
    height: 80px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(122, 162, 255, 0.45)); /* 站标发光，想关掉改为 none */
}

.logo:hover { transform: translateY(-2px) scale(1.04); }

.nav-menu { display: flex; flex-direction: column; gap: 0.45rem; width: 100%; }

.nav-item {
    /* ★ 图标和文字排成一行（原来是上下两行，侧栏看着太窄）
       想改回上下两行：把 flex-direction 改回 column、align-items 改 center、gap 改 0.35rem */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    width: 100%;
    padding: 0.42rem 0.6rem;             /* 每一项的内边距：改大更松、点击范围更大 */
    border-radius: 0.7rem;               /* 悬停底色的圆角 */
    box-sizing: border-box;
    color: #8a9cc0;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
    position: relative;
}

.nav-item:hover { color: #a9c0ff; background: rgba(122, 162, 255, 0.08); transform: none; }
.nav-item.active { color: var(--accent); }

.nav-item.active::before {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 26px;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.nav-item svg { width: 21px; height: 21px; flex-shrink: 0; }
.nav-item span { font-size: 0.78rem; white-space: nowrap; line-height: 1.2; }

/* 宽屏（>1024px）侧栏是竖排导航：每一项都是「图标 + 文字」一行，占满侧栏整宽，
   选中那条蓝线贴在侧栏右边缘（正好落在 5% 留白线上）。
   1024px 以下侧栏变成顶部横排，另见响应式段落 */
@media (min-width: 1025px) {
    .sidebar { padding: 1.2rem 0.7rem; }   /* 左右给导航条留一点内边距 */
    .nav-item svg { width: 22px; height: 22px; }
    .nav-item span { font-size: 0.8rem; }
}

.sidebar-publish {
    /* 与导航一致：图标框 + 文字排成一行，占满侧栏宽度 */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    width: 100%;
    padding: 0.42rem 0.6rem;
    border-radius: 0.7rem;
    margin-top: auto;
    margin-bottom: 0.6rem;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.25s;
}
.sidebar-publish:hover { background: rgba(122, 162, 255, 0.08); }

.sidebar-publish .icon-box {
    width: 34px; height: 34px;            /* 图标圆框尺寸：改大更醒目 */
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-deep, #4b7bec), var(--accent, #3867d6));
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(75, 123, 236, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}
.sidebar-publish:hover .icon-box { transform: scale(1.1); box-shadow: 0 6px 22px rgba(75, 123, 236, 0.65); }
.sidebar-publish span { font-size: 0.78rem; color: #9ab4ff; font-weight: 500; white-space: nowrap; }

/* 主题主调按钮：侧栏「推荐」下面，图标是彩虹渐变的调色板（中间实心，不挖黑心） */
.sidebar-theme { background: none; border: 0; font: inherit; text-align: left; }
.sidebar-theme .icon-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(120, 160, 255, 0.28);
    position: relative;
}
.sidebar-theme .icon-box svg { display: block; width: 20px; height: 20px; }
.sidebar-theme:hover .icon-box { box-shadow: 0 6px 22px rgba(120, 160, 255, 0.55); }

/* 主题色面板（点色轮弹出） */
.theme-pop {
    position: fixed;
    z-index: 90;
    width: 248px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    background: rgba(12, 14, 32, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
}
.theme-pop.show { display: block; }
.theme-pop h4 { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.theme-pop .theme-tip { font-size: 0.68rem; color: var(--text-mute); margin-bottom: 10px; line-height: 1.4; }

.theme-wheel-wrap { position: relative; width: 180px; height: 180px; margin: 0 auto 10px; }
.theme-wheel-wrap canvas {
    width: 180px; height: 180px; border-radius: 50%;
    display: block; cursor: crosshair; touch-action: none;
}
.theme-dot {
    position: absolute; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid #fff; transform: translate(-50%, -50%);
    pointer-events: none; display: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}

.theme-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.theme-current { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--text-mute); }
.theme-chip { width: 14px; height: 14px; border-radius: 50%; background: #7aa2ff; box-shadow: 0 0 8px rgba(122, 162, 255, 0.7); }
.theme-reset {
    background: none; border: 0; padding: 0;
    color: var(--text-mute); font-size: 0.7rem; cursor: pointer;
    text-decoration: underline; text-underline-offset: 2px;
}
.theme-reset:hover { color: var(--text); }

.user-profile { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; cursor: pointer; }
.avatar-placeholder {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(120, 160, 255, 0.1);
    border: 1px solid rgba(120, 160, 255, 0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 0.72rem;
    overflow: hidden;
    transition: all 0.3s;
}
.user-profile:hover .avatar-placeholder { background: rgba(120, 160, 255, 0.2); box-shadow: 0 0 15px rgba(120, 160, 255, 0.4); }
.avatar-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-size: 0.62rem; color: var(--text-mute); max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 5. 内容容器：工具栏 ---------------- */
/* 可调：.content-panel padding（内容区留白）、.content-body min-height、工具栏控件高度 */
.content-panel { padding: 1.6rem 1.8rem 1.4rem; /* 内容区留白：上 / 左右 / 下 */ display: flex; flex-direction: column; gap: 1.2rem; /* 内部各行间距 */ }

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
}

.search-box {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-veil);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box:focus-within { border-color: rgba(122, 162, 255, 0.6); box-shadow: 0 0 18px rgba(122, 162, 255, 0.18); }
.search-box svg { width: 16px; height: 16px; color: var(--text-mute); flex-shrink: 0; }
.search-box input {
    flex: 1; border: none; outline: none; background: transparent;
    color: var(--text); font-size: 0.86rem;
}
.search-box input::placeholder { color: #93aad2; }

.select-wrap { position: relative; }
.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-veil);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    color: var(--text-sub);
    font-size: 0.82rem;
    padding: 0.55rem 2.2rem 0.55rem 1rem;
    outline: none;
    cursor: pointer;
}
.select-wrap::after {
    content: '';
    position: absolute; right: 0.95rem; top: 50%;
    width: 7px; height: 7px;
    border-right: 1.5px solid var(--text-mute);
    border-bottom: 1.5px solid var(--text-mute);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.result-hint { font-size: 0.75rem; color: var(--text-mute); white-space: nowrap; }
.result-hint b { color: var(--accent); font-weight: 600; }

/* ---------------- 6. 时间轴（竖向尺子刻度） ---------------- */
/* 可调：.timeline-wrap width（尺子宽度）、height（尺子长度）、.timeline-ruler min-height、刻度间距 */
.content-body { display: flex; gap: 1.2rem; align-items: stretch; min-height: 420px; /* 列表最小高度，改小页面更短 */ }

.timeline-wrap {
    width: 96px;                          /* 时间轴尺子的宽度 */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: flex-start;
    position: sticky;
    top: 1rem;
    height: min(58vh, 560px);             /* 尺子长度：58vh 是视口高度的 58%，560px 是上限 */
}

.timeline-title { font-size: 0.68rem; color: var(--text-mute); letter-spacing: 0.1em; text-align: center; }

.timeline-ruler {
    position: relative;
    flex: 1;
    min-height: 380px;                    /* 尺子最短高度 */
    border-radius: 1rem;                  /* 尺子圆角 */
    border: 1px solid var(--line-soft);
    background:
        linear-gradient(180deg, rgba(122, 162, 255, 0.05), rgba(8, 32, 68, 0.28));
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: none;
}
.timeline-ruler.dragging { cursor: grabbing; }

.timeline-ruler::before,
.timeline-ruler::after {
    content: '';
    position: absolute; left: 0; right: 0; height: 46px;
    pointer-events: none; z-index: 2;
}
.timeline-ruler::before { top: 0; background: linear-gradient(180deg, var(--bg-veil-deep), transparent); }
.timeline-ruler::after { bottom: 0; background: linear-gradient(0deg, var(--bg-veil-deep), transparent); }

.ruler-inner { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }

.ruler-tick {
    position: absolute; left: 0; right: 0;
    display: flex; align-items: center;
    height: 0;
}
.ruler-tick .line {
    height: 1px;
    background: rgba(190, 220, 255, 0.3);
    flex: 1;
    margin-right: 58px;                  /* ★ 刻度线止于日期文字左侧：数值越大线越短（尺子宽约 96px） */
}
.ruler-tick.major .line { background: rgba(140, 170, 230, 0.5); height: 1.5px; }
.ruler-tick .tick-label {
    position: absolute; right: 6px; top: -8px;
    font-size: 0.62rem; color: #a8c0e6;   /* 刻度文字：亮蓝底上提亮，太淡会看不见 */
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ruler-tick.major .tick-label { color: #d3e2ff; font-weight: 600; font-size: 0.64rem; }
.ruler-tick.ghost { opacity: 0.3; }
.ruler-tick .month-tag {
    position: absolute; left: 6px; top: -9px;
    font-size: 0.6rem; color: #8fa8cf;
}
.ruler-tick .dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 8px var(--accent);
    position: absolute; left: 8px;
}

.ruler-needle {
    position: absolute; left: 0; right: 0; top: 50%;
    height: 0; z-index: 3; pointer-events: none;
}
/* ★ 光标改成左侧「短箭头」：只在刻度左端画一截短杆 + 三角箭头，指向右，
   不再横穿整行，右边的日期文字不会被盖住。
   可调：短杆宽 12px、箭头 7×10；想恢复整行长线就把 right: auto 去掉并把 width 改回 100% */
.ruler-needle::before {
    content: '';
    position: absolute; left: 2px; right: auto; top: -1px;
    width: 12px;                                        /* 短杆长度 */
    height: 2px;
    background: linear-gradient(90deg, rgba(122, 162, 255, 0.25), var(--accent));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(122, 162, 255, 0.55);
}
.ruler-needle::after {                                  /* 三角形箭头，尖端朝右 */
    content: '';
    position: absolute; left: 13px; top: -5px;
    width: 0; height: 0;
    border-left: 7px solid var(--accent);               /* 箭头长度 */
    border-top: 5px solid transparent;                  /* 箭头半高（10px 总高） */
    border-bottom: 5px solid transparent;
    filter: drop-shadow(0 0 5px rgba(122, 162, 255, 0.6));
}
.needle-badge {
    display: none;
    position: absolute; left: 50%; top: -30px;
    transform: translateX(-50%);
    background: rgba(74, 108, 200, 0.35);
    border: 1px solid rgba(122, 162, 255, 0.55);
    color: #cfe0ff;
    font-size: 0.66rem;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 0 12px rgba(122, 162, 255, 0.35);
}

/* 时间轴下方的操作提示小容器已按要求移除（HTML 里的 .timeline-tip 也删了，
   想恢复就重新加回 <div class="timeline-tip">滚轮滑动<br>拖动定位<br>Ctrl+滚轮缩放</div> 并还原这段样式） */

/* ---------------- 7. 文字列表 ---------------- */
/* 可调：.text-list gap（条目间距）、.article-card padding / 圆角、.a-title / .a-body 字号、行数（-webkit-line-clamp） */
.text-list { flex: 1; display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }

.article-card {
    background: rgba(10, 45, 90, 0.4);    /* 卡片底色，已由覆盖层改为透明 */
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);      /* 卡片圆角 */
    padding: 1.1rem 1.3rem 0.9rem;        /* 卡片内边距：上 / 左右 / 下 */
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.article-card:hover {
    border-color: rgba(122, 162, 255, 0.45);
    transform: translateX(3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(122, 162, 255, 0.12);
}
.article-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.55;
}
.article-card .a-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.article-card .a-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.8rem;
    font-size: 0.72rem; color: var(--text-mute); margin-bottom: 0.5rem;
}
.article-card .a-cat {
    padding: 0.08rem 0.55rem;
    background: rgba(120, 160, 255, 0.12);
    border: 1px solid rgba(120, 160, 255, 0.25);
    border-radius: 20px; color: #9ab4ff; font-size: 0.68rem;
}
.article-card .a-body {
    font-size: 0.83rem; line-height: 1.7; color: var(--text-sub);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card .a-body.expanded { display: block; -webkit-line-clamp: unset; }
.article-card .a-foot { display: flex; justify-content: flex-end; margin-top: 0.4rem; }

.show-more-btn {
    background: rgba(120, 160, 255, 0.1);
    border: 1px solid rgba(120, 160, 255, 0.25);
    color: #9ab4ff; padding: 0.2rem 0.7rem; border-radius: 20px;
    font-size: 0.72rem; cursor: pointer; transition: all 0.25s;
}
.show-more-btn:hover { background: rgba(120, 160, 255, 0.2); box-shadow: 0 0 16px rgba(120, 160, 255, 0.3); }

/* ---------------- 8. 3×3 网格 ---------------- */
/* 可调：.card-grid 列数（repeat(3, …) 改 2 就是两列）、gap、is-grid 里的一屏高度 min(62vh, 660px)、卡片圆角 */
.card-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 列数：repeat(3,…) 改 2 就是两列 */
    gap: 1rem;                            /* 卡片间距 */
    align-content: start;
    min-width: 0;
}

/* 图片 / 影视页：固定 3×3 视口，保证一屏看到 9 条 */
.content-panel.is-grid .content-body { height: min(62vh, 660px); /* 图片 / 影视页的一屏高度，改小更矮 */ }
.content-panel.is-grid .card-grid {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-content: stretch;
    overflow: hidden;
}
.content-panel.is-grid .media-card { aspect-ratio: auto; height: 100%; }

/* ★ 图片页专用 2×2（每页 4 张）：卡片更大、看得清
   可调：列数 repeat(2, …)；内容区高度 min(74vh, 720px) */
body[data-page="image"] .content-panel.is-grid .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

body[data-page="image"] .content-panel.is-grid .content-body {
    height: min(74vh, 720px);
}

.media-card {
    position: relative;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    background: #131330;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.35s;
}
.media-card:hover {
    transform: translateY(-4px) scale(1.015);
    border-color: rgba(122, 162, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(122, 162, 255, 0.16);
}
.media-card img, .media-card video { width: 100%; height: 100%; object-fit: cover; }
/* 影视卡片里的自动预览视频：源按 320×180 声明，这里拉伸铺满卡片，
   因此画面会比点击后的高清播放“模糊一点”——这就是“降低质量”的效果。
   想恢复清晰预览：把 filter 的 blur 去掉，并把 app.js 里 width/height 改成 1280×720 */
.media-card .card-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0.7px) saturate(1.06) brightness(0.94);
    transform: scale(1.01);                 /* 轻微放大，遮住拉伸后的边缘 */
    transition: filter 0.4s;
}

.media-card:hover .card-preview { filter: blur(0.2px) saturate(1.12) brightness(1); }

.media-card .m-mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6, 6, 16, 0.05) 40%, rgba(8, 8, 22, 0.88)); /* 卡片底部渐变压暗，保证标题看得清 */
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0.8rem 0.9rem;
    gap: 0.3rem;
}
.media-card .m-title { font-size: 0.86rem; font-weight: 600; color: #eaf0ff; line-height: 1.35; }
.media-card .m-meta { font-size: 0.68rem; color: #b6c8e8; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.media-card .m-cat {
    position: absolute; top: 0.6rem; left: 0.6rem;
    font-size: 0.66rem; color: #cfe0ff;
    background: rgba(30, 50, 100, 0.65);
    border: 1px solid rgba(122, 162, 255, 0.4);
    border-radius: 999px; padding: 0.1rem 0.5rem;
    backdrop-filter: blur(6px);
}
.media-card .m-play {
    position: absolute; inset: 0; margin: auto;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(12, 18, 40, 0.55);
    border: 1px solid rgba(160, 190, 255, 0.55);
    display: flex; align-items: center; justify-content: center;
    color: #e8eeff;
    transition: transform 0.3s, background 0.3s;
}
.media-card:hover .m-play { transform: scale(1.12); background: rgba(75, 123, 236, 0.55); }
.media-card .m-dur {
    position: absolute; right: 0.55rem; top: 0.55rem;
    font-size: 0.66rem; color: #d7e2ff;
    background: rgba(0, 0, 0, 0.55); border-radius: 4px; padding: 0.05rem 0.35rem;
}

/* ---------------- 9. 分页 ---------------- */
/* 可调：按钮字号 / 内边距 / 圆角、.pager gap、上下留白 */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line-soft);
    flex-wrap: wrap;
}
.pager button {
    background: rgba(120, 160, 255, 0.08);
    border: 1px solid var(--line-soft);
    color: var(--text-sub);
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s;
}
.pager button:hover:not(:disabled) { background: rgba(120, 160, 255, 0.2); color: #fff; border-color: rgba(122, 162, 255, 0.5); }
.pager button:disabled { opacity: 0.35; cursor: not-allowed; }
.pager .page-info { font-size: 0.78rem; color: var(--text-mute); padding: 0 0.4rem; }
.pager .page-info b { color: var(--accent); font-weight: 600; }

/* ---------------- 10. 播放器（最底部） ---------------- */
/* 可调：.player-dock padding、.music-player 圆角与内边距、封面尺寸 44px、进度条高度与颜色、底部联系行字号 */
.player-dock { padding: 1rem 1.2rem; }

/* 精简版音乐条：播放键 + 小标题 + 进度条 + 时间（没有封面图了）
   一条横排，高度约 40px，比原来矮一截 */
.music-player {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 0.9rem;                /* 播放条圆角：0 = 直角 */
    padding: 0.5rem 0.95rem;              /* 内边距：改小更薄，改大更松 */
    border: 1px solid rgba(120, 160, 255, 0.13);
}
/* 封面图已按需求去掉；下面两条保留是为了兼容旧样式，不影响显示 */
.music-cover { display: none; }
.music-cover img { display: none; }

/* 小标题：固定一小段宽度，太长自动省略号 */
.music-title {
    flex: 0 0 auto;
    max-width: 180px;                     /* 标题最宽：想更长改 240px */
    font-size: 0.76rem;                   /* 标题字号（比原来小一点） */
    color: var(--text-mute);              /* 标题颜色：淡一点，不抢内容 */
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    letter-spacing: 0.02em;
}
.music-title:hover { color: #cfdcff; }

/* 进度条占满中间剩余空间 */
.progress-bar {
    flex: 1;
    height: 3px;                          /* 进度条粗细：4px 更明显 */
    background: rgba(255, 255, 255, 0.1); /* 未播放轨道颜色 */
    border-radius: 2px; position: relative; cursor: pointer;
}
.progress-inner { width: 0%; height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.1s linear; }
.progress-bar.playing { box-shadow: 0 0 12px rgba(122, 162, 255, 0.35); }   /* 播放时进度条微微发光 */
.play-btn {
    background: none; border: none; color: var(--text); cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: color 0.2s, transform 0.2s;
}
.play-btn:hover { color: var(--accent); transform: scale(1.08); }
.play-btn svg { width: 24px; height: 24px; }
.play-btn.small svg { width: 18px; height: 18px; }
.player-time { font-size: 0.7rem; color: var(--text-mute); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 视频播放器（影视页） */
.video-player { display: flex; flex-direction: column; gap: 0.6rem; }
.video-stage {
    position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 46vh;
    background: #05050f; border-radius: 1rem; overflow: hidden;
    border: 1px solid var(--line-soft);
    display: flex; align-items: center; justify-content: center;
}
.video-stage video { width: 100%; height: 100%; object-fit: contain; background: #05050f; }
.video-empty { color: var(--text-mute); font-size: 0.8rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.video-bar { display: flex; align-items: center; gap: 0.8rem; }
.video-bar .v-title { font-size: 0.84rem; color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 11. 生活助手 ---------------- */
/* 可调：.life-grid 列数（repeat(2, …) 改成 3 就是三列）、卡片 min-height、图标尺寸、字号 */
.life-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); /* 列数：2 → 3 就是三宫格 */ gap: 1.2rem; }
.life-card {
    position: relative;
    padding: 1.6rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-soft);
    background: linear-gradient(150deg, rgba(30, 40, 80, 0.55), rgba(12, 12, 28, 0.55));
    overflow: hidden;
    min-height: 220px;                    /* 单个卡片最小高度 */
    display: flex; flex-direction: column; gap: 0.7rem;
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.life-card:hover { transform: translateY(-3px); border-color: rgba(122, 162, 255, 0.45); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }
.life-card::after {
    content: '';
    position: absolute; right: -40px; bottom: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 162, 255, 0.18), transparent 70%);
    pointer-events: none;
}
.life-card .lc-head { display: flex; align-items: center; gap: 0.6rem; }
.life-card .lc-icon {
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(122, 162, 255, 0.14);
    border: 1px solid rgba(122, 162, 255, 0.3);
    display: flex; align-items: center; justify-content: center; color: #9ab4ff;
}
.life-card h3 { font-size: 1.05rem; font-weight: 700; }
.life-card .lc-badge {
    font-size: 0.64rem; color: #ffcf8f; border: 1px solid rgba(255, 190, 110, 0.35);
    background: rgba(255, 170, 80, 0.1); border-radius: 999px; padding: 0.05rem 0.45rem;
}
.life-card p { font-size: 0.8rem; color: var(--text-sub); line-height: 1.65; }
.life-card .lc-body { flex: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
    font-size: 0.72rem; color: #b9c8ea; background: rgba(120, 160, 255, 0.1);
    border: 1px solid var(--line-soft); border-radius: 999px; padding: 0.18rem 0.6rem;
    cursor: pointer; transition: all 0.25s;
}
.chip:hover { background: rgba(120, 160, 255, 0.25); color: #fff; }
.link-list { display: flex; flex-direction: column; gap: 0.4rem; }
.link-row {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.78rem; color: var(--text-sub);
    padding: 0.35rem 0.5rem; border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.link-row:hover { background: rgba(120, 160, 255, 0.1); color: #dce6ff; }
.link-row .dot-mark { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.link-row .lr-note { margin-left: auto; font-size: 0.68rem; color: #62708f; }

/* 生活助手：人物卡 / 兴趣结果 / 工具箱结果（文案都在 life.html 里） */
.life-empty { font-size: 0.76rem; color: #7a8ab0; line-height: 1.7; }
.meet-row { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 0.7rem; }
.meet-avatar { width: 46px; height: 46px; }
.meet-name { font-size: 0.9rem; color: #e8eeff; }
.meet-bio { font-size: 0.72rem; color: #7a8ab0; }
.chip.on { background: rgba(120, 160, 255, 0.3); color: #fff; border-color: rgba(150, 185, 255, 0.5); }
.talk-result { margin-top: 0.7rem; font-size: 0.78rem; color: #9fb0d0; line-height: 1.7; }
.talk-hit { margin-bottom: 0.45rem; }
.talk-hit b { color: #cfe0ff; font-weight: 500; }
.talk-hit span { color: #62708f; }
.box-result { margin-top: 0.6rem; }
.box-cover { width: 100%; border-radius: 0.7rem; margin-top: 0.4rem; }

/* ---------------- 12. 紧急广播页 ---------------- */
/* 可调：.broadcast-hero padding、渐变强度、.bcast-grid 列数、卡片圆角与字号 */
.broadcast-hero {
    padding: 1.8rem 2rem 1.6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.broadcast-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 60, 80, 0.18), transparent 60%);
    pointer-events: none;
}
.broadcast-hero h1 {
    font-size: 2.2rem; font-weight: 800; letter-spacing: 0.12em;
    color: #ffe7ea;
    text-shadow: 0 0 30px rgba(255, 70, 100, 0.45);
}
.broadcast-hero .bh-sub { margin-top: 0.7rem; font-size: 0.82rem; color: #ffb3c0; letter-spacing: 0.1em; }
.broadcast-hero .bh-gif-box {
    position: absolute; right: 2rem; top: 50%; transform: translateY(-50%);
    width: 260px; height: 106px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    pointer-events: none;
}
@media (max-width: 1100px) { .broadcast-hero .bh-gif-box { display: none; } }  /* 窄屏先让位给标题，避免压字 */

.broadcast-hero .bh-line {
    width: 120px; height: 2px; margin: 1rem auto 0;
    background: linear-gradient(90deg, transparent, #ff4d6d, transparent);
    box-shadow: 0 0 16px rgba(255, 77, 109, 0.6);
}

.bcast-panel { padding: 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; }
.bcast-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bcast-panel-head h2 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }

.group-dots { display: flex; gap: 0.35rem; }
.group-dots i {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255, 120, 140, 0.28); display: block; transition: all 0.3s;
}
.group-dots i.on { background: #ff4d6d; box-shadow: 0 0 10px #ff4d6d; }

.bcast-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 广播卡列数：3 → 2 会变大 */
    gap: 0.9rem;                          /* 广播卡间距 */
    min-height: 200px;
    transition: opacity 0.45s;
}
.bcast-grid.fading { opacity: 0; }

.bcast-card {
    background: rgba(255, 60, 80, 0.06);  /* 广播卡淡红底，已由覆盖层改为透明 */
    border: 1px solid rgba(255, 80, 100, 0.22);
    border-radius: 1rem;                  /* 广播卡圆角 */
    padding: 0.9rem 1rem;                /* 广播卡内边距 */
    display: flex; flex-direction: column; gap: 0.45rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.bcast-card:hover { border-color: rgba(255, 90, 120, 0.55); box-shadow: 0 0 22px rgba(255, 60, 90, 0.2); }
.bcast-card .bc-top { display: flex; align-items: center; gap: 0.45rem; font-size: 0.68rem; }
.bcast-card .bc-lv {
    color: #ffd0d8; background: rgba(255, 60, 90, 0.22);
    border: 1px solid rgba(255, 100, 130, 0.4); border-radius: 4px; padding: 0.02rem 0.35rem;
}
.bcast-card .bc-place { color: #ff9db0; }
.bcast-card .bc-time { margin-left: auto; color: #8f7a83; font-variant-numeric: tabular-nums; }
.bcast-card .bc-title { font-size: 0.88rem; font-weight: 600; color: #ffe4e8; line-height: 1.4; }
.bcast-card .bc-text {
    font-size: 0.75rem; color: #d7aab2; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 半球地图 */
.globe-panel { display: flex; gap: 1.5rem; align-items: stretch; padding: 1.5rem 1.7rem 1.8rem; flex-wrap: wrap; }
.globe-stage {
    position: relative;
    flex: 1.4;
    min-width: 360px;
    min-height: 420px;
    border-radius: 1.4rem;
    background: radial-gradient(circle at 50% 45%, rgba(20, 40, 90, 0.55), rgba(5, 7, 18, 0.9) 70%);
    border: 1px solid rgba(90, 130, 220, 0.25);
    overflow: hidden;
}
.globe-stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.globe-caption {
    position: absolute; left: 1rem; top: 0.9rem; z-index: 6;
    font-size: 0.68rem; color: #7f92b8; letter-spacing: 0.12em;
}
.globe-legend {
    position: absolute; right: 1rem; bottom: 0.8rem; z-index: 6;
    font-size: 0.66rem; color: #7f92b8; display: flex; align-items: center; gap: 0.4rem;
}
.globe-legend .lg-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 8px #ff4d6d; }

.globe-floating {
    position: absolute;
    left: 1.1rem; bottom: 1.1rem;
    transform: translateY(6px) scale(0.98);
    width: min(320px, 52%);
    background: rgba(10, 8, 22, 0.85);
    border: 1px solid rgba(255, 90, 120, 0.45);
    border-radius: 0.9rem;
    padding: 0.8rem 0.95rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.globe-floating.show { opacity: 1; transform: translateY(0) scale(1); }
.globe-floating .gf-place { font-size: 0.72rem; color: #ff9db0; margin-bottom: 0.3rem; display: flex; gap: 0.4rem; align-items: center; }
.globe-floating .gf-title { font-size: 0.86rem; color: #ffe6ea; font-weight: 600; margin-bottom: 0.3rem; }
.globe-floating .gf-text { font-size: 0.74rem; color: #d9b4bc; line-height: 1.6; }

.prov-rank { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 0.7rem; }
.prov-rank h3 { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.prov-rank .pr-sub { font-size: 0.7rem; color: var(--text-mute); }
.prov-list { display: flex; flex-direction: column; gap: 0.32rem; max-height: 380px; overflow-y: auto; padding-right: 0.3rem; }
.prov-row { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; padding: 0.25rem 0.35rem; border-radius: 8px; transition: background 0.2s; }
.prov-row:hover, .prov-row.on { background: rgba(255, 80, 110, 0.12); }
.prov-row .pr-name { font-size: 0.76rem; color: #cdd8f0; width: 62px; flex-shrink: 0; }
/* 时间 · 等级：跟在进度条右侧、同一行（原来单独占一行，太占地方） */
.prov-row .pr-meta {
    flex: 0 0 auto;
    font-size: 0.63rem;
    color: rgba(200, 216, 240, 0.58);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;   /* 数字等宽，几行能对齐 */
}
.prov-row .pr-bar { flex: 1; min-width: 36px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.prov-row .pr-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff4d6d, #ff9db0); border-radius: 3px; }
.prov-row .pr-num { font-size: 0.7rem; color: #ff9db0; width: 20px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------------- 13. 我要发表（聚光灯） ---------------- */
/* 可调：遮罩暗度与模糊（.spotlight-mask 的 background 透明度 / blur 值）、信封尺寸与纸色、上传区虚线 */
.spotlight-target { position: relative; z-index: 60; }

.spotlight-mask {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(4, 4, 12, 0.55);     /* 聚光灯遮罩：最后一位 0.55 越大越暗 */
    backdrop-filter: blur(7px) saturate(0.9); /* 模糊值：越大背景越糊 */
    -webkit-backdrop-filter: blur(7px) saturate(0.9);
    /* ★ 方形聚光灯：两块线性遮罩相交，挖出一个矩形洞，四条边由 js 按容器外框写入
       --sl / --st / --sr / --sb（左 / 上 / 右 / 下）。想让洞离容器更远就调大 app.js 里的 SPOT_PAD */
    mask-image:
        linear-gradient(to right, #000 0, #000 var(--sl, 200px), transparent var(--sl, 200px), transparent var(--sr, 1200px), #000 var(--sr, 1200px), #000 100%),
        linear-gradient(to bottom, #000 0, #000 var(--st, 160px), transparent var(--st, 160px), transparent var(--sb, 860px), #000 var(--sb, 860px), #000 100%);
    -webkit-mask-image:
        linear-gradient(to right, #000 0, #000 var(--sl, 200px), transparent var(--sl, 200px), transparent var(--sr, 1200px), #000 var(--sr, 1200px), #000 100%),
        linear-gradient(to bottom, #000 0, #000 var(--st, 160px), transparent var(--st, 160px), transparent var(--sb, 860px), #000 var(--sb, 860px), #000 100%);
    /* 两块遮罩默认是"叠加"（add）：左右黑带 + 上下黑带 叠加后，正好只剩矩形洞是透明的，
       不要把这里改成 intersect，否则会变成只有四个角变暗 */
    mask-composite: add;
    opacity: 1;
    transition: opacity 0.35s;
    display: none;
}
body.spotlight-on .spotlight-mask { display: block; }
.spotlight-exit {
    position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 61;
    background: rgba(20, 24, 46, 0.85);
    border: 1px solid var(--line); color: var(--text-sub);
    border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.76rem;
    cursor: pointer; display: none;
}
body.spotlight-on .spotlight-exit { display: block; }

.publish-panel { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 1.2rem; }

/* 发表页（穿梭背景）：中间容器只加一层很淡的玻璃底，内容仍然透出背景 */
body[data-page="publish"] .publish-panel {
    background: transparent;                      /* 底色保持全透（没有深色板子），只留一层雾化 */
    backdrop-filter: blur(8px) saturate(1.06);    /* ★ 就是这层雾化＝“云气”：光带进到表单区会被揉开 */
    -webkit-backdrop-filter: blur(8px) saturate(1.06);
}


.type-tabs { display: flex; gap: 0.6rem; padding: 0.35rem; background: rgba(255, 255, 255, 0.06); border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); align-self: flex-start; }   /* 半透明更透，背景光带能透过来 */
.type-tab {
    border: none; background: transparent; color: var(--text-mute);
    font-size: 0.86rem; padding: 0.5rem 1.3rem; border-radius: 999px;
    cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 0.4rem;
}
.type-tab:hover { color: #c4d3f5; }
.type-tab.active {
    background: linear-gradient(135deg, rgba(75, 123, 236, 0.75), rgba(56, 103, 214, 0.55));
    color: #fff;
    box-shadow: 0 4px 18px rgba(75, 123, 236, 0.35);
    transform: translateY(-1px);
}

.publish-form { display: none; flex-direction: column; gap: 1rem; }
.publish-form.active { display: flex; animation: formIn 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes formIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.form-row .grow { flex: 1; min-width: 200px; }

.field {
    background: rgba(8, 8, 22, 0.5);       /* 输入框底色（保持半透明，看得见星空） */
    border: 1px solid var(--line-soft);
    border-radius: 0.8rem;                /* 输入框圆角 */
    color: var(--text);
    font-size: 0.86rem;                   /* 输入框字号 */
    padding: 0.6rem 0.9rem;              /* 输入框内边距，改大整体更高 */
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    font-family: inherit;
    width: 100%;
}
.field:focus { border-color: rgba(122, 162, 255, 0.6); box-shadow: 0 0 16px rgba(122, 162, 255, 0.15); }
.field::placeholder { color: #93aad2; }

.anon-toggle { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; color: var(--text-sub); white-space: nowrap; cursor: pointer; }
.anon-toggle input { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }

/* 正文书写区（原来的信纸底图 / 纸色 / 邮票已按需求去掉，只留一块透明书写区） */
.envelope {
    position: relative;
    border-radius: 0.9rem;
    padding: 1.4rem 1.5rem 1rem;
    background: transparent;
    border: 1px dashed rgba(122, 162, 255, 0.22);   /* 只留一圈极淡的虚线，标出书写范围 */
    overflow: hidden;
}
/* 信纸顶部的折角、右上角的邮票图都已删除，不再需要 .envelope::before / .stamp 的样式 */
.envelope textarea {
    width: 100%;
    min-height: 170px;                    /* 书写区最小高度 */
    padding: 0.3rem 0 0.6rem;             /* 上下留一点，第一行文字不贴边（横线跟着一起下移） */
    background: transparent;
    border: none;
    outline: none;
    resize: vertical;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 2;
    color: var(--text-sub);               /* 浅色字，直接落在星空底上 */
    /* 信纸横线：每 2em 一条（= 行高 2），线落在每行文字基线下方，跟着内容一起滚动 */
    background-image: repeating-linear-gradient(
        180deg,
        transparent 0 1.7em,
        rgba(178, 202, 255, 0.2) 1.7em 1.75em
    );
    background-attachment: local;
}
.envelope textarea::placeholder { color: var(--text-mute); opacity: 0.75; }
.envelope-foot { display: flex; align-items: center; justify-content: flex-end; margin-top: 0.5rem; gap: 1rem; }
.counter { font-size: 0.72rem; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.counter.over { color: var(--danger); font-weight: 600; }

/* 上传容器 */
.dropzone {
    border: 1.5px dashed rgba(122, 162, 255, 0.4);
    border-radius: 1rem;
    background: rgba(10, 12, 30, 0.45);
    min-height: 220px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 1.2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.dropzone:hover, .dropzone.dragover {
    border-color: rgba(122, 162, 255, 0.8);
    background: rgba(30, 44, 96, 0.35);
    box-shadow: inset 0 0 30px rgba(122, 162, 255, 0.12);
}
.dropzone .dz-icon { color: #9ab4ff; }
.dropzone .dz-main { font-size: 0.9rem; color: var(--text-sub); }
.dropzone .dz-sub { font-size: 0.72rem; color: var(--text-mute); }
.dropzone.has-file { min-height: auto; padding: 0.8rem; }
.preview-box { width: 100%; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.preview-box img, .preview-box video { max-width: 100%; max-height: 320px; border-radius: 0.7rem; object-fit: contain; }
.file-meta { font-size: 0.72rem; color: var(--text-mute); }
.file-meta b { color: #9ab4ff; }

.geo-box {
    display: none;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 1rem 1.1rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 80, 100, 0.3);
    background: rgba(255, 60, 80, 0.07);
}
.geo-box.show { display: flex; animation: formIn 0.4s; }
.geo-box select, .geo-box input {
    background: rgba(8, 8, 22, 0.7);
    border: 1px solid var(--line-soft);
    color: var(--text);
    border-radius: 0.6rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    outline: none;
    font-family: inherit;
}
.geo-box select { min-width: 96px; cursor: pointer; }
.geo-box input { flex: 1; min-width: 130px; }
.geo-note { width: 100%; font-size: 0.68rem; color: #ff9db0; }

.publish-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 0.4rem; justify-content: flex-end; }
.publish-actions .cat-picker { margin-right: auto; }   /* 分类留在左侧，推荐按钮固定贴右 */
.btn-primary {
    /* 按钮保持蓝色渐变：文字是白色，主题色换成浅色时不适合跟着变 */
    background: linear-gradient(135deg, #4b7bec, #3867d6);
    border: none; color: #fff; font-size: 0.88rem; font-weight: 600;
    padding: 0.65rem 2rem; border-radius: 999px; cursor: pointer;
    box-shadow: 0 6px 20px rgba(75, 123, 236, 0.4);
    transition: transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(75, 123, 236, 0.55); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-ghost {
    background: transparent; border: 1px solid var(--line-soft); color: var(--text-sub);
    font-size: 0.8rem; padding: 0.55rem 1.2rem; border-radius: 999px; cursor: pointer; transition: all 0.25s;
}
.btn-ghost:hover { border-color: rgba(122, 162, 255, 0.5); color: #fff; }
.publish-note { font-size: 0.72rem; color: var(--text-mute); flex: 1 1 200px; min-width: 0; }   /* 说明文字可收缩换行，推荐按钮不会被挤到下一行 */

/* ---- 13b. 分类选择：矩形按钮（发表按钮左侧一字排开，点击即选，类似选规格） ---- */
/* 可调：圆角（现在是 3px 的小方角）、选中色、按钮大小 */
.cat-picker {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cat-picker-label {
    font-size: 0.72rem;
    color: var(--text-mute);
    margin-right: 0.2rem;
    white-space: nowrap;
}

.cat-chip {
    border: 1px solid rgba(150, 200, 255, 0.45);   /* 未选中：淡蓝描边 */
    background: rgba(18, 58, 103, 0.55);
    color: #d3e2ff;
    font-size: 0.76rem;
    line-height: 1;
    padding: 0.46rem 0.85rem;
    border-radius: 3px;                            /* 矩形（不是胶囊）：想要更方就写 0，想要圆角写 8px */
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
    white-space: nowrap;
}

.cat-chip:hover {
    border-color: rgba(190, 220, 255, 0.9);
    background: rgba(36, 88, 155, 0.7);
    color: #fff;
    transform: translateY(-1px);
}

.cat-chip.active {
    background: linear-gradient(135deg, #5c8df0, #3f6fd8);  /* 选中：实心蓝 */
    border-color: #a8c6ff;
    color: #fff;
    box-shadow: 0 4px 14px rgba(64, 118, 226, 0.4);
}

.cat-chip.active::after {
    content: '✓';                                  /* 选中打勾（不想要删掉这段） */
    margin-left: 0.35rem;
    font-size: 0.72rem;
    opacity: 0.9;
}

/* ---- 13c. 发表页：发表容器上下左右居中 ---- */
/* 顶部标题区已删掉，main-wrapper 里只剩发表容器 + 底部联系行；
   联系行改成绝对定位贴底，才不会被算进垂直居中的高度里、把容器顶偏。 */
body[data-page="publish"] .main-wrapper {
    width: 100%;
    /* 撑满整屏（减掉 body 上下留白，否则会多出一屏底边、容器被顶偏），容器才落在视口正中间 */
    min-height: calc(100vh - var(--page-gap-v));
    justify-content: safe center;                  /* 垂直居中；内容比屏幕高时自动退回顶部，不会被裁掉 */
    align-items: center;
    position: relative;
}

/* 发表页不要导航栏：只留一块居中的表单，界面干净 */
body[data-page="publish"] .sidebar {
    display: none !important;
}
body[data-page="publish"] .player-dock {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

/* 输入框底纹现在全站统一，见文件末尾第 18 节 */

body[data-page="publish"] .page-head,
body[data-page="publish"] .broadcast-section,
body[data-page="publish"] .publish-panel,
body[data-page="publish"] .player-dock {
    width: min(1080px, 100%);                      /* 居中容器宽度：想更宽改成 1200px */
    margin-left: auto;
    margin-right: auto;                            /* 水平居中 */
}

/* 矮屏（视口高 ≤880px，如 1280×800）：把面板压薄一点，尽量还保持整块居中 */
@media (max-height: 880px) {
    body[data-page="publish"] .publish-panel { padding: 1.15rem 1.4rem 1.3rem; gap: 0.85rem; }
    body[data-page="publish"] #textBody { min-height: 112px; }
    body[data-page="publish"] .page-head { padding: 5px 1.3rem 0; }
    body[data-page="publish"] .type-tab { padding: 0.42rem 1rem; font-size: 0.8rem; }
    body[data-page="publish"] .envelope { padding: 1rem 1.2rem 0.7rem; }
}

/* 窄屏（≤900px）取消垂直居中，避免内容比屏幕高时被顶出可视区 */
@media (max-width: 900px) {
    body[data-page="publish"] .main-wrapper { justify-content: flex-start; min-height: 0; }
}

/* ---------------- 14. 登录 / 注册 ---------------- */
/* 可调：.auth-card 宽度 min(860px, 100%)、左右分栏比例 42%、圆角、输入框高度 */
.auth-layout { min-height: calc(100vh - var(--page-gap-v)); display: flex; align-items: center; justify-content: center; width: 100%; position: relative; z-index: 1; }
.auth-card {
    width: min(860px, 100%);              /* 登录卡宽度：改大更宽 */
    display: flex;
    border-radius: 1.8rem;                /* 登录卡圆角 */
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(16, 16, 36, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.auth-left {
    width: 42%;                           /* 左侧品牌区占比：42% ↔ 58% */
    min-width: 240px;
    padding: 2.6rem 2rem;
    background:
        radial-gradient(circle at 30% 20%, rgba(122, 162, 255, 0.3), transparent 60%),
        linear-gradient(160deg, rgba(40, 44, 96, 0.6), rgba(8, 8, 22, 0.94)); /* 深蓝渐变（亮蓝主题） */
    display: flex; flex-direction: column; justify-content: center; gap: 1rem;
    border-right: 1px solid var(--line-soft);
    position: relative;
}
/* 登录页站标：与侧栏同一张图片 assets/logo.svg（换图只改文件）
   可调：88px 尺寸；发光强度在 filter 里 */
.auth-logo {
    width: 88px; height: 88px;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    filter: drop-shadow(0 0 18px rgba(90, 130, 255, 0.55));
}
.auth-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.auth-left h2 { font-size: 1.6rem; letter-spacing: 0.08em; }
.auth-left p { font-size: 0.8rem; color: #a9bbe0; line-height: 1.8; }
.auth-left .auth-quote { margin-top: auto; font-size: 0.72rem; color: #7f90b8; border-left: 2px solid rgba(122, 162, 255, 0.5); padding-left: 0.7rem; }
.auth-right { flex: 1; padding: 2.4rem 2.2rem; display: flex; flex-direction: column; gap: 1rem; }
.auth-tabs { display: flex; gap: 1.4rem; margin-bottom: 0.4rem; }
.auth-tab {
    background: none; border: none; color: var(--text-mute); font-size: 1.02rem; font-weight: 600;
    padding: 0.4rem 0 0.55rem; cursor: pointer; position: relative; transition: color 0.25s;
}
.auth-tab.active { color: var(--text); }
.auth-tab.active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
}
.auth-form { display: none; flex-direction: column; gap: 0.9rem; }
.auth-form.active { display: flex; animation: formIn 0.35s; }
.auth-form label { font-size: 0.76rem; color: var(--text-mute); display: block; margin-bottom: 0.3rem; }
.auth-avatar-row { display: flex; align-items: center; gap: 0.9rem; }
.avatar-picker {
    width: 70px; height: 70px; border-radius: 50%;
    background: rgba(120, 160, 255, 0.1);
    border: 1px dashed rgba(122, 162, 255, 0.45);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    color: var(--accent); font-size: 0.6rem; cursor: pointer; overflow: hidden; flex-shrink: 0;
    text-align: center; line-height: 1.2;
    transition: background 0.25s, border-color 0.25s;
}
.avatar-picker:hover { background: rgba(122, 162, 255, 0.2); border-color: rgba(122, 162, 255, 0.8); }
.avatar-picker .ap-plus { font-size: 1.05rem; line-height: 1; }
.avatar-picker .ap-plus, .avatar-picker .ap-text { pointer-events: none; }
.avatar-picker img { width: 100%; height: 100%; object-fit: cover; }
/* 管理员登录页（只保留一个入口）：上方小标签 + 标题 + 说明 + 回首页 */
.auth-kicker { font-size: 0.66rem; letter-spacing: 0.22em; color: #7f90b8; }
.auth-title { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.02em; }
.auth-desc { font-size: 0.78rem; line-height: 1.8; color: var(--text-sub); }
.auth-back { margin-top: auto; font-size: 0.75rem; color: var(--text-mute); }
.auth-back a:hover { color: var(--accent); }

.auth-hint { font-size: 0.7rem; color: var(--text-mute); line-height: 1.6; }
.auth-error { font-size: 0.75rem; color: #ff8098; min-height: 1em; }

/* 已登录：当前账号 + 退出登录 */
.auth-signed {
    margin: 0.2rem 0 0.4rem; padding: 1rem 1.1rem;
    border-radius: 1rem; border: 1px solid rgba(122, 162, 255, 0.25);
    background: rgba(122, 162, 255, 0.08);
}
.auth-signed[hidden] { display: none !important; }
.auth-signed .as-line { font-size: 0.8rem; color: var(--text-sub); }
.auth-signed .as-line b { color: #fff; font-weight: 600; }
.auth-signed .as-actions { display: flex; gap: 0.65rem; margin-top: 0.85rem; flex-wrap: wrap; }
.auth-signed .as-go { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* ---------------- 15. 轻提示 / 弹窗 ---------------- */
/* 可调：提示停留时长（js 里 2600）、弹窗宽度、遮罩透明度 */
.toast-wrap {
    position: fixed; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
    display: flex; flex-direction: column; gap: 0.5rem; z-index: 200; pointer-events: none;
}
.toast {
    background: rgba(20, 26, 52, 0.92);
    border: 1px solid rgba(122, 162, 255, 0.4);
    color: #dfe8ff;
    font-size: 0.82rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
    animation: toastIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}
.toast.err { border-color: rgba(255, 90, 120, 0.55); color: #ffc0cc; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.modal-mask {
    position: fixed; inset: 0; z-index: 150;
    background: rgba(4, 4, 12, 0.75);
    backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-mask.show { display: flex; }
.modal {
    width: min(680px, 100%);               /* 弹窗宽度上限 */
    max-height: 84vh;
    overflow-y: auto;
    background: rgba(18, 18, 40, 0.95);
    border: 1px solid var(--line);
    border-radius: 1.4rem;                /* 弹窗圆角 */
    padding: 1.8rem 1.9rem 2rem;         /* 弹窗内边距 */
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: toastIn 0.35s;
}
.modal h3 { font-size: 1.25rem; margin-bottom: 0.4rem; padding-right: 2rem; }
.modal .m-sub { font-size: 0.74rem; color: var(--text-mute); margin-bottom: 1rem; display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; }
.modal .m-body { font-size: 0.88rem; line-height: 1.95; color: var(--text-sub); white-space: pre-wrap; }
.modal .m-close {
    position: absolute; right: 1rem; top: 0.9rem;
    background: none; border: none; color: var(--text-mute); font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.modal .m-close:hover { color: var(--text); }
.modal .m-cat {
    font-size: 0.7rem; color: #9ab4ff; border: 1px solid rgba(120, 160, 255, 0.3);
    background: rgba(120, 160, 255, 0.1); border-radius: 999px; padding: 0.08rem 0.55rem;
}
.modal .m-media { width: 100%; border-radius: 0.8rem; margin-bottom: 1rem; max-height: 46vh; object-fit: contain; }

/* 空状态 */
.empty {
    grid-column: 1 / -1;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text-mute);
    font-size: 0.86rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.empty svg { width: 34px; height: 34px; color: #3f4d6e; }

/* ---------------- 16. 响应式 ---------------- */
/* 可调：下面三个断点 1200 / 1024 / 900 / 560 只是切换点，按需要改数字；每个断点内改对应字号与列数 */
@media (max-width: 1200px) {                /* 1200px 以下：间距略收紧 */
    .card-grid { gap: 0.8rem; }
    .content-body { gap: 0.9rem; }
}
@media (max-width: 1024px) {                /* 1024px 以下：侧栏变顶部横排、页面留白减到 1rem */
    body { padding: 1rem; overflow-x: hidden; }
    .app-layout { flex-direction: column-reverse; }
    .sidebar {
        width: 100%; max-width: none;  /* 窄屏恢复整行宽（否则上面的 max-width: 220px 会把导航压成一小块） */
        flex-direction: row; justify-content: center;
        flex-wrap: wrap; gap: 0.5rem 0.9rem;
        padding: 0.7rem 1rem; border-radius: 1rem; position: static; height: auto;
    }
    .logo { margin-bottom: 0; font-size: 1.3rem; }
    .nav-menu { flex-direction: row; gap: 0.5rem 0.7rem; flex-wrap: wrap; justify-content: center; width: auto; }
    .nav-item { width: auto; padding: 0.24rem 0.4rem; }   /* 顶部横排时每项按内容宽度，别再占满整行 */
    .nav-item.active::before { right: auto; left: 50%; top: auto; bottom: -8px; transform: translateX(-50%); width: 18px; height: 2px; }
    .sidebar-publish { margin: 0; width: auto; flex-direction: row; gap: 0.45rem; padding: 0.3rem 0.55rem; }
    .sidebar-publish span { display: inline; }   /* 顶部横排时也显示文字，和旁边图标对齐 */
    .sidebar-publish .icon-box { width: 34px; height: 34px; }
    .user-profile { flex-direction: row; }
    .content-body { flex-direction: column; gap: 0.8rem; }
    .timeline-wrap { display: none !important; }
    .auth-card { flex-direction: column; }
    .auth-left { width: 100%; padding: 1.8rem 1.5rem; }
    .auth-right { padding: 1.6rem 1.4rem; }
}
@media (max-width: 900px) {                 /* 900px 以下：网格降为 2 列 */
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bcast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .life-grid { grid-template-columns: 1fr; }
    .page-head { padding: 5px 1.3rem 0; }
    .page-head h1 { font-size: 1.6rem; }
    .content-panel { padding: 1.1rem 1rem; }
    .globe-panel { flex-direction: column; padding: 1.1rem 1rem; }
    .globe-stage { min-width: 0; min-height: 300px; }
    .prov-rank { min-width: 0; }
    .broadcast-hero h1 { font-size: 1.8rem; }
}
@media (max-width: 560px) {                 /* 560px 以下：手机单列 */
    .card-grid { grid-template-columns: 1fr; }
    .bcast-grid { grid-template-columns: 1fr; }
    .nav-item span { display: none; }
    .toolbar { flex-direction: column; align-items: stretch; }
    body { padding: 0.7rem; }
    .sidebar { padding: 0.5rem 0.6rem; gap: 0.3rem 0.5rem; }
    .nav-item span { font-size: 0.72rem; }
    .logo { font-size: 1.05rem; letter-spacing: 0; }
    .nav-menu { gap: 0.4rem 0.7rem; }
    .nav-item svg { width: 19px; height: 19px; }
    .sidebar-publish .icon-box { width: 30px; height: 30px; }
    .page-head { padding: 5px 1rem 0; }
    .page-head h1 { font-size: 1.35rem; }
}

/* =========================================================
   17. 统一外观覆盖：容器不显示边框、底色透明（按需求追加）
   —— 想让某个容器重新显示边框：把它的选择器从下面第一组里删掉即可
   —— 想让某个容器重新有底色：从第二组里删掉，或单独写 background
   ========================================================= */
.glass-panel,
.broadcast-section,
.sidebar,
.page-head,
.content-panel,
.timeline-ruler,
.article-card,
.media-card,
.life-card,
.bcast-card,
.globe-panel,
.globe-stage,
.music-player,
.publish-panel,
.auth-card,
.auth-left,
.type-tabs,
.modal,
.toast {
    border: 0 !important;
}

/* 去掉容器的外阴影与内高光：没有阴影也不会再出现“隐约的边” */
.glass-panel { box-shadow: none !important; }

/* 广播条：只留红色底 + 图标闪烁，去掉描边光晕（想恢复脉动就把 animation 一行删掉） */
.broadcast-section { box-shadow: none !important; animation: none !important; }

/* 底色透明：玻璃面板与各类卡片都不再铺底色，直接透出星空背景 */
.glass-panel,
.article-card,
.media-card,
.life-card,
.bcast-card,
.music-player,
.type-tabs,
.auth-card,
.auth-left,
.auth-right,
.globe-stage {
    background: transparent !important;
}

/* 透明之后靠极淡的高光/阴影保留层次（想更平可以把这两行删掉） */
.article-card:hover,
.media-card:hover,
.life-card:hover {
    background: rgba(120, 160, 255, 0.06) !important;
}

/* 底部播放器容器下方的一行“联系我们”（内容直接写在各页面 HTML 的 .player-dock 里） */
.player-dock { padding: 0.9rem 1.2rem 0.7rem; }

.player-contact {
    margin-top: 0.55rem;
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-mute);
    letter-spacing: 0.02em;
}

.player-contact a { color: #9ab4ff; text-decoration: none; }
.player-contact a:hover { color: #cfe0ff; text-decoration: underline; }
.player-contact .pc-gap { white-space: pre; }   /* 两个信息之间的空隙宽度 */

/* 播放条已去掉：原播放器容器只留「联系我们」一行，留白同步收窄 */
.player-dock-contact { padding: 0.15rem 1.2rem 0.35rem; }
.player-dock-contact .player-contact { margin-top: 0; }

/* =========================================================
   18. 作者名链接 & 用户信息卡（点列表里的名字 → 弹出这个人的简单信息）
   可调：.user-link 的颜色 / 虚线下划线；.user-peek 的宽度；.up-stats 的底色与数字字号
   ========================================================= */
.user-link {
    color: #a9c4ff;                        /* 作者名颜色（比正文亮一点，看得出是链接） */
    text-decoration: none;
    border-bottom: 1px dashed rgba(169, 196, 255, 0.42);  /* 虚线提示可点；不想显示改成 none */
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.user-link:hover,
.user-link:focus-visible {
    color: #e6eeff;
    border-bottom-color: #e6eeff;
}

.user-peek { max-width: 420px; }           /* 用户信息弹层的宽度 */

.up-head { display: flex; gap: 1rem; align-items: center; }
.up-avatar { width: 66px; height: 66px; flex: 0 0 auto; }
.up-id h3 { margin: 0; }
.up-id .m-sub { margin: 0.35rem 0 0; }
.up-contact { margin-top: 0.4rem; font-size: 0.74rem; color: #9ab4ff; }

/* 作者小头像（列表 / 详情里跟在名字前） */
.u-avatar {
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid rgba(150, 185, 255, 0.35);   /* 细描边；不要可改 0 */
    flex: 0 0 auto;
}
.user-chip { display: inline-flex; align-items: center; gap: 0.34rem; }  /* 头像 + 名字的间距 */

/* 发表统计：文字 / 图像 / 影像 三个数字块 */
.up-stats { display: flex; gap: 0.6rem; margin: 1.1rem 0 1rem; }
/* 三个数字块都是链接：点「文字 / 图像 / 影像」跳到对应页面，只列这个人的作品 */
.up-stat {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0 0.55rem;
    border-radius: var(--radius-md);
    background: rgba(120, 160, 255, 0.08);   /* 三块底色，想更淡改 0.05 */
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.up-stat:hover { background: rgba(120, 160, 255, 0.18); transform: translateY(-1px); }
.up-stats b { display: block; font-size: 1.15rem; color: #e8eeff; }
.up-stats span { font-size: 0.7rem; color: var(--text-mute); }

.up-actions { display: flex; gap: 0.6rem; align-items: center; }
.up-hint { font-size: 0.74rem; color: var(--text-mute); }   /* 非本人时的提示文案 */

/* =========================================================
   19. 审核后台（admin.html）与推荐页关闭按钮
   ---------------------------------------------------------
   可调参数速查：
   · 后台整体宽度  .admin-wrap 的 min(1180px, 100%)
   · 缩略图尺寸    .rc-thumb 的 width / height
   · 统计卡列数    .stat-cards 的 repeat(4, 1fr)
   · 各类型徽标色  .b-text / .b-image / .b-movie / .b-broadcast
   · 各状态色      .s-pending / .s-published / .s-rejected
   ========================================================= */

/* ---- 19a. 推荐页右上角关闭按钮（点击回首页） ---- */
.publish-panel { position: relative; }             /* 给关闭按钮做定位基准 */
.publish-close {
    position: absolute;
    top: 14px;                                      /* 距容器上边：想更贴边改 10px */
    right: 14px;                                    /* 距容器右边 */
    width: 32px; height: 32px;                      /* 按钮直径 */
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line-soft);
    background: rgba(10, 10, 26, 0.55);
    color: var(--text-mute);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}
.publish-close:hover {
    color: #fff;
    border-color: rgba(150, 185, 255, 0.6);
    background: rgba(120, 160, 255, 0.18);
    transform: rotate(90deg);                       /* 悬停转一下，提示是关闭 */
}

/* ---- 19b. 后台整体布局 ---- */
.admin-wrap {
    width: min(1180px, 100%);                       /* 后台内容宽度 */
    margin: 0 auto;
    padding: 2.4rem 2rem 3.2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;                                    /* 各块之间的间距 */
}

/* 顶部标题条 */
.admin-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: 1.3rem 1.5rem;
}
.admin-head-left h1 { font-size: 1.5rem; margin: 0 0 0.35rem; }
.admin-head-left .sub { font-size: 0.82rem; color: var(--text-mute); }
.admin-head-right { display: flex; align-items: center; gap: 0.8rem; }
.admin-back { font-size: 0.8rem; color: var(--text-mute); text-decoration: none; }
.admin-back:hover { color: #cfe0ff; }
.admin-who {
    font-size: 0.8rem; color: #bfd2ff;
    padding: 0.3rem 0.7rem; border-radius: 999px;
    background: rgba(120, 160, 255, 0.12);          /* 当前管理员底色 */
}
.admin-logout {
    border: 1px solid var(--line); background: transparent;
    color: var(--text-mute); font-size: 0.78rem;
    padding: 0.38rem 0.8rem; border-radius: 999px; cursor: pointer;
}
.admin-logout:hover { color: #fff; border-color: rgba(150, 185, 255, 0.5); }

/* ---- 19c. 四张统计卡（点一下等于筛选） ---- */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);          /* 四列；窄屏下面会自动变两列 */
    gap: 0.85rem;
}
.stat-card {
    text-align: left;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-soft);
    background: rgba(16, 16, 36, 0.55);
    cursor: pointer;
    transition: all 0.2s;
}
.stat-card strong { display: block; font-size: 1.6rem; color: #e9efff; line-height: 1.1; }
.stat-card span { font-size: 0.76rem; color: var(--text-mute); }
.stat-card:hover { border-color: rgba(150, 185, 255, 0.45); background: rgba(120, 160, 255, 0.1); }
.stat-card.active {
    border-color: rgba(150, 185, 255, 0.7);
    background: rgba(120, 160, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(150, 185, 255, 0.25);
}

/* ---- 19d. 筛选工具条 ---- */
.admin-toolbar {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 0.9rem; flex-wrap: wrap;
}
.admin-tabs {
    display: flex; gap: 0.35rem; padding: 0.25rem;
    border-radius: 999px;
    background: rgba(8, 8, 22, 0.5);
    border: 1px solid var(--line-soft);
}
.admin-tab {
    border: none; background: transparent; color: var(--text-mute);
    font-size: 0.78rem; padding: 0.4rem 0.9rem;
    border-radius: 999px; cursor: pointer; transition: all 0.2s;
}
.admin-tab:hover { color: #d6e2ff; }
.admin-tab.active { background: rgba(120, 160, 255, 0.22); color: #eaf1ff; }

.admin-select,
.admin-search {
    background: rgba(8, 8, 22, 0.55);
    border: 1px solid var(--line-soft);
    color: #d5e0f8;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    outline: none;
}
.admin-search { flex: 1; min-width: 160px; }        /* 搜索框自动占剩余宽度 */
.admin-select:focus, .admin-search:focus { border-color: rgba(150, 185, 255, 0.55); }
.admin-refresh {
    border: 1px solid var(--line); background: transparent;
    color: var(--text-mute); font-size: 0.78rem;
    padding: 0.42rem 0.9rem; border-radius: 999px; cursor: pointer;
}
.admin-refresh:hover { color: #fff; border-color: rgba(150, 185, 255, 0.5); }

/* ---- 19e. 待审内容卡片 ---- */
.review-list { display: flex; flex-direction: column; gap: 0.8rem; }
.review-card {
    display: grid;
    grid-template-columns: 104px 1fr;               /* 左侧缩略图固定宽，右侧自适应 */
    gap: 0.95rem;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    background: rgba(16, 16, 36, 0.55);
    border: 1px solid var(--line-soft);
    transition: all 0.2s;
}
.review-card:hover { border-color: rgba(150, 185, 255, 0.4); background: rgba(20, 22, 46, 0.7); }

.rc-thumb {
    width: 104px; height: 78px;                     /* 缩略图尺寸：想更方就改 height */
    border-radius: 0.7rem;
    overflow: hidden;
    background: rgba(120, 160, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
}
.rc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rc-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #cfe0ff; font-size: 1.05rem; }
.ph-text { background: linear-gradient(140deg, rgba(90, 120, 220, 0.35), rgba(30, 40, 90, 0.8)); }
.ph-image { background: linear-gradient(140deg, rgba(60, 160, 190, 0.35), rgba(20, 50, 80, 0.85)); }
.ph-movie { background: linear-gradient(140deg, rgba(140, 110, 220, 0.35), rgba(40, 25, 80, 0.85)); }
.ph-broadcast { background: linear-gradient(140deg, rgba(220, 110, 120, 0.35), rgba(80, 25, 40, 0.85)); }

.rc-main { min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.rc-top { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.rc-top h3 { margin: 0; font-size: 0.98rem; font-weight: 600; color: #e9efff; }

/* 类型徽标 */
.rc-badge { font-size: 0.66rem; padding: 0.16rem 0.5rem; border-radius: 999px; border: 1px solid transparent; }
.b-text { color: #9fc0ff; background: rgba(110, 150, 255, 0.14); border-color: rgba(110, 150, 255, 0.35); }
.b-image { color: #8fd8ea; background: rgba(90, 190, 215, 0.12); border-color: rgba(90, 190, 215, 0.32); }
.b-movie { color: #c3a8ff; background: rgba(160, 120, 255, 0.12); border-color: rgba(160, 120, 255, 0.32); }
.b-broadcast { color: #ff9fa8; background: rgba(255, 120, 130, 0.12); border-color: rgba(255, 120, 130, 0.32); }

/* 状态标签 */
.rc-status { margin-left: auto; font-size: 0.68rem; padding: 0.16rem 0.55rem; border-radius: 999px; }
.s-pending { color: #ffd98a; background: rgba(255, 200, 90, 0.12); }
.s-published { color: #86e6b4; background: rgba(90, 220, 150, 0.12); }
.s-rejected { color: #ff9f9f; background: rgba(255, 110, 110, 0.12); }

.rc-meta { font-size: 0.74rem; color: var(--text-mute); }
.rc-body { font-size: 0.8rem; color: #b9c6e4; line-height: 1.6; }
.rc-extra { font-size: 0.72rem; color: #8fa0c0; word-break: break-all; }
.rc-extra a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
/* 「网站推荐」类型：缩略图里放个「网」字，和文字/图片/影像区分开 */
.rc-ph.ph-site { color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.35); background: rgba(var(--accent-rgb), 0.08); }

/* 三个操作按钮 */
.rc-actions { display: flex; gap: 0.5rem; margin-top: 0.3rem; flex-wrap: wrap; }
.rc-btn {
    border: 1px solid var(--line-soft);
    background: transparent;
    font-size: 0.76rem;
    padding: 0.36rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
}
.rc-btn.ok { color: #7ce0ad; border-color: rgba(110, 225, 160, 0.45); background: rgba(80, 220, 150, 0.1); }
.rc-btn.ok:hover { background: rgba(80, 220, 150, 0.22); }
.rc-btn.no { color: #ffbf8a; border-color: rgba(255, 180, 110, 0.4); background: rgba(255, 160, 80, 0.08); }
.rc-btn.no:hover { background: rgba(255, 160, 80, 0.18); }
.rc-btn.del { color: #a8b6d4; }
.rc-btn.del:hover { color: #fff; border-color: rgba(150, 185, 255, 0.5); }

/* ---- 19f. 空状态与分页 ---- */
.admin-empty {
    padding: 2.6rem 1rem;
    text-align: center;
    color: var(--text-mute);
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--line-soft);
}
.admin-pager { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.pg-btn {
    border: 1px solid var(--line-soft); background: rgba(16, 16, 36, 0.55);
    color: #cfdcf5; font-size: 0.78rem;
    padding: 0.4rem 0.95rem; border-radius: 999px; cursor: pointer;
}
.pg-btn:hover:not(:disabled) { border-color: rgba(150, 185, 255, 0.5); }
.pg-btn:disabled { opacity: 0.38; cursor: default; }
.pg-info { font-size: 0.76rem; color: var(--text-mute); }

/* ---- 19g. 未登录 / 非管理员提示层 ---- */
.admin-guard {
    position: fixed; inset: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center;
    background: rgba(5, 5, 15, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.admin-guard-card {
    width: min(420px, 92vw);
    padding: 2rem;
    text-align: center;
    display: flex; flex-direction: column; gap: 0.7rem; align-items: center;
}
/* hidden 属性必须真的隐藏：display:flex 会覆盖浏览器默认的 display:none */
.admin-guard[hidden] { display: none; }
.admin-guard-card h2 { margin: 0; font-size: 1.15rem; }
.admin-guard-card p { margin: 0; font-size: 0.84rem; color: var(--text-mute); line-height: 1.7; }

/* ---- 19h. 后台自己的轻量提示条 ---- */
.ad-toast-wrap {
    position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%);
    z-index: 80; display: flex; flex-direction: column; gap: 0.5rem;
    pointer-events: none;
}
.ad-toast {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(30, 40, 70, 0.92);
    color: #dfe8ff;
    font-size: 0.8rem;
    border: 1px solid rgba(150, 185, 255, 0.35);
    transition: opacity 0.5s;
}
.ad-toast.err { border-color: rgba(255, 140, 140, 0.5); color: #ffd6d6; }
.ad-toast.out { opacity: 0; }

/* ---- 19i. 窄屏适配 ---- */
@media (max-width: 780px) {
    .admin-wrap { padding: 1.4rem 1rem 2.6rem; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }   /* 换成两列 */
    .review-card { grid-template-columns: 1fr; }             /* 缩略图挪到上面 */
    .rc-thumb { width: 100%; height: 140px; }
    .admin-head-right { width: 100%; justify-content: space-between; }
}

/* ---- 19j. 侧栏「审核台」入口（只对管理员显示，位置接在「推荐」下面） ---- */
.sidebar-admin .icon-box { color: #ffd98a; }        /* 图标色调，和一键推荐区分开 */
.sidebar-admin:hover .icon-box { color: #ffe9bd; }

/* ---- 19k. 署名「来自 XXX」：前缀比名字淡，匿名时整条都是淡色 ---- */
.u-from {
    font-size: 0.74rem;                    /* 前缀字号：想和名字一样大就改 0.78rem */
    color: var(--text-mute);               /* 前缀颜色：统一淡灰 */
    margin-right: 0.18rem;                 /* 与用户名的距离 */
    letter-spacing: 0.02em;
}

/* =========================================================
   20. 后台「站点设置 · 背景音乐」面板
   ---------------------------------------------------------
   可调参数：
   · 面板留白 / 圆角 ....... .music-panel 的 padding
   · 试听条高度 ........... #mpPreview 的 height
   · 输入框宽度 ........... .mp-title-input 的 width
   ========================================================= */
.music-panel {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.4rem;
}

.mp-head h2 { margin: 0 0 0.3rem; font-size: 1.02rem; font-weight: 600; color: #e9efff; }
.mp-head p { margin: 0; font-size: 0.76rem; line-height: 1.7; color: var(--text-mute); }

/* 当前曲目 + 试听 */
.mp-now {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    background: rgba(120, 160, 255, 0.07);        /* 试听区底色，想更淡改 0.04 */
}
.mp-label { font-size: 0.72rem; color: var(--text-mute); }
.mp-now strong { font-size: 0.82rem; color: #dfe8ff; font-weight: 600; }
#mpPreview {
    flex: 1;
    min-width: 240px;
    height: 34px;                                  /* 试听条高度 */
    border-radius: 0.6rem;
    /* 想给系统播放器换色可以加 filter: invert(1) hue-rotate(180deg)；
       默认不加，直接用浏览器原生样式更清楚 */
    opacity: 0.92;
}

/* 上传 + 标题 + 按钮 一行排列（窄屏自动换行） */
.mp-form { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.mp-file {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    border: 1px dashed rgba(150, 185, 255, 0.45);
    background: rgba(120, 160, 255, 0.1);
    color: #cfe0ff;
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.2s;
}
.mp-file:hover { background: rgba(120, 160, 255, 0.2); border-color: rgba(150, 185, 255, 0.7); }
.mp-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }   /* 原生按钮藏起来，整块可点 */

.mp-title-input {
    flex: 1;
    min-width: 220px;
    width: 260px;                                  /* 标题输入框宽度 */
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line-soft);
    background: rgba(8, 8, 22, 0.55);
    color: #dde6ff;
    font-size: 0.78rem;
    outline: none;
}
.mp-title-input:focus { border-color: rgba(150, 185, 255, 0.55); }

.mp-save,
.mp-reset {
    padding: 0.42rem 1rem;
    border-radius: 999px;
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.2s;
}
.mp-save { border: 1px solid rgba(110, 225, 160, 0.45); background: rgba(80, 220, 150, 0.1); color: #7ce0ad; }
.mp-save:hover { background: rgba(80, 220, 150, 0.22); }
.mp-reset { border: 1px solid var(--line-soft); background: transparent; color: #a8b6d4; }
.mp-reset:hover { color: #fff; border-color: rgba(150, 185, 255, 0.5); }

.mp-status { font-size: 0.74rem; color: #8fdcb4; }   /* 状态提示文字（错误时脚本里改成淡红） */

@media (max-width: 780px) {
    .music-panel { padding: 1rem 1.1rem; }
    #mpPreview { min-width: 100%; }
    .mp-title-input { min-width: 100%; }
}

/* =========================================================
   21. 「让我们记住你是谁」信息卡（推荐页取消匿名时弹出）
   —— 外观照着登录 / 注册页，但没有密码；可调：.who-card 宽度、圆角、底色
   ========================================================= */
.who-mask {
    position: fixed; inset: 0; z-index: 400;
    display: flex; align-items: center; justify-content: center;
    padding: 1.2rem;
    background: rgba(4, 6, 16, 0.74);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.who-mask[hidden] { display: none !important; }
.who-card {
    position: relative;
    width: min(520px, 100%);
    max-height: 92vh;
    overflow: auto;
    padding: 1.9rem 2rem 1.7rem;
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at 20% 0%, rgba(122, 162, 255, 0.22), transparent 62%),
        linear-gradient(160deg, rgba(26, 36, 72, 0.97), rgba(10, 12, 30, 0.98));
    border: 1px solid rgba(122, 162, 255, 0.26);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: whoIn 0.3s ease-out;
}
@keyframes whoIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.who-x {
    position: absolute; right: 1rem; top: 0.9rem;
    width: 30px; height: 30px; border-radius: 50%;
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-mute); cursor: pointer; font-size: 0.8rem; line-height: 1;
}
.who-x:hover { color: #fff; border-color: rgba(122, 162, 255, 0.5); }
.who-kicker { font-size: 0.64rem; letter-spacing: 0.24em; color: #7f90b8; }
.who-title { margin-top: 0.55rem; font-size: 1.42rem; font-weight: 700; letter-spacing: 0.01em; }
.who-sub { margin-top: 0.6rem; margin-bottom: 1.25rem; font-size: 0.75rem; line-height: 1.75; color: var(--text-sub); }
.who-label { display: block; font-size: 0.74rem; color: var(--text-mute); margin-bottom: 0.3rem; }
.who-input { width: 100%; margin-bottom: 0.9rem; }

/* 联系方式：密码框式遮挡 + 右侧「查看」 */
.who-secret { position: relative; }
.who-secret .who-input { padding-right: 4.2rem; margin-bottom: 0.35rem; letter-spacing: 0.08em; }
.who-eye {
    position: absolute; right: 0.5rem; top: 0.42rem;
    padding: 0.22rem 0.6rem; border-radius: 999px;
    border: 1px solid rgba(150, 185, 255, 0.28); background: rgba(255, 255, 255, 0.04);
    color: var(--text-mute); font-size: 0.68rem; cursor: pointer; user-select: none;
}
.who-eye:hover, .who-eye.on { color: #fff; border-color: rgba(150, 185, 255, 0.55); }
.who-note { font-size: 0.66rem; line-height: 1.55; color: #7a8ab0; margin-bottom: 0.85rem; }
.who-count { text-align: right; font-size: 0.64rem; color: #6c7b9c; margin: -0.6rem 0 0.5rem; }
.who-err { min-height: 1.1em; font-size: 0.74rem; color: #ff8098; margin-bottom: 0.6rem; }
.who-actions { display: flex; justify-content: flex-end; gap: 0.7rem; }
@media (max-width: 560px) {
    .who-card { padding: 1.5rem 1.3rem 1.3rem; border-radius: 1.2rem; }
    .who-title { font-size: 1.2rem; }
    .who-actions { flex-direction: column-reverse; }
    .who-actions button { width: 100%; }
}


/* =========================================================
   18. 输入框统一底纹（所有页面）
   —— 想让某个输入框不要底纹：把它的选择器从下面几组里删掉即可
   ========================================================= */
.field,
.who-input,
.search-box,
.mp-title-input,
.admin-search,
.admin-select,
.geo-box select,
.geo-box input,
.geo-landmark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.045)) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.field:focus,
.who-input:focus,
.mp-title-input:focus,
.admin-search:focus,
.admin-select:focus,
.geo-box select:focus,
.geo-box input:focus,
.geo-landmark:focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.065)) !important;
    border-color: rgba(122, 162, 255, 0.6) !important;
}

/* 搜索框也跟输入框同一套浅底纹（原来是纯色 veil，统一成渐变） */
.search-box { border-radius: 999px; }

/* 多行书写区 / 上传区：同样的浅底纹 */
.envelope { background: rgba(255, 255, 255, 0.05); }
.dropzone { background: rgba(255, 255, 255, 0.055); }

/* “联系我们”前面的小 logo（内容直接写在各页面 HTML 的 .player-dock 里） */
.player-contact { display: flex; align-items: center; justify-content: center; gap: 0.15rem; }
.pc-logo {
    width: 28px; height: 28px;                     /* 原来 20px，按需求放大一倍 */
    margin-right: 0.5rem;
    object-fit: contain;
    opacity: 0.9;
    vertical-align: middle;
    filter: drop-shadow(0 0 6px rgba(122, 162, 255, 0.5));
}

/* 署名片：用户名实时查重提示 */
.who-hint { font-size: 12px; line-height: 1.6; color: var(--muted); min-height: 0; margin: 6px 0 2px; }
.who-hint.ok { color: #6fcf97; }
.who-hint.warn { color: #f2c94c; }
.who-hint:empty { display: none; }

/* 备案信息 */
.pc-icp{color:inherit;text-decoration:none;opacity:.85;white-space:nowrap}
.pc-icp:hover{opacity:1;text-decoration:underline}
.icp-line{position:fixed;left:0;right:0;bottom:6px;text-align:center;font-size:12px;line-height:1;opacity:.55;z-index:5;pointer-events:auto}
.icp-line a{color:inherit;text-decoration:none}
.icp-line a:hover{text-decoration:underline}

/* =========================================================
   2026-12 追加样式（都在文件末尾，方便查找 / 回退）
   ========================================================= */

/* ---------- 1. 导航栏加宽 ≈5 个字，右侧留白相应减少 ≈5 个字 ----------
   65px ≈ 5 个中文字（侧栏字号 0.78rem）。想让导航更宽改这里的 65px，两处要一起改。 */
@media (min-width: 1024px) {
    .sidebar {
        width: calc((100% - 1rem) / 9 + 65px);
        max-width: 300px;
    }
    body {
        padding-right: max(8px, calc(var(--page-gap-side) - 65px));
    }
}

/* ---------- 2. 侧栏「主题色」只留色轮图标 + 下面的喇叭图标 ---------- */
.sidebar-theme,
.sidebar-volume {
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    padding: 0.5rem;
    margin-top: 0.15rem;
}
.sidebar-volume .icon-box { color: #9ab4ff; }
.sidebar-volume.is-muted .icon-box { color: #ff9f9f; }
.sidebar-volume:hover .icon-box { transform: scale(1.1); box-shadow: 0 6px 22px rgba(75, 123, 236, 0.55); }

/* 音量小面板（点喇叭弹出） */
.vol-pop {
    position: fixed;
    z-index: 90;
    width: 210px;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: rgba(18, 22, 40, 0.96);
    border: 1px solid rgba(122, 162, 255, 0.28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s;
}
.vol-pop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.vol-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.55rem; }
.vol-label { font-size: 0.8rem; color: #9ab4ff; }
.vol-num { font-size: 0.85rem; color: #eaf1ff; }
.vol-range { width: 100%; accent-color: #6f9bff; }
.vol-actions { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.vol-actions button {
    flex: 1;
    padding: 0.3rem 0.4rem;
    border-radius: 8px;
    border: 1px solid rgba(122, 162, 255, 0.28);
    background: rgba(122, 162, 255, 0.1);
    color: #cfdcff;
    font-size: 0.78rem;
    cursor: pointer;
}
.vol-actions button:hover { background: rgba(122, 162, 255, 0.2); }

/* ---------- 3. 生活助手 · 得力网站收集（第一个容器，背景透明） ---------- */
.life-card-plain {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}
.site-item {
    padding: 0.7rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.site-item:last-child { border-bottom: 0; }
.si-head { display: flex; align-items: center; gap: 0.5rem; }
.si-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #eaf1ff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.si-title:hover { color: #9ecbff; text-decoration: underline; }
.si-more {
    flex: 0 0 auto;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(122, 162, 255, 0.3);
    background: rgba(122, 162, 255, 0.1);
    color: #b9cdff;
    font-size: 0.72rem;
    cursor: pointer;
}
.si-more:hover { background: rgba(122, 162, 255, 0.22); }
.si-url {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.76rem;
    color: #7fb6ff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.si-url:hover { text-decoration: underline; }
.si-desc {
    margin-top: 0.3rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #b9c4e4;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* ★ 描述最多两行，超出点「全部」看全文 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.site-modal { max-width: 520px; }
.site-modal h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.site-modal-desc { margin: 0.7rem 0; font-size: 0.9rem; line-height: 1.75; color: #cfd8f5; }
.site-modal-meta { font-size: 0.76rem; color: #8b96c2; }

/* ---------- 4. 发表页 · 网站推荐 ---------- */
.site-url-input { width: 100%; margin: 0.5rem 0; }

/* ---------- 5. 后台导出按钮 ---------- */
.admin-export {
    padding: 0.35rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(122, 162, 255, 0.35);
    background: rgba(122, 162, 255, 0.12);
    color: #cfdcff;
    font-size: 0.82rem;
    cursor: pointer;
}
.admin-export:hover { background: rgba(122, 162, 255, 0.24); }
