:root {
    --bg: #111111;
    --deep: #0A0A0A;
    --surface: #1A1A1A;
    --surface-2: #1F1B14;
    --title: #FFF6D6;
    --text: #E8D9A8;
    --muted: #B8A56A;
    --subtle: #8A7A48;
    --brand: #F5C518;
    --bright: #FFD84A;
    --amber: #C49212;
    --footer: #050505;
    --footer-text: #DCCB8A;
    --line: rgba(245, 197, 24, .28);
    --shadow: 0 16px 40px rgba(0, 0, 0, .34);
    --shell: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: Arial, "Microsoft YaHei", "PingFang SC", 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 { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--bright); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--bright); color: #111; padding: 9px 12px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.site-top { position: fixed; z-index: 80; inset: 0 0 auto 0; background: var(--deep); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.top-shell, .content-shell { width: min(calc(100% - 32px), var(--shell)); margin: 0 auto; }
.curtain-rail { height: 22px; background: #090909; color: var(--bright); font-size: 12px; }
.curtain-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.curtain-search { position: relative; appearance: none; background: transparent; border: 0; padding: 0 4px; color: var(--bright); font-size: 12px; cursor: pointer; min-width: 44px; }
.curtain-search::after { content: ""; position: absolute; inset: -11px 0; }
.proscenium { height: 60px; background: var(--deep); border-bottom: 1px solid var(--brand); }
.proscenium-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-lockup { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; max-width: 210px; }
.brand-logo { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-text { color: var(--title); font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.drawer-trigger, .top-guide-link, .btn, .icon-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 700; }
.drawer-trigger { min-width: 78px; padding: 0 18px; cursor: pointer; border: 1px solid var(--brand); background: #141414; color: var(--title); }
.top-guide-link { justify-self: end; padding: 0 12px; color: var(--title); }
.drawer-trigger:hover, .top-guide-link:hover { color: var(--bright); border-color: var(--bright); }
.lamp-bar { height: 40px; background: #241b0e; }
.lamp-inner { height: 40px; display: flex; align-items: stretch; justify-content: center; gap: 6px; }
.lamp-inner a { min-width: 120px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text); padding: 0 16px; }
.lamp-inner a:hover, .lamp-inner a.is-current { background: var(--bright); color: #111; }
.site-main { min-height: 70vh; padding-top: 122px; }
.page-hero { padding: 42px 0 22px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow, .section-kicker { color: var(--bright); font-size: 12px; letter-spacing: .12em; font-weight: 800; }
h1 { margin: 8px 0 12px; color: var(--title); font-size: 24px; line-height: 1.3; }
h2 { margin: 0 0 12px; color: var(--title); font-size: 20px; line-height: 1.35; }
h3 { margin: 0 0 8px; color: var(--title); font-size: 16px; line-height: 1.45; }
p { margin: 0 0 14px; }
.lead { max-width: 860px; color: var(--text); }
.muted { color: var(--muted); }
.content-section { padding: 28px 0; }
.content-section + .content-section { border-top: 1px solid rgba(245,197,24,.12); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.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)); }
.card, .note-card, .faq-item, .stage-card, .timeline-item { background: var(--surface); border: 1px solid rgba(245,197,24,.18); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.card p:last-child, .note-card p:last-child, .faq-item p:last-child { margin-bottom: 0; }
.card-link { transition: transform .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-2px); border-color: var(--brand); }
.media-slot { width: 100%; min-height: 160px; border-radius: 12px; background: #0d0d0d; border: 1px solid rgba(245,197,24,.16); display: grid; place-items: center; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-fallback { color: var(--title); font-weight: 800; text-align: center; padding: 22px; }
.hero-media { height: 260px; }
.card-media { height: 180px; margin-bottom: 14px; }
.wide-media { height: 200px; margin-bottom: 16px; }
.app-media { height: 340px; }
.icon-slot { width: 56px; height: 56px; min-height: 56px; border-radius: 12px; }
.icon-slot img { width: 48px; height: 48px; object-fit: contain; }
.cover-copy { padding: 20px 0 30px; }
.cover-brand { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.cover-copy h1 { font-size: 22px; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn { padding: 0 18px; min-height: 42px; border: 1px solid var(--brand); }
.btn-primary { color: #111; background: linear-gradient(135deg, var(--brand), var(--bright)); }
.btn-secondary { color: var(--title); background: #121212; }
.btn:hover { filter: brightness(1.06); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-head p { margin: 0; color: var(--muted); max-width: 660px; }
.number-list { display: grid; gap: 10px; }
.number-item { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid rgba(245,197,24,.15); }
.number-item:last-child { border-bottom: 0; }
.number-item strong { color: var(--bright); font-size: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag { padding: 4px 8px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 13px; border: 1px solid rgba(245,197,24,.14); }
.timeline { display: grid; gap: 14px; position: relative; }
.timeline-item { position: relative; padding-left: 66px; }
.timeline-item::before { content: attr(data-step); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bright); color: #111; font-weight: 800; }
.status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 9px; border: 1px solid var(--amber); color: var(--bright); border-radius: 999px; font-size: 12px; }
.quote-note { border-left: 3px solid var(--brand); padding: 12px 16px; background: var(--surface-2); color: var(--text); border-radius: 0 10px 10px 0; }
.definition-list { display: grid; grid-template-columns: 180px 1fr; gap: 0; border: 1px solid rgba(245,197,24,.17); border-radius: 12px; overflow: hidden; }
.definition-list dt, .definition-list dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid rgba(245,197,24,.12); }
.definition-list dt { background: #17130c; color: var(--bright); font-weight: 800; }
.definition-list dd { background: var(--surface); }
.definition-list dt:last-of-type, .definition-list dd:last-of-type { border-bottom: 0; }
.site-footer { background: var(--footer); color: var(--footer-text); border-top: 1px solid var(--brand); padding: 30px 0 78px; font-size: 13px; }
.footer-brand-row { margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--title); }
.footer-brand span { color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.footer-grid h2 { font-size: 13px; color: var(--bright); margin-bottom: 8px; }
.footer-grid a { display: block; padding: 4px 0; color: var(--footer-text); }
.footer-grid a:hover { color: var(--bright); }
.footer-notice { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(245,197,24,.15); color: #a9955b; }
.footer-notice p { margin-bottom: 6px; }
.page-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.68); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.page-overlay.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.drawer-panel { position: fixed; z-index: 110; top: 0; right: 0; width: min(400px, 86vw); height: 100dvh; background: #0b0b0b; border-left: 1px solid var(--brand); transform: translateX(102%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; box-shadow: -20px 0 60px rgba(0,0,0,.44); }
.drawer-panel.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(245,197,24,.18); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand strong, .drawer-brand span { display: block; }
.drawer-brand strong { color: var(--title); }
.drawer-brand span { color: var(--muted); font-size: 12px; }
.icon-button { cursor: pointer; min-width: 58px; padding: 0 12px; background: #141414; border: 1px solid var(--brand); color: var(--title); }
.drawer-scroll { height: calc(100dvh - 78px); overflow-y: auto; padding: 10px 16px 30px; }
.drawer-group { padding: 14px 0; border-bottom: 1px solid rgba(245,197,24,.14); }
.drawer-group h2 { font-size: 13px; color: var(--bright); margin-bottom: 8px; }
.drawer-group a { display: block; padding: 10px 8px; border-radius: 10px; }
.drawer-group a:hover { background: var(--surface-2); }
.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.55; margin-top: 2px; }
.search-panel { position: fixed; z-index: 120; top: 82px; left: 0; right: 0; background: #0b0b0b; border-top: 1px solid var(--brand); border-bottom: 1px solid var(--brand); transform: translateY(-120%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; }
.search-panel.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
.search-shell { width: min(calc(100% - 32px), 800px); margin: 0 auto; padding: 24px 0 28px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.search-head strong { display: block; color: var(--title); font-size: 20px; }
.search-head span { display: block; color: var(--muted); font-size: 13px; }
.search-box { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; }
.search-box span { color: var(--muted); }
.search-box input { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid rgba(245,197,24,.4); background: #171717; color: var(--title); padding: 0 12px; }
.search-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid rgba(245,197,24,.2); border-radius: 10px; color: var(--title); }
.search-presets a:hover { border-color: var(--brand); color: var(--bright); }
.search-note { color: var(--muted); margin-top: 14px; }
.mobile-bottom { display: none; }

@media (max-width: 820px) {
    .lamp-bar { display: none; }
    .site-main { padding-top: 82px; padding-bottom: 58px; }
    .page-hero { padding-top: 30px; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .search-presets { grid-template-columns: repeat(2, 1fr); }
    .mobile-bottom { display: grid; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; grid-template-columns: repeat(5, 1fr); height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #080808; border-top: 1px solid var(--brand); }
    .mobile-bottom a { display: flex; align-items: center; justify-content: center; min-width: 0; color: var(--text); font-size: 13px; }
    .mobile-bottom a.is-current { background: var(--bright); color: #111; font-weight: 800; }
    .site-footer { padding-bottom: 94px; }
    .search-panel { inset: 0; top: 0; height: 100dvh; overflow-y: auto; transform: translateY(-102%); }
    .search-shell { padding-top: 26px; }
}

@media (max-width: 620px) {
    .top-shell, .content-shell { width: calc(100% - 32px); }
    .proscenium-inner { gap: 8px; }
    .brand-lockup { max-width: 128px; }
    .brand-logo { height: 28px; max-width: 126px; }
    .drawer-trigger { min-width: 64px; padding: 0 10px; }
    .top-guide-link { padding: 0 4px; font-size: 13px; white-space: nowrap; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-media { height: 260px; }
    .card-media { height: 180px; }
    .wide-media { height: 200px; }
    .app-media { height: 320px; }
    .section-head { align-items: start; flex-direction: column; gap: 4px; }
    .number-item { grid-template-columns: 48px 1fr; }
    .definition-list { grid-template-columns: 1fr; }
    .definition-list dt { border-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
    .search-presets { grid-template-columns: 1fr; }
}
