:root {
  --black: #111111;
  --paper: #FFF6D8;
  --white: #FFFFFF;
  --secondary: #F3E4B0;
  --title: #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(--black); 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.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
.shell { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 14px; background: var(--yellow); color: var(--black); }
.skip-link:focus { top: 8px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
.ticket-strip { height: 22px; background: var(--black); color: var(--yellow); border-bottom: 1px dashed var(--border); }
.ticket-strip-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: .04em; }
.ticket-brand { font-weight: 800; }
.text-button { border: 0; background: transparent; color: var(--yellow); min-height: 22px; padding: 0 8px; }
.signboard { height: 72px; background: var(--black); border-bottom: 1px solid rgba(245,197,24,.18); }
.signboard-inner { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-lockup { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.brand-logo { max-height: 38px; width: auto; }
.brand-text { color: var(--yellow); font-size: 28px; font-weight: 900; letter-spacing: .08em; }
.box-office-trigger, .app-entry { min-height: 44px; border: 1px solid var(--yellow); display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; font-weight: 800; border-radius: 5px; }
.box-office-trigger { background: var(--yellow); color: var(--black); justify-self: center; }
.app-entry { color: var(--yellow); background: var(--black); justify-self: end; }
.showtime-bar { height: 44px; background: var(--yellow); color: var(--black); }
.showtime-links { height: 44px; display: flex; align-items: center; gap: 4px; overflow: hidden; }
.showtime-links a { min-height: 34px; display: inline-flex; align-items: center; padding: 0 12px; font-weight: 800; white-space: nowrap; border-radius: 4px; }
.showtime-links a:hover, .showtime-links a:focus-visible, .showtime-links a.is-active { background: var(--black); color: var(--yellow); outline: none; }
.site-main { padding-top: 138px; }
.content-well { width: min(var(--max), calc(100% - 32px)); margin: 24px auto 32px; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.page-hero { padding: 30px; border-bottom: 1px solid rgba(17,17,17,.12); }
.page-kicker { margin: 0 0 6px; color: var(--rust); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--title); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 14px; }
h2 { font-size: clamp(22px, 3vw, 26px); margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { max-width: 840px; font-size: 17px; color: var(--muted); }
.hero-media, .section-media { background: var(--black); min-height: 170px; display: grid; place-items: center; overflow: hidden; }
.hero-media img { width: 100%; max-height: 300px; object-fit: contain; }
.section-media img { width: 100%; max-height: 280px; object-fit: contain; }
.media-fallback { color: var(--yellow); font-weight: 900; font-size: clamp(24px, 4vw, 42px); letter-spacing: .08em; padding: 48px 24px; text-align: center; }
.section { padding: 30px; border-bottom: 1px solid rgba(17,17,17,.1); }
.section:last-child { border-bottom: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head p { margin: 0; color: var(--muted); max-width: 700px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 5px; font-weight: 900; border: 1px solid var(--black); }
.button.primary { background: var(--yellow); color: var(--black); }
.button.secondary { background: var(--black); color: var(--yellow); }
.button:hover, .button:focus-visible { transform: translateY(-1px); outline: 3px solid rgba(42,107,107,.35); outline-offset: 2px; }
.ticket-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.entry-ticket { background: var(--white); border: 1px solid rgba(17,17,17,.12); border-left: 8px solid var(--yellow); padding: 18px; border-radius: 10px; min-height: 180px; position: relative; }
.entry-ticket:nth-child(2) { border-left-color: var(--rust); }
.entry-ticket:nth-child(3) { border-left-color: var(--teal); }
.entry-ticket:nth-child(4) { border-left-color: var(--yellow); }
.entry-ticket a { font-weight: 900; display: inline-flex; min-height: 44px; align-items: center; color: var(--teal); }
.number-list { display: grid; gap: 10px; }
.number-item { background: var(--white); display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(17,17,17,.1); }
.number { font-size: 32px; font-weight: 950; color: var(--yellow); text-shadow: 1px 1px 0 var(--black); letter-spacing: -.04em; }
.number-item a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 900; color: var(--teal); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.card { background: var(--white); border-radius: 12px; border: 1px solid rgba(17,17,17,.1); overflow: hidden; }
.card-body { padding: 18px; }
.card-body a { color: var(--teal); font-weight: 900; min-height: 44px; display: inline-flex; align-items: center; }
.card-media { background: var(--black); min-height: 130px; display: grid; place-items: center; }
.card-media img { max-height: 210px; object-fit: contain; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.catalog-item { background: var(--secondary); padding: 18px; border-radius: 10px; border-top: 5px solid var(--yellow); }
.catalog-item:nth-child(2n) { border-top-color: var(--rust); }
.catalog-item:nth-child(3n) { border-top-color: var(--teal); }
.catalog-item a { display: inline-flex; min-height: 44px; align-items: center; color: var(--teal); font-weight: 900; }
.ticket-list { display: grid; gap: 12px; }
.ticket-row { background: var(--white); border: 1px dashed rgba(17,17,17,.35); border-left: 8px solid var(--yellow); padding: 16px 18px; border-radius: 8px; display: grid; grid-template-columns: minmax(140px,.75fr) 1.5fr auto; gap: 14px; align-items: center; }
.ticket-row:nth-child(2n) { border-left-color: var(--rust); }
.ticket-row:nth-child(3n) { border-left-color: var(--teal); }
.ticket-row a { min-height: 44px; display: inline-flex; align-items: center; color: var(--teal); font-weight: 900; }
.timeline { position: relative; display: grid; gap: 18px; padding-left: 28px; }
.timeline:before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: rgba(17,17,17,.22); }
.timeline-item { position: relative; background: var(--white); padding: 16px 18px; border-radius: 10px; }
.timeline-item:before { content: ""; position: absolute; left: -27px; top: 24px; width: 14px; height: 14px; background: var(--yellow); border: 3px solid var(--black); border-radius: 50%; }
.status { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--black); color: var(--yellow); font-size: 13px; font-weight: 900; }
.longform { max-width: 860px; }
.longform h2 { margin-top: 30px; }
.longform h3 { margin-top: 22px; }
.longform ul, .longform ol { padding-left: 1.35em; }
.longform li { margin-bottom: 9px; }
.note { background: var(--secondary); border-left: 5px solid var(--rust); padding: 16px 18px; border-radius: 8px; }
.editor-note { background: var(--black); color: #E8D9A0; padding: 18px; border-radius: 8px; }
.editor-note strong { color: var(--yellow); }
.qa-list { display: grid; gap: 14px; }
.qa { background: var(--white); border: 1px solid rgba(17,17,17,.1); border-radius: 10px; padding: 18px; }
.qa h2 { font-size: 19px; }
.icon-copy { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: 24px; align-items: start; }
.app-icon { max-width: 120px; border-radius: 20px; box-shadow: var(--shadow); }
.simple-list { display: grid; gap: 12px; }
.simple-list article { padding: 16px 18px; background: var(--white); border-radius: 10px; border-left: 6px solid var(--yellow); }
.simple-list article:nth-child(2n) { border-left-color: var(--rust); }
.simple-list article:nth-child(3n) { border-left-color: var(--teal); }
.site-footer { background: var(--black); color: #E8D9A0; border-top: 1px solid rgba(245,197,24,.25); padding: 34px 0 78px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4,1fr); gap: 26px; }
.footer-brand p { max-width: 400px; font-size: 14px; color: #E8D9A0; }
.footer-logo-link { display: inline-grid; gap: 3px; color: var(--yellow); margin-bottom: 12px; }
.footer-logo { max-height: 36px; width: auto; margin-bottom: 6px; }
.footer-logo-link strong { font-size: 20px; }
.footer-logo-link span { font-size: 11px; letter-spacing: .12em; }
.footer-links h2 { color: var(--yellow); font-size: 16px; margin-bottom: 10px; }
.footer-links a { display: block; min-height: 36px; color: #E8D9A0; font-size: 14px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--yellow); outline: none; text-decoration: underline; }
.footer-bottom { padding-top: 22px; margin-top: 22px; border-top: 1px solid rgba(245,197,24,.16); color: var(--yellow); font-size: 13px; }
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.66); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease; }
.overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.box-office { position: fixed; z-index: 220; top: 0; right: 0; width: min(380px, 88vw); height: 100dvh; background: var(--paper); box-shadow: -18px 0 40px rgba(0,0,0,.35); transform: translateX(102%); visibility: hidden; pointer-events: none; transition: transform .25s ease, visibility .25s ease; overflow-y: auto; color: var(--text); }
.box-office.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.box-office-head { position: sticky; top: 0; z-index: 2; background: var(--black); color: var(--yellow); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.box-office-brand { display: flex; align-items: center; gap: 10px; }
.drawer-logo { max-height: 28px; width: auto; }
.drawer-close { min-height: 44px; border: 1px solid var(--yellow); background: var(--black); color: var(--yellow); border-radius: 4px; padding: 0 12px; }
.drawer-group { padding: 16px; border-bottom: 1px solid rgba(17,17,17,.12); }
.drawer-group h2 { font-size: 14px; color: var(--rust); letter-spacing: .08em; margin-bottom: 10px; }
.drawer-group a { display: block; padding: 10px 8px; border-radius: 7px; }
.drawer-group a:hover, .drawer-group a:focus-visible { background: var(--secondary); outline: 2px solid rgba(42,107,107,.3); }
.drawer-group strong { display: block; color: var(--title); }
.drawer-group span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }
.search-layer { position: fixed; z-index: 230; top: 94px; left: 0; right: 0; 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(820px, calc(100% - 32px)); margin: 0 auto; background: var(--paper); color: var(--text); border: 2px dashed var(--yellow); border-radius: 10px; padding: 18px; box-shadow: var(--shadow); }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--title); }
.search-close { min-height: 44px; border: 1px solid var(--black); background: var(--black); color: var(--yellow); border-radius: 4px; padding: 0 14px; }
.search-appearance { margin-top: 14px; min-height: 52px; display: flex; gap: 10px; align-items: center; padding: 0 14px; border: 1px solid rgba(17,17,17,.25); background: var(--white); color: var(--muted); border-radius: 6px; }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-presets a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; background: var(--yellow); color: var(--black); border-radius: 5px; font-weight: 900; }
.panel-open { overflow: hidden; }
.mobile-bottom-nav { display: none; }
@media (max-width: 900px) {
  .ticket-grid, .card-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 2fr repeat(2,1fr); }
}
@media (max-width: 720px) {
  .site-main { padding-top: 94px; }
  .showtime-bar { display: none; }
  .signboard-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 8px; }
  .brand-logo { max-height: 30px; max-width: 120px; }
  .brand-text { font-size: 20px; }
  .box-office-trigger, .app-entry { min-height: 44px; padding: 0 10px; font-size: 14px; }
  .content-well { margin-top: 18px; margin-bottom: 18px; }
  .page-hero, .section { padding: 22px 18px; }
  .ticket-grid, .card-grid, .catalog-grid { grid-template-columns: 1fr; }
  .number-item { grid-template-columns: 54px 1fr; }
  .number-item a { grid-column: 2; }
  .ticket-row { grid-template-columns: 1fr; }
  .ticket-row a { justify-self: start; }
  .section-head { display: block; }
  .icon-copy { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .mobile-bottom-nav { position: fixed; z-index: 150; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--black); border-top: 1px solid rgba(245,197,24,.3); display: grid; grid-template-columns: repeat(5,1fr); }
  .mobile-bottom-nav a { min-height: 50px; display: flex; align-items: center; justify-content: center; color: #E8D9A0; font-size: 13px; font-weight: 900; }
  .mobile-bottom-nav a.is-active { background: var(--yellow); color: var(--black); }
  .search-layer { inset: 0; background: var(--black); transform: none; }
  .search-layer.is-open { display: grid; place-items: start center; }
  .search-card { width: 100%; min-height: 100dvh; margin: 0; border: 0; border-radius: 0; background: var(--black); color: var(--yellow); padding: 24px 16px; box-shadow: none; }
  .search-head { color: var(--yellow); }
  .search-appearance { background: #1B1B1B; border-color: rgba(245,197,24,.35); color: #E8D9A0; }
  .panel-open .mobile-bottom-nav { z-index: 150; }
}
@media (max-width: 430px) {
  .shell { width: min(var(--max), calc(100% - 32px)); }
  .ticket-strip-inner { font-size: 11px; }
  .ticket-brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-lockup { min-width: 0; }
  .brand-text { font-size: 18px; }
  .box-office-trigger, .app-entry { font-size: 13px; padding: 0 8px; }
  .footer-grid { grid-template-columns: 1fr; }
}
