:root {
    --bg: #FBF6EA;
    --bg-deep: #F3E6C8;
    --surface: #FFFFFF;
    --surface-alt: #F0E2BE;
    --title: #3A2A10;
    --text: #4A3A1A;
    --muted: #7A6232;
    --soft: #9A7A44;
    --gold: #C9A227;
    --gold-bright: #E0BC4A;
    --gold-deep: #8C6A12;
    --cream: #FFF8E8;
    --line: rgba(201, 162, 39, 0.18);
    --line-strong: rgba(201, 162, 39, 0.46);
    --shadow: 0 12px 28px rgba(58, 42, 16, 0.08);
    --radius: 12px;
    --shell: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}
body.nav-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.shell { width: min(var(--shell), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--surface); color: var(--title); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.crown-line { position: fixed; inset: 0 0 auto 0; height: 22px; z-index: 90; background: var(--title); color: var(--cream); font-size: 12px; }
.crown-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-button { border: 0; background: transparent; color: var(--cream); min-width: 44px; min-height: 22px; padding: 0 4px; }
.palace-bar { position: fixed; left: 0; right: 0; top: 22px; height: 60px; z-index: 88; background: var(--surface); border-bottom: 1px solid var(--line); }
.palace-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-link { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.brand-logo, .drawer-logo, .footer-logo { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-fallback { color: var(--title); font-weight: 800; font-size: 16px; letter-spacing: .06em; }
.drawer-trigger, .app-link, .icon-button { min-height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.drawer-trigger { min-width: 84px; border: 1px solid var(--line-strong); background: var(--cream); color: var(--title); font-weight: 700; }
.app-link { justify-self: end; min-width: 90px; padding: 0 16px; color: var(--title); background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%); font-weight: 800; }
.seat-tabs { position: fixed; left: 0; right: 0; top: 82px; height: 40px; z-index: 82; background: var(--cream); border-bottom: 1px solid var(--line); }
.seat-tabs-inner { height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.seat-tab { height: 30px; min-width: 90px; padding: 0 18px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.seat-tab:hover, .seat-tab:focus-visible, .seat-tab.is-active { color: var(--title); background: var(--gold); outline: none; }
.site-main { padding-top: 122px; min-height: 70vh; }
.page-shell { width: min(var(--shell), calc(100% - 32px)); margin: 0 auto; padding: 36px 0 64px; }
.page-hero { padding: 30px; background: linear-gradient(180deg, var(--surface), var(--cream)); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 26px; }
.eyebrow { margin: 0 0 8px; color: var(--gold-deep); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
h1, h2, h3 { color: var(--title); margin-top: 0; }
h1 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
h2 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
h3 { font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { max-width: 880px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-primary, .btn-secondary { min-height: 42px; padding: 0 18px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; white-space: nowrap; }
.btn-primary { color: var(--title); background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%); }
.btn-secondary { color: var(--title); background: var(--surface); border: 1px solid var(--line-strong); }
.btn-primary:hover, .btn-secondary:hover, .btn-primary:focus-visible, .btn-secondary:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(58, 42, 16, .10); outline: 2px solid rgba(201, 162, 39, .28); outline-offset: 2px; }
.section { margin-top: 26px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.card, .article-card, .list-row, .shelf-card, .note-card, .timeline-item, .faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card, .article-card, .note-card { padding: 20px; }
.card p:last-child, .article-card p:last-child, .note-card p:last-child { margin-bottom: 0; }
.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)); }
.media-slot { width: 100%; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-slot.banner { height: 260px; }
.media-slot.medium { height: 200px; }
.media-slot.card-media { height: 180px; }
.media-slot.app-media { height: 360px; max-width: 420px; margin: 0 auto; }
.home-cover { padding-top: 28px; }
.cover-copy { text-align: center; max-width: 820px; margin: 18px auto 0; }
.cover-copy h1 { margin-bottom: 6px; }
.cover-copy .brand-line { font-size: 13px; color: var(--gold-deep); letter-spacing: .12em; font-weight: 800; }
.cover-copy .btn-row { justify-content: center; }
.number-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.number-strip a { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 14px; min-height: 64px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.num { color: var(--gold-deep); font-weight: 900; font-size: 20px; }
.shelf { display: grid; gap: 10px; }
.shelf-card { padding: 16px 18px; display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; }
.shelf-tag { color: var(--gold-deep); font-size: 13px; font-weight: 800; }
.shelf-card p { margin: 3px 0 0; color: var(--muted); }
.shelf-card a { font-weight: 800; color: var(--gold-deep); min-height: 44px; display: inline-flex; align-items: center; }
.big-list { display: grid; gap: 10px; }
.list-row { padding: 16px 18px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.list-number { width: 48px; height: 48px; border-radius: 12px; background: var(--gold); color: var(--title); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.timeline { position: relative; display: grid; gap: 14px; padding-left: 24px; }
.timeline:before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--line-strong); }
.timeline-item { position: relative; padding: 18px 20px; }
.timeline-item:before { content: ""; position: absolute; left: -22px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--bg); }
.status { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kicker { color: var(--gold-deep); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.inline-links a { min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 9px; border: 1px solid var(--line); background: var(--cream); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 800; color: var(--title); min-height: 52px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; float: right; color: var(--gold-deep); }
.faq-item[open] summary:after { content: "−"; }
.faq-body { padding: 0 18px 18px; color: var(--muted); }
.policy-section { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 14px; }
.policy-section ul { margin: 8px 0 0 20px; padding: 0; }
.policy-section li { margin-bottom: 8px; }
.app-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 24px; align-items: center; }
.icon-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.icon-line img { width: 48px; height: 48px; object-fit: contain; }
.table-wrap { overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.table-wrap th, .table-wrap td { overflow-wrap: anywhere; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--title); background: var(--cream); }
tr:last-child td { border-bottom: 0; }
.site-footer { background: var(--title); color: var(--bg-deep); border-top: 1px solid var(--gold-deep); padding: 34px 0 calc(26px + env(safe-area-inset-bottom)); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.footer-brand strong, .footer-brand span { color: var(--cream); font-weight: 800; }
.footer-brand small { color: var(--bg-deep); letter-spacing: .08em; }
.footer-grid h2 { color: var(--cream); font-size: 13px; margin: 0 0 8px; }
.footer-grid a { display: block; color: var(--bg-deep); padding: 3px 0; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--gold-bright); outline: none; }
.footer-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(243, 230, 200, .18); color: var(--bg-deep); }
.footer-note p { margin: 0 0 6px; }
.page-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(58, 42, 16, .34); opacity: 0; visibility: hidden; pointer-events: none; transition: .22s ease; }
.page-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.site-drawer { position: fixed; left: 0; top: 0; bottom: 0; width: min(400px, 86vw); z-index: 140; background: var(--bg); box-shadow: 18px 0 42px rgba(58, 42, 16, .18); 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: 72px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--surface); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand div { display: flex; flex-direction: column; line-height: 1.2; }
.drawer-brand span { font-size: 11px; color: var(--muted); margin-top: 4px; }
.icon-button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--title); padding: 0 14px; }
.drawer-scroll { height: calc(100vh - 72px); overflow-y: auto; padding: 12px 16px 28px; }
.drawer-section { padding: 8px 0 16px; border-bottom: 1px solid var(--line); }
.drawer-section:last-child { border-bottom: 0; }
.drawer-section h2 { font-size: 13px; color: var(--gold-deep); margin: 0 0 8px; }
.drawer-section a { display: block; padding: 10px 12px; border-radius: 10px; }
.drawer-section a:hover, .drawer-section a:focus-visible { background: var(--surface-alt); outline: none; }
.drawer-section strong { display: block; color: var(--title); }
.drawer-section span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.search-layer { position: fixed; left: 0; right: 0; top: 82px; z-index: 145; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: .2s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(720px, calc(100% - 32px)); margin: 14px auto 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.search-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--title); }
.search-card label { display: block; color: var(--muted); margin-bottom: 8px; }
.search-card input { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 14px; color: var(--title); background: var(--cream); outline: none; }
.search-card input:focus { box-shadow: 0 0 0 3px rgba(201, 162, 39, .16); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-presets a { min-height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--surface-alt); color: var(--title); font-weight: 800; }
.search-hint { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.mobile-bottom { display: none; }
@media (max-width: 860px) {
    .seat-tabs { display: none; }
    .site-main { padding-top: 82px; padding-bottom: 64px; }
    .grid-3, .grid-4, .note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .app-layout { grid-template-columns: 1fr; }
    .app-layout .media-slot { order: -1; }
    .search-layer { top: 0; bottom: 0; background: var(--title); color: var(--cream); }
    .search-card { margin-top: max(18px, env(safe-area-inset-top)); background: var(--title); color: var(--cream); border-color: rgba(243, 230, 200, .24); box-shadow: none; }
    .search-card .search-head, .search-card label { color: var(--cream); }
    .search-card .icon-button { color: var(--cream); border-color: rgba(243, 230, 200, .28); background: transparent; }
    .search-card input { background: var(--cream); }
    .search-presets a { background: var(--gold); color: var(--title); }
    .search-hint { color: var(--bg-deep); }
    .mobile-bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line-strong); }
    .mobile-bottom a { min-width: 0; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
    .mobile-bottom a.is-active { background: var(--gold); color: var(--title); font-weight: 800; }
}
@media (max-width: 640px) {
    .shell, .page-shell { width: calc(100% - 32px); }
    .palace-inner { gap: 8px; }
    .brand-link { min-width: 0; }
    .brand-logo { max-width: 112px; }
    .brand-fallback { font-size: 14px; }
    .drawer-trigger { min-width: 68px; padding: 0 10px; }
    .app-link { min-width: 74px; padding: 0 10px; font-size: 13px; }
    .page-shell { padding: 24px 0 48px; }
    .page-hero, .card, .article-card, .note-card { padding: 17px; }
    h1 { font-size: 24px; }
    .grid-2, .grid-3, .grid-4, .note-grid { grid-template-columns: 1fr; }
    .number-strip { grid-template-columns: repeat(2, 1fr); }
    .shelf-card { grid-template-columns: 1fr; gap: 6px; }
    .shelf-card a { min-height: 36px; }
    .list-row { grid-template-columns: 48px 1fr; gap: 12px; }
    .media-slot.banner { height: 260px; }
    .media-slot.app-media { height: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
@media (max-width: 860px) {
    .site-footer { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}
