:root {
    --bg: #0F0E0A;
    --deep: #090807;
    --panel: #17150F;
    --panel-2: #1F1B12;
    --title: #F6E7B8;
    --text: #E4D4A2;
    --muted: #B39A5E;
    --subtle: #8C7744;
    --gold: #E0B12A;
    --gold-bright: #F0C84A;
    --gold-dark: #A37A14;
    --sand: #F3E6C4;
    --border: rgba(224,177,42,0.18);
    --border-strong: rgba(224,177,42,0.46);
    --shadow: 0 12px 28px rgba(0,0,0,0.35);
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 15px; line-height: 1.7; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: 10px 14px; background: var(--gold); color: #1A1406; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.gold-line { height: 22px; background: var(--deep); color: var(--gold-bright); border-bottom: 1px solid var(--border); font-size: 12px; }
.top-inner, .scroll-inner { max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-button, .drawer-trigger, .drawer-close, .search-head button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.text-button { height: 22px; padding: 0 4px; color: var(--gold-bright); font-size: 12px; }
.scroll-bar { height: 60px; background: var(--deep); border-bottom: 1px solid var(--border-strong); }
.scroll-inner { position: relative; }
.brand-link, .app-link, .drawer-trigger { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.brand-link { width: 150px; justify-content: flex-start; color: var(--sand); font-weight: 700; font-size: 16px; }
.brand-link img { height: 28px; width: auto; object-fit: contain; }
.drawer-trigger { min-width: 92px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--sand); background: #121008; cursor: pointer; }
.app-link { width: 150px; justify-content: flex-end; color: var(--gold-bright); font-weight: 700; }
.quick-strip { height: 40px; background: #1b1608; border-bottom: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; }
.quick-strip a { min-height: 34px; min-width: 120px; padding: 6px 16px; display: inline-flex; align-items: center; justify-content: center; color: var(--sand); border-radius: 8px; font-size: 13px; }
.quick-strip a.is-active { background: var(--gold); color: #1A1406; font-weight: 700; }
.page-shell { min-height: 60vh; max-width: var(--max); margin: 0 auto; padding: 154px 20px 70px; }
.page-hero { padding: 30px 0 14px; }
.eyebrow { margin: 0 0 6px; color: var(--gold-bright); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--title); margin-top: 0; }
h1 { font-size: 24px; line-height: 1.3; margin-bottom: 14px; }
h2 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lede { max-width: 860px; color: var(--sand); font-size: 16px; }
.muted { color: var(--muted); }
.section { padding: 28px 0; border-top: 1px solid var(--border); }
.hero-copy { border-top: 0; padding-top: 20px; }
.spaced-list { margin-top: 16px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 0; }
.media-slot { width: 100%; height: 220px; background: var(--deep); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: var(--shadow); }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot.banner { height: 260px; }
.media-slot.home-card-media { height: 180px; }
.media-slot.weekly-media { height: 200px; }
.media-slot.app-media { height: 360px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.card h3 a:hover { color: var(--gold-bright); }
.card p:last-child { margin-bottom: 0; }
.card .media-slot { margin-bottom: 14px; box-shadow: none; }
.two-col { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 20px; align-items: start; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { height: 42px; min-width: 120px; padding: 0 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,#F0C84A 0%,#E0B12A 55%,#A37A14 100%); color: #1A1406; }
.btn-secondary { background: var(--deep); color: var(--sand); border-color: var(--border-strong); }
a:hover, button:hover { filter: brightness(1.08); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.number-list, .shelf-list, .plain-list { display: grid; gap: 10px; }
.number-item, .shelf-item, .plain-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.number-item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.number { font-size: 24px; line-height: 1; color: var(--gold-bright); font-weight: 800; letter-spacing: .06em; }
.shelf-item { display: grid; grid-template-columns: minmax(120px,.5fr) 2fr; gap: 18px; align-items: start; border-left: 3px solid var(--gold-dark); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--gold-bright); font-size: 12px; }
.timeline { position: relative; display: grid; gap: 16px; padding-left: 28px; }
.timeline:before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.timeline-item:before { content: ''; position: absolute; left: -24px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.note-box { background: var(--panel-2); border: 1px solid var(--border-strong); border-radius: 12px; padding: 16px 18px; color: var(--sand); }
.article-section { padding: 22px 0; border-top: 1px solid var(--border); }
.article-section p { max-width: 900px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.faq-item h2 { font-size: 17px; }
.site-footer { background: var(--deep); border-top: 1px solid var(--border-strong); color: var(--text); font-size: 13px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 34px 20px 88px; }
.footer-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.footer-brand a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
.footer-brand img { height: 28px; width: auto; object-fit: contain; }
.footer-brand-name { color: var(--sand); font-size: 16px; }
.footer-brand strong { color: var(--sand); font-size: 16px; }
.footer-brand span { color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 24px 0; }
.footer-grid h2 { font-size: 14px; color: var(--gold-bright); margin-bottom: 8px; }
.footer-grid a { display: block; min-height: 34px; padding: 5px 0; color: var(--text); }
.footer-note { color: var(--muted); max-width: 850px; }
.copyright { color: var(--subtle); margin-bottom: 0; }
.site-overlay { visibility: hidden; pointer-events: none; position: fixed; z-index: 1100; inset: 0; background: rgba(0,0,0,.66); opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.site-overlay.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.drawer { position: fixed; z-index: 1200; top: 0; left: 0; width: 400px; max-width: 86vw; height: 100vh; padding: 18px; background: var(--deep); border-right: 1px solid var(--border-strong); box-shadow: var(--shadow); overflow-y: auto; transform: translateX(-104%); visibility: hidden; pointer-events: none; transition: transform .25s ease, visibility .25s ease; }
.drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand img { height: 28px; width: auto; object-fit: contain; }
.drawer-brand strong, .drawer-brand span { display: block; }
.drawer-brand strong { color: var(--sand); }
.drawer-brand span { color: var(--muted); font-size: 12px; }
.drawer-close { min-width: 54px; min-height: 44px; color: var(--gold-bright); }
.drawer-groups section { padding: 16px 0; border-bottom: 1px solid var(--border); }
.drawer-groups h2 { font-size: 13px; color: var(--gold-bright); margin-bottom: 8px; }
.drawer-groups a { display: block; padding: 10px 0; min-height: 56px; }
.drawer-groups strong { display: block; color: var(--sand); font-size: 14px; }
.drawer-groups span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.search-layer { position: fixed; z-index: 1250; top: 82px; left: 50%; width: min(760px, calc(100vw - 32px)); transform: translate(-50%,-14px); visibility: hidden; pointer-events: none; opacity: 0; transition: .2s ease; }
.search-layer.is-open { transform: translate(-50%,0); visibility: visible; pointer-events: auto; opacity: 1; }
.search-card { background: var(--deep); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.search-head strong { color: var(--sand); font-size: 17px; }
.search-head button { color: var(--gold-bright); min-width: 52px; min-height: 44px; }
.search-card p { color: var(--muted); }
.search-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.search-presets a { min-height: 44px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--panel); color: var(--sand); }
.mobile-bottom { display: none; }
@media (max-width: 780px) {
    .top-inner, .scroll-inner { padding-left: 16px; padding-right: 16px; }
    .quick-strip { display: none; }
    .page-shell { padding: 104px 16px 82px; }
    .scroll-inner { gap: 8px; }
    .brand-link, .app-link { width: 104px; }
    .brand-link img { max-width: 92px; }
    .drawer-trigger { min-width: 78px; }
    .app-link { font-size: 14px; }
    .card-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
    .shelf-item { grid-template-columns: 1fr; }
    .media-slot.banner { height: 260px; }
    .media-slot.home-card-media { height: 180px; }
    .media-slot.weekly-media { height: 200px; }
    .media-slot.app-media { height: 340px; }
    .search-layer { top: 0; left: 0; width: 100vw; height: 100vh; transform: none; background: var(--deep); }
    .search-layer.is-open { transform: none; }
    .search-card { min-height: 100vh; border: 0; border-radius: 0; padding: 28px 16px 84px; box-shadow: none; }
    .search-presets { grid-template-columns: 1fr 1fr; }
    .mobile-bottom { display: grid; position: fixed; z-index: 1050; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); grid-template-columns: repeat(5,1fr); background: var(--deep); border-top: 1px solid var(--border-strong); }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text); }
    .mobile-bottom a.is-active { background: var(--gold); color: #1A1406; font-weight: 700; }
    .footer-inner { padding: 30px 16px 90px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .number-item { grid-template-columns: 48px 1fr; }
}
@media (max-width: 420px) {
    .brand-link, .app-link { width: 90px; }
    .brand-link { font-size: 15px; }
    .drawer-trigger { min-width: 72px; }
    .app-link { font-size: 13px; }
    .search-presets { grid-template-columns: 1fr; }
}
