/* ============================================================
   我要开卦！ — 「宣纸 · 墨 · 青铜」视觉世界（布局参考效果图）
   参照 impeccable craft-floor / taste-skill / emil-design-eng / apple-design：
   - 暖纸底 + 墨字 + 青铜金单一主色，语义色仅用于吉凶
   - 宋体 serif 承担显示字号，罗盘吉宫绿色能量扇区
   - 海拔只声明一次：发丝边框 + 弥散冷影，玻璃模糊只留给吸顶导航
   - 动效：精确属性的自定义缓动、hover 仅在精确指针设备启用、
     卡片错落入场、罗盘为全场唯一编排时刻
   ============================================================ */

:root {
    /* 底色与墨色 */
    --bg: #f6f4ee;                       /* 宣纸 */
    --surface: #fffdf9;                  /* 纸面 */
    --ink: #29251c;
    --ink-2: #6f685a;
    --ink-3: #a09886;
    --hairline: rgba(41, 37, 28, 0.09);
    --hairline-strong: rgba(41, 37, 28, 0.16);

    /* 主色：青铜金 */
    --accent: #8a6d24;
    --accent-deep: #6d5618;
    --accent-soft: rgba(138, 109, 36, 0.12);
    --accent-faint: rgba(138, 109, 36, 0.07);

    /* 吉凶语义色 */
    --c-great: #2f9e5f;  --c-great-ink: #1d7a46;  --c-great-bg: rgba(47, 158, 95, 0.12);
    --c-good: #3b9aae;   --c-good-ink: #1f7183;   --c-good-bg: rgba(59, 154, 174, 0.12);
    --c-neutral: #8a8478;--c-neutral-ink: #635e54;--c-neutral-bg: rgba(138, 132, 120, 0.14);
    --c-leak: #c98a1b;   --c-leak-ink: #956409;   --c-leak-bg: rgba(201, 138, 27, 0.14);
    --c-bad: #d0453e;    --c-bad-ink: #a83228;    --c-bad-bg: rgba(208, 69, 62, 0.11);

    /* 形态 */
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-card:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 1px 2px rgba(41, 37, 28, 0.04),
        0 10px 28px rgba(41, 37, 28, 0.05);
    --shadow-lift:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 2px 4px rgba(41, 37, 28, 0.05),
        0 18px 44px rgba(41, 37, 28, 0.09);

    /* 动效 */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

    /* 字体 */
    --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
        "SimSun", serif;
}

* { box-sizing: border-box; }

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(1000px 520px at 90% -8%, rgba(138, 109, 36, 0.06), transparent 60%),
        radial-gradient(800px 480px at -8% 30%, rgba(59, 154, 174, 0.04), transparent 55%),
        var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* 浏览器原生表面也要设计（craft-floor：最廉价的"做过设计"信号） */
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(41, 37, 28, 0.16); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

h1, h2, h3 { margin: 0 0 0.4em; letter-spacing: -0.015em; line-height: 1.18; }
h1 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h2 { font-size: 1.1rem; margin-top: 0.2em; }
p  { margin: 0 0 0.75em; }
a  { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }
code { background: rgba(41, 37, 28, 0.06); padding: 0.1em 0.4em; border-radius: 6px; font-size: 0.9em; }

/* 跳转链接（键盘可达性） */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 0 0 10px 0;
    z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 表面 ---------- */
.glass {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* ---------- 导航（唯一使用毛玻璃处：浮动功能层） ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
    background: rgba(246, 244, 238, 0.72);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--hairline);
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { color: var(--accent); font-size: 1.4rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.01em;
}
.brand-sub { font-size: 0.68rem; color: var(--ink-3); letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; font-size: 0.92rem; }
.nav-links a { color: var(--ink-2); font-weight: 500; transition: color 160ms var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.tz-badge {
    font-size: 0.75rem;
    color: var(--ink-2);
    border: 1px solid var(--hairline);
    padding: 0.22em 0.7em;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

/* ---------- 布局 ---------- */
.container {
    width: 100%;
    padding: 0 clamp(1rem, 2.5vw, 2.5rem);
    margin: 2rem auto 4rem;
}

/* ---------- 首页 Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: minmax(230px, 300px) 1fr;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}
.hero-duo { grid-template-columns: minmax(230px, 300px) 1fr; }
/* 卦象 + 罗盘合一板块：一张卡内左右连通，发丝分隔 */
.hero-merge {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}
.hero-merge .gua-card {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.hero-merge .hero-compass {
    flex: none;
    width: 225px;
    border-left: 1px solid var(--hairline);
}
.hero-compass {
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}
.hero-compass .hero-label { align-self: flex-start; }
.hero-compass .card-link { margin-top: auto; align-self: flex-end; }
.mini-compass { width: min(100%, 185px); height: auto; display: block; }
.mini-compass .ring { fill: none; stroke: var(--hairline-strong); stroke-width: 1; }
.mini-compass .spoke { stroke: var(--hairline); stroke-width: 1; }
.mini-compass .sector { fill: rgba(41, 37, 28, 0.02); }
.mini-compass .sector.lucky { fill: rgba(47, 158, 95, 0.10); }
.mini-compass .sector.lucky.strong { fill: rgba(47, 158, 95, 0.20); }
.mini-compass .palace-name { font-size: 10px; fill: var(--ink-3); letter-spacing: 0.03em; }
.mini-compass .center { fill: var(--ink); }
.card-link { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.card-link:hover { color: var(--accent-deep); }
.gua-card .card-link { display: inline-block; margin-top: 0.55rem; }
.hero-time {
    padding: 1.7rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-label {
    font-size: 0.8rem;
    color: var(--ink-3);
    letter-spacing: 0.08em;
}
.hero-shichen {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 6vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    margin: 0.15em 0 0.1em;
}
.hero-lunar { font-weight: 600; color: var(--ink-2); }
.hero-clock {
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
    font-size: 0.88rem;
    margin-top: 0.2rem;
}
.hero-countdown {
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ---------- 卦象卡片 ---------- */
.gua-card {
    display: flex;
    gap: 1.6rem;
    padding: 1.7rem 1.8rem;
    align-items: flex-start;
}
.gua-visual { flex: none; padding-top: 0.3rem; }
.hexagram .yao { fill: var(--ink); }
.hexagram .yao.moving { fill: var(--accent); }
.hexagram .moving-dot { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.gua-name {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.gua-sub { color: var(--ink-2); margin: 0.25rem 0 0.8rem; font-size: 0.95rem; }
.gua-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.75rem; }
.tag {
    font-size: 0.78rem;
    padding: 0.28em 0.75em;
    border-radius: 999px;
    border: 1px solid var(--hairline);
    color: var(--ink-2);
    font-weight: 500;
    background: transparent;
}
.tag-ti {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent-deep);
    font-weight: 600;
}
.tag-trend { border-style: dashed; color: var(--ink-3); }
.tag-changed {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent-deep);
    font-weight: 600;
}
.gua-lucky { font-weight: 600; color: var(--c-great-ink); margin-bottom: 0.55rem; }
.gua-formula {
    font-size: 0.76rem;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
    line-height: 1.75;
}

/* ---------- 分区标题 ---------- */
.section-head {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin: 0 0 1.1rem;
}
.section-head h2 { margin: 0; }
.section-sub { color: var(--ink-3); font-size: 0.82rem; }

/* ---------- 地图卡片网格（一排最多 6 个） ---------- */
.map-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
@media (max-width: 1500px) { .map-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1200px) { .map-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .map-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .map-grid { grid-template-columns: repeat(2, 1fr); } }
.map-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--ink);
    transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .map-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
}
.map-card:active { transform: scale(0.97); transition-duration: 100ms; }
.map-card-img {
    aspect-ratio: 16 / 9;
    background: var(--accent-faint);
    overflow: hidden;
}
.map-card-img img { width: 100%; height: 100%; object-fit: cover; }
.map-card-body { padding: 0.7rem 0.8rem 0.8rem; }
.map-card-name { font-family: var(--serif); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; }
.map-card-name-en {
    color: var(--ink-3);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    margin: 0.05rem 0 0.45rem;
}


/* ---------- 吉凶徽章 ---------- */
.site-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-size: 0.76rem;
    font-weight: 500;
    padding: 0.3em 0.7em;
    border-radius: 999px;
}
.site-chip b { font-weight: 700; }
.site-chip.great   { background: var(--c-great-bg);   color: var(--c-great-ink); }
.site-chip.good    { background: var(--c-good-bg);    color: var(--c-good-ink); }
.site-chip.neutral { background: var(--c-neutral-bg); color: var(--c-neutral-ink); }
.site-chip.leak    { background: var(--c-leak-bg);    color: var(--c-leak-ink); }
.site-chip.bad     { background: var(--c-bad-bg);     color: var(--c-bad-ink); }


/* ---------- 详情页 ---------- */
.crumb { margin-bottom: 1rem; font-size: 0.88rem; }
.map-head {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr auto;
    align-items: center;
    gap: 1.6rem;
    padding: 1.15rem;
    margin-bottom: 1.4rem;
}
.map-head-img {
    aspect-ratio: 16 / 9.5;
    border-radius: var(--radius-md);
    background-color: var(--accent-faint);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--hairline);
}
.map-head-info { min-width: 0; }
.map-title { margin-bottom: 0.05em; }
.map-subtitle { color: var(--ink-2); font-size: 0.9rem; letter-spacing: 0.03em; }
.map-coords {
    color: var(--ink-3);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    margin-top: 0.35rem;
    font-variant-numeric: tabular-nums;
}
.map-head-time { text-align: right; color: var(--ink-2); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.map-head-clock {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    margin: 0.08em 0;
    font-variant-numeric: tabular-nums;
}
.map-head-time .hero-countdown { margin-top: 0.35rem; }

.detail-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 1.25rem;
    align-items: start;
}
.compass-panel { padding: 1.3rem; }
.panel-head {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}
.panel-head h2 { margin: 0; }
.panel-sub { color: var(--ink-3); font-size: 0.8rem; }
.compass { width: 100%; max-width: 400px; height: auto; display: block; margin: 0 auto; }
.compass .ring { fill: none; stroke: var(--hairline-strong); stroke-width: 1; }
.compass .spoke { stroke: var(--hairline); stroke-width: 1; }
.compass .sector { fill: rgba(41, 37, 28, 0.02); }
.compass .sector.lucky { fill: rgba(47, 158, 95, 0.10); }
.compass .sector.lucky.strong { fill: rgba(47, 158, 95, 0.20); }
.compass .palace-symbol { font-size: 22px; fill: var(--ink-2); }
.compass .palace-name { font-size: 11px; fill: var(--ink-3); letter-spacing: 0.04em; }
.compass .dot-callout { fill: rgba(41, 37, 28, 0.30); }
.compass .center { fill: var(--ink); }
.compass .site-line { stroke-width: 1.5; opacity: 0.45; }
.compass .site-line.great { stroke: var(--c-great); }
.compass .site-line.good { stroke: var(--c-good); }
.compass .site-line.neutral { stroke: var(--c-neutral); }
.compass .site-line.leak { stroke: var(--c-leak); }
.compass .site-line.bad { stroke: var(--c-bad); }
.compass .site-dot circle { stroke: #fffdf9; stroke-width: 2.5; }
.compass .site-dot.great circle { fill: var(--c-great); }
.compass .site-dot.good circle { fill: var(--c-good); }
.compass .site-dot.neutral circle { fill: var(--c-neutral); }
.compass .site-dot.leak circle { fill: var(--c-leak); }
.compass .site-dot.bad circle { fill: var(--c-bad); }
.compass .site-dot text { fill: #fffdf9; font-weight: 700; font-size: 12px; }
.compass .site-dot.best circle {
    animation: pulse 2.6s var(--ease-out) infinite;
    transform-origin: center;
    transform-box: fill-box;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.16); }
}
.compass-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
    margin-top: 0.8rem;
    font-size: 0.78rem;
    color: var(--ink-2);
}
.compass-legend .lg {
    display: inline-block;
    width: 9px; height: 9px;
    border-radius: 50%;
    margin-right: 0.3em;
}
.lg.great { background: var(--c-great); }
.lg.good { background: var(--c-good); }
.lg.neutral { background: var(--c-neutral); }
.lg.leak { background: var(--c-leak); }
.lg.bad { background: var(--c-bad); }

.side-panel { display: flex; flex-direction: column; gap: 1.25rem; }
.side-panel .gua-card { flex-direction: column; gap: 1rem; }

.sites-panel { padding: 1.5rem 1.7rem; }
.sites-panel h2 { margin-bottom: 0.8em; }
.site-row {
    padding: 0.95rem 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(41, 37, 28, 0.028);
    margin-bottom: 0.7rem;
    border: 1px solid transparent;
}
.site-row.is-best {
    border-color: rgba(47, 158, 95, 0.4);
    background: rgba(47, 158, 95, 0.06);
}
.site-row-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
.site-letter {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fffdf9;
    font-size: 0.85rem;
}
.site-row.great .site-letter { background: var(--c-great); }
.site-row.good .site-letter { background: var(--c-good); }
.site-row.neutral .site-letter { background: var(--c-neutral); }
.site-row.leak .site-letter { background: var(--c-leak); }
.site-row.bad .site-letter { background: var(--c-bad); }
.site-label { font-weight: 700; }
.site-row.great .site-label { color: var(--c-great-ink); }
.site-row.good .site-label { color: var(--c-good-ink); }
.site-row.neutral .site-label { color: var(--c-neutral-ink); }
.site-row.leak .site-label { color: var(--c-leak-ink); }
.site-row.bad .site-label { color: var(--c-bad-ink); }
.site-verdict { margin-left: auto; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.site-reasoning { margin: 0; font-size: 0.9rem; }
.site-meta { margin: 0.35rem 0 0; font-size: 0.74rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- AI 解读面板 ---------- */
.ai-daily, .ai-panel { padding: 1.5rem 1.7rem; }
.ai-daily { margin-bottom: 1.75rem; }
.ai-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 0.65rem;
}
.ai-mark { color: var(--accent); font-size: 1.05rem; }
.ai-body p { margin: 0 0 0.6em; }
.ai-body p:last-child { margin-bottom: 0; }
.ai-body strong { color: var(--accent-deep); }
.ai-skeleton i {
    display: block;
    height: 0.85em;
    border-radius: 6px;
    margin-bottom: 0.6em;
    background: linear-gradient(90deg, rgba(41,37,28,.05) 25%, rgba(41,37,28,.10) 50%, rgba(41,37,28,.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}
.ai-skeleton i:nth-child(2) { width: 92%; }
.ai-skeleton i:nth-child(3) { width: 78%; }
.ai-skeleton i:nth-child(4) { width: 58%; }
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.ai-loaded .ai-body { animation: fadeIn 380ms var(--ease-out); }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

/* ---------- 按钮 / 侧栏提示 ---------- */
.btn {
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55em 1.35em;
    border: none;
    border-radius: 999px;
    background: var(--ink);
    color: #fffdf9;
    cursor: pointer;
    display: inline-block;
    transition: transform 120ms var(--ease-out), background-color 180ms var(--ease-out);
}
.btn:hover { background: #3d382c; color: #fffdf9; }
.btn:active { transform: scale(0.97); }
.btn-ghost { background: transparent; border: 1px solid var(--hairline-strong); color: var(--ink); }
.btn-ghost:hover { background: rgba(41, 37, 28, 0.04); color: var(--ink); }

/* ---------- 说明页 / 空状态 ---------- */
.about { padding: 2.2rem 2.5rem; max-width: 780px; margin: 0 auto; }
.about h2 { margin-top: 1.8rem; }
.about ul { padding-left: 1.3rem; color: var(--ink-2); }
.about p { color: var(--ink-2); max-width: 68ch; }
.about p strong { color: var(--ink); }
.score-table { border-collapse: collapse; width: 100%; margin: 0.7rem 0 1.1rem; font-size: 0.9rem; }
.score-table th, .score-table td { padding: 0.55em 0.8em; text-align: left; }
.score-table thead tr { border-bottom: 1px solid var(--hairline-strong); }
.score-table tbody tr { border-bottom: 1px solid var(--hairline); }
.score-table tbody tr:last-child { border-bottom: none; }
.score-table th { color: var(--ink-2); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; }
.disclaimer { margin-top: 2rem; font-size: 0.83rem; color: var(--ink-3) !important; }

.empty { padding: 3.2rem 2rem; text-align: center; max-width: 560px; margin: 2rem auto; }


/* ---------- 入场动效（仅在未要求减弱动效时） ---------- */
@media (prefers-reduced-motion: no-preference) {
    .map-card { animation: cardIn 480ms var(--ease-out) both; }
    .map-card:nth-child(1) { animation-delay: 0ms; }
    .map-card:nth-child(2) { animation-delay: 40ms; }
    .map-card:nth-child(3) { animation-delay: 80ms; }
    .map-card:nth-child(4) { animation-delay: 120ms; }
    .map-card:nth-child(5) { animation-delay: 160ms; }
    .map-card:nth-child(6) { animation-delay: 200ms; }
    .map-card:nth-child(n+7) { animation-delay: 240ms; }

    /* 全场唯一编排时刻：罗盘携卦意展开 */
    .compass-panel { animation: compassIn 620ms var(--ease-out) both; }
    .hero-time, .hero-merge, .gua-card { animation: cardIn 480ms var(--ease-out) both; }
    .hero-merge, .gua-card { animation-delay: 60ms; }
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
@keyframes compassIn {
    from { opacity: 0; transform: scale(0.965); filter: blur(3px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
    .hero, .hero-duo { grid-template-columns: 1fr; }
    .hero-merge { flex-direction: column; }
    .hero-merge .hero-compass { width: auto; border-left: none; border-top: 1px solid var(--hairline); }
    .detail-layout { grid-template-columns: 1fr; }
    .map-head { grid-template-columns: 1fr; }
    .map-head-time { text-align: left; }
    .gua-card { flex-direction: column; gap: 1rem; }
    .container { margin-top: 1.25rem; }
}

/* ---------- 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .map-card:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
    .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
