:root {
    --bg: #FBF6EA;
    --deep-bg: #F3E6C8;
    --surface: #FFFFFF;
    --secondary: #F0E2BE;
    --title: #3A2A10;
    --text: #4A3A1A;
    --muted: #7A6232;
    --assist: #9A7A44;
    --gold: #C9A227;
    --gold-light: #E0BC4A;
    --gold-deep: #8C6A12;
    --ivory: #FFF8E8;
    --border: rgba(201, 162, 39, 0.18);
    --border-strong: rgba(201, 162, 39, 0.46);
    --shadow: 0 12px 28px rgba(58, 42, 16, 0.08);
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    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.drawer-open, body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
    outline: 3px solid rgba(224, 188, 74, 0.7);
    outline-offset: 3px;
}
.crown-line {
    position: fixed;
    z-index: 80;
    top: 0; left: 0; right: 0;
    height: 22px;
    background: var(--title);
    color: var(--ivory);
    font-size: 12px;
}
.top-inner, .palace-inner, .footer-inner, .page-shell {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}
.top-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-action {
    position: relative;
    min-width: 44px;
    height: 22px;
    border: 0;
    padding: 0 8px;
    background: transparent;
    color: var(--ivory);
    cursor: pointer;
    font-size: 12px;
}
.text-action::before { content: ""; position: absolute; inset: -11px 0; }
.palace-bar {
    position: fixed;
    z-index: 79;
    top: 22px; left: 0; right: 0;
    height: 60px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
}
.palace-inner { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand-link { justify-self: start; display: inline-flex; min-height: 44px; align-items: center; }
.brand-logo, .footer-logo { height: 28px; width: auto; object-fit: contain; object-position: center; }
.brand-text { font-size: 16px; font-weight: 800; color: var(--title); letter-spacing: .04em; }
.drawer-trigger {
    justify-self: center;
    min-width: 104px;
    height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--ivory);
    color: var(--title);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
}
.drawer-trigger:hover { background: var(--secondary); }
.drawer-mark { width: 18px; display: grid; gap: 3px; }
.drawer-mark i { height: 2px; background: var(--gold-deep); border-radius: 2px; display: block; }
.app-link {
    justify-self: end;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #E0BC4A 0%, #C9A227 55%, #8C6A12 100%);
    color: var(--title);
    font-size: 14px;
    font-weight: 800;
}
.app-link:hover { filter: brightness(1.03); }
.seat-tabs {
    position: fixed;
    z-index: 78;
    top: 82px; left: 0; right: 0;
    height: 40px;
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    font-size: 13px;
}
.seat-tabs a { position: relative; min-width: 86px; min-height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--muted); }
.seat-tabs a::before { content: ""; position: absolute; inset: -7px 0; }
.seat-tabs a:hover { background: var(--deep-bg); color: var(--title); }
.seat-tabs a.is-current { background: var(--gold); color: var(--title); font-weight: 800; }
.site-main { padding-top: 122px; min-height: 70vh; }
.page-shell { padding: 42px 0 64px; }
.page-kicker { margin: 0 0 8px; color: var(--gold-deep); font-weight: 800; font-size: 13px; letter-spacing: .08em; }
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.5; margin-bottom: 8px; }
p { margin-top: 0; }
.lead { color: var(--muted); max-width: 820px; margin-bottom: 28px; }
.section-block { margin-top: 34px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 16px; }
.section-head p { margin: 0; color: var(--muted); max-width: 620px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .eyebrow, .index-number { color: var(--gold-deep); font-weight: 900; letter-spacing: .06em; }
.notice-card { background: var(--deep-bg); border-color: var(--border-strong); box-shadow: none; }
.gold-card { background: var(--secondary); border-color: var(--border-strong); box-shadow: none; }
.hero { padding-top: 28px; }
.hero-banner { height: 260px; }
.media-slot, .media-slot-200, .media-slot-180, .media-slot-app, .media-slot-icon, .hero-banner {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--ivory);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-slot { height: 220px; }
.media-slot-200 { height: 200px; }
.media-slot-180 { height: 180px; }
.media-slot-app { height: 360px; }
.media-slot-icon { height: 92px; width: 92px; flex: 0 0 92px; }
.media-slot img, .media-slot-200 img, .media-slot-180 img, .media-slot-app img, .media-slot-icon img, .hero-banner img {
    width: 100%; height: 100%; object-fit: contain; object-position: center;
}
.media-slot-icon img { width: 48px; height: 48px; }
.media-empty { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(224,188,74,.12), rgba(255,248,232,.65)); position: relative; }
.media-empty::after { content: "TIANMEI FILM"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(140,106,18,.45); font-size: 12px; letter-spacing: .16em; }
.hero-copy { text-align: center; max-width: 820px; margin: 24px auto 0; }
.hero-copy h1 { margin-bottom: 10px; }
.hero-copy .brand-sub { font-size: 13px; color: var(--assist); margin-bottom: 4px; letter-spacing: .12em; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.btn-primary, .btn-secondary {
    height: 44px;
    min-width: 132px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #E0BC4A 0%, #C9A227 55%, #8C6A12 100%); color: var(--title); }
.btn-secondary { background: var(--surface); color: var(--title); border: 1px solid var(--border-strong); }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); }
.feature-card .media-slot-180 { margin-bottom: 14px; }
.split-stack { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 22px; align-items: stretch; }
.split-stack.reverse { grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); }
.copy-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.number-list { display: grid; gap: 10px; }
.number-list article { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.number-list .num { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--gold); color: var(--title); font-weight: 900; }
.number-list h3 { margin: 0 0 5px; }
.number-list p { margin: 0; color: var(--muted); }
.shelf-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shelf-item { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 10px; padding: 16px; min-width: 0; }
.shelf-item p { color: var(--muted); margin-bottom: 0; }
.timeline { position: relative; display: grid; gap: 14px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--border-strong); }
.timeline-item { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.timeline-item::before { content: ""; position: absolute; left: -25px; top: 23px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ivory); box-shadow: 0 0 0 1px var(--border-strong); }
.status { display: inline-flex; min-height: 28px; padding: 2px 10px; align-items: center; border-radius: 999px; background: var(--deep-bg); color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.definition-list { display: grid; gap: 12px; }
.definition-list article { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.definition-list h2, .definition-list h3 { margin-bottom: 8px; }
.definition-list p:last-child { margin-bottom: 0; }
.policy-list { counter-reset: policy; display: grid; gap: 14px; }
.policy-list article { counter-increment: policy; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 20px 20px 70px; position: relative; }
.policy-list article::before { content: counter(policy, decimal-leading-zero); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 10px; background: var(--gold); color: var(--title); display: grid; place-items: center; font-weight: 900; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 16px; }
.faq-list summary { cursor: pointer; min-height: 54px; display: flex; align-items: center; color: var(--title); font-weight: 800; }
.faq-list details p { padding: 0 0 16px; margin: 0; color: var(--muted); }
.app-feature { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 22px; align-items: center; }
.app-copy .icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.mt-14 { margin-top: 14px; }
.align-start { justify-content: flex-start; }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.inline-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); color: var(--title); font-weight: 700; }
.site-footer { background: var(--title); color: var(--deep-bg); border-top: 1px solid var(--gold-deep); font-size: 13px; }
.footer-inner { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid rgba(224,188,74,.25); }
.footer-brand > div { display: grid; line-height: 1.3; }
.footer-brand strong { color: var(--ivory); font-size: 16px; }
.footer-brand span { color: var(--gold-light); font-size: 11px; letter-spacing: .1em; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
.footer-grid h2 { color: var(--gold-light); font-size: 13px; margin-bottom: 10px; }
.footer-grid a { display: flex; align-items: center; min-height: 44px; color: var(--deep-bg); }
.footer-grid a:hover { color: var(--ivory); }
.footer-note { color: #E7D8AF; max-width: 880px; }
.footer-copy { margin-bottom: 0; color: var(--gold-light); }
.site-drawer {
    position: fixed;
    z-index: 110;
    top: 0; bottom: 0; left: 0;
    width: min(400px, 86vw);
    background: var(--ivory);
    color: var(--text);
    transform: translateX(-104%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, visibility .24s ease;
    box-shadow: 16px 0 40px rgba(58,42,16,.16);
    display: flex;
    flex-direction: column;
}
.drawer-open .site-drawer { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 72px; flex: 0 0 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.drawer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--title); }
.icon-close { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--ivory); color: var(--title); cursor: pointer; font-size: 24px; line-height: 1; }
.drawer-scroll { overflow-y: auto; padding: 16px; }
.drawer-group { margin-bottom: 20px; }
.drawer-group h2 { font-size: 13px; color: var(--gold-deep); margin-bottom: 8px; }
.drawer-group a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 10px; border: 1px solid transparent; }
.drawer-group a:hover { background: var(--surface); border-color: var(--border); }
.drawer-group strong { color: var(--title); font-size: 14px; }
.drawer-group span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.site-overlay { position: fixed; z-index: 100; inset: 0; background: rgba(58,42,16,.38); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.drawer-open .site-overlay, .search-open .site-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
.search-layer { position: fixed; z-index: 109; left: 50%; top: 92px; width: min(760px, calc(100% - 32px)); transform: translate(-50%, -14px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.search-open .search-layer { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; }
.search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.search-head strong { color: var(--title); font-size: 18px; }
.search-head p { margin: 2px 0 0; color: var(--muted); }
.search-label { display: block; font-size: 12px; color: var(--assist); margin-bottom: 6px; }
.search-input { width: 100%; height: 46px; border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 14px; background: var(--ivory); color: var(--title); }
.search-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.search-presets a { min-height: 44px; min-width: 82px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--title); font-weight: 700; }
.search-presets a:hover { background: var(--secondary); }
.search-empty { color: var(--muted); margin: 14px 0 0; }
.mobile-bottom { display: none; }

@media (max-width: 900px) {
    .card-grid, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-stack, .split-stack.reverse, .app-feature { grid-template-columns: 1fr; }
    .shelf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .seat-tabs { display: none; }
    .site-main { padding-top: 82px; }
    .page-shell { padding: 28px 0 46px; }
    .palace-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
    .brand-logo { max-width: 110px; }
    .brand-text { font-size: 15px; white-space: nowrap; }
    .drawer-trigger { min-width: 86px; padding: 0 10px; }
    .app-link { padding: 0 10px; font-size: 13px; white-space: nowrap; }
    .hero { padding-top: 16px; }
    .hero-banner { height: 260px; }
    .card-grid, .card-grid.two, .card-grid.four, .shelf-list { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .search-layer { inset: 0; width: 100%; transform: translateY(10px); background: var(--title); padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; }
    .search-open .search-layer { transform: translateY(0); }
    .search-card { min-height: 100%; background: var(--title); color: var(--ivory); border-color: rgba(224,188,74,.35); box-shadow: none; }
    .search-head strong { color: var(--ivory); }
    .search-head p, .search-label, .search-empty { color: var(--deep-bg); }
    .search-input { background: var(--ivory); }
    .search-presets a { background: var(--ivory); border-color: var(--gold-deep); }
    .search-card .icon-close { background: transparent; color: var(--ivory); border-color: rgba(255,248,232,.35); }
    .mobile-bottom { position: fixed; z-index: 77; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.98); border-top: 1px solid var(--border-strong); }
    .mobile-bottom a { min-width: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
    .mobile-bottom a.is-current { background: var(--gold); color: var(--title); font-weight: 800; }
    .drawer-open .mobile-bottom, .search-open .mobile-bottom { z-index: 76; }
    .number-list article { grid-template-columns: 42px 1fr; padding: 12px; }
    .policy-list article { padding: 62px 16px 16px; }
    .policy-list article::before { left: 16px; top: 14px; }
}
