:root {
    --bg: #111111;
    --deep: #0A0A0A;
    --surface: #1A1A1A;
    --surface-warm: #1F1B14;
    --title: #FFF6D6;
    --text: #E8D9A8;
    --muted: #B8A56A;
    --soft: #8A7A48;
    --yellow: #F5C518;
    --yellow-bright: #FFD84A;
    --amber: #C49212;
    --footer: #050505;
    --footer-text: #DCCB8A;
    --line: rgba(245, 197, 24, 0.24);
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.curtain-rail {
    position: fixed;
    inset: 0 0 auto 0;
    height: 22px;
    z-index: 70;
    background: #0B0B0B;
    border-bottom: 1px solid rgba(245, 197, 24, 0.12);
    color: var(--yellow);
    font-size: 12px;
}
.rail-inner,
.stage-header-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rail-search {
    border: 0;
    padding: 0 6px;
    min-height: 22px;
    background: transparent;
    color: var(--yellow);
    font-size: 12px;
}

.stage-header {
    position: fixed;
    inset: 22px 0 auto 0;
    height: 60px;
    z-index: 70;
    background: var(--deep);
    border-bottom: 1px solid var(--yellow);
}
.stage-header-inner { position: relative; }
.brand-link,
.participate-link,
.drawer-open {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.brand-link { min-width: 116px; justify-content: flex-start; }
.brand-image-wrap { display: inline-flex; align-items: center; }
.brand-logo,
.drawer-logo,
.footer-logo {
    height: 28px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    object-position: center;
}
.brand-fallback { color: var(--title); font-weight: 700; font-size: 16px; }
.drawer-open {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--title);
    font-size: 14px;
}
.participate-link {
    min-width: 92px;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--yellow);
    font-size: 14px;
}
.participate-link.is-active { background: var(--yellow); color: #111111; }

.lamp-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    height: 40px;
    z-index: 68;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #211B10;
    border-bottom: 1px solid rgba(245, 197, 24, 0.18);
}
.lamp-nav a {
    min-height: 30px;
    padding: 3px 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
}
.lamp-nav a.is-active { background: var(--yellow); color: #111111; }

.site-main {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 150px 0 64px;
}

.page-hero,
.content-card,
.feature-card,
.timeline-card,
.notice-card,
.faq-item,
.stat-card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.page-hero {
    padding: 26px;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #181818 0%, #14120F 100%);
}
.eyebrow {
    margin: 0 0 6px;
    color: var(--yellow);
    font-size: 12px;
    letter-spacing: .08em;
}
h1, h2, h3 { margin-top: 0; color: var(--title); line-height: 1.3; }
h1 { margin-bottom: 12px; font-size: 24px; }
h2 { margin-bottom: 12px; font-size: 20px; }
h3 { margin-bottom: 8px; font-size: 16px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
.lead { max-width: 820px; color: var(--text); }
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
}
.section-block { margin-top: 34px; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 13px; }
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 16px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.content-card,
.feature-card,
.stat-card { padding: 18px; }
.card-index {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 700;
}
.card-link {
    display: inline-flex;
    margin-top: 10px;
    min-height: 40px;
    align-items: center;
    color: var(--yellow-bright);
    font-size: 14px;
}
.card-link:hover { text-decoration: underline; }

.media-slot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(245, 197, 24, 0.16);
    border-radius: 12px;
    background: var(--deep);
}
.media-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.media-banner { height: 260px; }
.media-card { height: 180px; margin-bottom: 14px; }
.media-feature { height: 200px; margin-bottom: 16px; }
.media-app { min-height: 260px; max-height: 360px; }
.media-app img { max-height: 360px; width: auto; max-width: 100%; }
.media-brand { height: 180px; }
.empty-media::before {
    content: '';
    width: 42px;
    height: 1px;
    background: var(--amber);
    box-shadow: 0 8px 0 rgba(196, 146, 18, .6), 0 -8px 0 rgba(196, 146, 18, .35);
}
.cover-copy { padding-top: 18px; }
.cover-brand { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.cover-copy h1 { font-size: 22px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn {
    min-height: 42px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--yellow);
    font-size: 14px;
    font-weight: 700;
}
.btn-primary { background: linear-gradient(180deg, var(--yellow-bright), var(--yellow)); color: #111111; }
.btn-secondary { background: #111111; color: var(--title); }
.btn:hover { transform: translateY(-1px); }

.number-list,
.plain-list,
.check-list,
.timeline { list-style: none; padding: 0; margin: 0; }
.number-list { display: grid; gap: 10px; }
.number-list li,
.plain-list li,
.check-list li {
    padding: 12px 14px;
    border: 1px solid rgba(245, 197, 24, 0.14);
    border-radius: 10px;
    background: #151515;
}
.number-list strong { color: var(--yellow); margin-right: 8px; }
.check-list li::before { content: '•'; color: var(--yellow); margin-right: 8px; }
.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: var(--line);
}
.timeline-card { position: relative; padding: 16px 16px 16px 48px; }
.timeline-card::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 20px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 5px #2A2414;
}
.status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 8px;
    border-radius: 7px;
    background: var(--yellow);
    color: #111111;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}
.editor-note {
    padding: 14px 16px;
    border-left: 3px solid var(--yellow);
    background: var(--surface-warm);
    color: var(--title);
}
.notice-card { padding: 18px; background: var(--surface-warm); }
.prose { display: grid; gap: 18px; }
.prose section {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(245, 197, 24, 0.13);
}
.prose section:last-child { border-bottom: 0; padding-bottom: 0; }
.prose p { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 16px 18px; }
.faq-item h2 { font-size: 16px; }

.app-layout {
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    gap: 22px;
    align-items: center;
}
.app-icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.app-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
}

.site-footer {
    background: var(--footer);
    color: var(--footer-text);
    border-top: 1px solid var(--yellow);
    padding: 34px 0 calc(34px + env(safe-area-inset-bottom));
    font-size: 13px;
}
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-brand-link { display: inline-flex; min-height: 44px; align-items: center; }
.footer-brand strong { display: block; color: var(--title); font-size: 14px; }
.footer-brand span { display: block; color: var(--muted); font-size: 12px; }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-columns h2 { font-size: 14px; color: var(--yellow); margin-bottom: 8px; }
.footer-columns a { display: block; min-height: 30px; padding: 3px 0; color: var(--footer-text); }
.footer-columns a:hover { color: var(--yellow-bright); }
.footer-notice { margin-top: 24px; max-width: 780px; color: var(--muted); }
.copyright { margin-top: 10px; color: var(--soft); }

.page-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, .72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.page-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 86vw);
    height: 100dvh;
    z-index: 92;
    background: #101010;
    border-left: 1px solid var(--yellow);
    transform: translateX(104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, visibility .24s ease;
}
.site-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head {
    height: 66px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.drawer-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.drawer-brand span { color: var(--title); font-weight: 700; }
.panel-close {
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #171717;
    color: var(--title);
}
.drawer-scroll { height: calc(100dvh - 66px); overflow-y: auto; padding: 16px; }
.drawer-group { margin-bottom: 20px; }
.drawer-group h2 { font-size: 14px; color: var(--yellow); margin-bottom: 8px; }
.drawer-group a {
    display: block;
    min-height: 56px;
    padding: 10px 12px;
    margin-bottom: 7px;
    border: 1px solid rgba(245, 197, 24, .12);
    border-radius: 10px;
    background: #161616;
}
.drawer-group strong { display: block; color: var(--title); font-size: 14px; }
.drawer-group span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }

.site-search {
    position: fixed;
    top: 82px;
    left: 50%;
    width: min(720px, calc(100% - 32px));
    z-index: 91;
    padding: 18px;
    transform: translate(-50%, -18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border: 1px solid var(--yellow);
    border-radius: 0 0 12px 12px;
    background: #0D0D0D;
    box-shadow: var(--shadow);
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}
.site-search.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.search-head strong { display: block; color: var(--title); }
.search-head span { display: block; color: var(--muted); font-size: 13px; }
.search-box { display: block; margin: 16px 0 12px; }
.search-box input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    background: #171717;
    color: var(--title);
}
.search-box input:focus { border-color: var(--yellow); }
.search-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.search-presets a {
    min-height: 42px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--title);
    background: var(--surface);
}
.search-empty { color: var(--muted); font-size: 13px; }

.mobile-bottom { display: none; }

:focus-visible {
    outline: 2px solid var(--yellow-bright);
    outline-offset: 3px;
}

@media (max-width: 860px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
    .app-layout { grid-template-columns: 1fr; }
    .media-app { min-height: 220px; }
}

@media (max-width: 640px) {
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .rail-inner,
    .stage-header-inner,
    .site-main,
    .footer-inner { width: calc(100% - 32px); }
    .lamp-nav { display: none; }
    .site-main { padding-top: 106px; padding-bottom: 44px; }
    .stage-header-inner { gap: 6px; }
    .brand-link { min-width: 84px; max-width: 34%; }
    .brand-logo { max-width: 102px; height: 28px; }
    .drawer-open {
        min-width: 72px;
        padding: 0 10px;
    }
    .participate-link { min-width: 84px; max-width: 34%; padding: 0 8px; white-space: nowrap; }
    .page-hero { padding: 20px 16px; }
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .media-banner { height: 260px; }
    .media-card { height: 180px; }
    .media-feature { height: 200px; }
    .button-row { flex-direction: column; }
    .btn { width: 100%; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 16px; }
    .site-search {
        inset: 0;
        width: 100%;
        height: 100dvh;
        border-radius: 0;
        transform: translateY(-12px);
        padding: calc(22px + env(safe-area-inset-top)) 16px 16px;
        overflow-y: auto;
    }
    .site-search.is-open { transform: translateY(0); }
    .search-presets { grid-template-columns: 1fr 1fr; }
    .mobile-bottom {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 50;
        height: calc(48px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        background: #090909;
        border-top: 1px solid var(--yellow);
    }
    .mobile-bottom a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text);
        font-size: 13px;
    }
    .mobile-bottom a.is-active { background: var(--yellow); color: #111111; }
    .site-footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 390px) {
    .brand-link { min-width: 74px; }
    .brand-logo { max-width: 88px; }
    .participate-link { min-width: 74px; font-size: 13px; }
    .drawer-open { min-width: 64px; font-size: 13px; }
    .search-presets { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
}
