@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Noto+Serif+SC:wght@400;700;900&display=swap');

:root {
    --ash-dark: #0d0d0d;
    --ash-darker: #080808;
    --ash-gray: #1a1a1a;
    --ash-medium: #2d2d2d;
    --ash-light: #4a4a4a;
    --ash-dim: #8a8a8a;
    --ash-text: #c9c5b8;
    --ash-gold: #c9a84c;
    --ash-gold-dim: #8a7340;
    --ash-red: #8b3a3a;
    --ash-ember: #d46b3a;
    --ash-blue: #4a7c8a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 移动端防止文字缩放 */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 触控优化：移除默认 tap highlight */
a, button, [role="button"], .nav-item, .cat-btn, .chapter-thumb {
    -webkit-tap-highlight-color: transparent;
}

/* 确保交互元素触控目标足够大（44px 最小） */
.nav-toggle,
.mobile-link,
.bottom-nav a,
.cat-btn,
.next-chapter-btn {
    min-height: 44px;
}

body {
    font-family: 'Noto Serif SC', serif;
    background: var(--ash-dark);
    color: var(--ash-text);
    line-height: 1.8;
    min-height: 100vh;
    /* 移动端平滑滚动 */
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

/* 横向滚动包装器（表格等宽内容用） */
.scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* 横向滚动时显示滚动条提示阴影 */
.scroll-x::-webkit-scrollbar {
    height: 4px;
}
.scroll-x::-webkit-scrollbar-thumb {
    background: rgba(201,168,76,0.25);
    border-radius: 2px;
}
.scroll-x::-webkit-scrollbar-track {
    background: transparent;
}

/* 背景纹理 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 168, 76, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 107, 58, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== 顶部导航栏（与首页一致） ===== */
.top-nav {
    position: relative; z-index: 100;
    display: flex; align-items: center; justify-content: flex-start;
    padding: 0 36px; height: 62px; gap: 52px;
    background: linear-gradient(180deg, #0e1116 0%, #090c10 100%);
    border-bottom: 1px solid rgba(201,168,76,0.25);
    box-shadow: 0 1px 0 rgba(0,0,0,0.6), 0 8px 24px rgba(0,0,0,0.3);
}
/* 导航栏底部余烬微光 */
.top-nav::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.12) 20%, rgba(201,168,76,0.18) 50%, rgba(201,168,76,0.12) 80%, transparent 100%);
    z-index: 0; pointer-events: none;
}
.top-nav .nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Cinzel', serif; font-size: 1.6rem; font-weight: 700;
    color: var(--ash-gold); letter-spacing: 0.14em;
    text-decoration: none; opacity: 0.92;
    transition: opacity 0.2s, text-shadow 0.2s;
}
.top-nav .nav-brand:hover {
    opacity: 1;
    text-shadow: 0 0 16px rgba(201,168,76,0.2);
}
.top-nav .nav-links {
    display: flex; align-items: center; gap: 0;
    height: 100%;
}
.top-nav .nav-item {
    position: relative;
    height: 100%; display: flex; align-items: center;
}
/* 导航项间分隔 */
.top-nav .nav-item + .nav-item::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 16px;
    background: rgba(201,168,76,0.08);
    pointer-events: none;
}
.top-nav .nav-item > a,
.top-nav .nav-item > span {
    display: flex; align-items: center; height: 100%;
    color: #b8bfc4; font-size: 0.98rem; font-weight: 400;
    text-decoration: none; padding: 0 20px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.06em;
    white-space: nowrap; cursor: pointer;
    position: relative; z-index: 1;
    border-bottom: 2px solid transparent;
    margin-bottom: 0;
}
.top-nav .nav-item:hover > a,
.top-nav .nav-item:hover > span {
    color: #e0cc80;
    background: linear-gradient(180deg, rgba(201,168,76,0.04) 0%, transparent 100%);
    border-bottom-color: rgba(201,168,76,0.45);
}
/* hover 桥接 — 填充触发项与下拉间的空隙，防止 hover 断连 */
.top-nav .nav-item::after {
    content: '';
    position: absolute;
    top: 100%; left: 0; right: 0; height: 10px;
    pointer-events: auto;
    z-index: 102;
}
/* 局部下拉面板 — 导航栏一体化下沉面板 */
.top-nav .nav-dropdown {
    position: absolute;
    top: 100%;  /* 紧贴导航栏底部，无间隙 */
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 160px;
    padding: 0;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    z-index: 101;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, rgba(8,10,16,0.98) 0%, rgba(12,15,22,0.96) 100%);
    border: none;
    border-top: 1px solid rgba(201,168,76,0.35);
    border-radius: 0;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.5),
        0 2px 8px rgba(0,0,0,0.3);
}
/* 去掉三角箭头 — 不再需要 */
.top-nav .nav-dropdown::before { display: none; }
.top-nav .nav-dropdown::after {
    /* 保留微妙的光晕但更克制 */
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% -20%, rgba(201,168,76,0.05), transparent 70%);
    pointer-events: none;
}
.top-nav .nav-item:hover .nav-dropdown {
    opacity: 1; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.top-nav .nav-dropdown a {
    color: #9a9070;
    font-size: 0.88rem;
    font-weight: 400;
    text-decoration: none;
    padding: 10px 24px;
    transition: color 0.2s, background 0.2s, border-left-color 0.2s;
    letter-spacing: 0.08em;
    white-space: nowrap;
    position: relative;
    border-left: 2px solid transparent;
}
/* 左侧金色竖条指示器（替代原来的横线） */
.top-nav .nav-dropdown a::before { display: none; }
.top-nav .nav-dropdown a:hover {
    color: var(--ash-gold);
    background: rgba(201,168,76,0.06);
    border-left-color: var(--ash-gold);
}
/* 首尾项微调 — 增加上下间距让列表呼吸感更好 */
.top-nav .nav-dropdown a:first-child { padding-top: 14px; }
.top-nav .nav-dropdown a:last-child { padding-bottom: 14px; }

/* 当前页高亮 */
.top-nav .nav-item.active > a,
.top-nav .nav-item.active > span {
    color: var(--ash-gold);
    border-bottom-color: rgba(201,168,76,0.5);
    font-weight: 500;
}
.top-nav .nav-dropdown a.active {
    color: var(--ash-gold);
    font-weight: 500;
    border-left-color: var(--ash-gold);
    background: rgba(201,168,76,0.08);
}
/* 汉堡菜单按钮 */
.nav-toggle {
    display: none;
    width: 32px; height: 32px;
    background: none; border: none; cursor: pointer;
    padding: 4px; z-index: 102;
    flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--ash-gold); transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 移动端导航面板 */
.nav-mobile {
    display: none;
    position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, #0e1116 0%, #080c10 100%);
    z-index: 200; overflow-y: auto;
    padding: 20px 24px 40px;
}
.nav-mobile.open { display: block; }
.nav-mobile .mobile-group { margin-bottom: 24px; }
.nav-mobile .mobile-group-title {
    font-family: 'Cinzel', serif; font-size: 1.1rem;
    color: var(--ash-gold); letter-spacing: 0.12em;
    padding-bottom: 10px; margin-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
}
.nav-mobile .mobile-link {
    display: block; padding: 12px 16px;
    color: #b8bfc4; font-size: 0.95rem;
    text-decoration: none; letter-spacing: 0.05em;
    transition: color 0.2s, background 0.2s;
    border-left: 2px solid transparent;
}
.nav-mobile .mobile-link:hover,
.nav-mobile .mobile-link.active {
    color: var(--ash-gold); border-left-color: var(--ash-gold);
    background: rgba(201,168,76,0.05);
}

/* 页面头部 */
.page-header {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 60px 20px 40px;
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--ash-gold);
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
    letter-spacing: 0.25em;
    margin-bottom: 12px;
}

.page-header .subtitle {
    font-size: 1rem;
    color: var(--ash-dim);
    letter-spacing: 0.3em;
}

.page-header .divider {
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ash-gold), transparent);
    margin: 12px auto 16px;  /* 在主标题与副标题之间 */
}

/* 规则书页面：紧凑型页面标题（因为已有章节导航，不需要大标题占空间） */
.page-header--compact {
    padding: 24px 20px 12px;
}
.page-header--compact h1 {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-shadow: none;
    margin-bottom: 2px;
}
.page-header--compact .subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    opacity: 0.5;
}
.page-header--compact .divider {
    width: 60px;
    height: 1px;
    margin: 8px auto 0;
    opacity: 0.4;
}

/* 内容容器 */
.content {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: var(--ash-gray);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ash-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--ash-gold);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.card p {
    font-size: 0.9rem;
    color: var(--ash-dim);
    line-height: 1.8;
}

.card .meta {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--ash-dim);
}

/* 时间线 */
.timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--ash-gold), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 9px;
    height: 9px;
    background: var(--ash-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.4);
}

.timeline-item .date {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: var(--ash-gold-dim);
    margin-bottom: 4px;
}

.timeline-item h3 {
    font-size: 1.1rem;
    color: var(--ash-text);
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--ash-dim);
}

/* 章节标题 */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--ash-gold);
    letter-spacing: 0.15em;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

/* 文本段落 */
.text-block {
    font-size: 0.95rem;
    color: var(--ash-text);
    margin-bottom: 20px;
    text-align: justify;
}

/* 引用块 */
.quote-block {
    border-left: 3px solid var(--ash-gold);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(201, 168, 76, 0.05);
    font-style: italic;
    color: var(--ash-dim);
}

/* 底部导航 */
.bottom-nav {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 20px;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    flex-wrap: wrap;
}

.bottom-nav a {
    padding: 8px 16px;
    color: var(--ash-dim);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: var(--ash-gold);
    border-color: rgba(201, 168, 76, 0.3);
}

/* 底部 */
.footer {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 30px 20px;
    color: var(--ash-dim);
    font-size: 0.8rem;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--ash-gold);
    font-size: 0.75rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* 表格 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ash-medium);
}

.data-table th {
    font-family: 'Cinzel', serif;
    color: var(--ash-gold);
    font-weight: 400;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.data-table td {
    font-size: 0.9rem;
    color: var(--ash-text);
}

.data-table tr:hover td {
    background: rgba(201, 168, 76, 0.03);
}

/* 关键词高亮 */
[data-keyword] {
  border-bottom: 1px dashed var(--ash-gold-dim);
  cursor: help;
  transition: color 0.15s, border-color 0.15s;
}
[data-keyword]:hover {
  color: var(--ash-gold);
  border-bottom-color: var(--ash-gold);
}

/* tooltip */
#ash-tooltip {
  position: fixed; z-index: 9999;
  background: linear-gradient(160deg, #10151c, #0b0f15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px; padding: 12px 16px;
  max-width: 320px; font-size: 0.85rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.3);
  pointer-events: none; transition: opacity 0.15s;
}
.tt-hidden { opacity: 0; }
#ash-tooltip:not(.tt-hidden) { opacity: 1; }
.tt-term { color: var(--ash-gold); font-weight: 600; margin-bottom: 4px; }
.tt-category { color: var(--ash-gold-dim); font-size: 0.75rem; margin-bottom: 8px; }
.tt-def { color: #c9c5b8; line-height: 1.6; }

/* 等级表格 */
.level-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.level-table th { background: rgba(201,168,76,0.12); color: var(--ash-gold); padding: 8px 12px; text-align: left; border-bottom: 1px solid rgba(201,168,76,0.2); }
.level-table td { padding: 6px 12px; color: #c9c5b8; border-bottom: 1px solid rgba(255,255,255,0.04); }
.level-table tr:hover td { background: rgba(201,168,76,0.04); }

/* 规则书布局 */
.rules-layout { display: grid; grid-template-columns: 260px 1fr; gap: 0; min-height: calc(100vh - 62px); margin-top: 62px; }
.rules-sidebar { background: linear-gradient(180deg, #0a0e14 0%, #080c10 100%); border-right: 1px solid rgba(201,168,76,0.1); padding: 24px 16px; overflow-y: auto; }
.rules-sidebar details { margin-bottom: 4px; }
.rules-sidebar summary { color: var(--ash-gold); cursor: pointer; padding: 6px 8px; font-size: 0.9rem; }
.rules-sidebar a { color: #c9c5b8; text-decoration: none; display: block; padding: 4px 8px 4px 20px; font-size: 0.85rem; }
.rules-sidebar a:hover, .rules-sidebar a.active { color: var(--ash-gold); background: rgba(201,168,76,0.05); }
.rules-content { padding: 32px 40px; overflow-y: auto; }
.rules-placeholder { text-align: center; padding: 80px 0; color: var(--ash-gold-dim); }

/* =====================================================
   响应式断点系统 — Mobile First
   Breakpoints:
     xs: ≤ 480px  (极小屏，手机竖屏)
     sm: ≤ 640px  (小屏手机)
     md: ≤ 768px  (中屏手机 / 旧小平板)
     nav: ≤ 900px (导航切换点)
     lg: ≤ 1024px (平板)
   ===================================================== */

/* ── 导航切换点 (≤900px) ── */
@media (max-width: 900px) {
    .top-nav {
        padding: 0 16px;
        gap: 12px;
        justify-content: space-between;
    }
    .top-nav .nav-links { display: none; }
    .top-nav .nav-toggle { display: flex; }
}

/* ── 中屏 (≤768px) ── */
@media (max-width: 768px) {
    /* --- 导航栏 --- */
    .top-nav {
        height: 54px;
        padding: 0 14px;
    }
    .top-nav .nav-brand {
        font-size: 1.3rem;
        letter-spacing: 0.1em;
    }
    .nav-mobile {
        top: 54px;
        padding: 16px 20px 32px;
    }
    .nav-mobile .mobile-link {
        padding: 14px 16px;  /* 更大触控区域 */
        font-size: 1rem;
    }
    .nav-mobile .mobile-group-title {
        font-size: 1rem;
        padding-bottom: 12px;
        margin-bottom: 8px;
    }

    /* --- 页面头部 --- */
    .page-header {
        padding: 40px 16px 28px;
    }
    .page-header h1 {
        font-size: 1.9rem;
        letter-spacing: 0.18em;
    }
    .page-header .subtitle {
        font-size: 0.88rem;
        letter-spacing: 0.22em;
    }
    .page-header .divider {
        width: 100px;
        margin: 18px auto;
    }

    /* --- 内容容器 --- */
    .content {
        padding: 0 16px 48px;
    }

    /* --- 卡片网格 --- */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }
    .card {
        padding: 20px 18px;
    }
    .card h3 {
        font-size: 1rem;
    }

    /* --- 章节标题 --- */
    .section-title {
        font-size: 1.2rem;
        margin: 32px 0 18px;
    }

    /* --- 文本 --- */
    .text-block {
        font-size: 0.93rem;
        line-height: 1.9;
    }
    .quote-block {
        padding: 12px 16px;
        margin: 16px 0;
    }

    /* --- 数据表格 — 横向滚动 --- */
    .scroll-x .data-table {
        min-width: 480px;
        margin-top: 0;
    }
    .data-table th,
    .data-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* --- 等级表格 — 横向滚动 --- */
    .level-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .level-table th,
    .level-table td {
        white-space: normal;
        min-width: 60px;
    }

    /* --- 时间线 --- */
    .timeline {
        padding-left: 20px;
        margin-top: 24px;
    }
    .timeline-item::before {
        left: -26px;
    }

    /* --- 底部导航 --- */
    .bottom-nav {
        padding: 20px 12px;
        gap: 6px;
    }
    .bottom-nav a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* --- 标签 --- */
    .tag {
        padding: 5px 10px;
        font-size: 0.72rem;
        margin-bottom: 6px;
    }

    /* --- tooltip 适配 --- */
    #ash-tooltip {
        max-width: min(300px, calc(100vw - 24px));
        font-size: 0.83rem;
    }

    /* --- 规则书布局 (pages 内 rules-layout) --- */
    .rules-layout {
        grid-template-columns: 1fr;
        margin-top: 54px;
        min-height: auto;
    }
    .rules-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(201,168,76,0.1);
        padding: 12px;
    }
    .rules-content {
        padding: 20px 16px;
    }
}

/* ── 小屏 (≤640px) ── */
@media (max-width: 640px) {
    /* --- 页面头部 --- */
    .page-header h1 {
        font-size: 1.65rem;
        letter-spacing: 0.14em;
    }

    /* --- 卡片 --- */
    .card {
        padding: 16px 14px;
    }

    /* --- 搜索框（全宽） --- */
    .search-box {
        max-width: 100%;
    }

    /* --- 底部导航换行处理 --- */
    .bottom-nav {
        justify-content: flex-start;
        padding: 16px 10px;
    }
}

/* ── 极小屏 (≤480px) ── */
@media (max-width: 480px) {
    /* --- 导航栏 --- */
    .top-nav {
        height: 50px;
        padding: 0 12px;
    }
    .top-nav .nav-brand {
        font-size: 1.15rem;
        gap: 6px;
    }
    .nav-toggle {
        width: 28px;
        height: 28px;
    }
    .nav-mobile {
        top: 50px;
        padding: 12px 16px 28px;
    }
    .nav-mobile .mobile-link {
        padding: 12px 14px;
    }

    /* --- 页面头部 --- */
    .page-header {
        padding: 32px 14px 22px;
    }
    .page-header h1 {
        font-size: 1.45rem;
        letter-spacing: 0.1em;
    }

    /* --- 内容容器 --- */
    .content {
        padding: 0 12px 36px;
    }

    /* --- 章节标题 --- */
    .section-title {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
        margin: 24px 0 14px;
    }

    /* --- 文本 --- */
    .text-block {
        font-size: 0.9rem;
        text-align: left; /* 极小屏不做两端对齐，避免字间距过宽 */
    }

    /* --- 卡片网格 --- */
    .card-grid {
        gap: 12px;
    }
    .card {
        padding: 14px 12px;
    }
    .card h3 {
        font-size: 0.95rem;
    }
    .card p {
        font-size: 0.85rem;
    }

    /* --- 底部导航隐藏部分链接（保留核心） --- */
    .bottom-nav {
        padding: 14px 8px;
    }
    .bottom-nav a {
        padding: 7px 10px;
        font-size: 0.75rem;
    }

    /* --- 表格 --- */
    .scroll-x .data-table th,
    .scroll-x .data-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    /* --- tooltip 占满宽度 --- */
    #ash-tooltip {
        max-width: calc(100vw - 20px);
        left: 10px !important;
        right: 10px !important;
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    /* --- 引用块 --- */
    .quote-block {
        padding: 10px 12px;
        font-size: 0.88rem;
    }
}

/* ─── 敬请期待占位 ─── */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.coming-soon-icon {
    font-size: 3.5rem;
    color: var(--ash-gold-dim);
    margin-bottom: 24px;
    opacity: 0.6;
}
.coming-soon-title {
    font-family: 'Cinzel', 'Noto Serif SC', serif;
    font-size: 1.8rem;
    color: var(--ash-gold);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}
.coming-soon-desc {
    color: var(--ash-dim);
    font-size: 0.95rem;
    max-width: 480px;
    line-height: 1.8;
}
.coming-soon-desc strong {
    color: var(--ash-text);
    font-weight: 700;
}
