/* 小剧场 lobby: the same light palette as the player (previz/css/app.css) */
:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --line: #e2e5ea;
  --text: #1d2129;
  --muted: #6b7380;
  --faint: #9aa1ab;
  --accent: #e8a317;
  --accent-soft: #ffd166;
  --accent-bg: #fff3d6;
  --accent-ink: #6b4700;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 30, 50, 0.06), 0 14px 40px -14px rgba(20, 30, 50, 0.2);
  --shadow-up: 0 2px 4px rgba(20, 30, 50, 0.06), 0 24px 56px -16px rgba(20, 30, 50, 0.28);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 520px at 85% -120px, rgba(255, 209, 102, 0.22), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ── top bar */
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.mark i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-bg); }
.mark span { font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.home {
  font-size: 13.5px; color: var(--muted); padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); transition: color 0.2s, border-color 0.2s;
}
.home:hover { color: var(--text); border-color: #cdd2da; }
.home b { font-weight: 400; }

/* ── hero */
.hero { padding: clamp(36px, 7vw, 76px) 0 clamp(28px, 4vw, 44px); }
.eyebrow { margin: 0 0 16px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
h1 { margin: 0; font-size: clamp(46px, 8.5vw, 88px); line-height: 1; font-weight: 800; letter-spacing: 0.01em; }
.lede { margin: 22px 0 0; max-width: 33em; font-size: clamp(15.5px, 1.6vw, 17.5px); line-height: 1.8; color: var(--muted); }
.count { margin: 22px 0 0; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ── section label */
.label { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.label + .grid { margin-top: 0; }
.more { margin-top: 56px; }

/* ── a play (the first one is featured: poster beside the text) */
.play {
  display: flex; flex-direction: column; background: var(--panel); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.play:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }

.poster { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #e9edf1; overflow: hidden; }
.poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.feature .poster { aspect-ratio: auto; min-height: 320px; }   /* as tall as the text beside it */
.feature .poster img { position: absolute; inset: 0; }
.play:hover .poster img { transform: scale(1.035); }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 20, 28, 0.28), transparent 42%); pointer-events: none; }
.poster .fallback {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px;
  background: linear-gradient(135deg, #fff3d6, #e9edf1 60%); color: var(--accent-ink);
}
.poster .fallback b { font-size: clamp(26px, 4vw, 40px); }
.poster .fallback span { font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }
.go {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft);
  box-shadow: 0 10px 30px rgba(232, 163, 23, 0.45); transition: transform 0.28s ease;
}
.go svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--accent-ink); }
.play:hover .go { transform: scale(1.08); }
.dur {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-variant-numeric: tabular-nums; color: #fff; background: rgba(20, 24, 30, 0.55);
  backdrop-filter: blur(6px);
}

.info { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3.2vw, 40px); }
.no { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; color: var(--accent); }
.play h2 { margin: 10px 0 0; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 800; }
.en { margin: 6px 0 0; font-size: 14px; letter-spacing: 0.02em; color: var(--faint); }
.tagline { margin: 18px 0 0; font-size: 16px; line-height: 1.7; font-weight: 600; }
.blurb { margin: 10px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--muted); }
.tags { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 11px; border-radius: 999px; font-size: 12.5px; color: var(--muted); background: var(--bg); }
.tags li.time { color: var(--accent-ink); background: var(--accent-bg); font-variant-numeric: tabular-nums; }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 26px; font-size: 15px; font-weight: 700; }
.cta b {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-weight: 400; color: #fff; background: var(--text); transition: transform 0.28s ease;
}
.play:hover .cta b { transform: translateX(4px); }

/* the rest: a grid of smaller cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.grid .play h2 { font-size: 21px; margin-top: 8px; }
.grid .info { padding: 20px 22px 22px; }
.grid .tagline { margin-top: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.grid .go { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.grid .go svg { width: 20px; height: 20px; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: auto; padding: 64px 0 32px; font-size: 12.5px; color: var(--faint);
}

@media (max-width: 860px) {
  .feature { display: flex; }
  .feature .poster { aspect-ratio: 16 / 9; min-height: 0; }
  .go { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .go svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
