/* =============================================
   Sunset 暖橙日落风模板 CSS
   主色 #ea580c，强调 #c2410c，底色 #fffaf5
   ============================================= */

/* ---------- CSS 变量 ---------- */
:root {
    --sun-bg:         #fffaf5;
    --sun-bg-card:    #fff8f2;
    --sun-bg-muted:   #fef3e8;
    --sun-border:     #fde8d0;
    --sun-primary:    #ea580c;
    --sun-accent:     #c2410c;
    --sun-text:       #3b1f0a;
    --sun-text-muted: #8b5a3a;
    --sun-text-light: #c2855a;
    --sun-white:      #ffffff;
    --sun-radius:     10px;
    --sun-shadow:     0 2px 12px rgba(234,88,12,0.08);
    --sun-shadow-hover: 0 6px 24px rgba(234,88,12,0.18);
    --sun-gradient-bar: linear-gradient(90deg, #ea580c 0%, #f97316 40%, #fb923c 70%, #fda4af 100%);
    --sun-gradient-footer: linear-gradient(90deg, #fda4af 0%, #fb923c 40%, #f97316 70%, #ea580c 100%);
    --sun-font: system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- 基础 body / 全局 ---------- */
.sun-page {
    font-family: var(--sun-font);
    font-size: 15px;
    line-height: 1.8;
    color: var(--sun-text);
    background: var(--sun-bg);
    min-height: 100vh;
}

/* ---------- 顶部橙→粉渐变条 ---------- */
.sun-gradient {
    height: 4px;
    background: var(--sun-gradient-bar);
    position: sticky;
    top: 0;
    z-index: 200;
}

/* ---------- 外壳 ---------- */
.sun-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- 头部 ---------- */
.sun-header {
    background: var(--sun-white);
    border-bottom: 1px solid var(--sun-border);
    box-shadow: 0 2px 8px rgba(234,88,12,0.06);
    position: sticky;
    top: 4px; /* 紧贴渐变条下方 */
    z-index: 100;
}

.sun-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 品牌 */
.sun-brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sun-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sun-text);
}

.sun-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--sun-gradient-bar);
    color: var(--sun-white);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sun-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sun-brand-copy strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--sun-primary);
}

.sun-brand-copy span {
    font-size: 11px;
    color: var(--sun-text-muted);
}

/* 汉堡菜单（移动端） */
.sun-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    padding: 4px 0;
}

.sun-menu-toggle span {
    display: block;
    height: 2px;
    background: var(--sun-primary);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* 搜索框 */
.sun-search-form {
    flex: 1;
    display: flex;
    max-width: 500px;
    border: 1.5px solid var(--sun-border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.sun-search-form:focus-within {
    border-color: var(--sun-primary);
}

.sun-search-input {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    font-family: var(--sun-font);
    color: var(--sun-text);
    background: var(--sun-bg);
    border: none;
    outline: none;
}

.sun-search-input::placeholder { color: var(--sun-text-light); }

.sun-search-submit {
    padding: 0 16px;
    height: 36px;
    background: var(--sun-primary);
    color: var(--sun-white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.sun-search-submit:hover { background: var(--sun-accent); }

/* ---------- 导航栏 ---------- */
.sun-channel-nav {
    background: var(--sun-bg-muted);
    border-top: 1px solid var(--sun-border);
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.sun-channel-nav::-webkit-scrollbar { display: none; }

.sun-channel-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 14px;
    color: var(--sun-text-muted);
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    border-bottom: 2px solid transparent;
}

.sun-channel-link:hover {
    color: var(--sun-primary);
    background: rgba(234,88,12,0.06);
}

.sun-channel-link.is-active {
    color: var(--sun-primary);
    border-bottom-color: var(--sun-primary);
    font-weight: 600;
}

/* ---------- 主内容区 ---------- */
.sun-layout-main {
    flex: 1;
}

.sun-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* ---------- 通用 Section ---------- */
.sun-section {
    margin-bottom: 40px;
}

.sun-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sun-border);
}

.sun-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sun-primary);
    margin-bottom: 2px;
}

.sun-section-head h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sun-text);
    line-height: 1.3;
}

.sun-more-link {
    font-size: 13px;
    color: var(--sun-primary);
    font-weight: 500;
    border: 1px solid var(--sun-primary);
    border-radius: 20px;
    padding: 3px 14px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.sun-more-link:hover {
    background: var(--sun-primary);
    color: var(--sun-white);
}

/* ---------- 标签（药丸形，橙色）---------- */
.sun-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(234,88,12,0.10);
    color: var(--sun-primary);
    border: 1px solid rgba(234,88,12,0.20);
    transition: background 0.15s, color 0.15s;
}

.sun-tag:hover {
    background: var(--sun-primary);
    color: var(--sun-white);
}

.sun-tag--accent {
    background: var(--sun-primary);
    color: var(--sun-white);
    border-color: var(--sun-primary);
}

/* ---------- 英雄区 ---------- */
.sun-hero {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    margin-bottom: 40px;
}

.sun-hero-spotlight {
    position: relative;
    border-radius: var(--sun-radius);
    overflow: hidden;
    aspect-ratio: 16/7;
    min-height: 280px;
    background: #2a1005;
}

.sun-hero-backdrop {
    position: absolute;
    inset: 0;
}

.sun-hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.sun-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(42,16,5,0.85) 0%, rgba(42,16,5,0.3) 60%, transparent 100%);
}

.sun-hero-content {
    position: relative;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.sun-hero-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.sun-hero-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.sun-hero-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.sun-hero-summary {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sun-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sun-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    background: var(--sun-primary);
    color: var(--sun-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.15s, transform 0.1s;
}

.sun-btn-primary:hover {
    background: var(--sun-accent);
    transform: translateY(-1px);
}

.sun-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    border: 1.5px solid rgba(255,255,255,0.6);
    color: var(--sun-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.15s, border-color 0.15s;
}

.sun-btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--sun-white);
}

/* 英雄侧栏列表 */
.sun-hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sun-hero-side-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sun-hero-side-thumb {
    position: relative;
    flex-shrink: 0;
    width: 90px;
    aspect-ratio: 2/3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--sun-bg-muted);
}

.sun-hero-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}

.sun-hero-side-thumb:hover img { transform: scale(1.05); }

.sun-hero-side-copy {
    flex: 1;
    min-width: 0;
}

.sun-hero-side-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--sun-text);
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sun-hero-side-title:hover { color: var(--sun-primary); }

.sun-hero-side-copy p {
    font-size: 12px;
    color: var(--sun-text-muted);
}

/* ---------- 视频卡片（.sun-card, .sun-pic, .sun-title）---------- */
.sun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
}

.sun-card {
    background: var(--sun-bg-card);
    border: 1px solid var(--sun-border);
    border-radius: var(--sun-radius);
    overflow: hidden;
    box-shadow: var(--sun-shadow);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sun-card:hover {
    border-color: var(--sun-primary);
    box-shadow: var(--sun-shadow-hover);
    transform: translateY(-3px);
}

/* 封面图（.sun-pic）*/
.sun-pic {
    position: relative;
    display: block;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--sun-bg-muted);
}

.sun-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sun-card:hover .sun-pic img { transform: scale(1.06); }

.sun-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42,16,5,0.5) 0%, transparent 50%);
    pointer-events: none;
}

.sun-card-topline {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
}

/* 年份标签 */
.sun-year {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.45);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}

/* 状态徽章 */
.sun-badge {
    font-size: 11px;
    color: var(--sun-white);
    background: var(--sun-primary);
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

/* 卡片文字区 */
.sun-card-copy {
    padding: 10px 12px;
}

/* 标题（.sun-title）*/
.sun-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sun-title a {
    color: var(--sun-text);
    transition: color 0.15s;
}

.sun-title a:hover { color: var(--sun-primary); }

.sun-card-meta {
    font-size: 12px;
    color: var(--sun-text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sun-card-desc {
    font-size: 12px;
    color: var(--sun-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 精简版卡片（横向滑动列表） */
.sun-card--compact .sun-pic { aspect-ratio: 2/3; }

.sun-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}

/* ---------- 分类横幅 ---------- */
.sun-category-banner {
    padding: 28px 24px;
    background: linear-gradient(135deg, #fff5ec 0%, var(--sun-bg) 100%);
    border: 1px solid var(--sun-border);
    border-radius: var(--sun-radius);
    margin-bottom: 24px;
}

.sun-category-banner h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--sun-text);
    margin: 4px 0 6px;
}

.sun-banner-meta {
    font-size: 14px;
    color: var(--sun-text-muted);
}

/* ---------- 筛选面板（.sun-filter）---------- */
.sun-filter {
    background: var(--sun-bg-muted);
    border: 1px solid var(--sun-border);
    border-radius: var(--sun-radius);
    padding: 18px 20px;
    margin-bottom: 24px;
}

.sun-filter-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.sun-filter-group:last-child { margin-bottom: 0; }

.sun-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sun-text);
    flex-shrink: 0;
    padding-top: 3px;
    min-width: 32px;
}

.sun-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 筛选药丸（.sun-filter-chip 对应需求中 .sun-filter 语义）*/
.sun-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--sun-text-muted);
    background: var(--sun-white);
    border: 1px solid var(--sun-border);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.sun-filter-chip:hover {
    border-color: var(--sun-primary);
    color: var(--sun-primary);
}

.sun-filter-chip.is-active {
    background: var(--sun-primary);
    color: var(--sun-white);
    border-color: var(--sun-primary);
    font-weight: 600;
}

/* ---------- 分页（.sun-pager, .sun-page-link）---------- */
.sun-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--sun-border);
}

.sun-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--sun-text-muted);
    background: var(--sun-white);
    border: 1px solid var(--sun-border);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.sun-page-link:hover {
    border-color: var(--sun-primary);
    color: var(--sun-primary);
}

.sun-page-link.is-active {
    background: var(--sun-primary);
    color: var(--sun-white);
    border-color: var(--sun-primary);
    font-weight: 600;
}

/* ---------- 搜索结果横幅 ---------- */
.sun-search-banner {
    padding: 28px 24px;
    background: linear-gradient(135deg, #fff5ec 0%, var(--sun-bg) 100%);
    border: 1px solid var(--sun-border);
    border-radius: var(--sun-radius);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sun-search-banner h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--sun-text);
    margin: 4px 0 6px;
}

.sun-search-form--inline {
    flex-shrink: 0;
    max-width: 360px;
    width: 100%;
}

/* ---------- 空状态 ---------- */
.sun-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--sun-text-muted);
}

.sun-empty h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--sun-text);
}

.sun-empty p { font-size: 14px; }

/* ---------- 详情页布局 ---------- */
.sun-detail-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 28px;
    align-items: flex-start;
}

.sun-detail-main {
    min-width: 0;
}

/* 播放器面板 */
.sun-player-panel {
    background: var(--sun-bg-card);
    border: 1px solid var(--sun-border);
    border-radius: var(--sun-radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--sun-shadow);
}

.sun-player-head {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--sun-border);
}

.sun-player-head h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--sun-text);
    margin: 4px 0 4px;
    line-height: 1.3;
}

.sun-player-meta {
    font-size: 13px;
    color: var(--sun-text-muted);
}

.sun-player-stage {
    position: relative;
    background: #1a0a02;
    aspect-ratio: 16/9;
}

.sun-video-player {
    width: 100%;
    height: 100%;
    display: block;
}

.sun-fallback-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--sun-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-align: center;
    padding: 20px;
}

.sun-player-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255,255,255,0.6);
    gap: 8px;
    padding: 40px;
}

.sun-player-empty strong { font-size: 16px; color: var(--sun-white); }
.sun-player-empty span { font-size: 13px; }

/* 播放源按钮列表 */
.sun-source-list {
    padding: 14px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--sun-border);
}

.sun-source-btn {
    padding: 5px 16px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--sun-text-muted);
    background: var(--sun-bg-muted);
    border: 1px solid var(--sun-border);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.sun-source-btn:hover {
    border-color: var(--sun-primary);
    color: var(--sun-primary);
}

.sun-source-btn.is-active {
    background: var(--sun-primary);
    color: var(--sun-white);
    border-color: var(--sun-primary);
    font-weight: 600;
}

/* 影片信息面板 */
.sun-info-panel {
    background: var(--sun-bg-card);
    border: 1px solid var(--sun-border);
    border-radius: var(--sun-radius);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--sun-shadow);
}

.sun-info-panel h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--sun-text);
    margin-bottom: 12px;
}

.sun-detail-summary {
    font-size: 14px;
    line-height: 1.9;
    color: var(--sun-text);
    margin-bottom: 18px;
}

.sun-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    font-size: 13px;
}

.sun-info-grid > div {
    display: flex;
    gap: 8px;
    align-items: baseline;
}

.sun-info-grid > div span {
    color: var(--sun-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.sun-info-grid > div strong {
    color: var(--sun-text);
    font-weight: 500;
}

/* 侧边栏 */
.sun-detail-side { min-width: 0; }

.sun-poster-panel {
    border-radius: var(--sun-radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--sun-shadow);
    border: 1px solid var(--sun-border);
}

.sun-poster-panel img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.sun-info-panel--side {
    padding: 16px;
}

.sun-info-panel--side h2 {
    font-size: 14px;
    margin-bottom: 10px;
}

.sun-note-list {
    font-size: 13px;
    color: var(--sun-text-muted);
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sun-note-list li::before {
    content: "• ";
    color: var(--sun-primary);
    font-weight: 700;
}

/* ---------- 页脚 ---------- */
.sun-footer {
    background: var(--sun-bg-card);
    border-top: 1px solid var(--sun-border);
    margin-top: auto;
}

/* 日落渐变色带 */
.sun-footer-band {
    height: 4px;
    background: var(--sun-gradient-footer);
}

.sun-footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.sun-footer-block h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--sun-primary);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--sun-border);
}

.sun-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.sun-footer-links a {
    font-size: 13px;
    color: var(--sun-text-muted);
    transition: color 0.15s;
}

.sun-footer-links a:hover { color: var(--sun-primary); }

.sun-footer-block p {
    font-size: 13px;
    color: var(--sun-text-muted);
    line-height: 1.8;
    margin-bottom: 6px;
}

.sun-footer-meta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    border-top: 1px solid var(--sun-border);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--sun-text-light);
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 860px) {
    /* 汉堡菜单可见 */
    .sun-menu-toggle { display: flex; }

    /* 导航收起 */
    .sun-channel-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--sun-white);
        border-top: 1px solid var(--sun-border);
        box-shadow: 0 8px 24px rgba(234,88,12,0.10);
        z-index: 99;
    }

    .menu-open .sun-channel-nav { display: flex; }

    .sun-channel-link {
        padding: 12px 20px;
        border-bottom: 1px solid var(--sun-border);
    }

    /* 搜索框缩小 */
    .sun-search-form { max-width: none; }
    .sun-search-input { font-size: 13px; }

    /* 英雄区单列 */
    .sun-hero {
        grid-template-columns: 1fr;
    }

    .sun-hero-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sun-hero-side-card { flex-direction: column; }
    .sun-hero-side-thumb { width: 100%; }

    /* 详情页单列 */
    .sun-detail-layout { grid-template-columns: 1fr; }
    .sun-detail-side { display: none; }

    /* 网格 */
    .sun-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .sun-shelf { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
}

@media (max-width: 480px) {
    .sun-page-wrap { padding: 16px 12px 32px; }

    .sun-header-inner { padding: 0 12px; gap: 10px; }

    .sun-brand-copy span { display: none; }

    .sun-hero-spotlight { aspect-ratio: 16/9; min-height: unset; }
    .sun-hero-content { padding: 20px; }
    .sun-hero-content h1 { font-size: 20px; }

    .sun-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sun-shelf { grid-template-columns: repeat(2, 1fr); }

    .sun-search-banner { flex-direction: column; align-items: flex-start; }

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

    .sun-footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
