﻿:root {
    --paper: #FDF8E8;
    --paper-dark: #F5EDD6;
    --sepia: #7A3E1A;
    --sepia-dark: #5D3A1A;
    --sepia-muted: #9B5E30;
    --gold: #DAB030;
    --gold-dark: #A68525;
    --gold-light: #E8C860;
    --radius-xl: 2rem;
    --plaque-bg: linear-gradient(180deg, #FFFDF8 0%, #FAF3E0 45%, #F0E6D0 100%);
    --plaque-border: rgba(166, 133, 37, 0.55);
    --plaque-inset: rgba(218, 176, 48, 0.38);
    --transition-fast: 0.22s cubic-bezier(0.34, 1.2, 0.64, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html.gzd-video-html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html.gzd-video-html,
html.gzd-video-html body.gzd-video-page {
    min-height: 100%;
    margin: 0;
}

.gzd-video-page {
    font-family: "Ma Shan Zheng", "STKaiti", "KaiTi", "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", sans-serif;
    color: var(--sepia);
    background: var(--paper);
    line-height: 1.6;
    letter-spacing: 0.02em;
    overflow-x: hidden;
}

.gzd-video-wrapper {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--paper) url(/images/index_bg.gif) repeat;
}

.gzd-video-page .skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--sepia);
    color: #fff;
    border-radius: 0.5rem;
    font-family: "Microsoft YaHei", sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: top var(--transition-fast);
}

.gzd-video-page .skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.gzd-video-header {
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(180deg, #FBF8F3 0%, #F9F5ED 92%, rgba(249, 245, 237, 0.95) 100%);
    padding: 0.55rem 1.5rem 0.65rem;
    border-bottom: 2px solid rgba(166, 133, 37, 0.28);
    box-shadow:
        0 3px 12px rgba(90, 48, 18, 0.06),
        inset 0 -1px 0 rgba(218, 176, 48, 0.12);
}

.gzd-video-header::after {
    content: "";
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(218, 176, 48, 0.45) 15%, rgba(218, 176, 48, 0.65) 50%, rgba(218, 176, 48, 0.45) 85%, transparent);
    pointer-events: none;
}

.gzd-video-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
    min-height: 3.25rem;
}

.gzd-video-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.55rem 1.5rem 0.5rem 1.35rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--sepia-dark);
    font-family: "STKaiti", "KaiTi", "Ma Shan Zheng", serif;
    background: var(--plaque-bg);
    border: 2px solid var(--plaque-border);
    border-radius: 3px;
    box-shadow:
        0 3px 12px rgba(90, 48, 18, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.gzd-video-badge::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 4px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
}

.gzd-video-badge::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid var(--plaque-inset);
    border-radius: 1px;
    pointer-events: none;
}

.gzd-video-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

/* 顶栏 Logo 尺寸由 portal-satellite-header.css 统一控制 */

.gzd-video-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: 100%;
    text-align: center;
    padding: 0.45rem 1.75rem;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.06) 12%, rgba(201, 162, 39, 0.12) 50%, rgba(201, 162, 39, 0.06) 88%, transparent);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(201, 162, 39, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.gzd-video-slogan-orn {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    transform: rotate(45deg);
    box-shadow: 0 0 0 1px rgba(166, 133, 37, 0.25);
    opacity: 0.85;
}

.gzd-video-slogan-text {
    font-family: "STKaiti", "KaiTi", "Noto Serif SC", serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--sepia-dark);
    letter-spacing: 0.38em;
    text-align: center;
}

.gzd-video-slogan-divider {
    width: 2px;
    height: 1.25rem;
    background: linear-gradient(180deg, transparent, var(--gold) 20%, var(--gold-dark) 50%, var(--gold) 80%, transparent);
    border-radius: 1px;
}

.gzd-video-page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0;
    width: 100%;
    max-width: 22rem;
}

.gzd-video-page-title__line {
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(166, 133, 37, 0.35));
}

.gzd-video-page-title__line:last-child {
    background: linear-gradient(90deg, rgba(166, 133, 37, 0.35), transparent);
}

.gzd-video-page-title__text {
    flex-shrink: 0;
    padding: 0.35rem 1.1rem;
    font-family: "Ma Shan Zheng", "STKaiti", "KaiTi", serif;
    font-size: 1.125rem;
    letter-spacing: 0.55em;
    text-indent: 0.55em;
    color: var(--gold-dark);
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.95), rgba(253, 243, 200, 0.5));
    border: 1px solid rgba(218, 176, 48, 0.35);
    border-radius: 2px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gzd-video-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem 2rem;
}

.gzd-video-container {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
}

.gzd-video-card {
    position: relative;
    padding: 1.5rem 1.5rem 1.75rem;
    background:
        linear-gradient(180deg, #FFFCF5, var(--paper) 4%, var(--paper-dark) 96%, #E8DCC0);
    border: 2px solid rgba(166, 133, 37, 0.45);
    border-radius: 3px;
    box-shadow:
        0 10px 32px rgba(90, 48, 18, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.75),
        inset 0 0 0 6px rgba(218, 176, 48, 0.08);
}

.gzd-video-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-dark) 50%, var(--gold) 80%, transparent);
    border-radius: 0 0 2px 2px;
}

.gzd-video-card-head {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(166, 133, 37, 0.22);
}

.gzd-video-card-title {
    margin: 0;
    font-family: "Ma Shan Zheng", "STKaiti", "KaiTi", serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
    color: var(--sepia-dark);
}

.gzd-video-card-intro {
    margin: 0.65rem 0 0;
    font-family: "STKaiti", "KaiTi", "Noto Serif SC", serif;
    font-size: 0.9375rem;
    color: var(--sepia-muted);
    letter-spacing: 0.06em;
}

.gzd-video-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(90, 48, 18, 0.18);
    border: 1px solid rgba(166, 133, 37, 0.35);
}

.gzd-video-player {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #1a0f08;
    vertical-align: middle;
}

.gzd-video-fallback {
    margin: 0;
    padding: 1rem;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: 0.9375rem;
    color: var(--sepia-muted);
    text-align: center;
}

.gzd-video-fallback a {
    color: var(--sepia-dark);
}

@media (max-width: 768px) {
    .gzd-video-header-top {
        flex-wrap: wrap;
        justify-content: center;
    }

    .gzd-about-back {
        min-height: 3rem;
    }

    .gzd-about-back__seal {
        width: 3rem;
        min-width: 3rem;
        font-size: 1.5rem;
    }

    .gzd-about-back__main {
        font-size: 1.0625rem;
        letter-spacing: 0.2em;
    }

    .gzd-about-back__sub {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        padding: 0.15rem 0.55rem 0.12rem;
    }

    .gzd-video-badge {
        font-size: 1rem;
        min-height: 2.75rem;
        padding: 0.45rem 1.1rem;
    }

    .gzd-video-card {
        padding: 1.15rem 1rem 1.25rem;
    }

    .gzd-video-card-title {
        font-size: 1.25rem;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
    }
}

