/* 时空感知 · 四季叙事之旅 — 新中式克制高级感（模态内） */

.journey-modal-root {
    --jn-bg: #0a0c12;
    --jn-gold: #c9ae74;
    --jn-gold-light: #e4d5a7;
    /* CTA 金色（避免玫瑰金偏粉） */
    --jn-cta-gold: #c9ae74;
    --jn-cta-gold-light: #f1e6c9;
    --jn-body: #e8e6e3;
    --jn-muted: #8e8d8a;
    --jn-glass: rgba(10, 12, 18, 0.72);
    --jn-glass-border: rgba(201, 174, 116, 0.3);
    --jn-ease-out: cubic-bezier(0.2, 0.9, 0.4, 1);
    /* 节气层叠淡入淡出：入略慢、尾韵长；出稍快，避免拖泥带水 */
    --jn-ease-cross-in: cubic-bezier(0.14, 0.78, 0.28, 1);
    --jn-ease-cross-out: cubic-bezier(0.32, 0.02, 0.55, 1);
    --jn-cross-in: 2.05s;
    --jn-cross-out: 1.35s;
    background: var(--jn-bg);
    color: var(--jn-body);
}

.journey-modal-root .journey-modal-header {
    position: relative;
    z-index: 80;
    flex-shrink: 0;
    background: rgba(10, 12, 18, 0.92);
    border-bottom: 1px solid rgba(201, 174, 116, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.journey-title-cn {
    font-family: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', 'Kaiti SC', 'Songti SC', 'Noto Serif SC', serif;
    letter-spacing: 0.12em;
}

/* 游历进度条在 main-wrap 底部 .journey-bottom-progress（见 journey-core 模板） */

.journey-modal-root .journey-title-premium {
    font-family: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', 'Kaiti SC', 'Songti SC', 'Noto Serif SC', serif;
    letter-spacing: 0.08em;
}

.journey-modal-root #journey-modal-current-label {
    font-family: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', 'Kaiti SC', 'Songti SC', 'Noto Serif SC', serif;
    letter-spacing: 0.1em;
}

.journey-modal-root .journey-scroll-premium {
    scroll-snap-type: y mandatory;
    /* auto：保留系统触摸惯性；程序内 scrollIntoView/scrollTo 仍可传 smooth */
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    background: var(--jn-bg);
    /* 底部固定「游历进度」条占位，避免最后一屏内容与条重叠 */
    scroll-padding-bottom: 6.5rem;
    /* 触摸惯性 + 阻断与外层滚动链，减轻从下往上滑时的顿挫 */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
}

.journey-modal-root .journey-scroll-premium::-webkit-scrollbar {
    display: none;
}

.journey-modal-root .journey-scroll-premium.journey-mobile-x {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}

.journey-snap-section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100%;
    position: relative;
    isolation: isolate;
}

.journey-scroll-premium.journey-mobile-x .journey-snap-section {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
}

.journey-parallax-bg-layer {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    transform: translate3d(0, calc(var(--jn-parallax, 0) * 0.12), 0);
    will-change: transform, opacity;
    transition:
        opacity var(--jn-cross-out) var(--jn-ease-cross-out),
        transform 0.9s var(--jn-ease-cross-out);
    opacity: 0;
}

.journey-snap-section.journey-section-visible .journey-parallax-bg-layer {
    opacity: 1;
    transition:
        opacity var(--jn-cross-in) var(--jn-ease-cross-in),
        transform 1.1s var(--jn-ease-cross-in);
}

/* 非当前节气：保留一层淡影，纵向滑动时能与当前页形成可见的明暗过渡（全 0 时邻页像纯黑，淡出几乎看不出来） */
.journey-snap-section:not(.journey-section-visible) .journey-parallax-bg-layer {
    opacity: 0.26;
    transition:
        opacity var(--jn-cross-out) var(--jn-ease-cross-out),
        transform 0.85s var(--jn-ease-cross-out);
}

.journey-parallax-bg-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(10, 12, 18, 0.25) 0%, rgba(10, 12, 18, 0.55) 45%, rgba(10, 12, 18, 0.88) 100%);
    pointer-events: none;
}

.journey-global-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at 50% 40%, var(--section-accent, rgba(201, 174, 116, 0.12)) 0%, transparent 55%);
    opacity: 0;
    transition: opacity var(--jn-cross-out) var(--jn-ease-cross-out);
    animation: journey-glow-rotate 150s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.journey-snap-section.journey-section-visible .journey-global-glow {
    opacity: 0.45;
    transition: opacity calc(var(--jn-cross-in) * 0.92) var(--jn-ease-cross-in);
}

.journey-snap-section:not(.journey-section-visible) .journey-global-glow {
    opacity: 0.1;
    transition: opacity var(--jn-cross-out) var(--jn-ease-cross-out);
}

@keyframes journey-glow-rotate {
    from { transform: rotate(0deg) scale(1.05); }
    to { transform: rotate(360deg) scale(1.05); }
}

.journey-deco-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--jn-cross-out) var(--jn-ease-cross-out);
    transform: translate3d(0, calc(var(--jn-parallax, 0) * 0.22), 0);
}

.journey-snap-section.journey-section-visible .journey-deco-layer {
    opacity: 0.12;
    transition: opacity calc(var(--jn-cross-in) * 0.88) var(--jn-ease-cross-in);
}

.journey-snap-section:not(.journey-section-visible) .journey-deco-layer {
    opacity: 0.04;
    transition: opacity var(--jn-cross-out) var(--jn-ease-cross-out);
}

/* 主文案区：略晚于背景亮起，层次更顺，切换不那么「一刀切开」 */
.journey-term-fade-scope {
    transition: opacity var(--jn-cross-out) var(--jn-ease-cross-out);
}

.journey-snap-section:not(.journey-section-visible) .journey-term-fade-scope {
    opacity: 0.12;
    transition:
        opacity var(--jn-cross-out) var(--jn-ease-cross-out),
        transform var(--jn-cross-out) var(--jn-ease-cross-out);
    transform: translate3d(0, 4px, 0);
}

.journey-snap-section.journey-section-visible .journey-term-fade-scope {
    opacity: 1;
    transition:
        opacity calc(var(--jn-cross-in) * 0.95) var(--jn-ease-cross-in) 0.14s,
        transform calc(var(--jn-cross-in) * 0.85) var(--jn-ease-cross-in) 0.1s;
    transform: translate3d(0, 0, 0);
}

/* 横滑分页（移动端）：略长、更软的浮现，与背景节奏对齐 */
@keyframes journey-term-focus-in {
    from {
        opacity: 0.2;
        transform: translate3d(0, 6px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.journey-scroll-premium.journey-mobile-x .journey-snap-section.journey-section-visible .journey-term-fade-scope {
    animation: journey-term-focus-in 1.12s var(--jn-ease-cross-in) both;
}

.journey-deco-willow .journey-deco-petal {
    position: absolute;
    width: 6px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    background: var(--section-accent, #8fc93a);
    animation: journey-float-diag 48s linear infinite;
}

.journey-deco-rain::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        105deg,
        transparent,
        transparent 14px,
        rgba(255, 255, 255, 0.06) 14px,
        rgba(255, 255, 255, 0.06) 15px
    );
    animation: journey-rain 22s linear infinite;
}

.journey-deco-snow::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1.5px 1.5px at 10% 20%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 40% 80%, rgba(255, 255, 255, 0.4), transparent);
    background-size: 100% 100%;
    animation: journey-snow 36s linear infinite;
}

@keyframes journey-float-diag {
    from { transform: translate(20vw, -10vh) rotate(0deg); opacity: 0; }
    5% { opacity: 0.35; }
    95% { opacity: 0.2; }
    to { transform: translate(-30vw, 110vh) rotate(180deg); opacity: 0; }
}

@keyframes journey-rain {
    from { transform: translateY(-4%); }
    to { transform: translateY(4%); }
}

@keyframes journey-snow {
    from { transform: translateY(-6%); }
    to { transform: translateY(6%); }
}

/* 月令竖排小字已移至节气名上方 .journey-classic-above-title，保留类名兼容旧节区 */
.journey-classic-above-title {
    font-family: var(--site-font-serif);
}

/* 叠在背景图上的小字：略加重色 + 极轻描边，不压画面 */
.journey-hero-caption {
    color: rgba(205, 200, 192, 0.94) !important;
    text-shadow:
        0 1px 2px rgba(6, 8, 12, 0.55),
        0 0 14px rgba(10, 12, 18, 0.35);
}

/* 磨砂卡内辅助小字：略亮于原 #8E8D8A，仍弱于正文 */
.journey-glass-caption {
    color: rgba(184, 181, 175, 0.98) !important;
}

.journey-glass-card {
    background: var(--jn-glass);
    border: 1px solid var(--jn-glass-border);
    border-radius: 1rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .journey-glass-card {
        background: rgba(10, 12, 18, 0.9);
    }
}

/* 节气名：SVG 笔意描边 + 字形淡入（非真笔顺，需字帖路径可后续替换） */
.journey-term-title-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.04em;
    font-family: var(--site-font-display);
    font-size: clamp(3rem, 12vw, 7.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 20px rgba(201, 174, 116, 0.22));
    animation: journey-breathe-title 3.2s ease-in-out infinite;
}

@keyframes journey-breathe-title {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(201, 174, 116, 0.18)); }
    50% { filter: drop-shadow(0 0 26px rgba(201, 174, 116, 0.34)); }
}

.journey-brush-char-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    --brush-delay: 0s;
}

.journey-brush-svg {
    position: absolute;
    width: 0.9em;
    height: 1.05em;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -56%);
    overflow: visible;
    pointer-events: none;
    color: var(--jn-gold);
    opacity: 0.9;
}

.journey-brush-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 5px rgba(201, 174, 116, 0.4));
}

.journey-section-visible .journey-brush-path {
    animation: journey-brush-stroke 0.78s var(--jn-ease-out) forwards;
    animation-delay: var(--brush-delay);
    animation-play-state: paused;
}

.journey-section-visible .journey-brush-char-wrap .journey-brush-path {
    animation-play-state: running;
}

@keyframes journey-brush-stroke {
    to { stroke-dashoffset: 0; }
}

.journey-brush-char-text {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--jn-gold-light), var(--jn-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: scale(0.9);
}

.journey-section-visible .journey-brush-char-text {
    animation: journey-brush-text-in 0.45s ease-out forwards;
    animation-delay: calc(var(--brush-delay) + 0.52s);
    animation-play-state: paused;
}

.journey-section-visible .journey-brush-char-wrap .journey-brush-char-text {
    animation-play-state: running;
}

@keyframes journey-brush-text-in {
    to { opacity: 1; transform: scale(1); }
}

/* 长按节气标题：慢写 / 常速 / 快写（类挂在 #journey-modal-inner） */
#journey-modal-inner.journey-brush-slow .journey-section-visible .journey-brush-path {
    animation-duration: 1.38s;
}
#journey-modal-inner.journey-brush-slow .journey-section-visible .journey-brush-char-text {
    animation-delay: calc(var(--brush-delay) + 0.92s);
}
#journey-modal-inner.journey-brush-fast .journey-section-visible .journey-brush-path {
    animation-duration: 0.46s;
}
#journey-modal-inner.journey-brush-fast .journey-section-visible .journey-brush-char-text {
    animation-delay: calc(var(--brush-delay) + 0.3s);
}

.journey-narr-line {
    font-family: var(--site-font-serif);
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    line-height: 1.85;
    letter-spacing: 0.04em;
    color: var(--jn-body);
    opacity: 0;
    transform: translateY(16px);
    animation: journey-line-in 0.75s ease-out forwards;
    animation-play-state: paused;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.journey-section-visible .journey-narr-line:nth-child(1) { animation-delay: 0.35s; animation-play-state: running; }
.journey-section-visible .journey-narr-line:nth-child(2) { animation-delay: 0.55s; animation-play-state: running; }
.journey-section-visible .journey-narr-line:nth-child(3) { animation-delay: 0.75s; animation-play-state: running; }

@keyframes journey-line-in {
    to { opacity: 0.92; transform: translateY(0); }
}

.journey-poem-chars {
    font-family: var(--site-font-serif);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--jn-gold-light);
    line-height: 1.6;
}

.journey-poem-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(6px);
    animation: journey-char-ink 0.35s ease-out forwards;
    animation-play-state: paused;
}

.journey-section-visible .journey-poem-char {
    animation-play-state: running;
}

@keyframes journey-char-ink {
    to { opacity: 1; transform: translateY(0); }
}

/* 物候：左栏 SVG 微动效，进入视口各播放一次 */
.journey-pheno-block {
    /* 无 .journey-modal-root 变量时的回退（父级有定义则覆盖） */
    --jn-ease-out: cubic-bezier(0.2, 0.9, 0.4, 1);
    --jn-gold: #c9ae74;
    --jn-muted: #8e8d8a;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(201, 174, 116, 0.12);
}

@media (max-width: 480px) {
    .journey-pheno-block {
        grid-template-columns: min(40px, 12vw) minmax(0, 1fr);
        gap: 0.5rem;
    }
    .journey-pheno-bucket {
        width: min(40px, 11vw);
        height: 38px;
    }
}

.journey-pheno-block:last-child {
    border-bottom: none;
}

.journey-pheno-bucket {
    width: 48px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--section-accent, var(--jn-gold));
    opacity: 0.55;
}

/* 仅在动画窗口内提示合成层，超时由 JS 移除 .journey-pheno-anim-active */
.journey-pheno-block.journey-pheno-inview.journey-pheno-anim-active .journey-pheno-bucket {
    will-change: transform, opacity;
}

.journey-pheno-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.journey-pheno-svg .pheno-stroke {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 默认：笔画待触发 */
.journey-pheno-svg .pheno-draw {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.journey-pheno-block.journey-pheno-inview .pheno-draw {
    animation: journey-pheno-dash 1.05s var(--jn-ease-out) forwards;
}

.journey-pheno-block.journey-pheno-inview .pheno-delay-1 { animation-delay: 0.12s; }
.journey-pheno-block.journey-pheno-inview .pheno-delay-2 { animation-delay: 0.24s; }

@keyframes journey-pheno-dash {
    to { stroke-dashoffset: 0; }
}

/* 水纹：同心圆 */
.journey-pheno-bucket--water .pheno-ripple {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.1;
    opacity: 0;
    transform-origin: 22px 20px;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--water .r1 {
    animation: journey-pheno-ripple 1.4s ease-out forwards;
}
.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--water .r2 {
    animation: journey-pheno-ripple 1.4s ease-out 0.18s forwards;
}
.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--water .r3 {
    animation: journey-pheno-ripple 1.4s ease-out 0.36s forwards;
}

@keyframes journey-pheno-ripple {
    0% { opacity: 0; transform: scale(0.3); }
    35% { opacity: 0.65; }
    100% { opacity: 0; transform: scale(1.45); }
}

/* 桃花：瓣形描边 */
.journey-pheno-bucket--peach .pheno-petal {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--peach .pheno-petal {
    animation: journey-pheno-dash 1.15s ease-out forwards;
}

/* 飞鸟：剪影平移 */
.journey-pheno-bucket--bird .pheno-bird {
    opacity: 0;
    transform: translateX(6px);
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--bird .pheno-bird {
    animation: journey-pheno-bird 1.1s ease-out forwards;
}

@keyframes journey-pheno-bird {
    to { opacity: 0.85; transform: translateX(-4px); }
}

/* 雷：折线闪入 */
.journey-pheno-bucket--thunder .pheno-bolt {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    opacity: 0.9;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--thunder .pheno-bolt {
    animation: journey-pheno-dash 0.45s ease-out forwards, journey-pheno-flash 0.45s ease-out;
}

@keyframes journey-pheno-flash {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.35; }
}

/* 落叶：旋转飘落 */
.journey-pheno-bucket--leaf .pheno-leaf {
    fill: rgba(201, 174, 116, 0.35);
    stroke: currentColor;
    stroke-width: 0.8;
    opacity: 0;
    transform-origin: 22px 12px;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--leaf .pheno-leaf {
    animation: journey-pheno-leaf 1.25s ease-out forwards;
}

@keyframes journey-pheno-leaf {
    0% { opacity: 0; transform: rotate(-12deg) translateY(-4px); }
    100% { opacity: 0.9; transform: rotate(18deg) translateY(10px); }
}

/* 露珠 */
.journey-pheno-bucket--dew .pheno-drop {
    fill: currentColor;
    opacity: 0;
    transform-origin: 22px 10px;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--dew .pheno-drop {
    animation: journey-pheno-dew 1.1s ease-out forwards;
}

@keyframes journey-pheno-dew {
    0% { opacity: 0; transform: translateY(-6px) scale(0.6); }
    60% { opacity: 0.75; }
    100% { opacity: 0.5; transform: translateY(4px) scale(1); }
}

/* 虫蛰：微颤点 */
.journey-pheno-bucket--insect .pheno-dot {
    fill: currentColor;
    opacity: 0.25;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--insect .pheno-dot {
    animation: journey-pheno-pulse-dot 0.5s ease-in-out 3;
}

@keyframes journey-pheno-pulse-dot {
    50% { opacity: 0.95; transform: scale(1.15); }
}

/* 幼芽 */
.journey-pheno-bucket--sprout .pheno-sprout {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--sprout .pheno-sprout {
    animation: journey-pheno-dash 1s ease-out forwards;
}

/* 麦芒 */
.journey-pheno-bucket--grain .pheno-grain {
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    fill: none;
    opacity: 0;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--grain .g1 {
    animation: journey-pheno-grain 0.5s ease-out forwards;
}
.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--grain .g2 {
    animation: journey-pheno-grain 0.5s ease-out 0.1s forwards;
}
.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--grain .g3 {
    animation: journey-pheno-grain 0.5s ease-out 0.2s forwards;
}

@keyframes journey-pheno-grain {
    to { opacity: 0.85; }
}

/* 弱提示 */
.journey-pheno-bucket--subtle .pheno-soft {
    fill: currentColor;
    opacity: 0.2;
}

.journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--subtle .pheno-soft {
    animation: journey-pheno-soft 2s ease-in-out forwards;
}

@keyframes journey-pheno-soft {
    50% { opacity: 0.55; }
    100% { opacity: 0.3; }
}

.journey-pheno-copy {
    min-width: 0;
}

.journey-pheno-name {
    font-family: var(--site-font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--section-accent, var(--jn-gold));
    opacity: 0.85;
}

.journey-pheno-quote {
    font-family: var(--site-font-serif);
    font-size: 0.78rem;
    color: rgba(178, 175, 169, 0.98);
    line-height: 1.55;
}

.journey-pheno-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.journey-pheno-head .journey-pheno-name {
    flex: 1;
    min-width: 0;
}

.journey-pheno-replay {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: -6px -4px -6px 0;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(201, 174, 116, 0.28);
    background: rgba(10, 12, 18, 0.55);
    color: var(--jn-gold);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.journey-pheno-replay:hover {
    border-color: rgba(201, 174, 116, 0.55);
    color: #e8dcc4;
}

/* 沉浸关闭：物候动效静音为轻量静态态 */
.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket {
    opacity: 0.4;
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-svg * {
    animation: none !important;
}

.journey-pheno-block.journey-pheno-muted .pheno-draw,
.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--peach .pheno-petal,
.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--thunder .pheno-bolt {
    stroke-dashoffset: 0 !important;
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--bird .pheno-bird {
    opacity: 0.45;
    transform: translateX(-4px);
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--leaf .pheno-leaf {
    opacity: 0.55;
    transform: rotate(12deg) translateY(6px);
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--dew .pheno-drop {
    opacity: 0.45;
    transform: translateY(2px) scale(1);
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--water .pheno-ripple {
    opacity: 0;
    transform: scale(1.15);
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--insect .pheno-dot {
    opacity: 0.5;
    transform: none;
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--grain .pheno-grain {
    opacity: 0.65;
}

.journey-pheno-block.journey-pheno-muted .journey-pheno-bucket--subtle .pheno-soft {
    opacity: 0.35;
}

/* 东风解冻：柳弧线 + 冰裂短划，柳条微摆 */
.journey-pheno-bucket--dongfeng_ice .pheno-willow {
    transform-origin: 4px 30px;
}

.journey-pheno-block.journey-pheno-inview:not(.journey-pheno-muted) .journey-pheno-bucket--dongfeng_ice .pheno-willow {
    animation:
        journey-pheno-dash 1.1s var(--jn-ease-out) forwards,
        /* 有限次数摇摆，避免离开视口后仍无限耗 CPU */
        journey-pheno-willow-sway 2.6s ease-in-out 0.12s 3;
}

@keyframes journey-pheno-willow-sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.journey-modal-root.journey-perf-low .journey-pheno-block.journey-pheno-inview .pheno-draw {
    animation-duration: 0.4s !important;
}

.journey-modal-root.journey-perf-low .journey-pheno-block.journey-pheno-inview .journey-pheno-bucket--dongfeng_ice .pheno-willow {
    animation:
        journey-pheno-dash 0.4s var(--jn-ease-out) forwards,
        journey-pheno-willow-sway 1.2s ease-in-out 0.35s 1 !important;
}

.journey-modal-root.journey-immersive-minimal .journey-particles-canvas {
    opacity: 0.22;
}

.journey-astro-toggle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--jn-glass-border);
    background: rgba(10, 12, 18, 0.6);
    color: var(--jn-gold);
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.25s var(--jn-ease-out), box-shadow 0.25s, background 0.25s;
}

.journey-astro-toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 0 20px rgba(201, 174, 116, 0.35);
    background: rgba(201, 174, 116, 0.12);
}

.journey-astro-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.55s var(--jn-ease-out);
}

.journey-astro-panel.journey-astro-open {
    max-height: 320px;
}

.journey-btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    border: 1px solid var(--jn-glass-border);
    color: var(--jn-body);
    background: rgba(201, 174, 116, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
}

.journey-btn-premium:hover {
    transform: scale(1.04);
    background: rgba(201, 174, 116, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.journey-dots-rail {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 999px;
    background: rgba(10, 12, 18, 0.5);
    border: 1px solid rgba(201, 174, 116, 0.15);
}

.journey-dots-rail button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    padding: 0;
    border: none;
    background: rgba(232, 230, 227, 0.28);
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s, box-shadow 0.22s;
    position: relative;
}

.journey-dots-rail button:hover {
    transform: scale(1.5);
    background: rgba(232, 230, 227, 0.55);
}

.journey-dots-rail button.journey-dot-active {
    background: var(--jn-gold);
    box-shadow: 0 0 10px rgba(201, 174, 116, 0.75);
    transform: scale(1.35);
}

.journey-dots-rail button[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    right: 100%;
    margin-right: 10px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(10, 12, 18, 0.92);
    border: 1px solid rgba(201, 174, 116, 0.25);
    color: var(--jn-body);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.journey-dots-rail button:hover::after {
    opacity: 1;
}

.journey-dots-bottom {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6.75rem;
    z-index: 28;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px 10px;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    background: linear-gradient(0deg, rgba(10, 12, 18, 0.94), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}

.journey-dots-bottom button.journey-chip-name {
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-width: 3.25em;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(201, 174, 116, 0.22);
    background: rgba(10, 12, 18, 0.72);
    color: var(--jn-muted);
    font-family: var(--site-font-serif);
    font-size: 12px;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.journey-dots-bottom button.journey-chip-name.journey-dot-active {
    border-color: var(--jn-gold);
    color: var(--jn-gold);
    box-shadow: 0 0 14px rgba(201, 174, 116, 0.28);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .journey-dots-rail {
        display: none;
    }
    .journey-dots-bottom {
        display: flex;
    }
}

/* 探寻大地：半透明遮罩，点击关闭侧栏 */
.journey-region-scrim {
    position: fixed;
    inset: 0;
    z-index: 58;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.journey-region-scrim.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.journey-danmu-line {
    position: absolute;
    left: 100%;
    max-width: min(96vw, 52rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--site-font-serif);
    font-size: 0.7rem;
    /* 略加重仍半透明，不挡背景主体 */
    color: rgba(232, 230, 227, 0.27);
    text-shadow:
        0 0 18px rgba(10, 12, 18, 0.4),
        0 1px 2px rgba(8, 10, 14, 0.35);
    z-index: 6;
    pointer-events: none;
    will-change: transform;
    animation: journey-danmu-move var(--danmu-dur, 68s) linear infinite;
}

@keyframes journey-danmu-move {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 100%)); }
}

/* 地域五区横滑：触摸与卡片宽度 */
.journey-region-scroller {
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.journey-modal-root .journey-region-card {
    flex: 0 0 min(78vw, 280px);
    width: min(78vw, 280px);
    max-width: 300px;
}

.journey-particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.55;
}

/* 打开侧栏时不再整屏模糊，避免进度条与主区难辨认；如需弱化主区可仅调透明度 */
.journey-modal-root.journey-panel-open .journey-modal-main-wrap {
    filter: none;
}

.journey-side-panel {
    box-shadow: none !important;
    filter: none;
}

.journey-modal-root .journey-region-card {
    box-shadow: none;
}

@media (max-width: 768px) {
    .journey-modal-root.journey-panel-open .journey-dots-bottom {
        display: none !important;
    }
}

.journey-egg-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 12, 18, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: journey-egg-fade 0.5s ease;
}

@keyframes journey-egg-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.journey-egg-text {
    font-family: var(--site-font-display);
    font-size: clamp(1.8rem, 6vw, 3rem);
    color: var(--jn-gold);
    text-align: center;
    margin-top: 1rem;
    letter-spacing: 0.2em;
}

/* 漫游页「时空感知」外框 — 基调 #0A0C12、主色随节气（--site-primary）微光、香槟金点缀 */
.journey-section-bg-premium {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(201, 174, 116, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 10px 32px rgba(15, 23, 42, 0.1),
        0 2px 12px rgba(15, 23, 42, 0.06);
    background:
        radial-gradient(980px 500px at 12% -10%, rgba(201, 174, 116, 0.06), transparent 55%),
        radial-gradient(820px 420px at 88% 102%, rgb(var(--site-primary-rgb, 22 163 74) / 0.07), transparent 58%),
        radial-gradient(720px 380px at 48% 8%, rgb(var(--site-primary-rgb, 22 163 74) / 0.06), transparent 52%),
        linear-gradient(165deg, #0a0c12 0%, #0c1422 32%, #0a121c 58%, #080a0f 100%);
}

.journey-section-bg-premium::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(ellipse at 40% 35%, rgb(var(--site-primary-rgb, 22 163 74) / 0.09) 0%, transparent 52%);
    opacity: 0.55;
    animation: journey-hero-ambient 42s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes journey-hero-ambient {
    0% {
        transform: translate3d(-2%, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(2%, 1%, 0) rotate(4deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-section-bg-premium::before {
        animation: none;
        opacity: 0.35;
    }
}

.dark .journey-section-bg-premium {
    border-color: rgba(201, 174, 116, 0.32);
    background:
        radial-gradient(980px 500px at 12% -10%, rgba(201, 174, 116, 0.07), transparent 55%),
        radial-gradient(820px 420px at 88% 102%, rgb(var(--site-primary-rgb, 22 163 74) / 0.1), transparent 58%),
        radial-gradient(720px 380px at 48% 8%, rgb(var(--site-primary-rgb, 22 163 74) / 0.08), transparent 52%),
        linear-gradient(165deg, #06080d 0%, #0a1018 34%, #080c12 62%, #050608 100%);
    box-shadow: var(--shadow-1, 0 18px 50px rgba(0, 0, 0, 0.45), 0 2px 10px rgba(0, 0, 0, 0.25));
}

.journey-glass-premium {
    position: relative;
    z-index: 1;
    background: rgba(10, 12, 18, 0.72);
    border: 2px solid rgba(201, 174, 116, 0.42);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 24px 56px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* 主 CTA：与全站 --site-primary 一致，香槟描边点缀 */
.journey-cta-premium {
    background: linear-gradient(
        135deg,
        var(--jn-cta-gold, #c9ae74) 0%,
        color-mix(in srgb, var(--jn-cta-gold, #c9ae74) 78%, #ffffff) 100%
    );
    border: 1px solid rgba(228, 213, 167, 0.35);
    color: #f8fafc;
    box-shadow:
        0 10px 28px rgb(201 174 116 / 0.35),
        0 2px 8px rgba(0, 0, 0, 0.25);
}

.journey-cta-premium:hover {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--jn-cta-gold, #c9ae74) 92%, #000000) 0%,
        var(--jn-cta-gold, #c9ae74) 100%
    );
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.journey-cta-premium-secondary {
    background: rgba(10, 12, 18, 0.55);
    border: 1px solid rgba(201, 174, 116, 0.38);
    color: #e8e6e3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.journey-cta-premium-secondary:hover {
    background: rgb(var(--site-primary-rgb, 22 163 74) / 0.12);
    border-color: rgba(228, 213, 167, 0.5);
    transform: translateY(-1px);
}

/* 漫游页时间轴圆点 — 与模态香槟金一致 */
#season-journey .journey-timeline-dot-active {
    background: radial-gradient(circle at 30% 30%, #f9fafb, #c9ae74);
    box-shadow:
        0 0 0 3px rgba(201, 174, 116, 0.4),
        0 0 22px rgba(201, 174, 116, 0.55);
    animation: journey-pulse-gold 2.2s ease-out infinite;
}

/* Roam 页时间轴：补齐基础 dot 样式（确保“进度球”可见） */
#season-journey .journey-timeline {
    position: relative;
}
#season-journey .journey-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(to right, rgba(201, 174, 116, 0.15), rgba(201, 174, 116, 0.6), rgba(201, 174, 116, 0.15));
    opacity: 0.85;
    pointer-events: none;
}
#season-journey .journey-timeline-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(232, 230, 227, 0.92), rgba(142, 141, 138, 0.7));
    box-shadow: 0 0 0 0 rgba(201, 174, 116, 0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
#season-journey .journey-timeline-dot::after {
    content: attr(data-term-name);
    position: absolute;
    left: 50%;
    top: -2.4rem;
    transform: translateX(-50%);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    background: rgba(10, 12, 18, 0.9);
    border: 1px solid rgba(201, 174, 116, 0.22);
    color: #e8e6e3;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform-origin: bottom center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#season-journey .journey-timeline-dot:hover::after {
    opacity: 1;
    transform: translate(-50%, -4px);
}

@keyframes journey-pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(201, 174, 116, 0.55), 0 0 18px rgba(201, 174, 116, 0.45);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(201, 174, 116, 0), 0 0 28px rgba(201, 174, 116, 0.35);
    }
    100% {
        box-shadow: 0 0 0 18px rgba(201, 174, 116, 0), 0 0 14px rgba(201, 174, 116, 0.2);
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-modal-root .journey-scroll-premium {
        scroll-behavior: auto;
    }
    .journey-parallax-bg-layer,
    .journey-global-glow,
    .journey-deco-layer,
    .journey-term-fade-scope {
        transition: none !important;
        animation: none !important;
    }
    .journey-snap-section:not(.journey-section-visible) .journey-parallax-bg-layer {
        opacity: 0 !important;
    }
    .journey-snap-section:not(.journey-section-visible) .journey-global-glow,
    .journey-snap-section:not(.journey-section-visible) .journey-deco-layer {
        opacity: 0 !important;
    }
    .journey-snap-section:not(.journey-section-visible) .journey-term-fade-scope,
    .journey-snap-section.journey-section-visible .journey-term-fade-scope {
        opacity: 1 !important;
        transform: none !important;
    }
    .journey-brush-path {
        stroke-dashoffset: 0 !important;
        animation: none !important;
    }
    .journey-brush-char-text {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .journey-pheno-block .journey-pheno-svg * {
        animation: none !important;
    }
    .journey-pheno-block .pheno-draw,
    .journey-pheno-bucket--peach .pheno-petal,
    .journey-pheno-bucket--thunder .pheno-bolt {
        stroke-dashoffset: 0 !important;
    }
    .journey-pheno-bucket--water .pheno-ripple,
    .journey-pheno-bucket--bird .pheno-bird,
    .journey-pheno-bucket--leaf .pheno-leaf,
    .journey-pheno-bucket--dew .pheno-drop {
        opacity: 0.5 !important;
        transform: none !important;
    }
    .journey-danmu-line {
        animation: none !important;
        opacity: 0.2 !important;
    }
}
