@font-face {
  font-family: Vazirmatn;
  src: url("/assets/vazirmatn-ed922868.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #100d1c;
  --sidebar: #151021;
  --panel: #1b142b;
  --panel-raised: #241a37;
  --outline: #382944;
  --ink: #faf4ff;
  --muted: #baaec9;
  --gold: #efc783;
  --gold-dark: #211426;
  --gold-faint: #584235;
  --accent-soft: #d6b7f4;
  --radius: 18px;
  --sidebar-width: 216px;
  --gutter: clamp(24px, 3.2vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }
html { background: var(--canvas); }
body {
  margin: 0;
  color: var(--ink);
  font-family: Vazirmatn, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  background: radial-gradient(ellipse at 75% 4%, #241635 0, transparent 47rem), var(--canvas);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select, input[type="submit"] { cursor: pointer; }
button:disabled, input:disabled { cursor: default; }
img, svg { display: block; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.22; text-wrap: balance; }
bdi { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  inset: 12px 12px auto auto;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold-dark);
}

.app-shell { min-block-size: 100svh; }
.main-content {
  max-width: 1660px;
  margin-inline: auto;
  padding: 0 var(--gutter);
}
.sidebar, .top-links { display: none; }
.brand { display: inline-flex; gap: 11px; align-items: center; min-height: 44px; flex: none; }
.brand img { border-radius: 12px; border: 1px solid #6c4a59; background: #211442; }
.brand strong { display: block; color: #f7ddb1; white-space: nowrap; font-size: .79rem; letter-spacing: .19em; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-block-start: 1px; }
.topbar {
  min-height: 81px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--outline);
  background: #191325;
  border-radius: 11px;
  min-width: 0;
  width: min(100%, 290px);
}
.top-search:focus-within { border-color: var(--gold-faint); }
.top-search input {
  border: 0; padding: 9px 13px 9px 0; min-width: 0; width: 100%; background: transparent;
  color: var(--ink); outline-offset: -3px;
}
.top-search input::placeholder { color: #b7a9c5; }
.top-search button {
  display: grid; place-items: center; flex: 0 0 44px; block-size: 42px;
  background: transparent; border: 0; color: var(--gold); border-radius: 10px;
}
.top-search button:hover { background: var(--panel-raised); }
.nav-link { display: flex; align-items: center; gap: 11px; border-radius: 10px; min-height: 45px; color: var(--muted); }
.nav-link.is-active { color: var(--gold); font-weight: 700; }
.nav-link:hover { color: var(--ink); }
.mobile-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: stretch;
  gap: 2px;
  padding: 6px max(8px, env(safe-area-inset-left)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
  background: #161122;
  border-block-start: 1px solid var(--outline);
}
.mobile-nav .nav-link { justify-content: center; flex-direction: column; gap: 2px; font-size: .68rem; }
.mobile-nav .is-active { background: #2a1f35; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(400px, 47vw, 570px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #4d3a5a;
  border-radius: 24px;
  background: #231831;
}
.hero-image, .live-banner > img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
}
.hero-image { object-position: 50% 54%; }
.hero::before, .live-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, #140f22f5 1%, #160e24ce 23%, #1b11285c 57%, transparent 85%),
              linear-gradient(0deg, #140e22d9, transparent 52%);
}
.hero-content { width: min(100%, 590px); padding: clamp(32px, 4vw, 68px); position: relative; }
.eyebrow {
  display: flex; align-items: center; gap: 9px; color: var(--gold);
  font-size: .77rem; font-weight: 750; margin-block-end: 10px;
}
.signal-line { height: 1px; width: 24px; background: var(--gold); }
.hero h1 { font-size: clamp(3.2rem, 5.7vw, 6.25rem); font-weight: 900; line-height: 1.04; letter-spacing: -.025em; }
.hero-original {
  color: #eadfcf; font-family: Georgia, ui-serif, serif; font-size: clamp(1.05rem, 2vw, 1.75rem);
  margin-block: 4px 13px; letter-spacing: .12em; text-align: right;
}
.hero-meta, .poster-meta { display: flex; flex-wrap: wrap; align-items: center; color: var(--muted); gap: 8px; }
.hero-meta { color: #efdbec; font-size: .84rem; }
.hero-meta span + span::before, .poster-meta span + span::before {
  content: "·"; padding-inline-end: 8px; color: var(--gold);
}
.hero-description { margin-block: 14px 26px; font-size: clamp(.88rem, 1.4vw, 1.02rem); line-height: 1.8; max-width: 39ch; color: #e3d8e9; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px;
  padding: 9px 16px; border-radius: 9px; border: 1px solid transparent;
  color: var(--ink); background: transparent; font-weight: 740; text-align: center;
}
.button-gold { color: var(--gold-dark); background: var(--gold); border-color: var(--gold); }
.button-gold:hover { background: #ffdc9e; border-color: #ffdc9e; }
.button-muted { background: #241a33e8; border-color: #5a465f; color: var(--ink); }
.button-muted:hover, .button-muted[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }

.shelf { margin-block-start: clamp(32px, 5vw, 70px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-block-end: 18px; }
.section-heading h2, .live-banner h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); font-weight: 830; }
.section-heading .eyebrow { margin-block-end: 5px; }
.section-heading > p { color: var(--muted); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-size: .84rem; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 13px; }
.poster-card { min-width: 0; }
.poster-frame { position: relative; }
.poster-art {
  display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; border: 1px solid #483650;
  background: linear-gradient(155deg, #352148, #181124);
}
.poster-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 230ms ease; }
.poster-art:hover img { transform: scale(1.045); }
.poster-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--accent-soft); }
.poster-card h3 { padding-block-start: 9px; font-size: .98rem; letter-spacing: -.01em; line-height: 1.5; overflow-wrap: anywhere; }
.poster-card h3 a:hover { color: var(--gold); }
.poster-meta { font-size: .72rem; gap: 6px; margin-block-start: 2px; }
.poster-meta span + span::before { padding-inline-end: 6px; }
.poster-save {
  position: absolute; inset: 6px auto auto 6px; display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--ink); background: #180e26dc; border: 1px solid #6d536a; border-radius: 9px;
}
.poster-save:hover, .poster-save[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.save-button[aria-pressed="true"] svg { fill: #efc78344; }
.rating-chip {
  position: absolute; inset: auto 8px 8px auto; display: flex; align-items: center; gap: 5px;
  border: 1px solid var(--gold-faint); padding: 2px 6px; border-radius: 5px; background: #1a1124e9; color: var(--gold);
  font-size: .77rem;
}

.live-banner {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  border: 1px solid var(--outline); border-radius: var(--radius); min-height: 255px; margin-block: 50px 0;
  background: var(--panel);
}
.live-banner > img { object-position: 56% 49%; }
.live-banner::before { background: linear-gradient(270deg, #191124fa, #221532b8 38%, transparent 82%); }
.live-banner > div { padding: clamp(26px, 4vw, 52px); }
.live-banner > div > p:not(.eyebrow) { color: #ddd0e7; margin-block: 9px 16px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #f28aa8; box-shadow: 0 0 0 4px #f28aa825; }
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-block-start: 46px; padding-block: 19px 78px; border-block-start: 1px solid var(--outline); color: var(--muted); font-size: .77rem;
}
.footer > span:first-child { color: #e4cfa8; letter-spacing: .17em; font-weight: 770; }

.inner-page { padding-block-start: 15px; min-height: 50vh; }
.page-heading { margin-block: 6px 25px; }
.page-heading h1, .live-page-banner h1 {
  font-size: clamp(2.15rem, 5vw, 4.65rem); letter-spacing: -.03em; font-weight: 880;
}
.page-heading p:not(.eyebrow) { color: var(--muted); margin-block-start: 9px; }
.filters { margin-block: 0 22px; display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.tabs a {
  display: flex; align-items: center; min-height: 44px; padding: 7px 15px; border-radius: 9px;
  border: 1px solid #3c304b; background: #1e172c; color: var(--muted); font-weight: 670;
}
.tabs .is-active, .tabs a:hover { border-color: var(--gold-faint); color: var(--gold); background: #312337; }
.filter-form > div { display: grid; gap: 5px; min-width: 0; }
.filter-form label { color: var(--muted); font-size: .78rem; }
.filter-form select, .filter-form input[type="search"] {
  height: 45px; width: 100%; min-width: min(140px, 100%); max-width: 310px; padding: 7px 10px;
  color: var(--ink); background: var(--panel); border: 1px solid var(--outline); border-radius: 9px;
}
.filter-form .button { font-size: .86rem; }
.notice { padding: 12px 15px; border-radius: 9px; color: #f6d5aa; background: #342337; margin-block: 0 16px; }
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 38px 16px; min-height: 220px; background: var(--panel);
  border: 1px dashed #51405d; border-radius: var(--radius);
}
.empty-state > svg { color: var(--gold); }
.empty-state p { color: var(--muted); max-width: 42ch; }
.pagination { display: flex; gap: 10px; align-items: center; justify-content: center; margin-block-start: 26px; }
.live-page-banner { margin-block: 0 22px; }
.live-filters div:nth-child(2) { flex: 1; }
.channel-grid { display: grid; gap: 9px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); }
.channel-card {
  display: flex; align-items: center; gap: 11px; min-height: 69px; padding: 9px 12px; border: 1px solid var(--outline);
  background: var(--panel); border-radius: 11px; min-width: 0;
}
.channel-card:hover { border-color: var(--gold-faint); background: var(--panel-raised); }
.channel-icon {
  display: grid; place-items: center; flex: 0 0 39px; height: 39px;
  background: #332442; color: var(--accent-soft); border-radius: 9px;
}
.channel-card > span:nth-child(2) { min-width: 0; flex: 1; }
.channel-card strong, .channel-card small { display: block; overflow-wrap: anywhere; }
.channel-card small { color: var(--muted); margin-block-start: 2px; }
.channel-card > svg { color: var(--gold); }
.source-credit { margin-block-start: 19px; color: var(--muted); font-size: .81rem; }
.source-credit a { color: var(--gold); }

.detail-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid #55436c; border-radius: 22px;
  background: linear-gradient(140deg, #261b3e, #1a142c 70%);
}
.detail-artwork {
  position: relative; isolation: isolate; overflow: hidden;
  block-size: clamp(134px, 42vw, 260px);
}
.detail-artwork img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.detail-artwork::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 53%, #201633);
}
.detail-content {
  position: relative; min-width: 0; max-width: 760px;
  padding: clamp(18px, 4vw, 42px);
}
.detail-content .eyebrow { margin-block-end: 8px; }
.detail-content h1 {
  font-size: clamp(1.95rem, 5vw, 3.8rem); font-weight: 850;
  line-height: 1.15; text-align: right; overflow-wrap: anywhere;
}
.detail-original {
  margin-block-start: 6px; color: var(--muted);
  font-size: clamp(.91rem, 1.5vw, 1.1rem); text-align: right; overflow-wrap: anywhere;
}
.detail-facts {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin: 20px 0 0;
}
.detail-fact {
  flex: 1 1 6rem; min-width: 0; padding: 8px 11px;
  border: 1px solid #534263; border-radius: 10px; background: #1b142b;
}
.detail-fact dt { color: var(--muted); font-size: .79rem; }
.detail-fact dd {
  display: flex; gap: 5px; align-items: center;
  margin: 2px 0 0; color: var(--ink); font-weight: 680; line-height: 1.45;
}
.detail-fact-rating { border-color: #745a4b; }
.detail-fact-rating dd { color: var(--gold); }
.detail-synopsis { margin-block-start: 21px; max-inline-size: 58ch; }
.detail-synopsis h2 { margin-block-end: 5px; font-size: .92rem; color: var(--gold); }
.detail-synopsis p { color: #eee5f2; font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.detail-content .actions { margin-block-start: 20px; }
@media (min-width: 800px) {
  .detail-artwork {
    position: absolute; inset: 0 auto 0 0; z-index: -1;
    inline-size: 52%; block-size: 100%;
    -webkit-mask-image: linear-gradient(to left, transparent, #000 62%);
    mask-image: linear-gradient(to left, transparent, #000 62%);
  }
  .detail-artwork::after { display: none; }
  .detail-artwork + .detail-content { inline-size: min(62%, 760px); }
}
.detail-back { margin-block-end: 9px; }
.detail-back svg { transform: rotate(180deg); }
.watch-section { margin-block-start: 32px; scroll-margin-block-start: 15px; }
.watch-section > h2 { margin-block-end: 15px; font-size: clamp(1.45rem, 2.8vw, 2rem); }
.player {
  margin-block-end: 13px; padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--outline); border-radius: var(--radius); background: var(--panel);
}
.player .sources { display: flex; gap: 8px; flex-wrap: wrap; }
.has-player-sheet { overflow: hidden; }
.player-sheet {
  width: min(94vw, 1040px); max-width: none; max-height: 94dvh;
  padding: clamp(14px, 2.5vw, 28px); border: 1px solid var(--outline); border-radius: 24px;
  color: var(--ink); background: #191325; overflow: auto;
}
.player-sheet::backdrop { background: #090610df; }
.player-sheet-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-block-end: 14px; }
.player-sheet-bar h2 { font-size: clamp(1.05rem, 3vw, 1.65rem); overflow-wrap: anywhere; }
.player-close { border-radius: 999px; }
.player-sheet video { display: block; width: 100%; max-height: 72dvh; aspect-ratio: 16 / 9; object-fit: contain; background: #080612; border-radius: 11px; }
@media (max-width: 599px) {
  .player-sheet { width: 100%; height: 100%; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .player-sheet[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; align-items: center; }
  .player-sheet { padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); }
}
@media (max-height: 450px) and (orientation: landscape) {
  .player-sheet video { max-height: 65dvh; }
}
.source-option.button-muted[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.source-option bdi { font-weight: 580; }
.player-status { color: #f4cbad; margin-block-start: 8px; }
.source-extras { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.player-sheet ~ .source-extras { margin-block-start: 16px; }
.source-extras a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.source-extras .download-button {
  min-height: 48px; max-width: 100%; padding: 8px 16px; border-radius: 999px;
  background: #30263d; border: 1px solid #5b4967; color: var(--ink);
  font-size: .88rem; font-weight: 720; line-height: 1.4;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.download-button > span { min-width: 0; overflow-wrap: anywhere; }
.download-button svg { color: #dec8ee; }
.download-quality { margin-inline-start: 3px; color: #ddd1e7; font-weight: 530; }
.source-extras .download-button:hover { background: #3a2d49; border-color: #8d739e; }
.source-extras .download-button:active { background: #241a32; border-color: #b399c7; }
.file-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.source-extras .vlc-button { color: var(--gold); border-color: #785b48; }
.vlc-button svg { color: currentColor; }
[data-vlc-launch]:not([hidden]) + [data-vlc-playlist] { background: transparent; border-color: transparent; }
[data-vlc-launch]:not([hidden]) + [data-vlc-playlist] svg { display: none; }
.vlc-hint { margin-block-start: 9px; color: var(--muted); font-size: .82rem; }
.resume-button { margin-block-end: 8px; }
.season { margin-block-start: 21px; }
.season > h3 { margin-block-end: 9px; font-size: 1.18rem; }
.episode { border: 1px solid var(--outline); border-radius: 10px; background: var(--panel); margin-block-end: 9px; }
.episode > summary { cursor: pointer; min-height: 49px; padding: 10px 13px; font-weight: 740; }
.episode > div { padding: 0 12px 11px; }
.episode > div > p { color: var(--muted); margin-block-end: 8px; }
.toast {
  position: fixed; inset: auto 16px 76px auto; z-index: 10; padding: 10px 16px;
  border-radius: 9px; border: 1px solid var(--gold-faint); background: #32253f; color: var(--ink);
  box-shadow: 0 10px 28px #08061180;
}

.phone-card, .mobile-install { display: none; }
.phone-card {
  color: var(--ink); padding: 13px; border: 1px solid #4e3b57; border-radius: 13px;
  background: radial-gradient(ellipse at 100% 0, #39223d, #21172d 75%);
}
.phone-card h2 { font-size: .87rem; margin-block-end: 5px; }
.phone-card h2 svg { display: inline-block; vertical-align: middle; margin-inline-end: 2px; color: var(--gold); }
.phone-card p { color: #d0c0db; font-size: .71rem; line-height: 1.55; }
.qr-link {
  display: block; max-width: 112px; padding: 6px; margin-block-start: 10px; width: 100%; border-radius: 8px;
  background: #fffaf0;
}
.qr-link img { display: block; width: 100%; height: auto; }
.mobile-install { margin-block: 24px 0; border: 1px solid var(--outline); background: var(--panel); border-radius: 12px; padding: 11px 14px; }
.mobile-install summary { min-height: 40px; display: flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 670; cursor: pointer; }
.mobile-install p { color: var(--muted); margin-block-end: 7px; }
.offline-page { max-width: 620px; margin: min(15vw, 110px) auto; padding: 20px; }

@media (min-width: 560px) {
  .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 15px; }
}
@media (min-width: 760px) {
  .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 17px; }
  .hero { border-radius: 26px; }
}
@media (min-width: 1000px) {
  .app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
  .sidebar {
    display: flex; flex-direction: column; gap: 24px; align-self: start; position: sticky; inset-block-start: 0;
    height: 100vh; height: 100dvh; overflow-y: auto; padding: 26px 17px 18px;
    background: var(--sidebar); border-inline-end: 1px solid #32243f;
  }
  .sidebar .brand { margin-inline: 5px; }
  .main-content { width: 100%; }
  .side-links { display: grid; gap: 5px; }
  .nav-caption { padding-inline: 10px; margin-block-end: 1px; color: #b1a1bd; font-size: .72rem; font-weight: 690; }
  .library-caption { margin-block-start: 15px; }
  .side-links .nav-link { padding-inline: 10px; border: 1px solid transparent; }
  .side-links .is-active { border-color: #51403c; background: #302333; }
  .side-links .nav-link:hover { border-color: #57445b; }
  .mobile-nav, .topbar-brand { display: none; }
  .top-links { display: flex; align-items: center; gap: clamp(15px, 3vw, 44px); font-weight: 650; color: var(--muted); }
  .top-links a { display: flex; align-items: center; min-height: 44px; }
  .top-links a:hover, .top-links .is-active { color: var(--ink); }
  .top-links .is-active { position: relative; }
  .top-links .is-active::after { content: ""; position: absolute; inset: auto 0 2px; height: 2px; border-radius: 2px; background: var(--gold); }
  .footer { padding-block-end: 24px; }
  .toast { inset-block-end: 20px; }
}
@media (min-width: 1240px) {
  .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (hover: hover) and (pointer: fine) {
  .sidebar .phone-card { display: block; margin-block-start: auto; }
  .compact-phone { display: block; margin-block-start: 22px; max-width: 260px; }
}
@media (min-width: 1000px) {
  .compact-phone { display: none; }
}
@media (hover: none) and (pointer: coarse) {
  .mobile-install { display: block; }
  @media (display-mode: standalone) { .mobile-install { display: none; } }
}
@media (max-width: 559px) {
  :root { --gutter: 14px; }
  .topbar { min-height: 69px; gap: 9px; }
  .brand { gap: 6px; }
  .topbar-brand .brand img { width: 35px; height: 35px; border-radius: 9px; }
  .brand strong { font-size: .66rem; letter-spacing: .13em; }
  .brand small { font-size: .63rem; }
  .top-search input { font-size: 16px; padding-inline-start: 8px; }
  .top-search input::placeholder { font-size: .72rem; }
  .top-search button { flex-basis: 42px; }
  .hero { min-height: 480px; border-radius: 17px; }
  .hero-image { object-position: 29% 42%; }
  .hero::before { background: linear-gradient(0deg, #140d22 1%, #170d22f2 33%, #170d2266 56%, #21182c08 80%); }
  .hero-content { padding: 24px 16px 20px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-description { margin-block: 10px 17px; }
  .button { padding-inline: 11px; font-size: .84rem; }
  .hero .actions { gap: 6px; }
  .section-heading { align-items: center; }
  .live-banner { min-height: 230px; }
  .live-banner::before { background: linear-gradient(270deg, #1a1227f4, #20152cc8 39%, #21182c32); }
  .filter-form select, .filter-form input[type="search"] { font-size: 16px; }
  .filter-form > div { flex: 1 1 115px; }
}
@media (max-width: 345px) {
  .hero .save-button { font-size: .74rem; }
  .topbar-brand .brand > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.account-card {
  width: min(100%, 440px);
  margin-inline: auto;
  padding: clamp(20px, 5vw, 32px);
  border: 1px solid var(--outline);
  border-radius: 20px;
  background: var(--panel);
}
.account-card h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.account-form, .account-form > div { display: grid; }
.account-form { gap: 16px; }
.account-form > div { gap: 5px; }
.account-form label { font-weight: 720; }
.account-form input:not([type="submit"]) {
  width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 10px;
  background: #171123; border: 1px solid #55425f; color: var(--ink); font-size: 16px;
}
.account-form p { color: var(--muted); font-size: .79rem; }
.account-errors { margin-block: 0; padding-inline-start: 20px; }
.account-card > .text-link { margin-block-start: 12px; }

.watchlist-username { font-weight: 720; }
.watchlist-actions { margin-block-end: 20px; }
.local-watchlist > .button { margin-block-start: 10px; }
.local-watchlist > [role="status"] { margin-block-start: 6px; }

.watchlist-share { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 0 24px; }
.watchlist-share .social-action { border-radius: 999px; min-height: 46px; }
.social-action img { filter: invert(95%); flex-shrink: 0; }
