:root {
    --bg: #0C0B08;
    --bg-deep: #080706;
    --panel: #161410;
    --panel-2: #1E1A14;
    --title: #F3E6C0;
    --text: #E4D6B0;
    --muted: #B89A58;
    --soft: #8A7040;
    --gold: #C9A227;
    --gold-bright: #E0C056;
    --gold-deep: #8A6E18;
    --copper: #8A5A2A;
    --cream: #F7EFD4;
    --line: rgba(201, 162, 39, .22);
    --line-strong: rgba(201, 162, 39, .50);
    --shadow: 0 12px 28px rgba(0, 0, 0, .45);
    --content: 980px;
    --side: 148px;
    --top-desktop: 136px;
    --top-mobile: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif; font-size: 15px; line-height: 1.7; padding-top: var(--top-desktop); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.skip-link { position: fixed; top: 4px; left: 12px; z-index: 2000; transform: translateY(-130%); background: var(--cream); color: #1A1408; padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.top-notice { position: fixed; inset: 0 0 auto 0; height: 20px; z-index: 800; background: var(--bg-deep); border-bottom: 1px solid rgba(201,162,39,.12); }
.top-notice-inner { height: 100%; max-width: 1220px; margin: 0 auto; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.notice-brand { white-space: nowrap; }
.notice-search { border: 0; background: transparent; color: var(--muted); min-width: 44px; height: 20px; cursor: pointer; padding: 0; text-align: right; }
.brand-head { position: fixed; top: 20px; inset-inline: 0; height: 52px; z-index: 790; background: #100E0B; border-bottom: 1px solid var(--gold); }
.brand-head-inner { max-width: 1220px; margin: 0 auto; height: 100%; padding: 0 18px; display: grid; grid-template-columns: minmax(148px, 1fr) auto minmax(148px, 1fr); align-items: center; gap: 16px; }
.brand-logo { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--title); font-size: 16px; font-weight: 700; }
.brand-logo img { height: 24px; width: auto; object-fit: contain; object-position: center; }
.brand-en { text-align: center; font-size: 13px; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.head-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.head-app, .menu-trigger { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 0; background: transparent; color: var(--title); padding: 0 10px; font-size: 13px; cursor: pointer; }
.head-app:hover, .menu-trigger:hover { color: var(--gold-bright); }
.double-nav { position: fixed; top: 72px; inset-inline: 0; height: 64px; z-index: 780; background: #0E0C09; border-bottom: 1px solid var(--line); }
.double-nav-inner { max-width: 980px; height: 100%; margin: 0 auto; display: grid; grid-template-rows: 32px 32px; }
.double-row { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.double-link { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 10px; font-size: 13px; color: var(--text); white-space: nowrap; }
.double-link::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 0; height: 2px; background: transparent; }
.double-link:hover { color: var(--gold-bright); }
.double-link.is-current { color: var(--title); }
.double-link.is-current::after { background: var(--gold-bright); }
.site-shell { width: min(calc(100% - 32px), 1180px); margin: 0 auto; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 28px; }
.side-nav { width: var(--side); position: sticky; top: 152px; align-self: start; max-height: calc(100vh - 170px); overflow: auto; padding: 22px 0 24px; scrollbar-width: thin; }
.side-group { margin-bottom: 20px; }
.side-group h2 { margin: 0 0 6px; color: var(--soft); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.side-link { display: block; min-height: 34px; padding: 5px 4px; color: var(--text); font-size: 13px; border-left: 1px solid transparent; }
.side-link:hover { color: var(--gold-bright); }
.side-link.is-current { color: var(--gold-bright); border-left-color: var(--gold-bright); padding-left: 10px; }
.main-content { width: 100%; max-width: var(--content); min-width: 0; padding: 38px 0 72px; }
.page-head { margin-bottom: 28px; }
.page-kicker { margin: 0 0 8px; color: var(--muted); font-size: 12px; letter-spacing: .16em; }
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: 12px; }
h3 { font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lede { max-width: 760px; color: var(--text); font-size: 16px; }
.section { margin-top: 36px; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.section-title small { color: var(--soft); font-size: 12px; }
.media-slot { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 120px; background: #0B0A08; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot.is-176 { height: 176px; }
.media-slot.is-160 { height: 160px; }
.media-slot.is-200 { height: 200px; }
.media-slot.is-app { max-height: 320px; min-height: 240px; }
.media-slot.is-icon { width: 72px; height: 72px; min-height: 72px; flex: 0 0 72px; }
.media-slot.is-icon img { width: 48px; height: 48px; object-fit: contain; }
.primary-button, .secondary-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 7px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.primary-button { background: linear-gradient(135deg,#E0C056 0%,#C9A227 55%,#8A6E18 100%); color: #1A1408; }
.primary-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.secondary-button { background: #0E0C09; color: var(--title); border: 1px solid var(--line-strong); }
.secondary-button:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.intro-block { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.number-list { border-top: 1px solid var(--line); }
.number-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.number-label { color: var(--gold-bright); font-weight: 700; letter-spacing: .08em; }
.number-body h3 { margin-bottom: 8px; }
.number-body .media-slot { margin-bottom: 14px; }
.note-columns { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.note-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.note-card .media-slot { margin-bottom: 14px; }
.timeline-wrap { border-left: 1px solid var(--line-strong); padding-left: 20px; }
.timeline-node { position: relative; padding: 0 0 24px; }
.timeline-node:last-child { padding-bottom: 0; }
.timeline-node::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); left: -25px; top: 7px; box-shadow: 0 0 0 4px #0C0B08; }
.timeline-node h3 { display: inline-flex; align-items: center; gap: 8px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.work-item { padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.period-blocks { display: grid; gap: 14px; }
.period-block { padding: 18px 18px 16px; border-left: 3px solid var(--gold-deep); background: linear-gradient(90deg, rgba(201,162,39,.07), transparent 70%); }
.status-list { display: grid; gap: 12px; }
.status-row { display: grid; grid-template-columns: 96px minmax(0,1fr); align-items: start; gap: 16px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.status-pill { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gold-bright); font-size: 12px; white-space: nowrap; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding: 14px 16px 14px 42px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.check-list li::before { content: "•"; position: absolute; left: 18px; top: 11px; color: var(--gold-bright); font-size: 20px; }
.method-step { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.method-step:last-child { border-bottom: 1px solid var(--line); }
.method-no { color: var(--gold-bright); font-size: 13px; letter-spacing: .12em; }
.topic-list { display: grid; gap: 12px; }
.topic-row { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.topic-row:last-child { border-bottom: 1px solid var(--line); }
.app-band { background: #0A0907; border: 1px solid var(--line-strong); border-radius: 9px; padding: 22px; display: grid; grid-template-columns: minmax(0,1fr) minmax(180px, 280px); gap: 24px; align-items: center; box-shadow: var(--shadow); }
.app-visual { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.text-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.single-notes { display: grid; gap: 14px; }
.single-note { padding: 18px 0; border-top: 1px solid var(--line); }
.single-note:last-child { border-bottom: 1px solid var(--line); }
.terms { display: grid; gap: 16px; }
.term { padding: 18px; background: var(--panel); border-left: 3px solid var(--gold-deep); }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.faq-item h2, .faq-item h3 { margin-bottom: 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.contact-card { padding: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.banner-head { display: grid; grid-template-columns: 1fr; gap: 16px; }
.brand-statement { padding: 22px; border: 1px solid var(--line-strong); background: linear-gradient(135deg, #15120E, #0B0A08); border-radius: 8px; }
.link-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.link-list a { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.link-list a:hover { border-color: var(--line-strong); color: var(--gold-bright); }
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line-strong); color: var(--text); }
.footer-inner { width: min(calc(100% - 32px), 1180px); margin: 0 auto; padding: 30px 0 36px; }
.footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.footer-brand span { color: var(--muted); font-size: 13px; letter-spacing: .12em; }
.footer-logo { min-height: 44px; display: inline-flex; align-items: center; }
.footer-logo img { height: 24px; width: auto; object-fit: contain; }
.footer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding: 22px 0; }
.footer-grid h2 { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.footer-grid a { display: block; font-size: 13px; min-height: 30px; color: var(--text); }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-note, .footer-copy { font-size: 13px; color: var(--muted); max-width: 900px; }
.footer-copy { margin-bottom: 0; }
.site-overlay { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.66); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility .18s ease; }
.site-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.full-menu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; max-height: 72vh; background: #0D0B08; border-top: 1px solid var(--line-strong); box-shadow: 0 -14px 36px rgba(0,0,0,.55); transform: translateY(105%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; }
.full-menu.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
.full-menu-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px max(18px, calc((100vw - 1180px)/2)); border-bottom: 1px solid var(--line); }
.full-menu-brand { display: flex; align-items: center; gap: 10px; color: var(--title); }
.full-menu-brand img { height: 24px; width: auto; object-fit: contain; }
.close-button { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.close-button:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.full-menu-scroll { max-height: calc(72vh - 58px); overflow-y: auto; width: min(calc(100% - 32px), 1180px); margin: 0 auto; padding: 18px 0 28px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.menu-group h2 { font-size: 14px; color: var(--gold-bright); margin-bottom: 8px; }
.menu-group a { display: grid; gap: 1px; padding: 9px 0; border-bottom: 1px solid rgba(201,162,39,.12); }
.menu-group span { color: var(--title); font-size: 14px; }
.menu-group small { color: var(--soft); font-size: 12px; line-height: 1.45; }
.search-panel { position: fixed; top: 78px; left: 50%; z-index: 1100; width: min(680px, calc(100% - 32px)); transform: translate(-50%, -16px); opacity: 0; visibility: hidden; pointer-events: none; transition: .18s ease; }
.search-panel.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: #0D0B08; border: 1px solid var(--line-strong); border-radius: 9px; padding: 18px; box-shadow: var(--shadow); }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search-head h2 { margin: 0; font-size: 18px; }
.search-card > p { color: var(--muted); font-size: 13px; }
.search-label { display: block; color: var(--soft); font-size: 12px; margin-bottom: 6px; }
.search-card input { width: 100%; height: 44px; border-radius: 7px; border: 1px solid var(--line-strong); background: #070605; color: var(--cream); padding: 0 12px; }
.search-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; color: var(--text); }
.search-presets a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.search-empty { margin-top: 12px !important; }
.mobile-bottom { display: none; }
@media (max-width: 820px) {
    body { padding-top: var(--top-mobile); padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .top-notice-inner, .brand-head-inner { padding-inline: 16px; }
    .brand-head-inner { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
    .brand-en, .double-nav { display: none; }
    .brand-logo { min-width: 0; overflow: hidden; }
    .brand-logo span { font-size: 15px; white-space: nowrap; }
    .brand-logo img { max-width: 138px; }
    .head-actions { gap: 0; }
    .head-app, .menu-trigger { padding-inline: 8px; }
    .site-shell { width: 100%; display: block; }
    .side-nav { display: none; }
    .main-content { max-width: none; padding: 28px 16px 54px; }
    .note-columns, .work-grid, .contact-cards, .app-band, .footer-grid, .full-menu-scroll { grid-template-columns: 1fr; }
    .number-item { grid-template-columns: 1fr; gap: 8px; }
    .number-label { font-size: 13px; }
    .topic-row { grid-template-columns: 1fr; gap: 6px; }
    .method-step { grid-template-columns: 50px minmax(0,1fr); gap: 12px; }
    .status-row { grid-template-columns: 1fr; gap: 8px; }
    .status-pill { width: fit-content; }
    .app-visual { justify-content: flex-start; flex-wrap: wrap; }
    .footer-inner { width: 100%; padding: 28px 16px 84px; }
    .footer-brand { align-items: flex-start; flex-direction: column; }
    .full-menu { max-height: 72vh; }
    .full-menu-head { padding-inline: 16px; }
    .full-menu-scroll { width: 100%; padding: 16px 16px 24px; gap: 10px; }
    .search-panel { top: 0; left: 0; width: 100%; height: 100vh; transform: none; background: #080706; padding: 16px; display: flex; align-items: flex-start; }
    .search-panel.is-open { transform: none; }
    .search-card { width: 100%; border: 0; box-shadow: none; padding: 68px 0 0; background: transparent; }
    .search-presets { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mobile-bottom { position: fixed; z-index: 600; inset: auto 0 0 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #090806; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(4,1fr); }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text); }
    .mobile-bottom a.is-current { background: var(--gold); color: #1A1408; font-weight: 700; }
    .media-slot.is-176 { height: 160px; }
}
@media (max-width: 420px) {
    .head-app { font-size: 12px; }
    .menu-trigger { font-size: 12px; }
    .search-presets { grid-template-columns: 1fr; }
    .link-list { grid-template-columns: 1fr; }
}

.media-gap { margin-bottom: 18px; }
