/* 久访谈 → 久久思念堂：与久存云盘统一文字样式 */
.main-nav .nav-special {
    color: var(--blue-600);
    font-weight: 600;
}

.main-nav .nav-special .icon {
    width: 17px;
    height: 17px;
    color: currentColor;
}

.main-nav .nav-special:hover,
.main-nav .nav-special.is-active {
    color: var(--blue-700);
}

/* 久久思念堂：让烛火和青烟冲出导航行高 */
.main-nav {
    overflow: visible;
    z-index: 95;
}

.main-nav .nav-memorial {
    position: relative;
    overflow: visible;
}

.nav-candle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 54px;
    margin: -10px 1px -10px -2px;
    flex: 0 0 auto;
    pointer-events: none;
    color: #b99a6b;
}

.nav-candle svg {
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 38px;
    height: 112px;
    transform: translateX(-50%);
    overflow: visible;
    filter: drop-shadow(0 0 5px rgba(246, 180, 94, .2));
}

.nav-candle-smoke {
    transform-origin: 25px 86px;
    animation: candleSmokeDrift 5.2s ease-in-out infinite;
}

.nav-candle-smoke-line {
    fill: none;
    stroke: #9fbab2;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 38 72;
    stroke-dashoffset: 75;
    opacity: 0;
    animation: smokeRise 4.8s ease-in-out infinite;
}

.smoke-a { animation-delay: 0s; }
.smoke-b { animation-delay: 1.2s; }
.smoke-c { animation-delay: 2.4s; }

@keyframes smokeRise {
    0% {
        opacity: 0;
        stroke-dashoffset: 75;
        transform: translateY(7px) scaleX(.9);
    }
    22% {
        opacity: .62;
    }
    62% {
        opacity: .42;
    }
    100% {
        opacity: 0;
        stroke-dashoffset: -95;
        transform: translateY(-13px) scaleX(1.25);
    }
}

@keyframes candleSmokeDrift {
    0%, 100% { transform: translateY(1px); }
    50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
    .nav-candle-smoke,
    .nav-candle-smoke-line {
        animation: none;
    }

    .nav-candle-smoke-line {
        opacity: .35;
        stroke-dashoffset: 22;
    }
}

@media (max-width: 820px) {
    .nav-candle {
        width: 30px;
        height: 44px;
        margin: 0 1px 0 -2px;
    }

    .nav-candle svg {
        width: 32px;
        height: 86px;
    }
}
