:root {
    --bg: #111111;
    --well: #FFF6D8;
    --card: #FFFFFF;
    --sub: #F3E4B0;
    --ink: #16140F;
    --text: #2A261C;
    --muted: #5C5648;
    --soft: #8A8370;
    --yellow: #F5C518;
    --rust: #C45A2A;
    --teal: #2A6B6B;
    --border: rgba(245,197,24,0.28);
    --shadow: 0 14px 34px rgba(0,0,0,0.28);
    --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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: 16px; line-height: 1.75; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; box-shadow: 0 8px 20px rgba(0,0,0,.24); }
.header-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.ticket-strip { height: 22px; background: var(--bg); color: var(--yellow); font-size: 12px; line-height: 22px; }
.ticket-strip-inner { display: flex; align-items: center; justify-content: space-between; height: 22px; }
.micro-brand { letter-spacing: .05em; white-space: nowrap; }
.search-open { position: relative; min-width: 54px; height: 22px; padding: 0 8px; border: 0; color: var(--yellow); background: transparent; }
.search-open::after { content: ""; position: absolute; top: 0; right: 0; width: 100%; height: 44px; }
.signboard { height: 72px; background: var(--bg); border-top: 1px dashed var(--border); }
.signboard-inner { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; max-width: 260px; }
.brand-logo { max-height: 38px; width: auto; object-fit: contain; }
.brand-fallback { color: var(--yellow); font-size: 25px; font-weight: 900; letter-spacing: .08em; }
.boxoffice-button, .app-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--yellow); border-radius: 8px; font-weight: 800; }
.boxoffice-button { justify-self: center; padding: 0 22px; background: var(--yellow); color: var(--bg); }
.app-link { justify-self: end; padding: 0 18px; background: var(--bg); color: var(--yellow); }
.showtime-nav { height: 44px; background: var(--yellow); color: var(--ink); }
.showtime-nav-inner { height: 44px; display: flex; align-items: center; justify-content: flex-start; gap: 6px; }
.showtime-nav a { min-height: 34px; padding: 5px 13px; display: inline-flex; align-items: center; font-weight: 800; border-radius: 6px; }
.showtime-nav a:hover, .showtime-nav a:focus-visible, .showtime-nav a.active { background: var(--bg); color: var(--yellow); outline: none; }
.site-main { padding-top: 138px; }
.content-well { width: min(var(--max), calc(100% - 32px)); margin: 0 auto 38px; background: var(--well); color: var(--text); box-shadow: var(--shadow); border-radius: 0 0 14px 14px; overflow: hidden; }
.page-shell { padding: 34px; }
.page-kicker { display: inline-block; margin-bottom: 10px; padding: 3px 9px; background: var(--bg); color: var(--yellow); border-radius: 6px; font-size: 13px; font-weight: 900; letter-spacing: .08em; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; }
h1 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 32px); }
h2 { margin: 0 0 12px; font-size: 22px; }
h3 { margin: 0 0 8px; font-size: 18px; }
p { margin: 0 0 16px; }
.lead { max-width: 820px; color: var(--muted); font-size: 17px; }
.cover-media, .media-placeholder { margin: 0; width: 100%; max-height: 300px; overflow: hidden; background: var(--bg); }
.cover-media img { width: 100%; max-height: 300px; object-fit: cover; }
.media-placeholder { min-height: 210px; display: grid; place-items: center; color: var(--yellow); border-bottom: 1px solid var(--border); }
.media-placeholder span { font-size: 22px; font-weight: 900; letter-spacing: .08em; }
.hero-copy { padding: 28px 34px 34px; }
.hero-copy .eyebrow { margin-bottom: 5px; color: var(--rust); font-weight: 900; }
.hero-actions, .text-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button-primary, .button-secondary { min-height: 44px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; font-weight: 900; }
.button-primary { background: var(--yellow); color: var(--bg); border: 1px solid var(--bg); }
.button-secondary { background: var(--bg); color: var(--yellow); border: 1px solid var(--yellow); }
.button-primary:hover, .button-primary:focus-visible, .button-secondary:hover, .button-secondary:focus-visible { outline: 3px solid rgba(42,107,107,.35); outline-offset: 2px; }
.section-block { padding: 32px 34px; border-top: 1px solid rgba(22,20,15,.12); }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.section-title-row p { margin: 0; color: var(--muted); max-width: 620px; }
.ticket-grid, .card-grid, .genre-grid, .info-grid, .faq-grid { display: grid; gap: 16px; }
.ticket-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.genre-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: repeat(2, 1fr); }
.ticket-card, .hall-card, .genre-card, .info-card, .faq-card, .policy-card { position: relative; background: var(--card); border: 1px solid rgba(22,20,15,.14); border-radius: 10px; padding: 20px; color: var(--text); }
.ticket-card { border-left: 7px solid var(--yellow); }
.ticket-card:nth-child(2), .ticket-card.rust { border-left-color: var(--rust); }
.ticket-card:nth-child(3), .ticket-card.teal { border-left-color: var(--teal); }
.ticket-card:nth-child(4) { border-left-color: var(--yellow); }
.ticket-card a, .hall-card a, .genre-card a, .info-card a { font-weight: 900; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.number-list, .stub-list, .directory-list, .timeline, .step-list { display: grid; gap: 12px; margin: 18px 0 0; }
.number-row, .stub-row, .directory-row, .timeline-item, .step-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(22,20,15,.14); }
.big-number { color: var(--yellow); background: var(--bg); border-radius: 8px; min-height: 54px; display: grid; place-items: center; font-size: 24px; font-weight: 950; }
.row-copy p { margin: 4px 0 0; color: var(--muted); }
.row-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--teal); font-weight: 900; }
.wide-split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: 24px; align-items: start; }
.note-band { margin: 18px 0 0; padding: 16px 18px; background: var(--sub); color: var(--ink); border-left: 6px solid var(--rust); border-radius: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-row span { padding: 4px 9px; border-radius: 6px; background: var(--bg); color: var(--yellow); font-weight: 800; font-size: 13px; }
.timeline { position: relative; padding-left: 10px; }
.timeline-item { grid-template-columns: 110px 1fr; border-left: 3px solid var(--teal); padding-left: 18px; }
.status { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 4px 9px; border-radius: 6px; background: var(--bg); color: var(--yellow); font-weight: 900; }
.step-row { grid-template-columns: 90px 1fr; }
.editor-opinion { padding: 18px; background: var(--sub); border-radius: 10px; border-left: 6px solid var(--rust); }
.editor-opinion strong { display: block; margin-bottom: 6px; color: var(--ink); }
.app-showcase { display: grid; grid-template-columns: minmax(0,1fr) 150px; gap: 18px; align-items: start; }
.app-icon-slot { max-width: 120px; min-height: 120px; border-radius: 18px; overflow: hidden; }
.app-icon-slot img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.policy-stack { display: grid; gap: 14px; }
.policy-card h2 { font-size: 20px; }
.policy-card p:last-child { margin-bottom: 0; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--card); border-radius: 10px; padding: 20px; border: 1px solid rgba(22,20,15,.14); }
.faq-item h2 { font-size: 18px; }
.faq-item p { margin: 0; }
.site-footer { background: var(--bg); color: #E8D9A0; border-top: 1px solid var(--border); padding: 36px 0 86px; }
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.footer-logo { max-height: 36px; width: auto; }
.footer-brand strong { display: block; color: var(--yellow); font-size: 20px; }
.footer-brand span { display: block; font-size: 12px; letter-spacing: .08em; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.footer-grid h2 { color: var(--yellow); font-size: 15px; margin-bottom: 10px; }
.footer-grid a { display: block; min-height: 36px; padding: 4px 0; color: #E8D9A0; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--yellow); outline: none; text-decoration: underline; }
.footer-notice { margin: 26px 0 10px; padding-top: 20px; border-top: 1px dashed var(--border); }
.copyright { color: var(--yellow); font-size: 13px; }
.boxoffice-drawer { position: fixed; z-index: 80; top: 0; right: 0; width: min(380px,88vw); height: 100dvh; overflow-y: auto; background: var(--well); color: var(--text); box-shadow: -20px 0 50px rgba(0,0,0,.36); transform: translateX(104%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s; }
.boxoffice-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 10px 16px; background: var(--bg); color: var(--yellow); border-bottom: 1px solid var(--border); }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-logo { max-height: 30px; width: auto; }
.drawer-close, .search-head button { min-height: 44px; padding: 8px 12px; background: var(--yellow); color: var(--bg); border: 0; border-radius: 7px; font-weight: 900; }
.drawer-groups { padding: 14px 16px 28px; }
.drawer-groups section { padding: 12px 0; border-bottom: 1px dashed rgba(22,20,15,.22); }
.drawer-groups h2 { font-size: 15px; color: var(--rust); }
.drawer-groups a { display: block; min-height: 58px; padding: 8px 0; }
.drawer-groups a strong { display: block; color: var(--ink); }
.drawer-groups a span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.search-layer { position: fixed; z-index: 75; top: 94px; left: 0; right: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); opacity: 0; transition: .18s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.search-card { width: min(760px, calc(100% - 32px)); margin: 0 auto; background: var(--well); color: var(--text); box-shadow: var(--shadow); padding: 18px; border: 2px dashed var(--rust); border-radius: 10px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--ink); }
.search-card label { display: block; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.search-card input { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 7px; background: #fff; color: var(--ink); }
.search-presets { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 8px; background: var(--bg); color: var(--yellow); border-radius: 7px; font-weight: 900; }
.search-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.page-overlay { position: fixed; z-index: 70; inset: 0; background: rgba(0,0,0,.62); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility .18s; }
.page-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-open { overflow: hidden; }
.mobile-bottom-nav { display: none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width: 900px) {
    .ticket-grid { grid-template-columns: repeat(2,1fr); }
    .card-grid, .genre-grid { grid-template-columns: 1fr 1fr; }
    .wide-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .header-inner, .content-well, .footer-inner { width: calc(100% - 32px); }
    .showtime-nav { display: none; }
    .site-main { padding-top: 94px; }
    .signboard, .signboard-inner { height: 72px; }
    .signboard-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
    .brand-link { min-width: 0; max-width: 100%; overflow: hidden; }
    .brand-logo { max-height: 32px; max-width: 150px; }
    .brand-fallback { font-size: 20px; white-space: nowrap; }
    .boxoffice-button, .app-link { min-height: 44px; padding: 0 11px; font-size: 14px; }
    .page-shell, .hero-copy, .section-block { padding-left: 20px; padding-right: 20px; }
    .ticket-grid, .card-grid, .genre-grid, .info-grid, .footer-grid { grid-template-columns: 1fr; }
    .number-row, .stub-row, .directory-row { grid-template-columns: 58px 1fr; }
    .row-link { grid-column: 2; }
    .app-showcase { grid-template-columns: 1fr; }
    .search-layer { top: 0; bottom: 0; background: var(--bg); color: var(--yellow); padding-top: max(18px, env(safe-area-inset-top)); }
    .search-card { width: calc(100% - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--bg); color: var(--yellow); border-color: var(--yellow); box-shadow: none; }
    .search-head, .search-card label { color: var(--yellow); }
    .search-note { color: #E8D9A0; }
    .search-presets { grid-template-columns: 1fr 1fr; }
    .search-presets a { background: var(--yellow); color: var(--bg); }
    .mobile-bottom-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: var(--bg); border-top: 1px solid var(--border); }
    .mobile-bottom-nav a { min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: center; color: #E8D9A0; font-size: 13px; font-weight: 800; }
    .mobile-bottom-nav a.active { background: var(--yellow); color: var(--bg); }
    .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
    .micro-brand { max-width: 74%; overflow: hidden; text-overflow: ellipsis; }
    .brand-logo { max-width: 112px; }
    .boxoffice-button, .app-link { padding: 0 8px; font-size: 13px; }
    .page-shell, .hero-copy, .section-block { padding-left: 16px; padding-right: 16px; }
    .search-presets { grid-template-columns: 1fr; }
}
