/* ============================================================
   曙雀_ovo · 破晓 —— 创新版（VTuber 完整版）
   灵感取自 yefeiye.space 的「全屏场景 + 浮动控制按钮」沉浸结构
   创新点：以 CSS scroll-snap 替代 canvas，用破晓晨光渐变串联场景
   风格：温柔明亮 / 低饱和 / 留白充足 / 质感高级
   ============================================================ */

/* ---------- 全局变量 ---------- */
:root {
    /* 破晓色阶：从夜末到晨光，低饱和暖调 */
    --dawn-1: #F6F1EA;   /* 晨雾暖白 */
    --dawn-2: #F3E8DC;   /* 微光米 */
    --dawn-3: #EFE0D0;   /* 朝霞浅桃 */
    --dawn-4: #E8D9C8;   /* 暖沙 */
    --dawn-5: #F8F4EF;   /* 收束回白 */

    /* 文字：低饱和暖灰系，避免纯黑生硬 */
    --ink: #2E2A26;
    --ink-soft: #6B655D;
    --ink-mute: #A39C90;

    /* 强调：柔金，呼应「曙雀」破晓 */
    --gold: #C2A06A;
    --gold-soft: #E8D9BE;

    --line: rgba(46, 42, 38, 0.08);
    --max-w: 960px;
    --radius: 16px;

    /* 响应式尺寸变量（由媒体查询动态调整） */
    --space-hero: 120px;
    --space-section: 96px;
    --container-pad: 28px;
    --avatar-size: 132px;
    --nickname-size: 2.4rem;
    --title-size: 1.15rem;

    /* 周表流体变量（clamp 基于视口宽度） */
    --sched-day-min: clamp(108px, 8vw, 200px);
    --sched-day-max: clamp(140px, 12vw, 260px);
    --sched-font-name: clamp(0.88rem, 0.9vw, 1.12rem);
    --sched-font-tag: clamp(0.58rem, 0.55vw, 0.74rem);
    --sched-font-time: clamp(0.64rem, 0.65vw, 0.8rem);
    --sched-font-title: clamp(0.74rem, 0.78vw, 0.92rem);
    --sched-font-type: clamp(0.52rem, 0.48vw, 0.7rem);
    --sched-grid-gap: clamp(8px, 0.8vw, 16px);
    --sched-day-pad-x: clamp(6px, 0.6vw, 16px);
    --sched-day-pad-y: clamp(10px, 1vw, 22px);
    --sched-day-minh: clamp(120px, 10vw, 240px);
    --sched-meta-gap: clamp(4px, 0.4vw, 12px);
    --sched-type-pad-y: clamp(1px, 0.1vw, 4px);
    --sched-type-pad-x: clamp(4px, 0.4vw, 10px);
    --sched-item-gap: clamp(4px, 0.4vw, 10px);
    --sched-head-gap: clamp(6px, 0.5vw, 16px);
    --sched-today-pad: clamp(1px, 0.1vw, 4px);
    --sched-today-fs: clamp(0.48rem, 0.5vw, 0.72rem);
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "PingFang SC", serif;
    color: var(--ink);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    background: var(--dawn-1);
}

/* ---------- 场景通用容器 ---------- */
.scene {
    min-height: 100vh;
    min-height: 100svh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-section) var(--container-pad);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 场景序号：极淡的数字水印，画册感 */
.scene::before {
    content: attr(data-num);
    position: absolute;
    top: 32px;
    left: 36px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    opacity: 0.35;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 300;
}

/* ---------- 通用标题 ---------- */
.scene-title {
    font-size: var(--title-size);
    font-weight: 400;
    letter-spacing: 0.45em;
    color: var(--ink-soft);
    margin-bottom: 48px;
    padding-left: 0.45em;
}

/* ============================================================
   场景 1 · Hero
   ============================================================ */
#scene-hero {
    background: linear-gradient(180deg, var(--dawn-1) 0%, var(--dawn-2) 100%);
}

.avatar {
    width: var(--avatar-size);
    height: var(--avatar-size);
    margin: 0 auto 36px;
    border-radius: 50%;
    background: var(--gold-soft);
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px -16px rgba(194, 160, 106, 0.4);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.nickname {
    font-size: var(--nickname-size);
    font-weight: 500;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
    padding-left: 0.18em;
}

.slogan {
    color: var(--ink-mute);
    font-size: 0.98rem;
    letter-spacing: 0.12em;
    max-width: 420px;
    margin-top: 20px;
}

/* 直播状态指示器：灯 + 文字 + 直播间入口 */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink-mute);
}

/* 在线呼吸灯：柔金脉冲 */
.status-dot.live {
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(194, 160, 106, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

/* 离线：灰灯，无动画 */
.status-dot.offline {
    background: var(--ink-mute);
    box-shadow: none;
    animation: none;
    opacity: 0.7;
}

/* 状态变化时的一次性闪烁提示 */
.status-dot.pulse-once {
    animation: statusBlink 0.8s ease-out 1 !important;
}
@keyframes statusBlink {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.7); filter: brightness(1.4); }
    100% { transform: scale(1); filter: brightness(1); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(194, 160, 106, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(194, 160, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(194, 160, 106, 0); }
}

.live-link {
    color: var(--gold);
    text-decoration: none;
    padding-left: 10px;
    border-left: 1px solid var(--line);
    transition: opacity 0.3s ease, color 0.3s ease;
}

.live-link:hover { text-decoration: underline; }

/* 未开播：链接禁用样式 */
.live-link.disabled {
    color: var(--ink-mute);
    opacity: 0.5;
    text-decoration: line-through;
    cursor: not-allowed;
}
.live-link.disabled:hover { text-decoration: line-through; }

.scroll-hint {
    position: absolute;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ink-mute);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    opacity: 0.7;
    animation: bob 2.4s ease-in-out infinite;
}

#scene-hero .record-group {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    white-space: nowrap;
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

#scene-hero .record-item a {
    color: var(--ink-mute);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#scene-hero .record-item a:hover {
    color: var(--gold);
}

#scene-hero .record-icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

#scene-hero .record-item a:hover .record-icon {
    opacity: 1;
}

@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
    50% { transform: translate(-50%, 6px); opacity: 0.4; }
}

/* ============================================================
   场景 2 · 最新动态
   ============================================================ */
#scene-news {
    background: linear-gradient(180deg, var(--dawn-2) 0%, var(--dawn-3) 100%);
}

.news-card {
    max-width: 560px;
    width: 100%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    text-align: left;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.news-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-soft);
    flex-shrink: 0;
}

.news-meta p { line-height: 1.5; }

.news-name {
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 500;
}

.news-time {
    font-size: 0.76rem;
    color: var(--ink-mute);
    letter-spacing: 0.05em;
}

.news-text {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 2;
}

/* ============================================================
   场景 3 · 关于我
   ============================================================ */
#scene-about {
    background: linear-gradient(180deg, var(--dawn-3) 0%, var(--dawn-2) 100%);
}

.about-text {
    max-width: 560px;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 2.1;
}

/* ===== 关于我 ===== */
.about-wrap {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-wrap .about-text {
    margin: 0;
}

.about-wrap .about-text strong {
    color: var(--gold);
    font-weight: 600;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.about-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(194, 160, 106, 0.08);
    border: 1px solid rgba(194, 160, 106, 0.2);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    transition: all 0.2s ease;
    cursor: default;
}

.about-tag:hover {
    background: rgba(194, 160, 106, 0.15);
    border-color: var(--gold);
    transform: translateY(-1px);
}


/* ============================================================
   场景 4 · 形象展示：立绘 + 人设卡片
   ============================================================ */
#scene-model {
    background: linear-gradient(180deg, var(--dawn-2) 0%, var(--dawn-4) 100%);
    justify-content: flex-start;
    padding-top: 72px;
    padding-bottom: 48px;
    min-height: auto;
}

.model-wrap {
    width: 100%;
    max-width: var(--max-w);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 56px;
    align-items: start;
    text-align: left;
}

/* 左侧立绘 */
.model-art {
    /* 响应式立绘宽度：最小280px，最大480px，视口4vw动态调整 */
    width: clamp(280px, 36vw, 480px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.model-art img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右侧人设面板 */
.model-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 16px;
}

/* 名字 */
.model-name {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--ink);
    padding-left: 0.12em;
}

/* 基本信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.info-label {
    font-size: 0.72rem;
    color: var(--ink-mute);
    letter-spacing: 0.2em;
}

.info-value {
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 500;
}

/* 性格标签区 */
.info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gold-soft);
    color: var(--ink-soft);
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}

/* 特性卡片 */
.trait-card {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trait-desc {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.trait-desc.muted {
    color: var(--ink-mute);
}

/* 鸣谢行 */
.credit-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--ink-mute);
    letter-spacing: 0.05em;
}

.credit-item {
    color: var(--ink-mute);
}

.credit-sep {
    color: var(--ink-mute);
    opacity: 0.5;
}

.credit-link {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.credit-link:hover {
    border-bottom-color: var(--gold);
}

/* ============================================================
   场景 5 · 作品
   ============================================================ */
#scene-works {
    background: linear-gradient(180deg, var(--dawn-3) 0%, var(--dawn-4) 100%);
    justify-content: flex-start;
    padding-top: 120px;
}

.works-wrap { width: 100%; max-width: var(--max-w); }

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.video-card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px -20px rgba(46, 42, 38, 0.18);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--dawn-4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    color: #fff;
    opacity: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.video-card:hover .video-thumb::after {
    background: rgba(0, 0, 0, 0.25);
}

.video-dur {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.72rem;
    border-radius: 4px;
    z-index: 2;
    font-family: -apple-system, sans-serif;
}

.video-title {
    font-size: 0.96rem;
    font-weight: 500;
    padding: 16px 16px 4px;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.video-meta {
    font-size: 0.78rem;
    color: var(--ink-mute);
    padding: 0 16px 16px;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.video-card:hover .video-meta {
    color: var(--gold);
}

/* ============================================================
   场景 6 · 声音试听
   ============================================================ */
#scene-voice {
    background: linear-gradient(180deg, var(--dawn-4) 0%, var(--dawn-3) 100%);
}

/* ============================================================
   场景 6 · 积分统计表
   ============================================================ */
.points-subtitle {
    text-align: center;
    color: var(--ink-mute);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    margin-top: -8px;
    margin-bottom: 28px;
}

.points-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.points-tab {
    padding: 8px 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.points-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.points-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.points-tabs-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.points-table-wrap {
    max-height: 520px;
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    scrollbar-width: thin;
    scrollbar-color: var(--gold-soft) transparent;
}

.points-table-wrap::-webkit-scrollbar {
    width: 6px;
}

.points-table-wrap::-webkit-scrollbar-thumb {
    background: var(--gold-soft);
    border-radius: 3px;
}

.points-table-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.points-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.points-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.points-table thead tr {
    background: linear-gradient(135deg, var(--dawn-2), var(--dawn-3));
}

.points-table th {
    padding: 14px 12px;
    color: var(--ink-soft);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.points-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.points-table tbody tr:hover {
    background: var(--gold-soft);
}

.points-table tbody tr:last-child {
    border-bottom: none;
}

.points-table td {
    padding: 11px 12px;
    color: var(--ink-soft);
    text-align: center;
    white-space: nowrap;
}

.points-table .name-cell {
    text-align: left;
    color: var(--ink);
    font-weight: 500;
}

.points-table .remain-col {
    color: var(--gold);
}

.points-table .remain-cell {
    color: var(--gold);
    font-weight: 600;
}

.exchange-table .point-cell {
    color: var(--gold);
    font-weight: 600;
}

/* ============================================================
   场景 7 · 社交链接
   ============================================================ */
#scene-social {
    background: linear-gradient(180deg, var(--dawn-4) 0%, var(--dawn-5) 100%);
}

.social-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.35s ease;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   场景 8 · 页脚
   ============================================================ */
#scene-footer {
    min-height: auto;
    padding: 56px 28px;
    background: var(--dawn-5);
    border-top: 1px solid var(--line);
}

#scene-footer::before { display: none; }

.footer p {
    font-size: 0.78rem;
    color: var(--ink-mute);
    letter-spacing: 0.12em;
}

.footer .record-group {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 0.82rem;
    margin-top: 10px;
    letter-spacing: 0.08em;
}

.footer .record-item a {
    color: var(--ink-light, #A39C90);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer .record-item a:hover {
    color: var(--gold);
}

.footer .record-icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer .record-item a:hover .record-icon {
    opacity: 1;
}

/* ============================================================
   浮动控制按钮
   ============================================================ */
.nav-dots {
    position: fixed;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 100;
}

.nav-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--ink-mute);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    border-color: var(--gold);
    transform: scale(1.3);
}

.nav-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    height: 24px;
    border-radius: 5px;
}

/* ============================================================
   多端动态适配方案
   断点分级：超小屏 / 手机 / 平板 / 桌面 / 大屏 / 4K
   特殊设备：横屏 / 高分屏 / 折叠屏 / 暗色偏好 / 打印 / 触摸
   ============================================================ */

/* ============================================================
   1. 超大屏 4K / 2K · ≥1920px
   ============================================================ */
@media (min-width: 1920px) {
    :root {
        --space-hero: 160px;
        --space-section: 120px;
        --avatar-size: 156px;
        --nickname-size: 3rem;
        --title-size: 1.4rem;
    }

    body { font-size: 1.05rem; }

    .model-art {
        width: clamp(420px, 30vw, 600px);
    }

    .model-wrap {
        gap: 96px;
        max-width: 1200px;
    }

    .video-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-dots {
        right: 36px;
    }
}

/* ============================================================
   2. 大屏桌面 · 1200px - 1919px
   ============================================================ */
@media (min-width: 1200px) and (max-width: 1919px) {
    :root {
        --avatar-size: 144px;
        --nickname-size: 2.6rem;
    }

    .model-art {
        width: clamp(360px, 32vw, 520px);
    }

    .model-wrap {
        gap: 72px;
    }
}

/* ============================================================
   3. 标准桌面 · 992px - 1199px
   ============================================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    :root {
        --space-hero: 100px;
    }

    .model-art {
        width: clamp(320px, 34vw, 460px);
    }

    .model-wrap {
        gap: 56px;
    }
}

/* ============================================================
   4. 平板横屏 · 768px - 991px
   ============================================================ */
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --space-hero: 88px;
        --space-section: 80px;
        --container-pad: 24px;
        --avatar-size: 120px;
        --nickname-size: 2.2rem;
    }

    .model-wrap {
        grid-template-columns: 1fr;
        gap: 36px;
        justify-items: center;
    }

    .model-art {
        width: clamp(300px, 48vw, 420px);
        margin: 0 auto;
    }

    .model-panel {
        width: 100%;
        max-width: 560px;
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ============================================================
   5. 平板竖屏 / 大手机 · 481px - 767px
   ============================================================ */
@media (max-width: 767px) {
    :root {
        --space-hero: 80px;
        --space-section: 72px;
        --container-pad: 22px;
        --avatar-size: 108px;
        --nickname-size: 2rem;
        --title-size: 1.05rem;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .model-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
        justify-items: center;
    }

    .model-art {
        width: clamp(260px, 56vw, 400px);
        margin: 0 auto;
    }

    .model-panel {
        width: 100%;
        max-width: 500px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-dots {
        right: 16px;
        gap: 11px;
    }

    #scene-works { padding-top: 96px; }

    .live-status {
        padding: 6px 16px;
        font-size: 0.76rem;
    }

    .points-table-wrap { max-height: 440px; }
    .points-table { font-size: 0.76rem; }
    .points-table th, .points-table td { padding: 9px 7px; }
    .points-tabs { gap: 8px; }
    .points-tab { padding: 7px 16px; font-size: 0.8rem; }
}

/* ============================================================
   6. 手机 · 375px - 480px
   ============================================================ */
@media (max-width: 480px) {
    :root {
        --space-hero: 72px;
        --space-section: 64px;
        --container-pad: 18px;
        --avatar-size: 96px;
        --nickname-size: 1.75rem;
        --title-size: 1rem;
    }

    .video-grid { grid-template-columns: 1fr; }

    .model-art {
        width: clamp(240px, 82vw, 380px);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 85%;
        max-width: 280px;
        text-align: center;
    }

    .scene { padding: 72px 18px; }

    .scene::before {
        left: 18px;
        top: 24px;
        font-size: 0.7rem;
    }

    .news-card { padding: 22px; }

    .model-name {
        font-size: 1.5rem;
        text-align: center;
    }

    .model-panel {
        text-align: center;
        align-items: center;
    }

    .tags {
        justify-content: center;
    }

    .credit-row {
        justify-content: center;
    }
}

/* ============================================================
   7. 超小屏 · <375px (iPhone SE / 折叠屏内屏)
   ============================================================ */
@media (max-width: 374px) {
    :root {
        --space-hero: 64px;
        --space-section: 56px;
        --container-pad: 14px;
        --avatar-size: 84px;
        --nickname-size: 1.5rem;
    }

    .scene { padding: 60px 14px; }

    .avatar { margin-bottom: 24px; }

    .nickname {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }

    .slogan { font-size: 0.85rem; }

    .live-status {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .model-art {
        width: clamp(220px, 88vw, 320px);
    }

    .model-name { font-size: 1.3rem; }

    .info-item { padding: 10px 12px; }
    .info-value { font-size: 0.85rem; }

    .tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .nav-dots {
        right: 10px;
        gap: 9px;
    }

    .nav-dot {
        width: 7px;
        height: 7px;
    }

    .video-title { font-size: 0.88rem; }
    .video-meta { font-size: 0.72rem; }
}

/* ============================================================
   8. 横屏模式 · orientation: landscape (手机横屏)
   ============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    :root {
        --space-hero: 32px;
        --space-section: 40px;
        --avatar-size: 72px;
        --nickname-size: 1.4rem;
    }

    .scene {
        min-height: 100vh;
        padding: 40px 22px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 32px;
        text-align: left;
    }

    .scene-title { margin-bottom: 20px; }

    #scene-hero .avatar { margin-bottom: 0; }

    #scene-model .model-wrap {
        grid-template-columns: auto 1fr;
        gap: 32px;
        max-width: 900px;
    }

    #scene-model .model-art {
        width: clamp(180px, 30vw, 280px);
    }

    .scroll-hint { display: none; }
    .scene::before { display: none; }
}

/* ============================================================
   9. 高分屏 Retina 优化
   ============================================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .avatar img,
    .model-art img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .info-item,
    .trait-card,
    .news-card {
        border-width: 0.5px;
    }
}

/* ============================================================
   10. 折叠屏 / 双屏适配
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .model-wrap {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   11. 暗色模式偏好
   ============================================================ */
@media (prefers-color-scheme: dark) {
    .info-item,
    .trait-card {
        background: rgba(40, 35, 30, 0.55);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .news-card {
        background: rgba(40, 35, 30, 0.55);
    }
}

/* ============================================================
   12. 减少动画偏好（无障碍）
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .avatar { animation: none; }
    .scroll-hint { animation: none; opacity: 0.5; }
    .status-dot.live { animation: none; }
}

/* ============================================================
   13. 打印样式
   ============================================================ */
@media print {
    .nav-dots,
    .scroll-hint,
    .live-status { display: none; }

    html { scroll-snap-type: none; }

    .scene {
        min-height: auto;
        page-break-after: always;
        background: white !important;
        color: black !important;
    }
}

/* ============================================================
   14. 触摸设备优化
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
    .video-card:hover,
    .voice-item:hover,
    .social-link:hover {
        transform: none;
        box-shadow: none;
    }

    .video-card:active,
    .voice-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .social-link:active {
        background: var(--gold-soft);
    }

    .nav-dot {
        width: 12px;
        height: 12px;
    }
}
/* ===== 动态列表 ===== */
.news-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 4px 8px 4px 4px;
    -webkit-overflow-scrolling: touch;
}

.news-list::-webkit-scrollbar {
    width: 4px;
}

.news-list::-webkit-scrollbar-thumb {
    background: var(--gold-soft);
    border-radius: 2px;
}

.news-loading {
    text-align: center;
    padding: 40px 16px;
    color: var(--ink-mute);
    font-size: 0.88rem;
    line-height: 2;
}

.news-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 20px 24px;
    animation: newsFadeIn 0.5s ease both;
}

@keyframes newsFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.news-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--gold-soft);
}

.news-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.news-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.news-time {
    font-size: 0.74rem;
    color: var(--ink-mute);
}

.news-platform {
    font-size: 0.68rem;
    color: var(--gold);
    background: var(--gold-soft);
    padding: 3px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.news-text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ink-soft);
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 12px;
}

/* 动态中的视频 */
.news-video {
    display: block;
    text-decoration: none;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gold-soft);
    transition: transform 0.3s ease;
}

.news-video:hover {
    transform: scale(1.01);
}

.news-video-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
    opacity: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    z-index: 2;
}

.news-video:hover .news-play-icon {
    opacity: 1;
}

.news-video-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.news-video:hover .news-video-cover::after {
    background: rgba(0, 0, 0, 0.2);
}

.news-video-title {
    display: block;
    padding: 10px 14px;
    font-size: 0.84rem;
    color: var(--ink);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 动态中的图片 */
.news-images {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.news-img-1 { grid-template-columns: 1fr; }
.news-img-2 { grid-template-columns: 1fr 1fr; }
.news-img-3 { grid-template-columns: 1fr 1fr 1fr; }
.news-img-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

.news-img-item {
    overflow: hidden;
    cursor: pointer;
}

.news-img-1 .news-img-item {
    aspect-ratio: 16 / 9;
}

.news-img-item:not(.news-img-1 .news-img-item) {
    aspect-ratio: 1 / 1;
}

.news-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-img-item:hover img {
    transform: scale(1.05);
}

.news-more {
    display: block;
    text-align: center;
    margin-top: 24px;
    color: var(--gold);
    font-size: 0.86rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.news-more:hover {
    opacity: 0.7;
}

/* ===== 动态列表样式 ===== */
.news-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 16px 20px;
    animation: newsFadeIn 0.5s ease both;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.news-item .news-time {
    font-size: 0.76rem;
    color: var(--ink-mute);
    margin-bottom: 8px;
    display: block;
}

.news-item .news-content {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.news-item .news-text {
    margin: 0 0 10px 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.news-item .news-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
    margin-top: 10px;
}

.news-item .news-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news-item .news-img:hover {
    transform: scale(1.03);
}

.news-item .news-img {
    max-height: 180px;
}

/* 计划B样式 */
.news-planb {
    animation: newsFadeIn 0.5s ease both;
}

.planb-btn-hover:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.45) !important;
}


/* ===== 周表 ===== */
.schedule-meta {
    display: flex;
    align-items: baseline;
    gap: var(--sched-meta-gap);
    max-width: none;
    padding: 0 4px;
    margin-bottom: clamp(16px, 1.5vw, 36px);
    flex-wrap: wrap;
    justify-content: flex-start;
}
.schedule-week {
    font-family: "Ma Shan Zheng", "ZCOOL KuaiLe", cursive;
    font-size: clamp(0.88rem, 0.9vw, 1.1rem);
    color: var(--gold);
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(218,165,32,0.3);
    font-weight: 600;
}
.schedule-updated {
    font-size: clamp(0.72rem, 0.7vw, 0.88rem);
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.schedule-grid {
    display: grid;
    /* 使用 clamp 内联作为 min 值，浏览器完全支持 */
    grid-template-columns: repeat(auto-fit, minmax(clamp(108px, 14vw, 200px), 1fr));
    gap: var(--sched-grid-gap);
    width: 100%;
    max-width: none;
    margin: 0 auto;
}
.schedule-day {
    background: var(--card-bg);
    border: 1px solid rgba(218, 165, 32, 0.15);
    border-radius: clamp(10px, 0.8vw, 18px);
    padding: var(--sched-day-pad-y) var(--sched-day-pad-x);
    min-height: var(--sched-day-minh);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}
.schedule-day::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(218,165,32,0.06) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.schedule-day:hover {
    transform: translateY(-4px);
    border-color: rgba(218, 165, 32, 0.35);
    box-shadow: 0 12px 36px rgba(218, 165, 32, 0.15);
}
.schedule-day:hover::before { opacity: 1; }
.schedule-day.today {
    background: linear-gradient(145deg, rgba(218, 165, 32, 0.16) 0%, rgba(218, 165, 32, 0.04) 100%);
    border-color: rgba(218, 165, 32, 0.5);
    box-shadow: 0 0 28px rgba(218, 165, 32, 0.22),
                inset 0 0 20px rgba(218, 165, 32, 0.08);
    animation: todayPulse 3s ease-in-out infinite;
}
@keyframes todayPulse {
    0%, 100% { box-shadow: 0 0 28px rgba(218, 165, 32, 0.22), inset 0 0 20px rgba(218, 165, 32, 0.08); }
    50%      { box-shadow: 0 0 42px rgba(218, 165, 32, 0.38), inset 0 0 28px rgba(218, 165, 32, 0.14); }
}
.schedule-day.today::before {
    content: "今天";
    position: absolute;
    top: calc(-1 * var(--sched-today-pad));
    right: calc(-1 * var(--sched-today-pad));
    background: linear-gradient(135deg, #dAA520, #F0c850);
    color: #1a1008;
    font-size: var(--sched-today-fs);
    font-weight: 700;
    padding: var(--sched-today-pad) clamp(6px, 0.5vw, 12px);
    border-radius: 0 clamp(8px, 0.6vw, 14px) 0 clamp(8px, 0.6vw, 14px);
    letter-spacing: 0.08em;
    box-shadow: 0 4px 14px rgba(218, 165, 32, 0.45);
}
.day-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: clamp(6px, 0.6vw, 14px);
    padding-bottom: clamp(4px, 0.4vw, 10px);
    border-bottom: 1px solid rgba(218, 165, 32, 0.18);
    width: 100%;
}
.day-name {
    font-family: "Ma Shan Zheng", "ZCOOL KuaiLe", cursive;
    font-size: var(--sched-font-name);
    color: var(--text-primary);
    letter-spacing: 0.06em;
    font-weight: 600;
}
.day-tag {
    font-size: var(--sched-font-tag);
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}
.day-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: var(--sched-item-gap);
}
.day-rest {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: calc(var(--sched-day-minh) - 100px);
    padding: clamp(6px, 0.5vw, 14px) 0;
    color: var(--text-muted);
    font-size: clamp(0.72rem, 0.7vw, 0.88rem);
    letter-spacing: 0.05em;
    opacity: 0.6;
}
.day-items {
    display: flex;
    flex-direction: column;
    gap: var(--sched-item-gap);
    width: 100%;
}
.day-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2px, 0.2vw, 4px);
    padding: clamp(5px, 0.4vw, 10px) clamp(3px, 0.3vw, 8px);
    background: rgba(218, 165, 32, 0.05);
    border: 1px solid rgba(218, 165, 32, 0.1);
    border-radius: clamp(6px, 0.5vw, 12px);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
a.day-item:hover {
    transform: scale(1.03);
    background: rgba(218, 165, 32, 0.1);
    border-color: rgba(218, 165, 32, 0.4);
}
.item-time {
    font-size: var(--sched-font-time);
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.03em;
    font-variant-numeric: tabular-nums;
}
.item-type {
    display: inline-block;
    font-size: var(--sched-font-type);
    padding: var(--sched-type-pad-y) var(--sched-type-pad-x);
    border-radius: 4px;
    letter-spacing: 0.06em;
    font-weight: 600;
    text-transform: uppercase;
}
.type-sing   { background: rgba(255, 105, 180, 0.18); color: #FF69B4; }
.type-chat   { background: rgba(70, 130, 180, 0.18);  color: #6CB4EE; }
.type-game   { background: rgba(147, 112, 219, 0.18); color: #B8A3DC; }
.type-collab { background: rgba(218, 165, 32, 0.22);  color: #FFD96B; }
.type-rest   { background: rgba(150, 150, 150, 0.15); color: #999; }
.type-other  { background: rgba(60, 179, 113, 0.18); color: #5BBFA0; }
.item-title {
    font-size: var(--sched-font-title);
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.35;
}
.schedule-hint {
    text-align: center;
    margin-top: clamp(18px, 1.8vw, 36px);
    font-size: clamp(0.72rem, 0.7vw, 0.88rem);
    color: var(--text-muted);
    letter-spacing: 0.08em;
    opacity: 0.7;
}/* 周表图片兜底模式 */
.schedule-image-wrap {
    max-width: 760px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    padding: 12px;
}

.schedule-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
/* ===== 周表响应式：基于 auto-fit + clamp 的流体方案 ===== */

/* 大屏桌面 / 4K — 流体公式已处理，只做极端优化 */
@media (min-width: 1920px) {
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 9vw, 240px), 1fr));
    }
}

/* 平板横屏 / 小桌面 — 4 列紧凑 */
@media (min-width: 768px) and (max-width: 991px) {
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(clamp(130px, 16vw, 220px), 1fr));
    }
}

/* 平板竖屏 / 大手机 — 3 列 */
@media (min-width: 640px) and (max-width: 767px) {
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(clamp(110px, 28vw, 200px), 1fr));
    }
}

@media (min-width: 481px) and (max-width: 639px) {
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(clamp(110px, 42vw, 180px), 1fr));
    }
}

/* 手机 — 2 列，隐藏次要元素 */
@media (max-width: 480px) {
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
        gap: clamp(6px, 2vw, 12px);
    }
    .schedule-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(2px, 1vw, 6px);
    }
    .schedule-week { font-size: clamp(0.82rem, 4.2vw, 0.98rem); }
    .schedule-updated { font-size: clamp(0.68rem, 3.6vw, 0.8rem); }
    .schedule-day.today::before { font-size: 0.62rem; padding: 2px 8px; top: -9px; }
    .schedule-hint { font-size: clamp(0.68rem, 3.6vw, 0.8rem); }
    .day-tag { display: none; }
}

@media (max-width: 374px) {
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: clamp(5px, 2vw, 10px);
    }
    .schedule-day {
        min-height: clamp(115px, 34vw, 150px);
        padding: 10px 5px;
    }
    .day-name { font-size: clamp(0.8rem, 4.2vw, 0.92rem); }
    .item-time { font-size: clamp(0.62rem, 3.4vw, 0.72rem); }
    .item-title { font-size: clamp(0.7rem, 3.8vw, 0.82rem); }
    .item-type { font-size: 0.54rem; padding: 1px 5px; }
    .day-items { gap: 5px; }
    .day-item { padding: 5px 3px; }
}

/* 折叠内屏 / 超小屏 */
@media (max-width: 319px) {
    .schedule-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .schedule-day {
        padding: 8px 4px;
        min-height: 110px;
        border-radius: 10px;
    }
    .day-name { font-size: 0.76rem; }
    .day-tag { display: none; }
    .day-header { margin-bottom: 6px; padding-bottom: 4px; }
    .item-time { font-size: 0.6rem; }
    .item-title { font-size: 0.68rem; }
    .item-type { display: none; }
    .day-items { gap: 4px; }
    .day-item { padding: 4px 2px; border-radius: 6px; }
    .day-rest { font-size: 0.68rem; padding: 8px 0; }
    .schedule-day.today::before { font-size: 0.5rem; padding: 1px 6px; top: -7px; }
}

/* 手机横屏 */
@media (orientation: landscape) and (max-height: 560px) {
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: clamp(4px, 1.2vw, 10px);
    }
    .schedule-day {
        padding: 8px 5px;
        min-height: auto;
    }
    .day-header { margin-bottom: 4px; padding-bottom: 3px; }
    .day-name { font-size: clamp(0.74rem, 2.4vw, 0.9rem); }
    .day-tag { display: none; }
    .day-rest { padding: 6px 0; font-size: 0.68rem; }
    .day-items { gap: 4px; }
    .day-item { padding: 4px 2px; border-radius: 6px; }
    .item-time { font-size: 0.6rem; }
    .item-title { font-size: 0.68rem; }
    .item-type { font-size: 0.5rem; padding: 1px 3px; }
    .schedule-day.today::before { font-size: 0.5rem; padding: 1px 5px; top: -5px; }
    .schedule-image-wrap { max-width: 92vw; }
}

/* 平板横屏中等高度 */
@media (orientation: landscape) and (min-height: 561px) and (max-height: 768px) and (max-width: 1199px) {
    .schedule-grid {
        gap: clamp(8px, 1.2vw, 14px);
    }
    .schedule-day {
        min-height: clamp(160px, 22vh, 200px);
    }
    .schedule-image-wrap { max-width: min(90vw, 720px); }
}

/* Retina 高分屏 */
@media (min-resolution: 192dpi), (-webkit-min-device-pixel-ratio: 2) {
    .schedule-day { border-width: 0.5px; }
    .day-header { border-bottom-width: 0.5px; }
    .day-item { border-width: 0.5px; }
    .schedule-image-wrap { border-width: 0.5px; }
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
    .schedule-day { background: rgba(40, 36, 32, 0.6); }
    .day-item { background: rgba(60, 55, 48, 0.6); }
    .schedule-image-wrap { background: rgba(40, 36, 32, 0.6); }
    .type-sing   { background: #3A1A25; color: #FFA8C0; }
    .type-chat   { background: #1A2C3A; color: #8EC0F7; }
    .type-game   { background: #2A1F3A; color: #C5B0E8; }
    .type-collab { background: #3A311A; color: #FFD96B; }
    .type-rest   { background: #2A2A2A; color: #AAA; }
    .type-other  { background: #1A3228; color: #8CD8B0; }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
    .schedule-day, .schedule-day:hover,
    a.day-item, a.day-item:hover {
        transition: none;
        transform: none;
    }
    .schedule-day.today { animation: none; }
}

/* 触摸设备 */
@media (hover: none) and (pointer: coarse) {
    .schedule-day { transition: none; }
    .schedule-day:hover { transform: none; box-shadow: none; }
    .schedule-day:active { background: rgba(218, 165, 32, 0.1); }
    a.day-item { transition: none; }
    a.day-item:active { transform: scale(0.97); border-color: var(--gold); }
}
    .schedule-day:active {
        background: rgba(218, 165, 32, 0.1);
    }
    a.day-item {
        transition: none;
    }
    a.day-item:active {
        transform: scale(0.97);
        border-color: var(--gold);
    }
}