.site-skip-link {
    position: absolute;
    top: 8px;
    left: 10px;
    z-index: 2200;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(8, 14, 30, 0.96);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 215, 159, 0.55);
    transform: translateY(-150%);
    transition: transform 0.18s ease;
}

.site-skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background:
        linear-gradient(120deg, rgba(16, 26, 52, 0.95), rgba(10, 16, 34, 0.95)),
        linear-gradient(160deg, #111b36 0%, #0a1022 100%);
    border-bottom: 1px solid rgba(255, 217, 166, 0.25);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.site-header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    min-width: 0;
}

.site-brand-logo {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 150, 0.3), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 225, 181, 0.35);
    flex-shrink: 0;
}

.site-brand-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.site-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand-text strong {
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.1;
    white-space: nowrap;
}

.site-brand-text small {
    color: rgba(255, 239, 214, 0.8);
    font-size: 12px;
    margin-top: 3px;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.site-nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.site-nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 235, 199, 0.28);
    color: #fff;
}

.site-nav-link.active {
    background: linear-gradient(135deg, rgba(255, 203, 134, 0.28), rgba(255, 147, 103, 0.25));
    border-color: rgba(255, 221, 171, 0.75);
    color: #fff;
}

.site-header-meta {
    border-top: 1px solid rgba(255, 216, 154, 0.18);
    background: rgba(8, 14, 30, 0.45);
}

.site-date-card {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    padding: 8px 0;
}

.site-date-primary {
    font-weight: 700;
    color: #ffe1b2;
    letter-spacing: 0.4px;
}

.site-date-week {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 224, 173, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.site-date-lunar {
    color: rgba(255, 241, 217, 0.85);
}

.site-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 222, 171, 0.42);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    flex-shrink: 0;
}

.site-menu-btn span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-menu-btn.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.site-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 10, 20, 0.58);
    z-index: 1190;
    backdrop-filter: blur(2px);
}

.site-footer {
    position: relative;
    margin-top: 72px;
    padding: 48px 0 26px;
    background:
        radial-gradient(circle at 50% -20%, rgba(255, 198, 117, 0.18), transparent 55%),
        linear-gradient(180deg, #121d3a 0%, #0a1022 58%, #060912 100%);
    border-top: 1px solid rgba(255, 216, 163, 0.22);
    overflow: hidden;
}

.site-footer-glow {
    position: absolute;
    width: 680px;
    height: 220px;
    left: 50%;
    top: -140px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 207, 145, 0.22), transparent 72%);
    filter: blur(8px);
    pointer-events: none;
}

.site-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr auto 1fr;
    gap: 36px;
    align-items: start;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.site-footer-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 221, 169, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.site-footer-logo-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.site-footer-logo-text {
    display: flex;
    flex-direction: column;
}

.site-footer-logo-text strong {
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.1;
    color: #fff;
}

.site-footer-logo-text small {
    margin-top: 3px;
    color: rgba(255, 235, 201, 0.8);
    font-size: 12px;
}

.site-footer-desc {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.75;
    max-width: 420px;
}

.site-footer-nav h4,
.site-footer-meta h4 {
    margin: 0 0 11px;
    color: rgba(255, 232, 193, 0.95);
    font-size: 14px;
    letter-spacing: 0.6px;
}

.site-footer-nav {
    display: flex;
    flex-direction: column;
    min-width: 130px;
}

.site-footer-link {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.9;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
    width: fit-content;
}

.site-footer-link:hover,
.site-footer-link.active {
    color: #ffe0af;
    border-color: rgba(255, 224, 175, 0.42);
}

.site-footer-meta p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.65;
}

.site-footer-copyright {
    margin-top: 12px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-weight: 600;
}

.site-footer-record {
    margin: 2px 0 0 !important;
    font-size: 12px !important;
}

.site-footer-record a {
    color: rgba(255, 225, 173, 0.84);
    text-decoration: none;
}

.site-footer-record a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .site-menu-btn {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        right: -290px;
        top: 0;
        width: 260px;
        height: 100vh;
        z-index: 1205;
        padding: 88px 16px 18px;
        background: linear-gradient(180deg, #132246 0%, #0b152e 100%);
        border-left: 1px solid rgba(255, 221, 170, 0.25);
        box-shadow: -12px 0 28px rgba(0, 0, 0, 0.38);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        transition: right 0.25s ease;
        flex-wrap: nowrap;
    }

    .site-nav.is-open {
        right: 0;
    }

    .site-nav-link {
        text-align: center;
        padding: 11px 12px;
    }

    .site-nav-overlay.is-open {
        display: block;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .site-footer-logo,
    .site-footer-nav,
    .site-footer-meta {
        justify-self: center;
    }

    .site-footer-link {
        width: 100%;
    }

    .site-footer-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .site-brand-text strong {
        font-size: 18px;
    }

    .site-brand-text small {
        font-size: 11px;
    }

    .site-header-inner {
        min-height: 66px;
    }

    .site-date-card {
        font-size: 12px;
        gap: 8px;
    }
}
