/* AIGame59 — Matinee Reel: wide, dark, horizontal cinema */
:root {
  --hm-bg: #0c0c10;
  --hm-panel: #14141c;
  --hm-card: #1a1a24;
  --hm-gold: #e8c547;
  --hm-coral: #ff6b4a;
  --hm-text: #ece8df;
  --hm-muted: #8a8699;
  --hm-line: #2a2a38;
  --hm-link: #e8c547;
  --hm-cookie-pad: 0px;
  --hm-max: 1200px;
  --hm-font-head: "Arial Black", Impact, Haettenschweiler, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 15px/1.55 Georgia, "Times New Roman", serif;
  color: var(--hm-text);
  background:
    repeating-linear-gradient(-11deg, transparent, transparent 36px, rgba(232, 197, 71, 0.035) 36px, rgba(232, 197, 71, 0.035) 37px),
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 107, 74, 0.12), transparent 55%),
    var(--hm-bg);
  padding-bottom: var(--hm-cookie-pad);
}
body.hm-lock { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--hm-link); text-decoration: none; }
a:hover { color: var(--hm-coral); text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--hm-font-head);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}
h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0 0 0.5em; color: var(--hm-gold); }
h2 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); margin: 0; color: var(--hm-gold); }
h3 { font-size: 1rem; margin: 1em 0 0.4em; color: var(--hm-coral); }
p { margin: 0 0 0.85em; }
ul, ol { margin: 0 0 0.85em; padding-left: 1.4em; }
small { font-size: 0.82em; color: var(--hm-muted); }

.hm-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hm-shell { max-width: var(--hm-max); margin: 0 auto; padding: 0 20px; }
.hm-shell--wide { max-width: none; padding: 0; }

/* sticky scoreboard header */
.hm-head {
  position: sticky; top: 0; z-index: 300;
  background: rgba(12, 12, 16, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--hm-gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.hm-head::after {
  content: "";
  display: block; height: 7px;
  background: repeating-linear-gradient(90deg,
    var(--hm-gold) 0 8px, transparent 8px 16px,
    var(--hm-coral) 16px 24px, transparent 24px 32px);
  opacity: 0.85;
  animation: hm-bulbs 1.4s steps(2) infinite;
}
@keyframes hm-bulbs {
  0%, 100% { opacity: 0.55; filter: brightness(0.9); }
  50% { opacity: 1; filter: brightness(1.15); }
}
.hm-head__in {
  max-width: var(--hm-max); margin: 0 auto;
  padding: 10px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
}
.hm-logo {
  font-family: var(--hm-font-head);
  font-size: 1.05rem; font-weight: 900;
  color: var(--hm-gold); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hm-logo:hover { color: var(--hm-coral); text-decoration: none; }
.hm-logo__img {
  width: 32px; height: 32px;
  object-fit: contain; flex-shrink: 0;
}
.hm-nav {
  display: none; gap: 4px 0;
  font-family: var(--hm-font-head); font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hm-nav a {
  color: var(--hm-muted); padding: 4px 10px;
  border-left: 1px solid var(--hm-line);
}
.hm-nav a:first-child { border-left: 0; padding-left: 0; }
.hm-nav a.is-on { color: var(--hm-coral); text-decoration: none; }
.hm-nav a:hover { color: var(--hm-gold); text-decoration: none; }
.hm-search {
  display: none; align-items: center; gap: 6px; margin-left: auto;
}
.hm-search input {
  width: 160px; padding: 7px 12px;
  border: 1px solid var(--hm-line); border-radius: 0;
  background: var(--hm-panel); color: var(--hm-text);
  font: 14px Georgia, serif;
}
.hm-search input::placeholder { color: var(--hm-muted); font-style: italic; }
.hm-search input:focus { outline: 1px solid var(--hm-gold); border-color: var(--hm-gold); }
.hm-search button {
  padding: 7px 14px; border: 0;
  background: var(--hm-coral); color: #0c0c10;
  font-family: var(--hm-font-head); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer;
}
.hm-search button:hover { background: var(--hm-gold); }
.hm-menu {
  margin-left: auto; padding: 6px 12px;
  border: 1px solid var(--hm-line); background: var(--hm-panel);
  color: var(--hm-gold); font-family: var(--hm-font-head);
  font-size: 0.75rem; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
}

/* ads */
.hm-ad { max-width: var(--hm-max); margin: 16px auto; padding: 0 20px; }
.hm-ad__tag {
  font-family: var(--hm-font-head); font-size: 0.65rem;
  color: var(--hm-muted); letter-spacing: 0.12em;
  text-transform: uppercase; display: block; margin-bottom: 4px;
}
.hm-ad__in {
  min-height: 90px; border: 1px dashed var(--hm-line);
  background: var(--hm-panel); text-align: center;
  color: var(--hm-muted); font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}

/* headliner hero — ticket stub */
.hm-headliner {
  position: relative;
  margin: 24px 0 0;
  background: linear-gradient(105deg, var(--hm-panel) 0%, #1e1a14 50%, var(--hm-panel) 100%);
  border: 2px dashed var(--hm-gold);
  border-left: 5px solid var(--hm-coral);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px));
}
.hm-headliner::before {
  content: "NOW SHOWING";
  position: absolute; top: 14px; right: -32px; z-index: 2;
  padding: 6px 40px;
  background: var(--hm-coral); color: #0c0c10;
  font-family: var(--hm-font-head); font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  transform: rotate(32deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hm-headliner__in {
  display: grid; grid-template-columns: 1fr;
  gap: 0; align-items: stretch;
}
@media (min-width: 640px) {
  .hm-headliner__in { grid-template-columns: 280px 1fr; }
}
.hm-headliner__thumb {
  aspect-ratio: 16/10; background: #000; overflow: hidden;
}
.hm-headliner__thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.hm-headliner__body { padding: 20px 24px; }
.hm-headliner__tag {
  font-family: var(--hm-font-head); font-size: 0.7rem;
  color: var(--hm-coral); letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0 0 8px;
}
.hm-headliner__title {
  font-family: var(--hm-font-head); font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--hm-gold); margin: 0 0 6px; line-height: 1.1;
}
.hm-headliner__genre {
  font-size: 0.9rem; color: var(--hm-muted); margin: 0 0 14px;
  font-style: italic;
}
.hm-headliner__cta {
  display: inline-block; padding: 10px 20px;
  background: var(--hm-gold); color: #0c0c10;
  font-family: var(--hm-font-head); font-size: 0.78rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
}
.hm-headliner__cta:hover {
  background: var(--hm-coral); color: #0c0c10; text-decoration: none;
}

/* stats ticker — scrolling marquee */
.hm-ticker {
  margin: 18px 0 0;
  border-top: 2px solid var(--hm-gold);
  border-bottom: 2px solid var(--hm-gold);
  overflow: hidden;
  background: #08080c;
}
.hm-ticker__track {
  display: flex; width: max-content;
  animation: hm-marquee 22s linear infinite;
}
.hm-ticker__track span {
  flex: 0 0 auto; padding: 10px 0;
  font-family: var(--hm-font-head); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hm-muted); white-space: nowrap;
  padding-right: 48px;
}
.hm-ticker__track strong { color: var(--hm-gold); }
@keyframes hm-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* genre jump */
.hm-jump {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 20px 0 8px; padding: 0;
}
.hm-jump__btn {
  padding: 8px 16px; border: 1px solid var(--hm-line);
  background: var(--hm-panel); color: var(--hm-text);
  font-family: var(--hm-font-head); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
}
.hm-jump__btn:hover { border-color: var(--hm-gold); color: var(--hm-gold); text-decoration: none; }
.hm-jump__btn.is-on {
  background: var(--hm-coral); border-color: var(--hm-coral);
  color: #0c0c10; cursor: default;
}

.hm-recent {
  margin: 12px 0 20px; font-size: 0.92rem; color: var(--hm-muted);
}
.hm-recent[hidden] { display: none !important; }
.hm-recent strong { color: var(--hm-coral); font-family: var(--hm-font-head); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hm-recent a { margin-right: 4px; }

.hm-empty { color: var(--hm-muted); padding: 24px 0; font-style: italic; }
.hm-empty[hidden] { display: none !important; }
.hm-dim { color: var(--hm-muted); font-style: italic; }

/* category blocks — zigzag reels */
.hm-block { margin: 40px 0 0; }
.hm-block[hidden] { display: none !important; }
.hm-block__hd {
  max-width: var(--hm-max); margin: 0 auto 14px; padding: 0 20px;
  display: grid; grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center; gap: 4px 14px;
}
.hm-block__lane {
  grid-row: 1 / 3;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--hm-font-head); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hm-coral); padding: 4px 0;
  border-right: 2px dotted var(--hm-gold);
  padding-right: 10px;
}
.hm-block__hd h2 {
  grid-column: 2; grid-row: 1;
  display: inline-block; margin: 0;
  padding: 8px 18px 8px 14px;
  background: var(--hm-coral); color: #0c0c10;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 6px 50%);
  transform: skewX(-4deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}
.hm-block__hd h2 small { color: rgba(12, 12, 16, 0.65); font-size: 0.72em; }
.hm-block__more {
  grid-column: 3; grid-row: 1;
  font-family: var(--hm-font-head); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hm-gold);
}
.hm-block__voice {
  grid-column: 2 / 4; grid-row: 2;
  margin: 0; font-size: 0.95rem; color: var(--hm-muted); font-style: italic;
}
.hm-block__more:hover { color: var(--hm-coral); }

/* horizontal reel — perforated film strip */
.hm-reel-wrap {
  width: 100%; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, var(--hm-bg) 0 10px, transparent 10px 18px) 0 0 / 100% 8px repeat-x,
    repeating-linear-gradient(90deg, var(--hm-bg) 0 10px, transparent 10px 18px) 0 100% / 100% 8px repeat-x,
    linear-gradient(180deg, rgba(232, 197, 71, 0.06), transparent 40%, rgba(255, 107, 74, 0.04));
  padding: 10px 0;
}
.hm-block--up .hm-reel { padding-left: 48px; padding-right: 20px; }
.hm-block--dn .hm-reel {
  padding-right: 48px; padding-left: 20px;
  direction: rtl;
}
.hm-block--dn .hm-card { direction: ltr; }
.hm-reel {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: hidden;
  padding: 8px 20px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--hm-gold) var(--hm-panel);
  scrollbar-width: thin;
}
.hm-reel::-webkit-scrollbar { height: 6px; }
.hm-reel::-webkit-scrollbar-track { background: var(--hm-panel); }
.hm-reel::-webkit-scrollbar-thumb { background: var(--hm-gold); border-radius: 3px; }

.hm-card {
  flex: 0 0 148px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--hm-card);
  border: 2px solid var(--hm-line);
  text-decoration: none; color: var(--hm-text);
  transition: border-color 0.15s, transform 0.15s;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(232, 197, 71, 0.08);
}
@media (min-width: 640px) { .hm-card { flex-basis: 168px; } }
.hm-card::before, .hm-card::after {
  content: ""; position: absolute; top: 38%; bottom: 38%; width: 8px;
  background: repeating-linear-gradient(180deg, var(--hm-bg) 0 4px, transparent 4px 8px);
  z-index: 2; pointer-events: none;
}
.hm-card::before { left: -5px; }
.hm-card::after { right: -5px; }
.hm-card:hover {
  border-color: var(--hm-gold); transform: translateY(-3px);
  text-decoration: none; color: var(--hm-gold);
}
.hm-card__thumb {
  aspect-ratio: 3/4; background: #000; overflow: hidden;
}
.hm-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.hm-card__ph {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--hm-panel), var(--hm-line));
}
.hm-card__title {
  padding: 10px 10px 12px;
  font-family: var(--hm-font-head); font-size: 0.72rem;
  line-height: 1.3; letter-spacing: 0.02em;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.hm-reel li[hidden] { display: none !important; }

/* detail — cinema auditorium (no player bar/footer) */
.hm-shell--show { max-width: 920px; }

.hm-play-cta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--hm-text);
  background: rgba(232, 197, 71, 0.12);
  border: 1px solid var(--hm-gold);
  border-radius: 4px;
  animation: hm-cta-pulse 2.4s ease-in-out infinite;
}

.hm-play-cta[hidden] { display: none !important; }

.hm-play-cta__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  font-weight: 900;
  color: #0c0c10;
  background: var(--hm-gold);
  border-radius: 50%;
}

.hm-play-cta strong { color: var(--hm-gold); }

@keyframes hm-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 197, 71, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(232, 197, 71, 0); }
}

.hm-auditorium {
  margin: 0 0 32px;
  padding: 0 0 8px;
  background: linear-gradient(180deg, #141018 0%, #0a080c 100%);
  border: 1px solid var(--hm-line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.hm-marquee--title {
  margin: 0;
  padding: 10px 0;
  background: #1a1018;
  border-bottom: 2px solid var(--hm-gold);
  overflow: hidden;
}

.hm-marquee--title .hm-marquee__track {
  display: flex;
  width: max-content;
  animation: hm-marquee 18s linear infinite;
}

.hm-marquee--title .hm-marquee__track span {
  font-family: var(--hm-font-head);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--hm-gold);
}

.hm-auditorium__house {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 720px) {
  .hm-auditorium__house {
    flex-direction: row;
    align-items: stretch;
  }
}

.hm-screen-arch {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 20px 16px 16px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 107, 74, 0.08) 0%, transparent 55%),
    #0c0a10;
}

.hm-screen-arch::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 88%;
  height: 12px;
  border: 2px solid var(--hm-gold);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.35;
  pointer-events: none;
}

.hm-projector {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  border: 3px solid #2a2030;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9), 0 0 24px rgba(255, 200, 80, 0.06);
  overflow: hidden;
}

.hm-projector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 45%, #121018 0%, #000 100%);
  pointer-events: none;
}

.hm-projector.is-max {
  position: fixed;
  inset: 0;
  z-index: 500;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.hm-projector__poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hm-projector__hint,
.hm-projector__veil-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px 16px;
  font-family: var(--hm-font-head);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #0c0c10;
  background: var(--hm-gold);
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(232, 197, 71, 0.55);
  animation: hm-cta-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.hm-projector__veil-hint[hidden] { display: none !important; }

.hm-projector__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hm-auditorium--showing .hm-projector__poster { display: none !important; }

.hm-auditorium--open .hm-projector__iframe:not([hidden]) {
  z-index: 4;
}

.hm-auditorium:not(.hm-auditorium--open) .hm-projector__iframe { visibility: hidden; }

.hm-projector__load,
.hm-projector__fail {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.88);
  color: var(--hm-text);
  font-size: 0.9rem;
}

.hm-projector__fail[hidden],
.hm-projector__load[hidden] { display: none !important; }

.hm-projector__reel {
  width: 36px;
  height: 36px;
  border: 3px solid var(--hm-gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: hm-reel-spin 0.8s linear infinite;
}

@keyframes hm-reel-spin { to { transform: rotate(360deg); } }

.hm-projector__iframe {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.hm-projector__iframe[hidden] { display: none !important; }

/* 幕布开幕：关幕 → 拉开 → 亮屏 */
.hm-auditorium {
  --hm-curtain-ms: 1.8s;
}

.hm-curtains {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
}

.hm-curtains::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(118deg, transparent 42%, rgba(255, 215, 120, 0.12) 50%, transparent 58%);
  opacity: 0;
  pointer-events: none;
}

.hm-auditorium--closed .hm-curtains::after {
  animation: hm-curtain-shimmer 2.8s ease-in-out infinite;
}

@keyframes hm-curtain-shimmer {
  0%, 100% { opacity: 0; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
}

.hm-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background:
    repeating-linear-gradient(90deg, #5a1020 0, #5a1020 8px, #701828 8px, #701828 16px),
    linear-gradient(180deg, #8a2038 0%, #4a0818 100%);
  will-change: transform;
}

.hm-curtain--left {
  left: 0;
  transform-origin: left center;
  box-shadow: inset -10px 0 24px rgba(0, 0, 0, 0.5);
}

.hm-curtain--right {
  right: 0;
  transform-origin: right center;
  box-shadow: inset 10px 0 24px rgba(0, 0, 0, 0.5);
}

.hm-auditorium--closed .hm-curtain--left,
.hm-auditorium--closed .hm-curtain--right {
  animation: none;
}

.hm-auditorium--opening .hm-projector {
  overflow: visible;
}

.hm-auditorium--opening .hm-curtains {
  z-index: 9;
}

.hm-auditorium--open .hm-curtains {
  visibility: hidden;
  pointer-events: none;
}
.hm-projector__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 18%, rgba(255, 220, 130, 0.35) 0%, transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
}

.hm-auditorium--opening .hm-projector__glow {
  animation: hm-rise-light 1.4s ease 0.15s forwards;
}

@keyframes hm-rise-light {
  0% { opacity: 0; filter: brightness(0.45); }
  40% { opacity: 1; filter: brightness(1.4); }
  100% { opacity: 0.55; filter: brightness(1); }
}

.hm-auditorium--open .hm-projector__iframe:not([hidden]) {
  z-index: 4;
  animation: hm-screen-on 0.75s ease both;
}

@keyframes hm-screen-on {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hm-auditorium--closed .hm-curtains::after { animation: none; }
  .hm-auditorium--opening .hm-projector__glow,
  .hm-auditorium--open .hm-projector__iframe:not([hidden]) { animation: none; }
}

.hm-usher {
  flex-shrink: 0;
  width: 100%;
  padding: 16px 18px;
  background: #1a1418;
  border-top: 1px solid var(--hm-line);
  text-align: center;
}

@media (min-width: 720px) {
  .hm-usher {
    width: 148px;
    border-top: 0;
    border-left: 1px solid var(--hm-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.hm-usher__callout {
  margin: 0 0 8px;
  padding: 6px 8px;
  font-family: var(--hm-font-head);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c0c10;
  background: var(--hm-gold);
  border-radius: 3px;
  animation: hm-cta-pulse 2.4s ease-in-out infinite;
}

.hm-usher__callout[hidden] { display: none !important; }

.hm-usher__label {
  margin: 0 0 12px;
  font-family: var(--hm-font-head);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hm-muted);
}

.hm-usher__rope {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 14px;
  padding: 8px 12px 10px;
  border: 2px solid var(--hm-gold);
  border-radius: 6px;
  background: rgba(232, 197, 71, 0.08);
  cursor: pointer;
  animation: hm-cta-pulse 2.4s ease-in-out infinite;
}

.hm-usher__rope-txt {
  font-family: var(--hm-font-head);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hm-gold);
}

.hm-usher__rope-sub {
  font-family: var(--hm-font-head);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hm-muted);
}

.hm-usher__rope:disabled { opacity: 0.5; cursor: wait; animation: none; }

.hm-usher__rope-knot {
  display: block;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 35% 35%, #c44, #6a1818);
  border-radius: 50%;
  box-shadow: 0 4px 0 #3a0808, 0 6px 12px rgba(0, 0, 0, 0.5);
}

.hm-usher__rope-knot::after {
  content: "";
  display: block;
  width: 4px;
  height: 48px;
  margin: 2px auto 0;
  background: linear-gradient(180deg, #8a2030, #4a0818);
  border-radius: 2px;
}

.hm-usher__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hm-usher__tool {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  color: var(--hm-text);
  background: var(--hm-panel);
  border: 1px solid var(--hm-line);
  cursor: pointer;
}

.hm-usher__tool:hover { border-color: var(--hm-gold); color: var(--hm-gold); }

.hm-usher__tool--exit {
  width: auto;
  padding: 0 10px;
  font-family: var(--hm-font-head);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hm-aisle {
  padding: 14px 18px 18px;
  background: #120e14;
  border-top: 1px dashed var(--hm-line);
}

.hm-ticket {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 14px;
  background: #f4ead8;
  color: #1a1410;
  border: 1px solid #c4a86a;
  box-shadow: 2px 3px 0 #6a5840;
  transform: rotate(-1deg);
}

.hm-ticket__stub {
  grid-row: 1 / 3;
  font-family: var(--hm-font-head);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #8a3020;
  border-right: 2px dashed #a89060;
  padding-right: 10px;
}

.hm-ticket__show {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.hm-ticket__meta {
  font-size: 0.72rem;
  color: #5a4830;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hm-ticket__back {
  grid-column: 3;
  grid-row: 1 / 3;
  font-family: var(--hm-font-head);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a3020;
  text-decoration: none;
  white-space: nowrap;
}

.hm-ticket__back:hover { text-decoration: underline; }

.hm-playbill {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--hm-panel);
  border-left: 3px solid var(--hm-coral);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hm-playbill h2 { font-size: 1rem; margin: 1.2em 0 0.4em; }
.hm-playbill h2:first-child { margin-top: 0; }

/* legacy btn — still used in forms */
.hm-btn {
  padding: 10px 22px;
  font-family: var(--hm-font-head); font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--hm-line); background: var(--hm-panel);
  color: var(--hm-text); cursor: pointer;
  text-decoration: none; display: inline-block;
}
.hm-btn:hover { border-color: var(--hm-gold); color: var(--hm-gold); text-decoration: none; }
.hm-btn--roll {
  background: var(--hm-gold); border-color: var(--hm-gold);
  color: #0c0c10; font-weight: 900;
}
.hm-btn--roll:hover { background: var(--hm-coral); border-color: var(--hm-coral); color: #0c0c10; }
.hm-btn--roll:disabled { opacity: 0.55; cursor: default; }
.hm-btn--xs { padding: 5px 12px; font-size: 0.65rem; }

.hm-notes {
  margin: 28px 0; padding: 20px 24px;
  background: var(--hm-panel); border-left: 3px solid var(--hm-coral);
  font-size: 0.95rem; line-height: 1.6;
}
.hm-notes h2 { font-size: 1rem; margin: 1.2em 0 0.4em; }
.hm-notes h2:first-child { margin-top: 0; }

.hm-genre-line {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--hm-muted);
}
.hm-genre-line a { color: var(--hm-coral); }

.hm-prose { font-size: 0.95rem; line-height: 1.65; max-width: 720px; }
.hm-prose h2 { font-size: 1rem; margin-top: 1.4em; }

.hm-results { margin-top: 20px; }

.hm-foot {
  margin-top: 48px; padding: 20px;
  background: #08080c; border-top: 3px solid var(--hm-gold);
  font-size: 0.82rem; color: var(--hm-muted); text-align: center;
}
.hm-foot a { margin: 0 4px; color: var(--hm-muted); }
.hm-foot a:hover { color: var(--hm-gold); }

/* contact */
.hm-contact { margin: 16px 0 24px; padding: 16px 20px; background: var(--hm-panel); border: 1px solid var(--hm-line); }
.hm-contact p { margin: 0 0 8px; }
.hm-form label { display: block; margin-bottom: 12px; font-size: 0.9rem; }
.hm-form input, .hm-form textarea, .hm-form select {
  display: block; width: 100%; max-width: 420px;
  margin-top: 4px; padding: 8px 12px;
  border: 1px solid var(--hm-line); background: var(--hm-bg);
  color: var(--hm-text); font: 15px Georgia, serif;
}
.hm-form input:focus, .hm-form textarea:focus, .hm-form select:focus {
  outline: 1px solid var(--hm-gold); border-color: var(--hm-gold);
}

/* drawer — right panel, flat nav */
.hm-drawer {
  position: fixed; inset: 0; z-index: 400;
  pointer-events: none; visibility: hidden;
}
.hm-drawer.is-open { pointer-events: auto; visibility: visible; }
.hm-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0; transition: opacity 0.22s;
}
.hm-drawer.is-open .hm-drawer__backdrop { opacity: 1; }
.hm-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(300px, 88vw); background: var(--hm-bg);
  border-left: 3px solid var(--hm-gold);
  transform: translateX(100%); transition: transform 0.22s;
  overflow-y: auto; display: flex; flex-direction: column;
}
.hm-drawer.is-open .hm-drawer__panel { transform: translateX(0); }
.hm-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--hm-line);
}
.hm-drawer__brand {
  font-family: var(--hm-font-head); font-size: 0.85rem;
  color: var(--hm-gold); text-decoration: none;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hm-drawer__close {
  width: 32px; height: 32px; border: 1px solid var(--hm-line);
  background: var(--hm-panel); color: var(--hm-coral);
  cursor: pointer; font-size: 18px; line-height: 1;
}
.hm-drawer__search {
  display: flex; padding: 12px 16px; gap: 6px;
  border-bottom: 1px solid var(--hm-line);
}
.hm-drawer__search input {
  flex: 1; min-width: 0; padding: 8px 10px;
  border: 1px solid var(--hm-line); background: var(--hm-panel);
  color: var(--hm-text); font: 14px Georgia, serif;
}
.hm-drawer__search button {
  padding: 8px 12px; border: 0;
  background: var(--hm-coral); color: #0c0c10;
  font-family: var(--hm-font-head); font-size: 0.68rem;
  letter-spacing: 0.06em; cursor: pointer;
}
.hm-drawer__nav { padding: 8px 0 20px; }
.hm-drawer__nav a {
  display: block; padding: 12px 20px;
  font-family: var(--hm-font-head); font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hm-muted); text-decoration: none;
  border-bottom: 1px solid var(--hm-line);
}
.hm-drawer__nav a:hover { color: var(--hm-gold); background: var(--hm-panel); text-decoration: none; }
.hm-drawer__nav a.is-on { color: var(--hm-coral); }

/* cookie */
.hm-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 350;
  background: var(--hm-panel); border-top: 2px solid var(--hm-gold);
  font-size: 0.92rem;
}
.hm-cookie[hidden] { display: none !important; }
.hm-cookie__row {
  max-width: var(--hm-max); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.hm-ok {
  padding: 8px 18px; border: 0;
  background: var(--hm-gold); color: #0c0c10;
  font-family: var(--hm-font-head); font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.hm-ok:hover { background: var(--hm-coral); }

/* preview bar */
.hm-preview-bar {
  margin: 0; padding: 6px 12px;
  background: var(--hm-coral); color: #0c0c10;
  font-family: var(--hm-font-head); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center;
}

@media (min-width: 720px) {
  .hm-nav { display: flex; }
  .hm-search { display: flex; }
  .hm-menu { display: none; }
}
