:root {
  --bg: #090909;
  --bg-2: #14140f;
  --bg-3: #221f14;
  --ink: #f6f1e4;
  --muted: #b7b09a;
  --yellow: #f5c518;
  --line: rgba(245, 197, 24, 0.24);
  --danger: #ff6b6b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(245, 197, 24, 0.16), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(245, 197, 24, 0.07), transparent 46%),
    var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
::selection { background: var(--yellow); color: #1a160c; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.logo {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 30px;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.logo span { color: var(--yellow); }

.boot {
  min-height: 100dvh;
  display: grid;
  place-items: center;
}

.shell { min-height: 100dvh; }
.rail { display: none; }
.stage { min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(16px);
}
.top-title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.icon-btn svg, .tab svg, .rail-link svg { width: 22px; height: 22px; }

main {
  padding: 4px 16px calc(104px + env(safe-area-inset-bottom));
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 2px;
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(9, 9, 9, 0.94);
  border-top: 1px solid rgba(245, 197, 24, 0.16);
  backdrop-filter: blur(16px);
}
.tab {
  flex: 1;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.tab.on { color: var(--yellow); }

.hello {
  margin: 8px 0 4px;
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.sub { margin: 0 0 14px; color: var(--muted); }
.hint { color: var(--muted); line-height: 1.45; }
.kicker {
  margin: 0;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

section { margin: 22px 0; }
h2 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
h3 { margin: 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head a, .section-head .text-btn {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 0;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 10px;
}
.stats strong { display: block; color: var(--yellow); font-size: 18px; letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 12px; }
.stats-4 { grid-template-columns: repeat(2, 1fr); }

.row, .chips, .cast {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.row::-webkit-scrollbar, .chips::-webkit-scrollbar, .cast::-webkit-scrollbar { display: none; }
.row .poster { width: 118px; flex: none; scroll-snap-align: start; }

.poster { color: inherit; text-decoration: none; min-width: 0; }
.poster-frame, .hero-poster, .ticket-poster, .soon-poster, .lib-poster, .ep-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #17170f;
}
.poster-frame { aspect-ratio: 2 / 3; border-radius: 14px; box-shadow: var(--shadow); }
.poster-frame img, .poster-frame .ph,
.hero-poster img, .hero-poster .ph,
.ticket-poster img, .ticket-poster .ph,
.soon-poster img, .soon-poster .ph,
.lib-poster img, .lib-poster .ph,
.ep-thumb img, .ep-thumb .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}
.poster-meta { display: block; color: var(--muted); font-size: 12px; }
.ph {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #3a3418, #15150f 70%);
  color: var(--yellow);
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.grid .poster { width: auto; }

.tickets { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.tickets::-webkit-scrollbar { display: none; }
.ticket {
  position: relative;
  flex: none;
  width: 100%;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  scroll-snap-align: start;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1c1b14, #12120e);
}
.tickets:has(.ticket + .ticket) .ticket { width: 88%; }
.ticket::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 116px;
  border-left: 1px dashed rgba(245, 197, 24, 0.35);
}
.ticket-poster { aspect-ratio: 2 / 3; border-radius: 12px; }
.ticket-body { display: flex; flex-direction: column; min-width: 0; }
.ticket-body h3 { font-size: 18px; letter-spacing: -0.03em; }
.ticket-actions { display: grid; gap: 8px; margin-top: auto; }
.shelf-remove { margin-top: 12px; }
.ep-line { margin: 4px 0 8px; color: var(--muted); }
.fine { margin: 6px 0 10px; color: var(--muted); font-size: 12px; }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, #c89612, var(--yellow)); }

.empty-hero {
  padding: 18px;
  border-radius: 20px;
  border: 1px dashed var(--line);
  background: rgba(20, 20, 15, 0.8);
}
.empty-hero h2 {
  margin-bottom: 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.empty-hero p { margin: 0 0 14px; color: var(--muted); }

.soon, .lib {
  display: grid;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.soon {
  grid-template-columns: 54px 1fr;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 14px;
  background: var(--bg-2);
}
.soon-poster { width: 54px; aspect-ratio: 2 / 3; border-radius: 8px; }
.soon strong, .soon em, .lib-body strong, .lib-body em, .lib-body small { display: block; }
.soon em, .lib-body em, .lib-body small { color: var(--muted); font-style: normal; }
.soon em, .lib-body small { font-size: 13px; }
.lib { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
a.lib { grid-template-columns: 74px minmax(0, 1fr); }
.lib-open { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; min-width: 0; color: inherit; text-decoration: none; align-items: center; }
.lib-poster { width: 74px; aspect-ratio: 2 / 3; border-radius: 10px; }
.lib-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lib-body strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lists-block { margin-bottom: 18px; }
.list-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.list-card {
  width: 112px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.list-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.list-cover, .list-hero .list-letter, .list-card .list-letter {
  display: block;
  width: 112px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #1a1810;
}
.list-card .list-letter, .list-hero .list-letter {
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-family: Fraunces, Georgia, serif;
  font-size: 42px;
}
.list-card strong, .list-card small { display: block; }
.list-card strong { margin-top: 8px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-card small { color: var(--muted); font-size: 12px; }
.list-hero { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: end; margin: 8px 0 14px; }
.list-hero .list-cover, .list-hero img, .list-hero .list-letter { width: 92px; border-radius: 12px; }
.list-hero h2 { margin: 0 0 4px; font-family: Fraunces, Georgia, serif; font-size: 32px; letter-spacing: -0.04em; }
.list-hero p { margin: 0; color: var(--muted); }
.list-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cover-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cover-choice { padding: 0; border: 2px solid transparent; border-radius: 14px; background: transparent; }
.cover-choice.on { border-color: var(--yellow); }
.cover-choice img, .cover-choice .ph { width: 100%; aspect-ratio: 2 / 3; border-radius: 12px; object-fit: cover; }
.lib-body .bar { margin-top: 2px; }

.hero { position: relative; min-height: 250px; overflow: hidden; border-radius: 22px; background: #14140f; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(9, 9, 9, 0.94) 78%); }
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  padding: 54px 14px 16px;
}
.hero-poster { aspect-ratio: 2 / 3; border-radius: 12px; box-shadow: var(--shadow); }
.hero h2 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.meta-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; color: var(--muted); font-size: 13px; }
.pill { padding: 1px 7px; border-radius: 999px; background: var(--yellow); color: #1a160c; font-weight: 800; }
.imdb-id { margin: 6px 0 0; color: rgba(183, 176, 154, 0.75); font-size: 12px; }
.shelf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .score, .btn, .text-btn, .icon-btn { font-weight: 700; }
.chip, .score {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.chip { flex: none; border-radius: 999px; padding: 8px 12px; scroll-snap-align: start; }
.chip.on, .score.on { background: var(--yellow); border-color: var(--yellow); color: #1a160c; }
.scores { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.score { min-height: 36px; border-radius: 10px; padding: 0; font-size: 12px; }
.synopsis p { margin: 8px 0; color: var(--muted); line-height: 1.5; }
.synopsis:not(.open) p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cast span {
  flex: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 13px;
  scroll-snap-align: start;
}
.next-line { margin: 4px 0 10px; color: var(--yellow); font-weight: 650; }
.ep {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 28px;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  text-align: left;
  color: inherit;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 16px;
}
.ep-thumb { aspect-ratio: 16 / 10; border-radius: 10px; }
.ep-copy { min-width: 0; display: grid; align-content: center; gap: 2px; }
.ep-copy strong { font-size: 14px; }
.ep-code, .ep-copy em, .ep-overview { color: var(--muted); font-style: normal; font-size: 12px; }
.ep-overview {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.check {
  width: 26px;
  height: 26px;
  align-self: center;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 50%;
}
.ep.is-on { opacity: 0.72; }
.ep.is-on .check { background: var(--yellow); }
.ep.is-on .check::after {
  content: "";
  width: 6px;
  height: 10px;
  border-right: 2px solid #1a160c;
  border-bottom: 2px solid #1a160c;
  transform: rotate(40deg) translate(-1px, -1px);
}
.ep.is-future .check { opacity: 0.45; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
}
.btn.yellow { background: var(--yellow); color: #1a160c; }
.btn.ghost { background: transparent; color: var(--yellow); border: 1px solid var(--line); }
.btn.soft { background: var(--bg-3); color: var(--ink); }
.btn.slim { min-height: 42px; margin-top: 12px; }
.btn:disabled { opacity: 0.6; }
.text-btn { padding: 10px 0; border: 0; background: none; color: var(--muted); }

.shell.is-profile .topbar, .shell.is-home .topbar { display: none; }
.shell.is-profile main, .shell.is-home main { padding: 0 0 calc(104px + env(safe-area-inset-bottom)); }
.home-rest { padding: 8px 16px 0; }
.cover { position: relative; min-height: 292px; margin-bottom: 8px; }
.cover-bg, .cover-shade { position: absolute; inset: 0; }
.cover-bg {
  background-color: #16121c;
  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
}
.cover-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(8, 8, 10, 0.2) 42%, rgba(8, 8, 10, 0.92) 100%);
}
.cover-top, .month-card { position: relative; }
.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(16px + env(safe-area-inset-top)) 16px 0;
}
.who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
}
.who button {
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
}
.who-name { min-width: 0; text-align: left; }
.who strong { font-size: 18px; letter-spacing: -0.03em; }
.who-photo, .who-photo.is-letter {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.who-photo.is-letter {
  display: grid;
  place-items: center;
  background: #2a2418;
  color: var(--yellow);
  font-weight: 800;
}
.cover-tools { display: flex; gap: 8px; }
.tool {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.tool svg, .month-kicker svg, .month-stats svg, .month-nav svg { width: 16px; height: 16px; }
.month-card {
  margin: 54px 16px 0;
  padding: 14px 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(16, 14, 20, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.month-card-top, .month-stats, .month-nav {
  display: flex;
  align-items: center;
}
.month-card-top, .month-stats { justify-content: space-between; gap: 8px; }
.month-kicker, .month-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(246, 241, 228, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.month-stats {
  margin: 16px 0 12px;
  color: rgba(246, 241, 228, 0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.month-stats span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.month-stats strong { font-size: 13px; }
.month-nav {
  position: relative;
  justify-content: space-between;
  margin: 0 -6px;
  padding: 8px 4px 4px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(92, 48, 150, 0.42));
}
.month-nav strong {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.month-nav button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.month-nav button:disabled { opacity: 0.35; }
.profile-rest { padding: 18px 16px 0; }

.gate {
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gate-posters { display: flex; gap: 12px; margin-bottom: 28px; }
.gate-posters span {
  width: 31%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #12120c;
  box-shadow: var(--shadow);
}
.gate-posters img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s ease; }
.gate-posters span.is-in img { opacity: 1; }
.gate-posters span:nth-child(2) { transform: translateY(-18px); }
.gate-posters span:nth-child(3) { transform: translateY(10px); }
.eyebrow {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.gate-logo { margin: 0; font-size: 68px; }
.gate-copy { margin: 8px 0 18px; color: var(--muted); font-size: 17px; }
#gate-form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10100c;
}
.form-error { min-height: 1.2em; margin: 0; color: var(--danger); font-size: 14px; }
.gate .btn, .searchbox input { width: 100%; }
.searchbox { display: block; margin-bottom: 12px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: end;
  padding: 16px;
  background: rgba(0, 0, 0, 0.66);
}
.modal-card {
  width: min(460px, 100%);
  margin: 0 auto calc(8px + env(safe-area-inset-bottom));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #16160f;
}
.modal-card h3 { margin: 0 0 6px; font-family: Fraunces, Georgia, serif; font-size: 28px; }
.modal-card p { margin: 0 0 14px; color: var(--muted); }
.modal-actions { display: grid; gap: 8px; }
.account-form { display: grid; gap: 10px; }
.account-form .form-error { min-height: 1.2em; }

.player {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 64px 16px 24px;
  background: rgba(0, 0, 0, 0.92);
}
.player[hidden] { display: none; }
.player-stage {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}
.player-stage iframe { width: 100%; height: 100%; border: 0; }
.player-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: #14120c;
  font-size: 30px;
  line-height: 1;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: #1a160c;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.sk {
  background: linear-gradient(90deg, #17170f 25%, #2a2818 37%, #17170f 63%);
  background-size: 400% 100%;
  animation: sheen 1.15s ease infinite;
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

@media (max-width: 340px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hello, .gate-logo { font-size: 46px; }
}

@media (min-width: 960px) {
  .shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .rail {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: 22px 16px;
    border-right: 1px solid rgba(245, 197, 24, 0.14);
  }
  .rail nav { display: grid; gap: 4px; margin-top: 22px; }
  .rail-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
  }
  .rail-link.on { background: rgba(245, 197, 24, 0.12); color: var(--yellow); }
  .rail-tag { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
  .rail-user { margin-top: auto; color: var(--yellow); font-weight: 700; }
  .tabbar { display: none; }
  .stage .topbar:has(.logo):not(:has(.icon-btn)):not(:has(.top-title)) { display: none; }
  .shell.is-profile main { padding-bottom: 48px; }
  main { max-width: 1120px; padding: 8px 28px 56px; }
  .shell.is-home main, .shell.is-profile main { padding: 0 0 48px; }
  .home-rest, .profile-rest { padding-right: 28px; padding-left: 28px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
  .row .poster { width: 150px; }
  .tickets { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .ticket { width: auto; }
  .stats-4 { grid-template-columns: repeat(4, 1fr); }
  .hero h2 { font-size: 48px; }
  .hero-content { grid-template-columns: 160px minmax(0, 1fr); padding: 80px 22px 22px; }
  .gate { justify-content: center; }
  .modal { align-items: center; }
  #toast { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
