:root {
  --ink: #111315;
  --panel: #1d2024;
  --paper: #f4f1e7;
  --card: #fffdf4;
  --line: #d8cfbb;
  --muted: #746f64;
  --red: #d63b33;
  --cyan: #1d8f9a;
  --yellow: #f1c84b;
  --shadow: 0 24px 70px rgba(16, 18, 20, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17,19,21,.05) 1px, transparent 1px),
    linear-gradient(180deg, #f8f4e8 0%, #ece7da 52%, #eef3f0 100%);
  background-size: 44px 44px, auto;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.gate-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 54px);
  color: #fff;
  background: rgba(17, 19, 21, .94);
  border-bottom: 4px solid var(--yellow);
}
.brand { display: grid; gap: 2px; min-width: 132px; }
.brand b { font-size: 25px; line-height: 1; }
.brand span { color: var(--yellow); font-weight: 800; font-size: 13px; }
.gate-nav { display: flex; justify-content: center; gap: 7px; }
.gate-nav a {
  padding: 10px 13px;
  border: 1px dashed rgba(255,255,255,.22);
  font-weight: 800;
  color: #eee7d5;
}
.gate-nav a:hover, .gate-nav a.active {
  color: #111315;
  background: var(--yellow);
  border-color: var(--yellow);
}
.gate-search { display: flex; gap: 8px; }
.gate-search input {
  width: 220px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 0 12px;
  outline: none;
}
.gate-search input::placeholder { color: rgba(255,255,255,.7); }
.gate-search button {
  height: 42px;
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 0 17px;
  font-weight: 900;
}
.nav-toggle { display: none; }

.cinema-hero {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(460px, 1.25fr);
  gap: 38px;
  align-items: center;
  min-height: 610px;
  padding: 48px clamp(16px, 5vw, 72px) 42px;
  background:
    radial-gradient(circle at 78% 26%, rgba(214,59,51,.18), transparent 24%),
    linear-gradient(135deg, #fff8e7, #e7f0ef 58%, #f4f1e7);
}
.hero-copy .ticket-label {
  display: inline-flex;
  padding: 7px 12px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 900;
}
.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(46px, 8vw, 108px);
  line-height: .9;
}
.hero-copy p {
  max-width: 640px;
  color: #484238;
  line-height: 1.9;
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  font-weight: 900;
  background: var(--red);
  color: #fff;
}
.hero-actions a:nth-child(2) { background: var(--ink); color: var(--yellow); }

.ticket-stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  min-height: 460px;
}
.ticket-poster {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  background: #ddd;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  transition: transform .28s ease, filter .28s ease;
}
.ticket-poster:nth-child(1), .ticket-poster:nth-child(5) { height: 340px; }
.ticket-poster:nth-child(2), .ticket-poster:nth-child(4) { height: 410px; }
.ticket-poster:nth-child(3) { height: 470px; }
.ticket-poster:hover { transform: translateY(-14px) scale(1.035); filter: saturate(1.1); }
.ticket-poster span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 10px 10px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(transparent, rgba(0,0,0,.86));
}

.marquee-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px clamp(16px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}
.marquee-strip a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.22);
  color: #f8eed4;
}
.marquee-strip b { color: var(--yellow); }

.hall-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 44px clamp(16px, 5vw, 72px);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title span { font-size: 28px; font-weight: 950; }
.section-title a { color: var(--red); font-weight: 900; }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.movie-ticket {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(20,20,20,.06);
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.movie-ticket.large { grid-column: span 2; grid-row: span 2; }
.movie-ticket a { display: grid; height: 100%; grid-template-rows: auto 1fr; }
.movie-ticket .poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.movie-ticket.large .poster { aspect-ratio: 5 / 4; }
.movie-ticket .poster::after {
  content: "查看";
  position: absolute;
  inset: auto 10px 10px auto;
  z-index: 2;
  padding: 8px 10px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.movie-ticket:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}
.movie-ticket:hover img { transform: scale(1.07); }
.movie-ticket:hover .poster::after { opacity: 1; transform: translateY(0); }
.movie-ticket img { transition: transform .35s ease; }
.ticket-copy { display: grid; gap: 7px; padding: 12px; }
.ticket-copy b { line-height: 1.28; font-size: 16px; }
.ticket-copy em, .ticket-copy span { color: var(--muted); font-style: normal; font-size: 13px; line-height: 1.45; }
.ticket-copy strong { color: var(--red); font-size: 13px; }

.ticket-board {
  display: grid;
  align-content: start;
  gap: 14px;
}
.rank-board { display: grid; gap: 10px; }
.rank-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--panel);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.rank-card:hover { transform: translateX(6px); background: #262b31; }
.rank-card b { color: var(--yellow); font-size: 25px; }
.rank-card span { display: grid; gap: 4px; }
.rank-card small { color: #d7cfbf; }

.seat-zone, .corridor, .library-main, .detail-main {
  padding: 0 clamp(16px, 5vw, 72px) 54px;
}
.seat-map {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}
.seat-map a {
  min-height: 76px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  border: 2px solid var(--ink);
  background: var(--card);
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.seat-map a:hover { transform: translateY(-5px); background: var(--cyan); color: #fff; }
.corridor {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}
.corridor-panel {
  min-height: 280px;
  padding: 24px;
  color: #fff;
  background: var(--ink);
}
.corridor-panel h2 { margin: 0 0 18px; font-size: 32px; }
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.topic-list a {
  display: grid;
  gap: 6px;
  padding: 13px;
  color: #fff;
  border: 1px dashed rgba(255,255,255,.24);
  transition: background .2s ease, transform .2s ease;
}
.topic-list a:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.topic-list span { color: #e8dcc2; font-size: 13px; }

.archive-hero {
  padding: 42px 0 28px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 24px;
  align-items: end;
}
.archive-hero span { color: var(--red); font-weight: 900; }
.archive-hero h1 { margin: 10px 0 0; font-size: clamp(34px, 6vw, 72px); line-height: 1; }
.archive-hero p { color: var(--muted); line-height: 1.85; font-size: 17px; }
.filters {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.filters input, .filters select {
  min-width: 0;
  height: 44px;
  border: 1px solid var(--line);
  background: #fffdf4;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}
.result-line { display: flex; gap: 8px; align-items: baseline; margin: 20px 0; }
.result-line strong { color: var(--red); font-size: 34px; }
.table-stage {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.poster-drawer {
  position: sticky;
  top: 98px;
  border: 10px solid #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 3;
  background: #ddd;
}
.archive-list { display: grid; gap: 10px; }
.archive-row {
  display: grid;
  grid-template-columns: 54px 1.4fr .7fr .7fr .5fr 90px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.archive-row:hover {
  transform: translateX(6px);
  border-color: var(--red);
  background: #fff;
}
.archive-row b { color: var(--red); font-size: 20px; }
.archive-row strong { line-height: 1.3; }
.archive-row small { display: block; color: var(--muted); margin-top: 3px; }
.archive-row span { color: #47423a; }
.archive-row em {
  font-style: normal;
  width: max-content;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 900;
}

.detail-show {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 38px;
  align-items: center;
  min-height: 610px;
  padding-top: 40px;
}
.detail-poster {
  aspect-ratio: 2 / 3;
  border: 12px solid #fff;
  box-shadow: var(--shadow);
  background: #ddd;
}
.detail-copy > span { color: var(--red); font-weight: 900; }
.detail-copy h1 {
  margin: 14px 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .95;
}
.detail-copy em { display: block; color: var(--muted); font-style: normal; font-weight: 800; }
.detail-copy p { max-width: 760px; color: #484238; line-height: 1.9; font-size: 18px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.detail-meta b { padding: 10px 14px; background: var(--card); border: 1px solid var(--line); }
.detail-copy .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}
.detail-panels, .related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 46px;
}
.detail-panels article {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}
.detail-panels h2 { margin: 0 0 10px; }
.detail-panels p { margin: 0; color: var(--muted); line-height: 1.8; }
.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px clamp(16px, 5vw, 72px);
  color: #f8edd4;
  background: var(--ink);
}
.site-footer p { color: #d6cab6; line-height: 1.7; }
.site-footer a { display: inline-block; margin: 0 0 8px 18px; color: #fff; font-weight: 800; }

@media (max-width: 1100px) {
  .gate-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; width: 42px; height: 38px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font-size: 22px; }
  .gate-nav, .gate-search { display: none; }
  .nav-open .gate-nav, .nav-open .gate-search { display: flex; grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .cinema-hero, .hall-layout, .corridor, .archive-hero, .table-stage, .detail-show { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .poster-drawer { position: static; max-width: 320px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid, .detail-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .cinema-hero { min-height: auto; padding-top: 28px; }
  .ticket-stack { grid-template-columns: repeat(3, 1fr); min-height: auto; }
  .ticket-poster, .ticket-poster:nth-child(n) { height: 230px; min-height: 230px; }
  .slot-grid, .seat-map, .topic-list, .filters, .related-grid, .detail-panels { grid-template-columns: 1fr; }
  .movie-ticket.large { grid-column: auto; grid-row: auto; }
  .archive-row { grid-template-columns: 42px 1fr; }
  .archive-row span, .archive-row em { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer a { margin-left: 0; margin-right: 14px; }
}

:root{--ink:#101820;--paper:#f5efe1;--red:#d83a34;--blue:#2c7f74;--yellow:#efc64b;}body{background:radial-gradient(circle at 20% 0, color-mix(in srgb, #d83a34 18%, transparent), transparent 28%), #f5efe1;}.site-header,.gate-header,.paper-header{border-bottom:1px solid rgba(0,0,0,.18);}.movie-card:hover,.story-card:hover,.movie-ticket:hover,.catalog-entry:hover{transform:translateY(-10px) rotate(-.4deg);}.hero,.cinema-hero,.front-page{min-height:562px;}.content-grid,.slot-grid,.related-grid{gap:12px;}.brand strong,.brand b,.masthead span{font-size:26px;}
