:root {
  --bg-root: #090b10;
  --bg-card: #10141d;
  --bg-elevated: #161b27;
  --bg-subtle: #1c2333;
  --border-line: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text-primary: #eef2f8;
  --text-secondary: #9aa5b8;
  --text-muted: #647087;
  --accent-gold: #f59e0b;
  --accent-gold-bg: rgba(245, 158, 11, 0.13);
  --accent-blue: #38bdf8;
  --up-color: #10b981;
  --up-bg: rgba(16, 185, 129, 0.13);
  --down-color: #ef4444;
  --down-bg: rgba(239, 68, 68, 0.13);
  --ur-color: #fbbf24;
  --ssr-color: #f43f5e;
  --sr-color: #a855f7;
  --r-color: #38bdf8;
  --n-color: #94a3b8;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

[data-theme="light"] {
  --bg-root: #f6f3ee;
  --bg-card: #ffffff;
  --bg-elevated: #faf8f5;
  --bg-subtle: #efeae2;
  --border-line: rgba(20, 24, 33, 0.1);
  --border-strong: rgba(20, 24, 33, 0.2);
  --text-primary: #141821;
  --text-secondary: #4a5365;
  --text-muted: #7a8396;
  --accent-gold: #b45309;
  --accent-gold-bg: rgba(180, 83, 9, 0.1);
  --accent-blue: #0284c7;
  --up-color: #059669;
  --up-bg: rgba(5, 150, 105, 0.1);
  --down-color: #dc2626;
  --down-bg: rgba(220, 38, 38, 0.1);
}

[data-color-scheme="cn"] {
  --up-color: #ef4444;
  --up-bg: rgba(239, 68, 68, 0.13);
  --down-color: #10b981;
  --down-bg: rgba(16, 185, 129, 0.13);
}

[data-theme="light"][data-color-scheme="cn"] {
  --up-color: #dc2626;
  --up-bg: rgba(220, 38, 38, 0.1);
  --down-color: #059669;
  --down-bg: rgba(5, 150, 105, 0.1);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-root);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.num, .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* App Shell: 100% full-bleed native feel on phones, refined centered shell on desktop */
.app-shell {
  width: 100%;
  max-width: 540px;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg-root);
  position: relative;
}

@media (min-width: 960px) {
  body {
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.06), transparent 55%), var(--bg-root);
  }
  .app-shell {
    max-width: 820px;
    border-left: 1px solid var(--border-line);
    border-right: 1px solid var(--border-line);
  }
}

/* Top Sticky Status Header */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: calc(8px + var(--safe-top)) 14px 8px;
  background: color-mix(in srgb, var(--bg-root) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-bg);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.chip-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  cursor: pointer;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chip-btn:active {
  transform: scale(0.97);
}

/* Main Scrollable Content Area */
.main-stage {
  flex: 1;
  padding: 12px 14px calc(78px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Bottom Native Tab Navigation */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 540px;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-line);
  padding: 6px 8px calc(6px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

@media (min-width: 960px) {
  .bottom-nav {
    max-width: 820px;
  }
}

.nav-item {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 4px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  cursor: pointer;
  font-family: var(--font-sans);
}

.nav-item.active {
  color: var(--accent-gold);
  background: var(--accent-gold-bg);
}

.nav-icon {
  font-size: 15px;
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.1;
}

.nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Cards & Panels */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 14px;
}

.card-elevated {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
}

.hero-prologue {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent-gold) 12%, var(--bg-card)), var(--bg-card) 62%);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
}

.prologue-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-gold);
  background: var(--accent-gold-bg);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.prologue-lead {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.42;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.prologue-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Section Headers */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.sec-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.sec-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Origin Selector Grid */
.origin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 640px) {
  .origin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.origin-card {
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.origin-card.selected {
  border-color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 9%, var(--bg-elevated));
}

.origin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.origin-name {
  font-weight: 700;
  font-size: 14.5px;
}

.origin-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-gold);
  background: var(--accent-gold-bg);
  padding: 2px 6px;
  border-radius: 4px;
}

.origin-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 4px 0 6px;
}

.origin-perk {
  font-size: 11.5px;
  color: var(--up-color);
  font-family: var(--font-mono);
}

/* Mode Selector Pills */
.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mode-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 9px 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.mode-pill small {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
}

.mode-pill.selected {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  background: var(--accent-gold-bg);
}

/* Primary & Choice Buttons */
.btn-primary {
  width: 100%;
  min-height: 48px;
  background: var(--accent-gold);
  color: #090b10;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  padding: 12px 16px;
  letter-spacing: 0.02em;
}

.btn-primary:active {
  transform: scale(0.99);
}

.btn-secondary {
  min-height: 44px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 14px;
}

/* Career HUD Strip */
.hud-card {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hud-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.hud-networth {
  font-size: 23px;
  font-weight: 800;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.hud-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.stat-cell {
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 5px 4px;
  text-align: center;
}

.stat-name {
  font-size: 10.5px;
  color: var(--text-muted);
  display: block;
}

.stat-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
}

/* Allocation Presets & Leverage */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}

@media (min-width: 520px) {
  .preset-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.preset-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  padding: 9px 8px;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  min-height: 48px;
}

.preset-btn.selected {
  border-color: var(--accent-gold);
  background: var(--accent-gold-bg);
}

.preset-btn strong {
  display: block;
  font-size: 12.5px;
}

.preset-btn span {
  display: block;
  font-size: 10.5px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-top: 2px;
}

.lev-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-bottom: 12px;
}

.lev-btn {
  min-height: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lev-btn.selected {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: var(--accent-gold-bg);
}

.lev-btn.danger.selected {
  border-color: var(--down-color);
  color: var(--down-color);
  background: var(--down-bg);
}

/* Event Scene & Choice Stack */
.event-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.badge-date {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--accent-gold);
  border: 1px solid var(--border-line);
}

.badge-track {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-line);
}

.event-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.38;
  margin: 0 0 10px;
}

.event-scene {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-primary);
  margin: 0 0 14px;
  padding: 12px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.choice-btn {
  width: 100%;
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 13px;
  color: var(--text-primary);
  cursor: pointer;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.14s ease, transform 0.08s ease;
}

.choice-btn:hover {
  border-color: var(--accent-gold);
}

.choice-btn:active {
  transform: scale(0.99);
}

.choice-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  background: var(--accent-gold-bg);
  padding: 1px 6px;
  border-radius: 3px;
}

.choice-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

/* Canvas Chart Container (Strict 1:1 HiDPI, zero stretch) */
.chart-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.chart-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.chart-readout {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  color: var(--text-muted);
}

.kline-canvas {
  width: 100%;
  height: 210px;
  display: block;
  touch-action: pan-y;
}

/* Outcome & PnL Banner */
.pnl-banner {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pnl-up {
  background: var(--up-bg);
  color: var(--up-color);
  border: 1px solid color-mix(in srgb, var(--up-color) 35%, transparent);
}

.pnl-down {
  background: var(--down-bg);
  color: var(--down-color);
  border: 1px solid color-mix(in srgb, var(--down-color) 35%, transparent);
}

.up-text { color: var(--up-color); }
.down-text { color: var(--down-color); }

/* Ending Poster Card */
.ending-poster {
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent-gold) 15%, var(--bg-card)), var(--bg-card) 58%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
}

.rarity-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.rarity-UR { background: rgba(251, 191, 36, 0.2); color: var(--ur-color); border: 1px solid var(--ur-color); }
.rarity-SSR { background: rgba(244, 63, 94, 0.18); color: var(--ssr-color); border: 1px solid var(--ssr-color); }
.rarity-SR { background: rgba(168, 85, 247, 0.18); color: var(--sr-color); border: 1px solid var(--sr-color); }
.rarity-R { background: rgba(56, 189, 248, 0.16); color: var(--r-color); border: 1px solid var(--r-color); }
.rarity-N { background: rgba(148, 163, 184, 0.16); color: var(--n-color); border: 1px solid var(--n-color); }

.ending-title {
  font-size: 21px;
  font-weight: 900;
  margin: 10px 0 4px;
  line-height: 1.3;
}

.ending-subtitle {
  font-size: 13.5px;
  color: var(--accent-gold);
  margin: 0 0 12px;
  font-weight: 600;
}

.ending-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 14px;
}

.ending-quote {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 12px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 14px;
}

/* Filter Scroller & Lists for Standalone Events & 108 Endings */
.filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }

.filter-chip {
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  cursor: pointer;
  min-height: 32px;
}

.filter-chip.active {
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  font-weight: 700;
}

.list-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-row-card {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 12px;
  color: var(--text-primary);
  cursor: pointer;
}

.event-row-card:hover {
  border-color: var(--border-strong);
}

.ending-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 640px) {
  .ending-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ending-tile {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 10px;
  color: var(--text-primary);
  cursor: pointer;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ending-tile.locked {
  opacity: 0.62;
  background: var(--bg-root);
}

.action-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.select-input {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  font-family: var(--font-sans);
  min-height: 40px;
}

.progress-track {
  width: 100%;
  height: 7px;
  background: var(--bg-subtle);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-gold);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.toast {
  position: fixed;
  top: calc(56px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--bg-elevated);
  border: 1px solid var(--accent-gold);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Ledger Drawer & Parallel What-If Table */
.drawer-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.drawer-summary {
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-summary::-webkit-details-marker { display: none; }

.drawer-body {
  padding: 10px 12px;
  border-top: 1px solid var(--border-line);
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.ledger-row span:first-child {
  font-family: var(--font-sans);
  color: var(--text-secondary);
}

.whatif-card {
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-line);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.whatif-card.chosen {
  border-color: var(--accent-gold);
}

/* Poster Image Modal for WeChat Long-Press Save */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 7, 12, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom));
}

.modal-inner {
  width: 100%;
  max-width: 400px;
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poster-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid var(--border-line);
}

