:root {
  --bg: #050607;
  --panel: #10130f;
  --panel-soft: #171d16;
  --text: #f6f3ee;
  --muted: #b0aab7;
  --line: rgba(145, 197, 103, 0.17);
  --accent: #5f9b43;
  --accent-bright: #83cf5d;
  --accent-rgb: 95, 155, 67;
  --green: #7fc55b;
  --green-rgb: 127, 197, 91;
  --purple: #504080;
  --purple-bright: #8b76c8;
  --purple-rgb: 80, 64, 128;
  --danger: #ef6653;
  --danger-rgb: 239, 102, 83;
  --shell: min(1240px, calc(100vw - 54px));
  --header: 78px;
  --radius: 20px;
  --shadow: 0 28px 85px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.auth-checking body {
  opacity: 0;
}

html.account-access-checking body {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

[data-registration-control][hidden],
[data-registration-form][hidden],
[data-public-registration-action][hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 16%, rgba(var(--purple-rgb), 0.13), transparent 25rem),
    radial-gradient(circle at 8% 12%, rgba(var(--accent-rgb), 0.09), transparent 23rem),
    var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.stream-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.9);
  backdrop-filter: blur(18px);
}

.stream-nav {
  min-height: var(--header);
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  gap: 3px;
  align-items: center;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.075em;
}

.brand::before {
  width: 29px;
  height: 29px;
  margin-right: 10px;
  border-radius: 9px;
  content: "";
  background: url("../images/sarealtv-favicon.png") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.48));
}

.brand span {
  color: var(--purple-bright);
  text-shadow: 0 0 16px rgba(var(--purple-rgb), 0.5);
}

.content-tabs {
  display: flex;
  gap: 5px;
  margin-left: auto;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  scrollbar-width: none;
}

.content-tabs::-webkit-scrollbar {
  display: none;
}

.content-tabs a {
  padding: 12px clamp(13px, 2vw, 21px);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.content-tabs a:hover,
.content-tabs a:focus-visible {
  color: var(--text);
}

.content-tabs .active {
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.2);
}

.sign-in-link {
  display: inline-flex;
  min-height: 49px;
  padding-inline: 23px;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease;
}

.sign-in-link:hover,
.sign-in-link:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
}

.public-header .sign-in-link {
  margin-left: auto;
}

.sign-out-button {
  min-width: 132px;
  gap: 9px;
  justify-content: center;
  border-color: rgba(var(--purple-rgb), 0.72);
  color: var(--text);
  background: rgba(var(--purple-rgb), 0.2);
}

.sign-out-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sign-out-button:hover,
.sign-out-button:focus-visible {
  border-color: var(--purple-bright);
  background: rgba(var(--purple-rgb), 0.48);
}

.library-hero {
  position: relative;
  display: flex;
  height: min(760px, calc(100svh - 12px));
  min-height: 610px;
  align-items: end;
  overflow: hidden;
  margin-top: var(--header);
}

.feature-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(130deg, #1b2326, #07090d);
  transition:
    top 260ms ease,
    right 260ms ease,
    width 260ms ease,
    height 260ms ease,
    border-radius 260ms ease;
}

.feature-media video,
.feature-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.78);
}

.feature-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(5, 6, 7, 0.55), rgba(5, 6, 7, 0.2) 39%, transparent 68%),
    linear-gradient(to top, rgba(5, 6, 7, 0.46), transparent 43%);
}


.feature-media iframe,
.preview-video iframe,
.home-hero iframe {
  border: 0;
}

.feature-media video[hidden],
.feature-media iframe[hidden],
.preview-video video[hidden],
.preview-video iframe[hidden],
.home-hero video[hidden],
.home-hero iframe[hidden] {
  display: none;
}
.library-hero.media-failed .feature-media video,
.library-hero.media-failed .feature-media iframe {
  opacity: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(66px, 9vw, 98px);
}

.content-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.content-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.hero-copy h1 {
  max-width: 650px;
  margin-bottom: 21px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(67px, 8.6vw, 106px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero-meta {
  margin-bottom: 18px;
  color: #e3ded7;
  font-size: 14px;
  font-weight: 700;
}

.hero-meta strong {
  margin-right: 8px;
  color: var(--green);
}

.hero-description {
  max-width: 490px;
  margin-bottom: 31px;
  color: #dad4cd;
  font-size: 16px;
  line-height: 1.62;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 13px;
}
.hero-control-bar {
  display: inline-flex;
  max-width: 100%;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 6, 7, 0.68);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.trailer-control {
  display: inline-flex;
  min-height: 40px;
  gap: 9px;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  touch-action: manipulation;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.trailer-control::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  content: "";
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14);
}

.trailer-control[data-state="paused"]::before,
.trailer-control[data-state="muted"]::before {
  background: #aaa2b8;
  box-shadow: 0 0 0 4px rgba(170, 162, 184, 0.12);
}

.trailer-control:hover,
.trailer-control:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.62);
  background: rgba(var(--accent-rgb), 0.18);
  transform: translateY(-1px);
}

.trailer-control:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}
/* Shorts uses the vertical trailer itself as the control surface. */
.shorts-page .feature-controls,
.shorts-page .hero-control-bar {
  display: none !important;
}

.shorts-trailer-gestures {
  position: absolute;
  z-index: 9;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.shorts-trailer-gestures > button {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  color: transparent;
  cursor: pointer;
  background: transparent;
  touch-action: manipulation;
}

.shorts-trailer-gestures > button:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: -4px;
}

.shorts-trailer-gestures > button:disabled {
  cursor: default;
}

.shorts-trailer-gestures p {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 50%;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  pointer-events: none;
  background: rgba(5, 6, 7, 0.66);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.shorts-trailer-gestures.show-feedback p {
  border-color: rgba(var(--accent-rgb), 0.54);
  color: #fff;
  background: rgba(var(--accent-rgb), 0.88);
}

.cta {
  display: inline-flex;
  min-height: 54px;
  padding-inline: 27px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
}

.cta-primary {
  color: #f8fff4;
  background: linear-gradient(135deg, var(--accent), #376f25);
  box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.22);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
}

.cta-secondary {
  border-color: rgba(var(--purple-rgb), 0.5);
  background: rgba(var(--purple-rgb), 0.31);
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  background: rgba(var(--purple-rgb), 0.48);
}

.triangle {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentcolor;
}

.feature-controls {
  position: absolute;
  z-index: 8;
  right: max(calc((100vw - var(--shell)) / 2), 27px);
  bottom: clamp(70px, 9vw, 98px);
  display: flex;
  gap: 10px;
}

.hero-slide-controls {
  position: absolute;
  z-index: 4;
  right: max(calc((100vw - var(--shell)) / 2), 27px);
  bottom: clamp(36px, 5vw, 58px);
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-slide-controls[hidden] {
  display: none;
}

.hero-slide-controls button {
  width: 34px;
  height: 7px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: transparent;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: width 180ms ease, height 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-slide-controls button:hover,
.hero-slide-controls button:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

.hero-slide-controls button.active {
  width: 50px;
  background: var(--accent-bright);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45);
}

.library-page .hero-slide-controls {
  bottom: 16px;
}

.library-hero.is-docked .hero-slide-controls {
  display: none;
}

.shorts-hero .hero-slide-controls {
  right: calc(max((100vw - var(--shell)) / 2, 30px) + 76px);
  bottom: 42px;
  flex-direction: column;
}

.shorts-hero .hero-slide-controls button {
  width: 7px;
  height: 34px;
}

.shorts-hero .hero-slide-controls button.active {
  width: 7px;
  height: 50px;
}

.media-control {
  display: grid;
  width: 48px;
  height: 48px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  background: rgba(5, 6, 7, 0.44);
}

.media-control:hover,
.media-control:focus-visible {
  border-color: #fff;
  background: rgba(5, 6, 7, 0.82);
}

.speaker {
  position: relative;
  display: block;
  width: 20px;
  height: 18px;
}

.speaker::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--text);
  clip-path: polygon(0 27%, 38% 27%, 100% 0, 100% 100%, 38% 73%, 0 73%);
}

.speaker::after {
  position: absolute;
  top: 2px;
  right: 1px;
  width: 2px;
  height: 17px;
  content: "";
  background: var(--text);
  transform: rotate(-42deg);
}

.speaker.sound-on::after {
  top: 3px;
  right: 0;
  width: 8px;
  height: 12px;
  border: 2px solid var(--text);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  background: transparent;
  transform: none;
}

.pause {
  width: 14px;
  height: 17px;
  border-inline: 4px solid var(--text);
}

.pause.paused {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-right: 0;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--text);
}

.dock-meta {
  display: none;
}

.library-hero.is-docked .feature-media {
  position: fixed;
  z-index: 45;
  top: calc(var(--header) + 16px);
  right: 27px;
  bottom: auto;
  left: auto;
  width: min(370px, calc(100vw - 54px));
  height: 208px;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.library-hero.is-docked .feature-media::after {
  background: linear-gradient(to top, rgba(5, 6, 7, 0.9), transparent 56%);
}

.library-hero.is-docked .dock-meta {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.library-hero.is-docked .feature-controls {
  position: fixed;
  z-index: 46;
  top: calc(var(--header) + 30px);
  right: 42px;
  bottom: auto;
}

.library-hero.is-docked .media-control {
  width: 38px;
  height: 38px;
}

.library-main {
  position: relative;
  z-index: 2;
  padding-block: clamp(58px, 7vw, 82px) 96px;
  background: var(--bg);
  transition: padding-top 220ms ease;
}

.library-hero.is-docked + .library-main {
  padding-top: calc(clamp(58px, 7vw, 82px) + 216px);
}

.catalog-top {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 45px;
}

.section-kicker {
  margin-bottom: 13px;
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.catalog-top h2 {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(37px, 4.5vw, 50px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.search-wrap {
  width: min(385px, 100%);
}

.search-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-field {
  position: relative;
}

.search-field::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid var(--muted);
  border-radius: 50%;
}

.search-field::after {
  position: absolute;
  top: 30px;
  left: 31px;
  width: 7px;
  height: 2px;
  content: "";
  background: var(--muted);
  transform: rotate(45deg);
}

.search-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  color: var(--text);
  background: var(--panel);
}

.search-field input:focus {
  border-color: var(--accent);
}

.search-field input::placeholder {
  color: #817f80;
}

.result-status {
  min-height: 22px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.row-stack {
  display: grid;
  gap: 48px;
}

.title-row {
  min-width: 0;
}

.title-row[hidden] {
  display: none;
}

.row-title {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.row-title h3 {
  font-size: 23px;
  letter-spacing: -0.035em;
}

.row-buttons {
  display: flex;
  gap: 8px;
}

.row-buttons button {
  display: grid;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 29px;
  line-height: 0.6;
}

.row-buttons button:hover:not(:disabled),
.row-buttons button:focus-visible:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
}

.row-buttons button:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.card-rail {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-auto-flow: column;
  grid-auto-columns: clamp(202px, 21vw, 253px);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 3px 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.card-rail::-webkit-scrollbar {
  display: none;
}

.title-card {
  --poster: linear-gradient(135deg, #262a31, #12141a);
  position: relative;
  display: flex;
  height: 151px;
  padding: 15px;
  overflow: hidden;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: var(--poster);
  text-align: left;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease;
}

.title-card-cover-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title-card::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(5, 6, 9, 0.95), transparent 67%);
}

.title-card:hover,
.title-card:focus-visible {
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-3px);
}

.title-card > *:not(.title-card-cover-art) {
  position: relative;
  z-index: 2;
}

.title-card .label {
  margin-bottom: auto;
  padding: 5px 8px;
  border-radius: 4px;
  color: #ece7e0;
  background: rgba(0, 0, 0, 0.44);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.title-card strong {
  margin-bottom: 5px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.title-card small {
  color: #beb7b0;
  font-size: 12px;
}

.tone-forest { --poster: radial-gradient(circle at 67% 31%, #e2d09c 0 9%, transparent 10%), linear-gradient(135deg, #254338, #111915); }
.tone-red { --poster: radial-gradient(circle at 66% 40%, rgba(var(--purple-rgb), 0.72), transparent 21%), linear-gradient(135deg, #233b18, #101217); }
.tone-noir { --poster: repeating-linear-gradient(90deg, #12141a 0 24px, #242732 25px 27px), #0e1015; }
.tone-blue { --poster: linear-gradient(180deg, #17384a 0 47%, #0d1b27 48%), linear-gradient(145deg, #203e54, #0a0d12); }
.tone-gold { --poster: radial-gradient(circle at 30% 22%, #d8ae62, transparent 22%), linear-gradient(135deg, #473325, #131318); }
.tone-purple { --poster: radial-gradient(ellipse at 67% 38%, var(--purple-bright), transparent 35%), linear-gradient(135deg, #28213f, #111219); }
.tone-slate { --poster: linear-gradient(176deg, #303340 0 51%, #12141a 52%), #13151c; }
.tone-copper { --poster: linear-gradient(107deg, transparent 45%, rgba(var(--purple-rgb), 0.58) 46% 49%, transparent 50%), linear-gradient(150deg, #1d1e25, #27371d); }
.tone-mint { --poster: radial-gradient(circle at 48% 32%, #c7eee3, transparent 14%), linear-gradient(135deg, #1e403b, #101718); }
.tone-neon { --poster: linear-gradient(122deg, rgba(var(--accent-rgb), 0.65) 0 2%, transparent 3% 97%, rgba(var(--purple-rgb), 0.68) 98%), linear-gradient(135deg, #162b1d, #18142a); }
.tone-sun { --poster: radial-gradient(circle at 50% 40%, #f4be52 0 13%, transparent 14%), linear-gradient(135deg, #305775, #101822); }
.tone-pink { --poster: radial-gradient(circle at 60% 34%, #ff947f 0 10%, transparent 11%), linear-gradient(130deg, #47314a, #16131e); }

.empty-results {
  display: none;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-results.visible {
  display: block;
}

.page-footer {
  display: flex;
  min-height: 96px;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.preview-dialog {
  width: min(680px, calc(100vw - 32px));
  padding: 12px 12px 31px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.77);
  backdrop-filter: blur(5px);
}

.preview-close {
  display: block;
  margin: 5px 7px 12px auto;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.preview-video {
  position: relative;
  height: clamp(230px, 36vw, 340px);
  overflow: hidden;
  margin-bottom: 26px;
  border-radius: 13px;
  background: #101319;
}

.preview-video video,
.preview-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.9);
}

.preview-video::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(5, 6, 7, 0.35), transparent 54%);
}

.preview-video .preview-label {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 17px;
  padding: 7px 11px;
  border-radius: 5px;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.preview-body {
  padding-inline: clamp(12px, 4vw, 27px);
}

.preview-body h2 {
  margin-bottom: 10px;
  font-size: clamp(29px, 5vw, 37px);
  letter-spacing: -0.045em;
}

.preview-body .preview-meta {
  margin-bottom: 15px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.preview-body .preview-copy {
  margin-bottom: 25px;
  color: var(--muted);
  line-height: 1.6;
}

.preview-actions {
  display: flex;
  gap: 12px;
}

.library-page {
  height: 100svh;
  overflow: hidden;
}

.library-page main {
  display: grid;
  height: calc(100svh - var(--header));
  margin-top: var(--header);
  grid-template-rows: clamp(300px, 44svh, 432px) minmax(0, 1fr);
  overflow: hidden;
}

.library-page .library-hero {
  height: auto;
  min-height: 0;
  margin-top: 0;
}

.library-page .hero-copy {
  padding-bottom: clamp(30px, 4vw, 46px);
}

.library-page .hero-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(49px, 6vw, 72px);
}

.library-page .hero-description {
  max-width: 470px;
  margin-bottom: 22px;
  font-size: 14px;
}

.library-page .feature-controls {
  bottom: clamp(31px, 4vw, 47px);
}

.library-page .library-main {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: clamp(33px, 4vw, 48px) 68px;
}

.library-page .library-hero.is-docked + .library-main {
  padding-top: clamp(33px, 4vw, 48px);
}

.library-page > .page-footer {
  display: none;
}

.home-hero {
  position: relative;
  display: flex;
  min-height: min(780px, 96svh);
  margin-top: var(--header);
  align-items: end;
  overflow: hidden;
}

.home-video,
.home-hero iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.95);
}

.home-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 43%, transparent, rgba(5, 6, 7, 0.18) 39%, transparent 52%),
    linear-gradient(to right, rgba(5, 6, 7, 0.55), rgba(5, 6, 7, 0.18) 53%, transparent),
    linear-gradient(to top, rgba(5, 6, 7, 0.48), transparent 43%);
}

.home-copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(69px, 10vw, 112px);
}

.home-copy h1 {
  margin-bottom: 24px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(68px, 9vw, 114px);
  line-height: 0.87;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.home-copy > p:not(.content-badge) {
  max-width: 505px;
  margin-bottom: 35px;
  color: #dbd5ce;
  font-size: 18px;
  line-height: 1.6;
}

.home-discovery {
  padding-block: clamp(72px, 9vw, 106px);
}

.home-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 45px;
  align-items: end;
  margin-bottom: clamp(38px, 6vw, 55px);
}

.home-heading .section-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.home-heading h2 {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(41px, 5vw, 54px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.home-heading > p {
  max-width: 355px;
  color: var(--muted);
  line-height: 1.65;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.destination {
  position: relative;
  min-height: 272px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--poster);
  transition: transform 190ms ease, border-color 190ms ease;
}

.destination::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(145deg, transparent, rgba(0, 0, 0, 0.46));
}

.destination > * {
  position: relative;
  z-index: 1;
}

.destination:hover,
.destination:focus-visible {
  border-color: rgba(255, 255, 255, 0.37);
  transform: translateY(-4px);
}

.destination span {
  display: block;
  margin-bottom: 83px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.destination h3 {
  margin-bottom: 10px;
  font-size: 29px;
  letter-spacing: -0.045em;
}

.destination p {
  max-width: 286px;
  margin-bottom: 18px;
  color: #cfcbc5;
  font-size: 14px;
  line-height: 1.5;
}

.destination strong {
  color: var(--text);
  font-size: 13px;
}

.destination-movies { --poster: radial-gradient(circle at 77% 25%, #d5aa6c, transparent 20%), linear-gradient(140deg, #243a33, #11141a); }
.destination-shows { --poster: radial-gradient(circle at 75% 24%, rgba(var(--purple-rgb), 0.65), transparent 18%), linear-gradient(140deg, #241f39, #12131a); }
.destination-animated { --poster: radial-gradient(circle at 73% 28%, #f0c762, transparent 17%), linear-gradient(140deg, #263e5c, #11141c); }
.destination-shorts { --poster: linear-gradient(90deg, transparent 42%, rgba(var(--purple-rgb), 0.56) 43% 57%, transparent 58%), linear-gradient(145deg, #1b2c20, #11141b); }
.destination-originals { --poster: radial-gradient(circle at 76% 29%, #d8d3cb, transparent 12%), linear-gradient(140deg, #282438, #101117); }
.destination-games { --poster: repeating-linear-gradient(90deg, rgba(var(--green-rgb), 0.21) 0 2px, transparent 3px 25px), linear-gradient(145deg, #162d2d, #101218); }
.destination-artists { --poster: radial-gradient(circle at 76% 25%, rgba(var(--accent-rgb), 0.64), transparent 19%), radial-gradient(circle at 30% 78%, rgba(var(--purple-rgb), 0.44), transparent 27%), linear-gradient(145deg, #17231c, #11121a); }

.home-callout {
  display: flex;
  gap: 38px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(62px, 8vw, 92px);
  padding: clamp(42px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 83% 64%, rgba(var(--accent-rgb), 0.19), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(var(--purple-rgb), 0.2), transparent 32%),
    var(--panel);
}

.home-callout h2 {
  font-size: clamp(31px, 4vw, 43px);
  letter-spacing: -0.05em;
}

.public-landing-page main {
  overflow: hidden;
}

.public-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: end;
  overflow: hidden;
  margin-top: var(--header);
}

.public-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.84);
}

.public-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--accent-rgb), 0.18), transparent 26rem),
    radial-gradient(circle at 70% 18%, rgba(var(--purple-rgb), 0.16), transparent 25rem),
    linear-gradient(90deg, rgba(5, 6, 7, 0.5), rgba(5, 6, 7, 0.18) 55%, rgba(5, 6, 7, 0.36)),
    linear-gradient(to top, rgba(5, 6, 7, 0.42), transparent 45%);
}

.public-hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(58px, 8vw, 102px);
}

.public-hero-copy h1 {
  max-width: 850px;
  margin: 14px 0 20px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.public-hero-copy > p:not(.content-badge) {
  max-width: 610px;
  margin-bottom: 29px;
  color: #ded8d0;
  font-size: 18px;
  line-height: 1.6;
}

.social-links a,
.artist-socials a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 700;
}

.public-story,
.public-social,
.featured-artist,
.contact-section {
  padding-block: clamp(54px, 7vw, 88px);
  content-visibility: auto;
  contain-intrinsic-size: 1px 620px;
}

.public-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.public-pillars article,
.contact-card,
.featured-artist-card,
.youtube-frame,
.artist-card,
.artist-profile-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.public-pillars article {
  padding: 25px;
}

.public-pillars strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.public-pillars p,
.public-social p,
.featured-artist-card p,
.contact-section p {
  color: var(--muted);
  line-height: 1.58;
}

.public-social,
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
}

.public-social h2,
.contact-section h2,
.featured-artist h2,
.artists-hero h1,
.artist-profile-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.06em;
}

.social-links,
.artist-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.youtube-frame {
  overflow: hidden;
  padding: 12px;
}

.youtube-frame iframe,
.youtube-load {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 13px;
  background: #07080c;
}

.youtube-load {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: clamp(24px, 6vw, 46px);
  place-content: center start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text);
  text-align: left;
}

.youtube-load::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 24% 25%, rgba(var(--accent-rgb), 0.36), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(var(--purple-rgb), 0.4), transparent 34%),
    linear-gradient(135deg, #10130f, #07080c);
}

.youtube-load > * {
  position: relative;
  z-index: 1;
}

.youtube-load strong {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.youtube-load small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.youtube-play-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 18px 44px rgba(var(--accent-rgb), 0.26);
}

.youtube-play-mark::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-block: 11px solid transparent;
  border-left: 17px solid var(--text);
  content: "";
}

.youtube-frame p {
  margin-top: 11px;
  font-size: 12px;
}

.featured-artist-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) 1fr;
  gap: clamp(22px, 5vw, 50px);
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
}

.artist-cover-preview,
.artist-card-cover,
.artist-profile-cover,
.artist-media-card {
  background: var(--poster, linear-gradient(135deg, #2c1d26, #10131b));
}

.artist-cover-preview {
  display: grid;
  min-height: 360px;
  place-items: end start;
  padding: 25px;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
  isolation: isolate;
}

.artist-cover-preview img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-cover-preview::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.04), rgba(5, 6, 7, 0.62));
}
.artist-cover-preview span,
.artist-card-cover strong {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: clamp(21px, 4vw, 31px);
}

.contact-note {
  margin-top: 13px;
  font-size: 13px;
}

.artists-page,
.artist-profile-page {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.artists-page main,
.artist-profile-page main {
  flex: 1;
  margin-top: var(--header);
  padding-block: clamp(42px, 6vw, 70px) 80px;
}

.artists-page > .page-footer,
.artist-profile-page > .page-footer {
  margin-top: auto;
}

.artists-hero {
  display: flex;
  gap: 26px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.artists-hero p:not(.content-badge) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.58;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.artist-card {
  display: grid;
  min-height: 470px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.artist-card:hover,
.artist-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.6);
}

.artist-card-cover {
  display: grid;
  min-height: 330px;
  padding: 18px;
  align-content: end;
}

.artist-card-cover span {
  margin-bottom: 14px;
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.artist-card p {
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.artist-profile-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1fr;
  gap: clamp(22px, 4vw, 45px);
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 18px;
  padding: clamp(17px, 3vw, 28px);
}

.artist-profile-cover {
  min-height: 430px;
  border-radius: 16px;
}

.artist-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artist-profile-copy p:not(.content-badge) {
  max-width: 680px;
  color: #ded8d0;
  font-size: 17px;
  line-height: 1.62;
}

.artist-profile-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.38fr) 1fr;
  gap: 16px;
  align-items: start;
}

.artist-showcase {
  display: grid;
  gap: 16px;
}

.artist-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.artist-media-card {
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 16px;
  border-radius: 13px;
}

.artist-media-card.vertical {
  min-height: 270px;
  aspect-ratio: 9 / 16;
}

.artist-media-card span {
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.artist-media-card p,
.artist-notes p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.artist-facts [class*="artist-media-card"] {
  min-height: auto;
  margin-top: 10px;
  background: #0d0f15;
}

.shorts-page main {
  grid-template-rows: clamp(410px, 59svh, 555px) minmax(0, 1fr);
}

.shorts-hero {
  background:
    radial-gradient(circle at 78% 34%, rgba(var(--accent-rgb), 0.2), transparent 22rem),
    linear-gradient(118deg, #0c0e14, #151019);
}

.shorts-hero .hero-copy {
  align-self: end;
  padding-right: min(350px, 32vw);
}

.shorts-hero .hero-description {
  max-width: 415px;
}

.portrait-player {
  position: absolute;
  z-index: 2;
  top: 21px;
  right: max(calc((100vw - var(--shell)) / 2), 30px);
  bottom: 21px;
  aspect-ratio: 9 / 16;
  border-radius: 25px;
  background: #07080b;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
}

.portrait-player::before {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 50%;
  width: 55px;
  height: 6px;
  content: "";
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.portrait-player .feature-media {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: inherit;
}

.portrait-player .feature-media video,
.portrait-player .feature-media iframe {
  object-fit: contain;
  filter: brightness(0.9) saturate(1);
}

.portrait-player .feature-media::after {
  background: linear-gradient(to top, rgba(5, 6, 7, 0.42), transparent 37%);
}

.portrait-player .dock-meta {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 17px;
  left: 15px;
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.shorts-hero .feature-controls {
  right: calc(max((100vw - var(--shell)) / 2, 30px) + 14px);
  bottom: 42px;
  flex-direction: column;
}

.shorts-hero .portrait-player .dock-meta {
  padding-right: 46px;
}

.shorts-page .card-rail {
  grid-auto-columns: clamp(134px, 16vw, 181px);
}

.shorts-page .title-card {
  height: clamp(242px, 31vw, 297px);
  border-radius: 14px;
}

.portrait-preview {
  width: min(250px, 100%);
  height: min(444px, 54svh);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
}

.portrait-preview video {
  object-fit: contain;
}

.short-tone-city { --poster: linear-gradient(90deg, transparent 16%, rgba(var(--purple-rgb), 0.42) 17% 25%, transparent 26%), linear-gradient(140deg, #1d2331, #111119); }
.short-tone-garden { --poster: radial-gradient(circle at 55% 34%, #d6c07a, transparent 15%), linear-gradient(150deg, #204334, #0e1513); }
.short-tone-stage { --poster: radial-gradient(circle at 50% 18%, #83cf5d, transparent 20%), linear-gradient(140deg, #241f3d, #101118); }
.short-tone-ink { --poster: linear-gradient(160deg, #242631 0 48%, #0d1016 49%), #11131a; }
.short-tone-sky { --poster: radial-gradient(circle at 50% 28%, #f2c86a, transparent 14%), linear-gradient(180deg, #305978, #111721); }

.games-page main {
  min-height: calc(100svh - var(--header));
  margin-top: var(--header);
  padding-block: clamp(50px, 7vw, 72px) 80px;
}

.games-heading {
  display: flex;
  gap: 45px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 43px;
}

.games-heading h1 {
  max-width: 630px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(48px, 6.5vw, 72px);
  letter-spacing: -0.06em;
  line-height: 0.93;
  text-transform: uppercase;
}

.games-heading p:last-child {
  max-width: 380px;
  color: var(--muted);
  line-height: 1.65;
}

.game-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 19px;
}

.game-menu,
.game-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.game-menu {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
}

.game-choice {
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #0d0f15;
  text-align: left;
}

.game-choice.active,
.game-choice:hover,
.game-choice:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.48);
  background: #161820;
}

.game-choice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.game-choice span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.game-stage {
  min-height: 560px;
  padding: clamp(22px, 4vw, 36px);
}

.game-pane[hidden] {
  display: none;
}

.game-pane-top {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.game-pane h2 {
  margin-bottom: 8px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.game-pane-top p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.game-score {
  display: flex;
  gap: 19px;
  color: var(--muted);
  font-size: 13px;
}

.game-score strong {
  display: block;
  color: var(--text);
  font-size: 24px;
}

.memory-board {
  display: grid;
  max-width: 620px;
  grid-template-columns: repeat(4, minmax(60px, 1fr));
  gap: 10px;
}

.memory-card {
  display: grid;
  height: clamp(78px, 10vw, 104px);
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  background: #171a23;
  color: transparent;
  font-size: 35px;
  font-weight: 700;
}

.memory-card.flipped,
.memory-card.matched {
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.19);
  border-color: var(--accent);
}

.memory-card.matched {
  color: var(--green);
  border-color: var(--green);
}

.catch-field {
  position: relative;
  max-width: 710px;
  height: 344px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.14), transparent 40%),
    #0a0c12;
}

.catch-target {
  position: absolute;
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.65);
}

.catch-target.active {
  display: block;
}

.game-status {
  min-height: 25px;
  margin-top: 20px;
  color: var(--green);
  font-size: 14px;
}

.integrated-games {
  margin-top: 58px;
}

.integrated-games h2 {
  margin-bottom: 22px;
  font-size: 29px;
  letter-spacing: -0.045em;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.integration-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.integration-card h3 {
  margin-bottom: 9px;
}

.integration-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.account-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.account-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: calc(var(--header) + clamp(44px, 7vw, 76px)) 0 clamp(48px, 7vw, 72px);
}

.account-layout {
  display: grid;
  grid-template-columns: 0.95fr minmax(380px, 0.86fr);
  gap: clamp(38px, 8vw, 100px);
  align-items: center;
}

.account-intro .content-badge {
  margin-bottom: 20px;
}

.account-intro h1 {
  max-width: 580px;
  margin-bottom: 21px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(53px, 6.7vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.account-intro > p:not(.content-badge) {
  max-width: 470px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.account-benefits {
  display: flex;
  gap: clamp(20px, 4vw, 38px);
  margin-top: 42px;
}

.account-benefits strong {
  display: block;
  margin-bottom: 7px;
  font-size: 20px;
}

.account-benefits span {
  color: var(--muted);
  font-size: 12px;
}

.account-panel {
  padding: clamp(27px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 32px;
  padding: 5px;
  border-radius: 999px;
  background: #0c0e14;
}

.auth-tabs button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.auth-tabs button.active {
  color: var(--text);
  background: var(--accent);
}

.auth-form {
  display: grid;
  gap: 19px;
}

.auth-form[hidden] {
  display: none;
}

.auth-form h2 {
  margin-bottom: 1px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.auth-form .help {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 8px;
  color: #dfd8ce;
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 53px;
  padding-inline: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #0d0f15;
}

.field input:focus {
  border-color: var(--accent);
}

.field input::placeholder {
  color: #6f7075;
}

.form-link {
  justify-self: end;
  margin-top: -7px;
  color: #d4cec7;
  font-size: 13px;
}

.form-link:hover,
.form-link:focus-visible {
  color: var(--accent-bright);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
  color: #fff;
  background: var(--accent);
}

.auth-submit:hover,
.auth-submit:focus-visible {
  background: var(--accent-bright);
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.auth-grid select {
  width: 100%;
  min-height: 53px;
  padding-inline: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #0d0f15;
}

.agreement {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.auth-status {
  min-height: 22px;
  margin-top: 23px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.5;
}

.auth-status.error {
  color: var(--accent-bright);
}

.profile-main {
  min-height: calc(100svh - var(--header));
  margin-top: var(--header);
  padding-block: clamp(45px, 7vw, 70px);
}

.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
}

.profile-preview-note {
  grid-column: 1 / -1;
  padding: 16px 19px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 12px;
  color: #dfd8ce;
  background: rgba(var(--accent-rgb), 0.1);
  font-size: 14px;
  line-height: 1.5;
}

.profile-summary,
.profile-editor {
  padding: clamp(25px, 4vw, 39px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.profile-avatar {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  place-content: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--text);
  background: var(--accent);
  font-size: 34px;
  font-weight: 700;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-summary h1 {
  margin-bottom: 9px;
  font-size: 29px;
  letter-spacing: -0.045em;
}

.profile-email,
.profile-joined {
  color: var(--muted);
  font-size: 14px;
}

.profile-joined {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.profile-editor h2 {
  margin-bottom: 26px;
  font-size: 31px;
  letter-spacing: -0.045em;
}

.profile-form {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.field textarea {
  min-height: 122px;
  padding: 15px 17px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #0d0f15;
  font: inherit;
}

.field textarea:focus {
  border-color: var(--accent);
}

.profile-status {
  min-height: 23px;
  color: var(--green);
}

.social-profile {
  padding-bottom: 64px;
}

.social-profile .profile-preview-note {
  margin-bottom: 18px;
}

.profile-cover {
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.profile-banner {
  height: clamp(168px, 23vw, 266px);
  background:
    radial-gradient(circle at 78% 20%, rgba(var(--accent-rgb), 0.45), transparent 27%),
    linear-gradient(118deg, #272c43, #10131b 55%, #203010);
  background-position: center;
  background-size: cover;
}

.profile-banner.has-image::after {
  display: block;
  height: 100%;
  content: "";
  background: linear-gradient(to top, rgba(5, 6, 7, 0.72), transparent 64%);
}

.profile-identity {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 0 clamp(20px, 3.5vw, 34px) 25px;
}

.profile-avatar.large {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  margin: -48px 0 0;
  border: 5px solid var(--panel);
}

.profile-heading {
  min-width: 170px;
  padding-top: 18px;
}

.profile-scope {
  margin-bottom: 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-heading h1 {
  margin-bottom: 4px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.05em;
}

.profile-handle {
  color: var(--muted);
  font-size: 14px;
}

.profile-stats {
  display: flex;
  gap: clamp(19px, 3vw, 35px);
  margin-left: auto;
}

.profile-stats div {
  display: grid;
  gap: 3px;
  text-align: center;
}

.profile-stats strong {
  font-size: 22px;
}

.profile-stats span {
  color: var(--muted);
  font-size: 12px;
}

.profile-social-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1.32fr) minmax(235px, 0.92fr);
  gap: 16px;
  align-items: start;
}

.profile-side,
.profile-feed,
.profile-community {
  display: grid;
  gap: 16px;
}

.social-card {
  padding: clamp(18px, 2.4vw, 23px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.social-card h2 {
  margin-bottom: 15px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.section-kicker {
  margin-bottom: 7px;
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-bio {
  margin-bottom: 18px;
  color: #e2ddd7;
  font-size: 14px;
  line-height: 1.58;
}

.detail-list {
  display: grid;
  gap: 13px;
}

.detail-list p {
  display: grid;
  gap: 3px;
}

.detail-list span,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.detail-list strong {
  font-size: 14px;
  font-weight: 500;
}

.card-heading {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-heading h2 {
  margin-bottom: 0;
}

.card-heading select {
  max-width: 86px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #0d0f15;
  font-size: 12px;
}

.watch-list {
  display: grid;
  gap: 10px;
}

.watch-list-item {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 9px;
  background: #0d0f15;
}

.watch-list-item div {
  display: grid;
  gap: 3px;
}

.watch-list-item small {
  color: var(--muted);
  text-transform: capitalize;
}

.watch-list-item button,
.small-follow {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}


.direct-message-list {
  display: grid;
  gap: 10px;
}

.direct-message-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 9px;
  background: #0d0f15;
}

.direct-message-item strong {
  font-size: 14px;
}

.direct-message-item p:not(.post-meta) {
  color: #ddd8d1;
  font-size: 12px;
  line-height: 1.45;
}

.direct-message-item .small-follow {
  width: fit-content;
  margin-top: 3px;
}
.post-composer textarea {
  width: 100%;
  min-height: 106px;
  margin-bottom: 13px;
  padding: 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #0d0f15;
}

.composer-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.composer-note {
  margin: -3px 0 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.composer-row .auth-submit {
  width: auto;
  margin-left: auto;
}

.media-upload {
  padding: 11px 13px;
  border: 1px dashed var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
}

.media-upload input {
  display: block;
  max-width: 210px;
  margin-top: 7px;
  font-size: 11px;
}

.inline-status {
  min-height: 18px;
  margin-top: 11px;
  color: var(--green);
  font-size: 13px;
}

.inline-status.error {
  color: var(--accent-bright);
}

.timeline {
  display: grid;
  gap: 13px;
}

.timeline-post {
  padding: 14px;
  border-radius: 11px;
  background: #0d0f15;
}

.timeline-post p:not(.post-meta) {
  line-height: 1.52;
}

.post-meta {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
}

.post-media {
  display: block;
  width: 100%;
  max-height: 330px;
  margin-top: 12px;
  object-fit: cover;
  border-radius: 9px;
  background: #07080c;
}

.post-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.post-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(var(--danger-rgb), 0.4);
  border-radius: 999px;
  color: #ffdbd5;
  background: rgba(var(--danger-rgb), 0.12);
}

.post-actions button:hover,
.post-actions button:focus-visible {
  border-color: rgba(var(--danger-rgb), 0.74);
  background: rgba(var(--danger-rgb), 0.22);
}

.empty-social {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.member-search-field input {
  width: 100%;
  margin-bottom: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: #0d0f15;
}

.search-hint {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.member-results,
.watch-activity {
  display: grid;
  gap: 9px;
}

.member-result {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.member-open {
  overflow: hidden;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-item {
  padding: 11px;
  border-radius: 9px;
  background: #0d0f15;
}

.activity-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: capitalize;
}

.profile-settings {
  width: min(830px, calc(100vw - 30px));
  max-height: min(90svh, 900px);
  overflow-y: auto;
  padding: 13px clamp(19px, 4vw, 35px) 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--panel-soft);
}

.profile-settings::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.extended-profile-form {
  max-width: none;
}

.extended-profile-form h2 {
  margin-bottom: 22px;
  font-size: 29px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.settings-grid .span-all {
  grid-column: 1 / -1;
}

.locked-field input {
  color: var(--muted);
  background: rgba(5, 6, 7, 0.45);
}

.privacy-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 19px;
  padding: 19px 0;
  border: 0;
}

.privacy-fields legend {
  width: 100%;
  margin-bottom: 10px;
  color: #dfd8ce;
  font-size: 14px;
  font-weight: 700;
}

.privacy-fields label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.toast-stack {
  position: fixed;
  z-index: 70;
  right: clamp(16px, 4vw, 32px);
  bottom: 22px;
  display: grid;
  gap: 9px;
  width: min(360px, calc(100vw - 32px));
}

.profile-toast {
  padding: 14px 16px;
  border: 1px solid rgba(var(--green-rgb), 0.4);
  border-radius: 10px;
  color: #e7f8ef;
  background: #143026;
  box-shadow: var(--shadow);
  font-size: 13px;
}

.profile-toast.error {
  border-color: rgba(var(--danger-rgb), 0.45);
  color: #ffdbd5;
  background: #321715;
}

.membership-account-card {
  background:
    radial-gradient(circle at 100% 0, rgba(var(--purple-rgb), 0.25), transparent 48%),
    var(--panel);
}

.membership-card-heading,
.membership-actions {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.membership-card-heading h2 {
  margin-bottom: 0;
}

.membership-state {
  border: 1px solid rgba(var(--green-rgb), 0.34);
  border-radius: 999px;
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 9px;
  text-align: center;
  text-transform: uppercase;
}

.membership-state[data-state="past_due"],
.membership-state[data-state="unpaid"] {
  border-color: rgba(var(--danger-rgb), 0.42);
  color: #ffb7ae;
}

.membership-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 15px 0 12px;
}

.membership-price {
  display: block;
  font-size: 18px;
  margin-bottom: 15px;
}

.membership-actions {
  align-items: stretch;
  flex-direction: column;
}

.membership-actions .cta {
  justify-content: center;
  width: 100%;
}

.membership-payment-status {
  margin-top: 10px;
}

.account-danger-zone {
  border-top: 1px solid rgba(var(--danger-rgb), 0.28);
  margin-top: 19px;
  padding-top: 17px;
}

.account-danger-zone h3 {
  color: #ffd8d3;
  font-size: 14px;
  margin-bottom: 6px;
}

.account-danger-zone p,
.account-delete-form > p:not(.section-kicker):not(.profile-status) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.account-delete-open,
.account-delete-confirm {
  border: 1px solid rgba(var(--danger-rgb), 0.48);
  border-radius: 999px;
  color: #ffd8d3;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  margin-top: 12px;
  min-height: 40px;
  padding: 0 15px;
  background: rgba(var(--danger-rgb), 0.12);
}

.account-delete-open:hover,
.account-delete-open:focus-visible,
.account-delete-confirm:hover,
.account-delete-confirm:focus-visible {
  background: rgba(var(--danger-rgb), 0.24);
}

.account-delete-confirm {
  border-radius: 10px;
  min-height: 48px;
}

.account-delete-confirm:disabled {
  cursor: wait;
  opacity: 0.55;
}

.account-delete-dialog {
  width: min(580px, calc(100vw - 30px));
}

.account-delete-form {
  max-width: none;
}

.account-delete-form h2 {
  font-size: clamp(25px, 5vw, 34px);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.title-social {
  display: grid;
  gap: 14px;
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.title-social-actions,
.title-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.rating-control,
.watch-status-control,
.title-dm-panel {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 6, 7, 0.42);
}

.rating-control {
  min-width: min(100%, 245px);
}

.watch-status-control {
  min-width: min(100%, 205px);
  color: var(--muted);
  font-size: 12px;
}

.control-label,
.rating-label,
.dm-search-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.star-rating {
  display: flex;
  gap: 3px;
}

.star-rating button {
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.04);
  font-size: 21px;
  line-height: 1;
}

.star-rating button.active,
.star-rating button.preview {
  border-color: rgba(255, 209, 102, 0.6);
  color: #ffd166;
  background: rgba(255, 209, 102, 0.12);
  text-shadow: 0 0 16px rgba(255, 209, 102, 0.32);
}

.title-social .icon-action,
.title-social select,
.title-comment-form input,
.dm-search-label input {
  min-height: 39px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #0d0f15;
  font-size: 12px;
}

.title-social .icon-action {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.title-social .icon-action span[aria-hidden="true"],
.title-social [data-icon] {
  min-width: 17px;
  color: var(--accent-bright);
  font-size: 18px;
  line-height: 1;
}

.title-social .icon-action:hover:not(:disabled),
.title-social .icon-action.active,
.title-social .icon-action:focus-visible {
  border-color: rgba(var(--green-rgb), 0.65);
  background: rgba(var(--accent-rgb), 0.22);
}

.heart-action.active span[aria-hidden="true"],
.heart-action.active [data-icon] {
  color: #ff6f91;
}

.title-social button:disabled,
.title-social input:disabled,
.title-social select:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.title-comment-form {
  display: flex;
  gap: 8px;
}

.title-comment-form input,
.dm-search-label input {
  width: 100%;
}

.title-comment-form input {
  flex: 1;
}

.title-dm-panel {
  gap: 10px;
}

.dm-search-label {
  display: grid;
  gap: 7px;
}

.title-dm-results {
  display: grid;
  gap: 8px;
}

.dm-result {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
}

.dm-result div {
  display: grid;
  gap: 2px;
}

.dm-result span,
.dm-empty {
  color: var(--muted);
  font-size: 12px;
}

.dm-empty.error {
  color: var(--danger);
}

.title-comments {
  display: grid;
  gap: 7px;
  color: #ddd8d1;
  font-size: 12px;
}

.watch-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 8%, rgba(var(--purple-rgb), 0.2), transparent 28rem),
    radial-gradient(circle at 12% 22%, rgba(var(--accent-rgb), 0.13), transparent 26rem),
    var(--bg);
}

.watch-main {
  min-height: calc(100svh - var(--header));
  margin-top: var(--header);
  padding-block: clamp(28px, 5vw, 54px) 64px;
}

.watch-shell {
  display: grid;
  gap: 18px;
}

.watch-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.watch-copy h1 {
  max-width: 100%;
  overflow: hidden;
  margin-top: 5px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(30px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.watch-copy p:not(.content-badge) {
  color: var(--muted);
}

.watch-copy .content-badge {
  margin-bottom: 0;
}

.watch-copy .watch-episode-name {
  max-width: 100%;
  overflow: hidden;
  color: var(--green);
  font-size: clamp(17px, 2.2vw, 25px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-copy .watch-episode-name[hidden] {
  display: none;
}

.watch-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}

.watch-frame video,
.watch-frame iframe {
  display: block;
  width: 100%;
  height: min(72svh, 760px);
  min-height: 320px;
  object-fit: contain;
  background: #000;
}

.watch-frame iframe {
  border: 0;
}

.watch-frame video[hidden],
.watch-frame iframe[hidden] {
  display: none;
}

.shorts-watch-page .watch-main {
  height: calc(100svh - var(--header));
  min-height: 0;
  overflow: hidden;
  padding-block: 0;
}

.shorts-watch-page .watch-shell {
  width: 100%;
  height: 100%;
  margin: 0;
  padding-right: max(27px, calc((100vw - var(--shell)) / 2));
  grid-template-columns: minmax(260px, min(46vw, calc((100svh - var(--header)) * 9 / 16))) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 46px);
}

.shorts-watch-page .watch-copy,
.shorts-watch-page .inline-status,
.shorts-watch-page .watch-actions,
.shorts-watch-page .watch-episodes,
.shorts-watch-page .watch-recommendations {
  grid-column: 2;
}

.shorts-watch-page .watch-copy {
  padding-top: clamp(22px, 4vw, 48px);
}

.shorts-watch-page .watch-frame {
  grid-column: 1;
  grid-row: 1 / span 4;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0 30px 30px 0;
  aspect-ratio: 9 / 16;
}

.shorts-watch-page .watch-frame video,
.shorts-watch-page .watch-frame iframe {
  height: 100%;
  min-height: 0;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

@media (max-width: 900px) {
  .shorts-watch-page .watch-main {
    height: auto;
    min-height: calc(100svh - var(--header));
    overflow: visible;
  }

  .shorts-watch-page .watch-shell {
    width: min(100% - 28px, 760px);
    height: auto;
    margin-inline: auto;
    padding-right: 0;
    grid-template-columns: 1fr;
  }

  .shorts-watch-page .watch-copy,
  .shorts-watch-page .watch-frame,
  .shorts-watch-page .inline-status,
  .shorts-watch-page .watch-actions,
  .shorts-watch-page .watch-episodes,
  .shorts-watch-page .watch-recommendations {
    grid-column: 1;
  }

  .shorts-watch-page .watch-copy {
    padding-top: clamp(22px, 7vw, 36px);
  }

  .shorts-watch-page .watch-frame {
    grid-row: auto;
    width: min(390px, 100%);
    height: min(76svh, 690px);
    margin-inline: auto;
    border-radius: 30px;
  }
}
.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.admin-page main {
  margin-top: var(--header);
  padding-block: clamp(38px, 6vw, 62px) 80px;
}

.admin-gate {
  min-height: calc(100svh - var(--header) - 142px);
  display: grid;
  place-items: center;
}

.admin-gate-card {
  width: min(560px, 100%);
}

.admin-gate-card h1 {
  margin-bottom: 14px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.admin-gate-form {
  grid-template-columns: 1fr;
}

.admin-panel[hidden],
.admin-gate[hidden] {
  display: none;
}

.admin-header {
  display: flex;
  gap: 34px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 39px;
}

.admin-header h1 {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(43px, 6vw, 66px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.admin-key {
  width: min(360px, 100%);
}

.admin-section-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: -16px 0 24px;
}

.admin-section-nav button {
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #0d0f15;
  font-weight: 800;
  text-align: left;
}

.admin-section-nav button.active,
.admin-section-nav button:hover,
.admin-section-nav button:focus-visible {
  border-color: rgba(var(--green-rgb), 0.58);
  color: var(--text);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.28), rgba(var(--purple-rgb), 0.18));
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.admin-card {
  padding: clamp(23px, 4vw, 33px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.admin-card[data-admin-section] {
  grid-column: 1 / -1;
}

.admin-card[data-admin-section][hidden] {
  display: none;
}

.admin-card-wide,
.admin-card-full {
  grid-column: 1 / -1;
}

.admin-card h2 {
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.admin-card-intro {
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.admin-note {
  padding: 15px 16px;
  border: 1px solid rgba(var(--green-rgb), 0.25);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(var(--accent-rgb), 0.08);
  font-size: 13px;
  line-height: 1.55;
}

.admin-note[hidden] {
  display: none;
}

.admin-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 14px;
}

.shorts-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 22px;
}

.shorts-admin-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.shorts-admin-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.shorts-admin-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.admin-form .span-all {
  grid-column: 1 / -1;
}

.field select,
.field input[type="date"] {
  width: 100%;
  min-height: 53px;
  padding-inline: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #0d0f15;
  font: inherit;
}

.field select:focus,
.field input[type="date"]:focus {
  border-color: var(--accent);
}

.check-field {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.check-field input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.admin-status {
  min-height: 22px;
  margin-top: 20px;
  color: var(--green);
  font-size: 13px;
}

.admin-status.error {
  color: var(--accent-bright);
}


.upload-monitor {
  margin-bottom: 18px;
  border-color: rgba(var(--green-rgb), 0.28);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(var(--purple-rgb), 0.08)), var(--panel);
}

.upload-monitor[hidden] {
  display: none;
}

.upload-progress-list,
.upload-queue {
  display: grid;
  gap: 12px;
}

.upload-progress-item,
.upload-queue-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.upload-progress-head,
.upload-queue-item {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.upload-progress-head div,
.upload-queue-item div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.upload-progress-head span,
.upload-queue-item span,
.upload-progress-item p,
.upload-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.upload-progress-head b {
  color: var(--green);
  font-size: 13px;
}

.upload-meter {
  height: 10px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.upload-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--purple-bright));
  transition: width 180ms ease;
}

.upload-progress-item.is-complete .upload-meter span {
  background: linear-gradient(90deg, var(--green), var(--accent));
}

.upload-progress-item.is-error {
  border-color: rgba(255, 95, 120, 0.58);
}

.upload-progress-item.is-error .upload-progress-head b,
.upload-progress-item.is-error [data-upload-result] {
  color: var(--accent-bright);
}

.upload-queue-panel {
  margin-top: 18px;
}

.upload-queue-panel h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.upload-queue-item input {
  width: min(720px, 100%);
  min-height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #0d0f15;
  font: inherit;
  font-size: 12px;
}
.cover-art-preview {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.cover-art-preview img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.cover-art-preview span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  font-weight: 800;
}

.cover-art-preview.is-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.cover-art-preview.is-empty span {
  position: static;
}
.inventory-heading {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.inventory-heading .admin-card-intro {
  margin-bottom: 0;
}

.inventory-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin-top: 25px;
}

.inventory-tabs button {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #0d0f15;
  text-align: left;
}

.inventory-tabs button strong {
  color: var(--text);
  font-size: 14px;
}

.inventory-tabs button span {
  font-size: 11px;
  line-height: 1.35;
}

.inventory-tabs button.active,
.inventory-tabs button:hover,
.inventory-tabs button:focus-visible {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.15);
}

.inventory-list {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.inventory-record {
  display: grid;
  gap: 15px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0f15;
}

.inventory-record.is-placeholder {
  border-style: dashed;
  background: rgba(13, 15, 21, 0.72);
}

.inventory-record.is-hidden {
  border-color: rgba(var(--danger-rgb), 0.36);
  background: rgba(var(--danger-rgb), 0.07);
}

.inventory-record.is-hidden .inventory-source {
  color: #ffb7ae;
}

.inventory-record-top {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.inventory-record h3 {
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.inventory-source {
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.inventory-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.inventory-meta p {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 10px;
  border-radius: 9px;
  color: #dfd8ce;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  line-height: 1.35;
}

.inventory-meta span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-description,
.inventory-note,
.inventory-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.inventory-note {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(var(--purple-rgb), 0.16);
}

.inventory-media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inventory-media a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.inventory-media a:hover,
.inventory-media a:focus-visible {
  border-color: var(--accent);
}

.inventory-edit-form {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.inventory-edit-form[hidden] {
  display: none;
}

.user-list {
  display: grid;
  gap: 11px;
}

.user-record {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0d0f15;
}

.user-record strong {
  display: block;
  margin-bottom: 5px;
}

.user-record p {
  color: var(--muted);
  font-size: 13px;
}

.user-state {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.user-state.pending {
  color: var(--accent-bright);
}

.user-actions {
  display: flex;
  gap: 8px;
}

.small-action {
  min-height: 36px;
  padding-inline: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.small-action:hover,
.small-action:focus-visible {
  border-color: var(--accent);
  color: #fff;
}

.small-action.danger {
  border-color: rgba(var(--danger-rgb), 0.45);
  color: #ffb7ae;
}

.small-action.subtle {
  color: var(--muted);
}

@media (max-width: 700px) {
  :root {
    --shell: min(100vw - 30px, 1240px);
    --header: 124px;
  }

  .brand {
    font-size: 21px;
  }

  .sign-in-link {
    min-height: 44px;
    padding-inline: 18px;
  }

  .content-tabs {
    gap: 0;
    padding-inline: 0;
  }

  .content-tabs a {
    padding-inline: 14px;
    font-size: 13px;
  }

  .library-hero {
    height: 610px;
    min-height: 610px;
  }

  .library-page main {
    grid-template-rows: clamp(285px, 43svh, 360px) minmax(0, 1fr);
  }

  .library-page .library-hero {
    height: auto;
    min-height: 0;
  }

  .library-page .hero-copy {
    padding-bottom: 24px;
  }

  .library-page .hero-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(36px, 12vw, 47px);
  }

  .library-page .hero-meta {
    margin-bottom: 10px;
  }

  .library-page .hero-description {
    display: none;
  }

  .library-page .cta {
    min-height: 46px;
    font-size: 13px;
  }

  .library-page .feature-controls {
    right: 15px;
    bottom: 22px;
    left: auto;
    flex-direction: column;
  }

  .library-page .hero-slide-controls {
    right: auto;
    bottom: 14px;
    left: 15px;
  }

  .library-page .library-main {
    padding-top: 28px;
  }

  .feature-media video,
.feature-media iframe {
    object-position: 63% center;
  }

  .hero-copy {
    padding-bottom: 88px;
  }

  .hero-copy h1 {
    font-size: clamp(53px, 18vw, 70px);
  }

  .hero-meta {
    font-size: 12px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .cta {
    padding-inline: 21px;
  }

  .feature-controls {
    right: auto;
    bottom: 22px;
    left: 15px;
  }

  .library-hero.is-docked .feature-media {
    top: calc(var(--header) + 9px);
    right: 15px;
    width: min(255px, calc(100vw - 30px));
    height: 143px;
  }

  .library-hero.is-docked .feature-controls {
    top: calc(var(--header) + 20px);
    right: 25px;
    left: auto;
  }

  .library-hero.is-docked .feature-controls .media-control:first-child {
    display: none;
  }

  .library-hero.is-docked + .library-main {
    padding-top: calc(clamp(58px, 7vw, 82px) + 202px);
  }

  .home-hero {
    min-height: 630px;
  }

  .home-copy {
    padding-bottom: 58px;
  }

  .home-copy h1 {
    font-size: clamp(52px, 18vw, 69px);
  }

  .home-copy > p:not(.content-badge) {
    font-size: 15px;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .public-hero {
    min-height: 700px;
  }

  .public-hero-copy h1 {
    font-size: clamp(48px, 16vw, 70px);
  }

  .public-pillars,
  .artist-grid,
  .artist-media-grid {
    grid-template-columns: 1fr;
  }

  .artist-card {
    min-height: auto;
  }

  .artist-profile-cover {
    min-height: 320px;
  }

  .destination {
    min-height: 235px;
  }

  .destination span {
    margin-bottom: 58px;
  }

  .home-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .shorts-page main {
    grid-template-rows: clamp(446px, 62svh, 505px) minmax(0, 1fr);
  }

  .shorts-hero .hero-copy {
    display: none;
  }

  .portrait-player {
    top: 13px;
    bottom: 13px;
    right: 50%;
    transform: translateX(50%);
  }

  .shorts-hero .feature-controls {
    right: calc(50% - 116px);
    bottom: 27px;
  }

  .games-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-stage {
    min-height: 510px;
  }

  .game-pane-top {
    flex-direction: column;
  }

  .row-stack {
    gap: 39px;
  }

  .row-title h3 {
    font-size: 20px;
  }

  .card-rail {
    grid-auto-columns: min(72vw, 255px);
  }

  .page-footer {
    padding-block: 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .preview-actions {
    flex-direction: column;
  }

  .auth-grid,
  .settings-grid,
  .profile-social-layout,
  .profile-community {
    grid-template-columns: 1fr;
  }

  .profile-identity {
    flex-wrap: wrap;
  }

  .profile-heading {
    width: calc(100% - 132px);
  }

  .profile-stats {
    margin-left: 0;
  }

  .composer-row,
  .title-comment-form {
    flex-direction: column;
    align-items: stretch;
  }

  .composer-row .auth-submit {
    width: 100%;
    margin-left: 0;
  }

  .account-main {
    padding-top: calc(var(--header) + 37px);
  }

  .account-intro h1 {
    font-size: clamp(44px, 14vw, 57px);
  }

  .account-benefits {
    flex-wrap: wrap;
  }

  .admin-header,
  .admin-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1100px) {
  .inventory-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inventory-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .inventory-heading,
  .inventory-record-top {
    flex-direction: column;
  }

  .inventory-tabs,
  .inventory-meta {
    grid-template-columns: 1fr;
  }

  .inventory-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  .admin-section-nav {
    grid-template-columns: 1fr;
  }
}

/* Admin and media interaction enhancements */
.community-rating {
  display: grid;
  gap: 5px;
  min-width: min(100%, 190px);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 6, 7, 0.42);
}

.community-rating strong {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}

.community-rating span:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-section-nav {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.page-hero-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.page-hero-editor {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0f15;
}

.page-hero-editor legend {
  padding: 0 8px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero-trailer-grid {
  display: grid;
  gap: 12px;
}

.hero-trailer-slot {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-trailer-slot strong {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.inventory-search-field {
  display: grid;
  gap: 8px;
  max-width: 640px;
  margin-top: 22px;
}

.inventory-record {
  grid-template-columns: minmax(112px, 150px) minmax(0, 1fr);
  align-items: start;
}

.inventory-thumb {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 11;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(var(--green-rgb), 0.3);
  border-radius: 14px;
  color: var(--green);
  background: radial-gradient(circle at 25% 20%, rgba(var(--green-rgb), 0.26), transparent 40%), #07090d;
  cursor: pointer;
}

.inventory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-thumb span {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.inventory-thumb:hover,
.inventory-thumb:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14);
}

.inventory-thumb-hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.inventory-details {
  display: none;
  grid-column: 1 / -1;
  gap: 15px;
  padding-top: 4px;
}

.inventory-record.is-open .inventory-details {
  display: grid;
}

.analytics-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 11px;
  margin-top: 24px;
}

.analytics-card,
.analytics-record {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0f15;
}

.analytics-card {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.analytics-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-card strong {
  color: var(--text);
  font-size: 28px;
}

.analytics-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.analytics-record {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 1.6fr;
  gap: 18px;
  padding: 16px;
}

.analytics-record h3 {
  margin: 6px 0;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.analytics-record p {
  color: var(--muted);
  font-size: 13px;
}

.analytics-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 8px;
}

.analytics-metrics span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.analytics-metrics strong {
  color: var(--green);
  font-size: 18px;
}

@media (max-width: 720px) {
  .inventory-record,
  .analytics-record {
    grid-template-columns: 1fr;
  }

  .inventory-thumb {
    max-width: 220px;
  }
}
/* Artist management */
.artist-card-cover.has-image,
.artist-profile-cover.has-image,
.artist-admin-cover.has-image {
  background-size: cover;
  background-position: center;
}

.artist-card-cover.has-image::before,
.artist-profile-cover.has-image::before,
.artist-admin-cover.has-image::before {
  opacity: 0.24;
}

.artist-admin-form {
  margin-top: 22px;
}


.artist-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.artist-picker button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #0d0f15;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.artist-picker button.active,
.artist-picker button:hover,
.artist-picker button:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

[data-admin-section="edit-artists"] .artist-admin-list {
  margin-top: 16px;
}

[data-admin-section="edit-artists"] .artist-edit-form {
  margin-top: 16px;
}
.artist-admin-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.artist-admin-record {
  display: grid;
  gap: 15px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0d0f15;
}

.artist-admin-top {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.artist-admin-cover {
  position: relative;
  display: grid;
  min-height: 140px;
  place-items: end start;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(var(--green-rgb), 0.28);
  border-radius: 14px;
  background: radial-gradient(circle at 22% 18%, rgba(var(--green-rgb), 0.28), transparent 42%), #07090d;
}

.artist-admin-cover strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.04em;
}

.artist-admin-summary h3 {
  margin: 7px 0 4px;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.artist-admin-summary p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.artist-edit-form {
  margin-top: 0;
}

@media (max-width: 760px) {
  .artist-admin-top {
    grid-template-columns: 1fr;
  }

  .artist-admin-cover {
    min-height: 180px;
  }
}
/* Episode lists and TV show queueing */
.field input[type="number"] {
  width: 100%;
  min-height: 53px;
  padding-inline: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #0d0f15;
  font: inherit;
}

.field input[type="number"]:focus {
  border-color: var(--accent);
}

.episode-panel {
  display: grid;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(var(--green-rgb), 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--green-rgb), 0.11), rgba(var(--purple-rgb), 0.08));
}

.episode-panel[hidden] {
  display: none;
}

.episode-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.episode-panel-head strong {
  color: var(--green);
  font-size: 13px;
}

.episode-list {
  display: grid;
  gap: 8px;
  max-height: 270px;
  overflow: auto;
  padding-right: 3px;
}

.episode-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(5, 6, 7, 0.5);
}

.episode-row div {
  display: grid;
  gap: 4px;
}

.episode-row span,
.episode-row p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.episode-row strong {
  color: var(--text);
  font-size: 15px;
}

.episode-manager {
  display: grid;
  gap: 15px;
  padding: 16px;
  border: 1px solid rgba(var(--green-rgb), 0.24);
  border-radius: 14px;
  background: rgba(var(--green-rgb), 0.06);
}

.episode-manager-head {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.episode-manager h4 {
  margin-top: 5px;
  color: var(--text);
  font-size: 20px;
}

.episode-manager p,
.episode-admin-copy span,
.episode-admin-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.episode-admin-list {
  display: grid;
  gap: 10px;
}

.episode-admin-record {
  display: grid;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 6, 7, 0.42);
}

.episode-admin-copy {
  display: grid;
  gap: 5px;
}

.episode-admin-copy strong {
  color: var(--text);
  font-size: 16px;
}

.episode-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.episode-form {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.episode-edit-form[hidden] {
  display: none;
}

.watch-episodes {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(var(--green-rgb), 0.28);
  border-radius: 16px;
  background: rgba(13, 15, 21, 0.82);
}

.watch-episodes[hidden] {
  display: none;
}

.watch-episodes-head {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}

.watch-episodes-head h2 {
  color: var(--text);
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.05em;
}

.watch-episode-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.watch-episode {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: #0d0f15;
  text-align: left;
}

.watch-episode span,
.watch-episode small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-episode strong {
  font-size: 15px;
}

.watch-episode.active,
.watch-episode:hover,
.watch-episode:focus-visible {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.16);
}

.watch-recommendations {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(var(--purple-rgb), 0.48);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 18, 34, 0.94), rgba(11, 15, 12, 0.94));
}

.watch-recommendations[hidden] {
  display: none;
}

.watch-recommendations-head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.watch-recommendations-head h2 {
  margin-top: 5px;
  font-size: clamp(24px, 3.5vw, 38px);
  letter-spacing: -0.045em;
}

.watch-recommendations-head > p {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.watch-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.watch-recommendation {
  display: grid;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: #0d0f15;
  text-align: left;
  transition: border-color 170ms ease, transform 170ms ease, background 170ms ease;
}

.watch-recommendation:hover,
.watch-recommendation:focus-visible {
  border-color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.13);
  transform: translateY(-3px);
}

.watch-recommendation-art {
  display: grid;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  color: var(--accent-bright);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.28), rgba(var(--purple-rgb), 0.2));
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
}

.watch-recommendation-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-recommendation-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px;
}

.watch-recommendation-copy strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.2;
}

.watch-recommendation-copy span,
.watch-recommendation-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.watch-recommendation-copy small {
  color: var(--green);
}

@media (max-width: 900px) {
  .watch-recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .watch-recommendations-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .watch-recommendations-head > p {
    text-align: left;
  }

  .watch-recommendation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .episode-row {
    grid-template-columns: 1fr;
  }

  .episode-row .icon-action {
    width: 100%;
  }
}
/* Shorts gets its own vertical watching layout. */
.shorts-catalog-intro {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (min-width: 901px) {
  .shorts-page {
    height: 100svh;
    overflow: hidden;
  }

  .shorts-page .shorts-experience {
    display: grid;
    height: calc(100svh - var(--header));
    margin-top: var(--header);
    grid-template-columns: minmax(340px, 42vw) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
    background:
      radial-gradient(circle at 18% 26%, rgba(var(--accent-rgb), 0.18), transparent 23rem),
      radial-gradient(circle at 82% 14%, rgba(var(--purple-rgb), 0.16), transparent 24rem),
      #050607;
  }

  .shorts-page .shorts-hero {
    display: grid;
    height: 100%;
    min-height: 0;
    padding: clamp(24px, 4vw, 46px);
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: center;
    overflow: hidden;
    border-right: 1px solid var(--line);
  }

  .shorts-page .shorts-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 6, 7, 0.08), rgba(5, 6, 7, 0.56));
  }

  .shorts-page .shorts-hero .hero-copy.shell {
    z-index: 4;
    width: min(420px, 100%);
    margin: 0 auto;
    padding: 0;
    align-self: end;
  }

  .shorts-page .shorts-hero .hero-copy h1 {
    max-width: 390px;
    font-size: clamp(50px, 6vw, 78px);
  }

  .shorts-page .shorts-hero .hero-description {
    max-width: 370px;
  }

  .shorts-page .portrait-player {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(360px, 74%);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    align-self: start;
    aspect-ratio: 9 / 16;
    transform: none;
  }

  .shorts-page .portrait-player .feature-media video,
  .shorts-page .portrait-player .feature-media iframe {
    object-fit: cover;
  }

  .shorts-page .shorts-hero .feature-controls {
    right: auto;
    bottom: clamp(38px, 6svh, 70px);
    left: 50%;
    flex-direction: column;
    transform: translateX(122px);
  }

  .shorts-page .library-main {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(26px, 3vw, 42px);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 180px),
      rgba(5, 6, 7, 0.72);
  }

  .shorts-page .library-main > .shell {
    width: 100%;
    margin: 0;
  }

  .shorts-page .catalog-top {
    position: sticky;
    z-index: 6;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
    gap: 22px;
    align-items: end;
    margin-bottom: 26px;
    padding-bottom: 20px;
    background: linear-gradient(180deg, rgba(5, 6, 7, 0.98) 0 78%, rgba(5, 6, 7, 0));
    backdrop-filter: blur(16px);
  }

  .shorts-page .catalog-top h2 {
    font-size: clamp(34px, 4.2vw, 56px);
  }

  .shorts-page .row-stack {
    gap: 30px;
  }

  .shorts-page .row-title {
    margin-bottom: 14px;
  }

  .shorts-page .row-buttons {
    display: none;
  }

  .shorts-page .card-rail {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .shorts-page .title-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 16;
    border-radius: 22px;
    padding: 16px;
  }

  .shorts-page .title-card:hover,
  .shorts-page .title-card:focus-visible {
    transform: translateY(-5px) scale(1.015);
  }

  .shorts-page .title-card strong {
    font-size: clamp(17px, 1.8vw, 22px);
  }
}

@media (max-width: 900px) {
  .shorts-page {
    height: auto;
    min-height: 100svh;
    overflow: auto;
  }

  .shorts-page .shorts-experience {
    display: block;
    height: auto;
    min-height: calc(100svh - var(--header));
    overflow: visible;
  }

  .shorts-page .shorts-hero {
    display: grid;
    min-height: calc(100svh - var(--header));
    padding: clamp(20px, 6vw, 34px);
    align-content: center;
    overflow: hidden;
  }

  .shorts-page .shorts-hero .hero-copy.shell {
    display: block;
    width: min(430px, 100%);
    margin: 0 auto;
    padding: 0;
    text-align: left;
  }

  .shorts-page .shorts-hero .hero-copy h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  .shorts-page .shorts-hero .hero-description {
    max-width: 380px;
  }

  .shorts-page .portrait-player {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(76vw, 360px);
    height: auto;
    margin: clamp(20px, 5vw, 30px) auto 0;
    aspect-ratio: 9 / 16;
    transform: none;
  }

  .shorts-page .portrait-player .feature-media video,
  .shorts-page .portrait-player .feature-media iframe {
    object-fit: cover;
  }

  .shorts-page .shorts-hero .feature-controls {
    right: auto;
    bottom: clamp(32px, 6vw, 52px);
    left: 50%;
    flex-direction: column;
    transform: translateX(min(31vw, 128px));
  }

  .shorts-page .library-main {
    height: auto;
    overflow: visible;
    padding: clamp(28px, 7vw, 42px) 0 72px;
  }

  .shorts-page .library-main > .shell {
    width: min(100% - 28px, 760px);
  }

  .shorts-page .catalog-top {
    display: grid;
    gap: 22px;
    margin-bottom: 30px;
  }

  .shorts-page .row-stack {
    gap: 34px;
  }

  .shorts-page .row-buttons {
    display: none;
  }

  .shorts-page .card-rail {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .shorts-page .title-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 16;
    border-radius: 19px;
  }
}
/* Keep the Shorts trailer dominant on shorter screens. */
@media (min-width: 901px) {
  .shorts-page .shorts-hero {
    display: block;
  }

  .shorts-page .shorts-hero .hero-copy.shell {
    position: absolute;
    right: clamp(24px, 4vw, 46px);
    bottom: clamp(24px, 4vw, 46px);
    left: clamp(24px, 4vw, 46px);
    width: auto;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.82);
  }

  .shorts-page .shorts-hero .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(42px, 5vw, 68px);
  }

  .shorts-page .shorts-hero .hero-description {
    max-width: 330px;
  }

  .shorts-page .portrait-player {
    position: absolute;
    top: clamp(22px, 3vw, 34px);
    bottom: clamp(22px, 3vw, 34px);
    left: 50%;
    width: auto;
    max-width: calc(100% - 54px);
    margin: 0;
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .shorts-page .shorts-hero {
    min-height: 0;
    overflow: visible;
  }
}
/* Shorts hero slideshow controls stay aligned with the vertical trailer layout. */
@media (min-width: 901px) {
  .shorts-page .shorts-hero .hero-slide-controls {
    top: 50%;
    right: clamp(18px, 3vw, 34px);
    bottom: auto;
    transform: translateY(-50%);
  }
}

@media (max-width: 900px) {
  .shorts-page .shorts-hero .hero-slide-controls {
    right: auto;
    bottom: 18px;
    left: 50%;
    flex-direction: row;
    transform: translateX(-50%);
  }

  .shorts-page .shorts-hero .hero-slide-controls button {
    width: 30px;
    height: 7px;
  }

  .shorts-page .shorts-hero .hero-slide-controls button.active {
    width: 46px;
    height: 7px;
  }
}
/* Managed content pages should not flash old file-based placeholders. */
.library-page [data-title-row]:not([data-managed-row]),
.library-page [data-title-card]:not([data-content-id]) {
  display: none;
}

.library-hero.media-empty .feature-media video,
.library-hero.media-empty .feature-media iframe,
.library-hero.media-empty .feature-controls,
.library-hero.media-empty .hero-control-bar,
.library-hero.media-empty .hero-slide-controls {
  display: none;
}

.autoplay-toggle {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(var(--green-rgb), 0.34);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.autoplay-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

@media (min-width: 901px) {
  .shorts-page .shorts-experience {
    width: min(1280px, calc(100% - clamp(18px, 4vw, 72px)));
    margin: var(--header) auto 0;
    grid-template-columns: minmax(390px, 0.96fr) minmax(390px, 1.04fr);
    justify-content: center;
  }

  .shorts-page .shorts-hero {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .shorts-page .library-main {
    padding-inline: clamp(24px, 3vw, 42px);
  }

  .shorts-page .library-main > .shell {
    max-width: 660px;
    margin-inline: auto;
  }

  .shorts-page .portrait-player {
    max-width: min(390px, calc(100% - 54px));
  }

  .shorts-watch-page .watch-shell {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
    padding-right: 0;
    grid-template-columns: minmax(280px, min(42vw, calc((100svh - var(--header)) * 9 / 16))) minmax(320px, 1fr);
    justify-content: center;
  }

  .shorts-watch-page .watch-frame {
    border-radius: 30px;
  }
}

@media (max-width: 640px) {
  .watch-episodes-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Final Shorts stage alignment: center the vertical player and title list as one balanced layout. */
@media (min-width: 901px) {
  .shorts-page .shorts-experience {
    display: grid !important;
    width: min(1180px, calc(100vw - 48px)) !important;
    height: calc(100svh - var(--header));
    margin: var(--header) auto 0 !important;
    grid-template-columns: minmax(360px, 520px) minmax(360px, 520px) !important;
    gap: clamp(28px, 4vw, 58px) !important;
    align-items: stretch;
    justify-content: center !important;
    overflow: hidden;
    background:
      radial-gradient(circle at 22% 18%, rgba(var(--accent-rgb), 0.2), transparent 22rem),
      radial-gradient(circle at 82% 14%, rgba(var(--purple-rgb), 0.16), transparent 24rem),
      #050607;
  }

  .shorts-page .shorts-hero {
    position: relative;
    display: grid !important;
    min-width: 0;
    height: 100%;
    padding: clamp(24px, 3vw, 42px) !important;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  }

  .shorts-page .shorts-hero::before {
    background: linear-gradient(180deg, rgba(5, 6, 7, 0.02), rgba(5, 6, 7, 0.56));
  }

  .shorts-page .portrait-player {
    position: relative !important;
    inset: auto !important;
    width: min(360px, calc((100svh - var(--header) - 96px) * 9 / 16), 88%) !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100svh - var(--header) - 96px);
    margin: 0 auto !important;
    align-self: center !important;
    justify-self: center !important;
    aspect-ratio: 9 / 16;
    transform: none !important;
  }

  .shorts-page .portrait-player .feature-media video,
  .shorts-page .portrait-player .feature-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .shorts-page .shorts-hero .hero-copy.shell {
    position: absolute !important;
    z-index: 4;
    right: clamp(20px, 3vw, 36px) !important;
    bottom: clamp(20px, 3vw, 36px) !important;
    left: clamp(20px, 3vw, 36px) !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.86);
  }

  .shorts-page .shorts-hero .hero-copy h1 {
    max-width: 420px;
    font-size: clamp(42px, 4.8vw, 66px);
  }

  .shorts-page .shorts-hero .feature-controls,
  .shorts-page .shorts-hero .hero-slide-controls {
    right: clamp(22px, 3vw, 38px) !important;
    bottom: clamp(22px, 3vw, 38px) !important;
    left: auto !important;
    transform: none !important;
  }

  .shorts-page .shorts-hero .hero-slide-controls {
    top: auto !important;
  }

  .shorts-page .library-main {
    height: 100%;
    padding: clamp(24px, 3vw, 42px) !important;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    background: rgba(5, 6, 7, 0.74);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  }

  .shorts-page .library-main > .shell {
    width: 100%;
    max-width: 520px !important;
    margin: 0 auto !important;
  }

  .shorts-page .catalog-top {
    grid-template-columns: 1fr !important;
  }

  .shorts-page .card-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .shorts-page .shorts-hero {
    place-items: center;
  }

  .shorts-page .portrait-player {
    width: min(82vw, 370px) !important;
    margin-inline: auto !important;
  }

  .shorts-page .shorts-hero .hero-copy.shell {
    text-align: center;
  }

  .shorts-page .shorts-hero .hero-actions {
    justify-content: center;
  }
}
@media (min-width: 901px) {
  .shorts-page .shorts-hero .feature-controls {
    right: clamp(22px, 3vw, 38px) !important;
    bottom: clamp(22px, 3vw, 38px) !important;
    left: auto !important;
    transform: none !important;
  }

  .shorts-page .shorts-hero .hero-slide-controls {
    right: auto !important;
    bottom: clamp(22px, 3vw, 38px) !important;
    left: clamp(22px, 3vw, 38px) !important;
    top: auto !important;
    transform: none !important;
  }
}
/* Let uploaded title names wrap fully instead of being clipped by poster-card sizing. */
.title-card {
  min-height: 151px;
  height: auto;
}

.title-card strong,
.title-card small {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  hyphens: auto;
}

.title-card strong {
  line-height: 1.08;
}

.title-card small {
  line-height: 1.35;
}

@media (min-width: 901px) {
  .shorts-page .title-card {
    min-height: clamp(280px, 36vw, 430px);
    height: auto !important;
    aspect-ratio: auto !important;
  }

  .shorts-page .title-card strong {
    font-size: clamp(16px, 1.45vw, 21px);
  }
}

@media (max-width: 900px) {
  .shorts-page .title-card {
    min-height: clamp(250px, 70vw, 430px);
    height: auto !important;
    aspect-ratio: auto !important;
  }
}

@media (max-width: 520px) {
  .shorts-page .card-rail {
    grid-template-columns: 1fr !important;
  }

  .shorts-page .title-card {
    min-height: 310px;
  }
}
/* Full watch titles: never ellipsize the title or episode name on playback pages. */
.watch-copy h1,
.watch-copy .watch-episode-name {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.watch-copy h1 {
  line-height: 1;
}

.watch-episode strong,
.episode-row strong,
.title-card strong,
.title-card small {
  overflow: visible;
  text-overflow: clip;
}


/* Title sequence interstitial controls. */
.watch-frame {
  position: relative;
}

.skip-title-sequence {
  position: absolute;
  z-index: 5;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(var(--green-rgb), 0.52);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 6, 7, 0.76);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.skip-title-sequence[hidden] {
  display: none;
}

.skip-title-sequence:disabled {
  cursor: wait;
  opacity: 0.68;
}

.skip-title-sequence:not(:disabled):hover,
.skip-title-sequence:not(:disabled):focus-visible {
  border-color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.26);
}
/* Playback auto-play uses a switch on the Watch page, not the preview modal. */
.watch-episodes .autoplay-toggle {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(var(--green-rgb), 0.34);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  user-select: none;
}

.watch-episodes .autoplay-copy {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-episodes .autoplay-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.watch-episodes .toggle-track {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.watch-episodes .toggle-track::before {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 20px;
  height: 20px;
  content: "";
  border-radius: 50%;
  background: #d8d4cc;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
  transform: translateY(-50%);
  transition: transform 160ms ease, background 160ms ease;
}

.watch-episodes .autoplay-toggle input:checked + .toggle-track {
  border-color: rgba(var(--green-rgb), 0.74);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.78), rgba(var(--green-rgb), 0.45));
  box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.22);
}

.watch-episodes .autoplay-toggle input:checked + .toggle-track::before {
  background: #f8fff5;
  transform: translate(22px, -50%);
}

.watch-episodes .autoplay-toggle input:focus-visible + .toggle-track {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
/* Full-bleed hero players and inventory-backed hero slots. */
.library-page:not(.shorts-page) .library-hero {
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.library-page:not(.shorts-page) .library-hero:not(.is-docked) .feature-media {
  right: auto;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
}

.library-page:not(.shorts-page) .library-hero.is-docked .feature-media {
  transform: none;
}

.feature-media video,
.feature-media iframe,
.preview-video video,
.preview-video iframe,
.watch-frame video,
.watch-frame iframe {
  display: block;
  max-width: none;
}

.library-page:not(.shorts-page) .feature-media video,
.library-page:not(.shorts-page) .feature-media iframe {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* Provider iframes size from the current hero window, including docked and portrait layouts. */
.feature-media iframe[data-feature-embed] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none;
  border: 0;
  aspect-ratio: auto;
}

.hero-slot-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.page-hero-note {
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-hero-editor select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  color: var(--text);
  background: #10131a;
}

.hero-visible-toggle {
  margin: 0;
  padding: 7px 10px;
  white-space: nowrap;
}

.home-hero {
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.home-video,
.home-hero iframe {
  display: block;
  min-width: 100%;
  max-width: none;
}

.home-hero iframe[data-home-embed] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none;
  border: 0;
  aspect-ratio: auto;
}

/* Hero slideshow dots now sit below the hero action buttons. */
.hero-copy .hero-slide-controls {
  position: static;
  right: auto;
  bottom: auto;
  display: flex;
  width: fit-content;
  margin-top: 18px;
  flex-direction: row;
  transform: none;
}

.shorts-hero .hero-copy .hero-slide-controls,
.shorts-page .shorts-hero .hero-copy .hero-slide-controls {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex;
  width: fit-content;
  margin: 16px auto 0;
  flex-direction: row !important;
  transform: none !important;
}

.shorts-hero .hero-copy .hero-slide-controls button,
.shorts-page .shorts-hero .hero-copy .hero-slide-controls button {
  width: 34px !important;
  height: 7px !important;
}

.shorts-hero .hero-copy .hero-slide-controls button.active,
.shorts-page .shorts-hero .hero-copy .hero-slide-controls button.active {
  width: 50px !important;
  height: 7px !important;
}

.hero-copy .hero-slide-controls[hidden],
.shorts-hero .hero-copy .hero-slide-controls[hidden],
.shorts-page .shorts-hero .hero-copy .hero-slide-controls[hidden] {
  display: none !important;
}

/* Phone layout: keep desktop composition intact while making hero content easier to scan. */
@media (max-width: 700px) {
  body.library-page,
  body.home-page {
    --header: 126px;
  }

  .library-page .stream-nav,
  .home-page .stream-nav {
    display: grid;
    min-height: var(--header);
    padding-block: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 52px 54px;
    gap: 4px 12px;
  }

  .library-page .stream-nav .brand,
  .home-page .stream-nav .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    font-size: 19px;
  }

  .library-page .stream-nav .brand::before,
  .home-page .stream-nav .brand::before {
    width: 25px;
    height: 25px;
    margin-right: 7px;
  }

  .library-page .stream-nav .sign-in-link,
  .home-page .stream-nav .sign-in-link {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    padding-inline: 15px;
  }

  .library-page .stream-nav .content-tabs,
  .home-page .stream-nav .content-tabs {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px;
    grid-column: 1 / -1;
    grid-row: 2;
    border-radius: 14px;
  }

  .library-page .stream-nav .content-tabs a,
  .home-page .stream-nav .content-tabs a {
    min-height: 42px;
    padding: 12px 15px;
  }

  .library-page:not(.shorts-page) main {
    grid-template-rows: clamp(390px, 58svh, 520px) minmax(0, 1fr);
  }

  .library-page:not(.shorts-page) .library-hero {
    position: relative;
    display: flex;
    min-height: 390px;
    align-items: flex-end;
  }

  .library-page:not(.shorts-page) .library-hero:not(.is-docked) .feature-media {
    inset: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .library-page:not(.shorts-page) .feature-media video,
  .library-page:not(.shorts-page) .feature-media iframe {
    object-position: center;
  }

  .library-page:not(.shorts-page) .hero-copy {
    position: relative;
    z-index: 4;
    width: min(100% - 30px, 1240px);
    padding: 20px 0 22px;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.92);
  }

  .library-page:not(.shorts-page) .hero-copy h1 {
    max-width: calc(100vw - 48px);
    font-size: clamp(36px, 11vw, 52px);
    line-height: 0.94;
  }

  .library-page:not(.shorts-page) .feature-controls {
    top: 16px;
    right: 15px;
    bottom: auto;
    left: auto;
    flex-direction: row;
  }

  .library-page:not(.shorts-page) .library-main {
    padding-top: 24px;
  }

  .shorts-page .shorts-hero {
    display: flex !important;
    min-height: 0 !important;
    padding: 18px 14px 30px !important;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }

  .shorts-page .portrait-player {
    position: relative !important;
    inset: auto !important;
    order: 1;
    width: min(82vw, 370px) !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto !important;
    aspect-ratio: 9 / 16;
    transform: none !important;
  }

  .shorts-page .shorts-hero .hero-copy.shell {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    order: 2;
    width: min(82vw, 370px) !important;
    margin: 18px auto 0 !important;
    padding: 0 !important;
    text-align: left !important;
    transform: none !important;
  }

  .shorts-page .shorts-hero .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(36px, 12vw, 52px);
    line-height: 0.95;
  }

  .shorts-page .shorts-hero .hero-actions {
    justify-content: flex-start;
  }

  .shorts-page .shorts-hero .feature-controls {
    top: 30px;
    right: max(22px, calc(50% - 173px));
    bottom: auto;
    left: auto;
    flex-direction: row;
    transform: none;
  }

  .shorts-page .shorts-hero .hero-copy .hero-slide-controls {
    margin: 14px 0 0;
  }

  .home-page .home-hero {
    height: calc(100svh - var(--header));
    min-height: 520px;
  }

  .home-page .home-copy {
    padding-bottom: 36px;
  }
}

/* Persistent capture watermark for protected Sarealtv playback surfaces. */
.feature-media::before,
.preview-video::before,
.watch-frame::before,
.home-hero::before,
.public-hero::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(96px, 18vw, 240px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  user-select: none;
  background-image: var(--sarealtv-watermark-image, url("../images/sarealtv-logo.png"));
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.48));
  opacity: 0.24;
  transform: translate(-50%, -50%);
}

.home-copy,
.public-hero-copy,
.preview-video .preview-label {
  z-index: 3;
}

.feature-media::after,
.preview-video::after {
  z-index: 1;
  pointer-events: none;
}

.shorts-page .feature-media::before,
.shorts-watch-page .watch-frame::before {
  width: min(42%, 160px);
}

.watch-frame:fullscreen::before {
  width: min(24vw, 260px);
  opacity: 0.26;
}

@media (max-width: 700px) {
  .feature-media::before,
  .preview-video::before,
  .watch-frame::before,
  .home-hero::before,
  .public-hero::before {
    width: clamp(84px, 26vw, 150px);
    opacity: 0.26;
  }

  .shorts-page .feature-media::before,
  .shorts-watch-page .watch-frame::before {
    width: min(40%, 132px);
  }
}

/* Admin-controlled visibility and preview for the playback watermark. */
html.sarealtv-watermark-hidden .feature-media::before,
html.sarealtv-watermark-hidden .preview-video::before,
html.sarealtv-watermark-hidden .watch-frame::before,
html.sarealtv-watermark-hidden .home-hero::before,
html.sarealtv-watermark-hidden .public-hero::before {
  display: none;
}

.watermark-admin-preview {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: radial-gradient(circle at 75% 45%, rgba(var(--accent-rgb), 0.18), transparent 36%), #0a0c0f;
}

.watermark-admin-preview div {
  display: grid;
  gap: 6px;
}

.watermark-admin-preview span {
  color: var(--muted);
  font-size: 13px;
}

.watermark-admin-preview img {
  width: min(34%, 150px);
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.48));
  opacity: 0.72;
}

.watermark-admin-preview.is-hidden img {
  opacity: 0.18;
}

@media (max-width: 620px) {
  .watermark-admin-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .watermark-admin-preview img {
    width: min(46%, 132px);
    align-self: center;
  }
}

/* Sarealtv payments, memberships, and entitlement UI. */
.membership-callout {
  align-items: center;
  background: linear-gradient(135deg, rgba(75, 51, 122, .42), rgba(57, 123, 42, .2));
  border: 1px solid rgba(168, 145, 224, .28);
  border-radius: 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-block: 44px;
  padding: clamp(24px, 4vw, 48px);
}

.membership-callout h2,
.watch-paywall h2 {
  margin: 6px 0 10px;
}

.membership-callout p {
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}

.membership-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
}

.membership-actions > strong {
  color: #d8caef;
  font-size: 1.15rem;
}

.donation-button {
  margin-top: 18px;
}

.donation-button[aria-disabled="true"] {
  opacity: .62;
}

.watch-paywall {
  background: linear-gradient(145deg, rgba(21, 18, 31, .98), rgba(9, 12, 10, .98));
  border: 1px solid rgba(168, 145, 224, .32);
  border-radius: 22px;
  margin-top: 22px;
  padding: clamp(22px, 4vw, 38px);
}

.watch-paywall[hidden],
.free-viewer-ad[hidden] {
  display: none;
}

.watch-paywall > p:not(.content-badge):not(.inline-status) {
  color: var(--muted);
  max-width: 720px;
}

.watch-paywall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.free-viewer-ad {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 12px 16px;
}

.free-viewer-ad span {
  color: #d8caef;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.free-viewer-ad p {
  color: var(--muted);
  font-size: .82rem;
  margin: 0;
}

.watch-payment-required .watch-frame {
  display: none;
}

.payment-settings-form {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.payment-settings-form small {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.payment-config-state {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px;
}

.payment-config-state span,
.payment-state {
  border-radius: 999px;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.payment-config-state .ready,
.payment-state.paid,
.payment-state.active,
.payment-state.trialing {
  background: rgba(83, 172, 69, .16);
  color: #a9e69e;
}

.payment-config-state .missing,
.payment-state.pending,
.payment-state.past_due,
.payment-state.refunded,
.payment-state.canceled {
  background: rgba(203, 89, 89, .14);
  color: #f0aaaa;
}

.payment-records,
.payment-members {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.payment-records h3,
.payment-members h3 {
  margin: 0 0 6px;
}

.payment-record,
.payment-member {
  align-items: center;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 14px 16px;
}

.payment-record div,
.payment-member div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-record span,
.payment-record small,
.payment-member span {
  color: var(--muted);
  font-size: .78rem;
}

.payment-record .payment-state,
.payment-member .payment-state {
  color: inherit;
}

@media (max-width: 720px) {
  .membership-callout {
    grid-template-columns: 1fr;
  }

  .membership-actions {
    align-items: stretch;
    min-width: 0;
  }

  .membership-actions > strong {
    text-align: left;
  }

  .watch-paywall-actions,
  .watch-paywall-actions .cta {
    width: 100%;
  }

  .free-viewer-ad {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-record,
  .payment-member {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }
}
.membership-account-card .membership-actions {
  align-items: stretch;
  min-width: 0;
  width: 100%;
}

.membership-account-card .membership-actions .cta {
  justify-content: center;
  width: 100%;
}

.membership-state[data-state="canceling"] {
  border-color: rgba(var(--purple-rgb), 0.68);
  color: var(--purple-bright);
}

.membership-payment-form[hidden],
.membership-cancel-confirm[hidden],
.membership-manager-actions [hidden] {
  display: none;
}

.membership-dialog {
  width: min(920px, calc(100vw - 30px));
}

.membership-dashboard {
  display: grid;
  gap: 22px;
}

.membership-dashboard-heading {
  align-items: flex-start;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding-right: 72px;
}

.membership-dashboard-heading h2 {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.045em;
  margin-bottom: 7px;
}

.membership-dashboard-heading > div > p:last-child,
.membership-subheading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.membership-summary-grid {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.membership-summary-grid article {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  min-height: 105px;
  padding: 16px;
}

.membership-summary-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-summary-grid strong {
  align-self: end;
  font-size: 14px;
  line-height: 1.35;
}

.membership-manager-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.membership-manager-status.error {
  color: #ffb7ae;
}

.membership-manager-actions,
.membership-cancel-confirm > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.membership-manager-actions .cta {
  justify-content: center;
}

.membership-cancel-button {
  background: rgba(var(--danger-rgb), 0.12);
  border: 1px solid rgba(var(--danger-rgb), 0.45);
  color: #ffd8d3;
}

.membership-cancel-confirm {
  background: rgba(var(--danger-rgb), 0.08);
  border: 1px solid rgba(var(--danger-rgb), 0.3);
  border-radius: 14px;
  padding: 18px;
}

.membership-cancel-confirm h3,
.membership-payment-form h3,
.membership-invoices h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.membership-cancel-confirm p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 2px;
}

.membership-payment-form,
.membership-invoices {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 16px;
  padding: clamp(17px, 3vw, 24px);
}

.membership-subheading {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.membership-subheading button {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 5px;
}

.membership-payment-element {
  min-height: 150px;
}

.membership-payment-form > .cta {
  justify-content: center;
  width: 100%;
}

.membership-invoice-list {
  display: grid;
  gap: 8px;
}

.membership-invoice-list article {
  align-items: center;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 13px 14px;
}

.membership-invoice-list article > div {
  display: grid;
  gap: 3px;
}

.membership-invoice-list span {
  color: var(--muted);
  font-size: 11px;
}

.membership-invoice-status {
  border: 1px solid rgba(var(--green-rgb), 0.3);
  border-radius: 999px;
  color: var(--accent-bright) !important;
  font-weight: 800;
  padding: 5px 8px;
  text-transform: capitalize;
}

@media (max-width: 760px) {
  .membership-dashboard-heading {
    display: grid;
    padding-right: 60px;
  }

  .membership-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-manager-actions .cta,
  .membership-cancel-confirm > div > * {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .membership-summary-grid {
    grid-template-columns: 1fr;
  }

  .membership-summary-grid article {
    min-height: 86px;
  }

  .membership-invoice-list article {
    align-items: start;
    grid-template-columns: 1fr auto;
  }

  .membership-invoice-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

body.payment-modal-open {
  overflow: hidden;
}

.payment-modal[hidden] {
  display: none;
}

.payment-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(14px, 3vw, 36px);
  position: fixed;
  z-index: 4000;
}

.payment-modal-backdrop {
  background: rgba(2, 3, 3, .84);
  backdrop-filter: blur(12px);
  inset: 0;
  position: absolute;
}

.payment-modal-panel {
  background: linear-gradient(155deg, #17131f, #090b09);
  border: 1px solid rgba(168, 145, 224, .34);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62);
  max-height: calc(100vh - 28px);
  max-width: 760px;
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
  position: relative;
  width: 100%;
  z-index: 1;
}

.payment-modal-header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.payment-modal-header h2 {
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  margin: 7px 0 8px;
}

.payment-modal-header p,
.payment-modal-status {
  color: var(--muted);
  margin: 0;
}

.payment-modal-close {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 13px;
}

.payment-modal-status {
  font-size: .84rem;
  margin-bottom: 12px;
}

.payment-modal-status.error {
  color: #f0aaaa;
}

.payment-modal-checkout {
  min-height: 360px;
  width: 100%;
}

.payment-modal-checkout iframe {
  max-width: 100%;
}

.payment-record-actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

@media (max-width: 620px) {
  .payment-modal {
    align-items: flex-end;
    padding: 0;
  }

  .payment-modal-panel {
    border-radius: 24px 24px 0 0;
    max-height: 94vh;
    padding: 20px 16px 24px;
  }

  .payment-modal-header {
    gap: 12px;
  }
}
/* Admin artist artwork and signed-in Home curation. */
.home-curation {
  position: relative;
  margin-bottom: clamp(56px, 8vw, 96px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-curation[hidden] {
  display: none;
}

.home-curation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 24px clamp(35px, 6vw, 78px);
  align-items: end;
  margin-bottom: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(var(--green-rgb), 0.25);
}

.home-curation-heading h2 {
  max-width: 720px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.058em;
}

.home-curation-heading-side {
  display: grid;
  gap: 18px;
}

.home-curation-heading-side > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-curation-navigation {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.home-curation-navigation > span {
  color: #d7d2ca;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-curation-controls {
  display: flex;
  gap: 8px;
}

.home-curation-controls button {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(13, 15, 18, 0.9);
  cursor: pointer;
  font-size: 19px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.home-curation-controls button:hover:not(:disabled),
.home-curation-controls button:focus-visible {
  border-color: rgba(var(--green-rgb), 0.72);
  background: rgba(var(--accent-rgb), 0.26);
  transform: translateY(-2px);
}

.home-curation-controls button:disabled {
  cursor: default;
  opacity: 0.3;
}

.home-curation-rail {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.home-curation-rail::-webkit-scrollbar {
  display: none;
}

.home-curation-rail:focus-visible {
  border-radius: 15px;
  outline-offset: 5px;
}

.home-curation-grid {
  display: grid;
  width: max-content;
  grid-auto-columns: clamp(270px, 28vw, 355px);
  grid-auto-flow: column;
  gap: 16px;
}

.home-curation-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 218px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  appearance: none;
  color: var(--text);
  background: #0a0c0f;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform: translateZ(0);
  transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease;
}

.home-curation-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, rgba(4, 5, 7, 0.98), rgba(4, 5, 7, 0.28) 70%),
    linear-gradient(to right, rgba(4, 5, 7, 0.42), transparent 62%);
}

.home-curation-card:hover,
.home-curation-card:focus-visible {
  z-index: 2;
  border-color: rgba(var(--green-rgb), 0.65);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--accent-rgb), 0.18);
  transform: translateY(-4px);
}

.home-curation-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 72% 24%, rgba(var(--purple-rgb), 0.78), transparent 27%),
    radial-gradient(circle at 18% 80%, rgba(var(--accent-rgb), 0.48), transparent 30%),
    #11131a;
  font-size: 68px;
  font-weight: 900;
}

.home-curation-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 250ms ease;
}

.home-curation-card:hover .home-curation-art img,
.home-curation-card:focus-visible .home-curation-art img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.home-curation-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 218px;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.home-curation-type {
  width: fit-content;
  margin-bottom: auto;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #f5f2ec;
  background: rgba(5, 6, 8, 0.66);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-curation-copy strong {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.home-curation-copy small {
  display: block;
  width: 100%;
  color: #c6c0b8;
  font-size: 11px;
  line-height: 1.45;
}

.home-curation-card-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 13px;
  color: #f5f2ec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.76;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.home-curation-card-action i {
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--accent-bright);
}

.home-curation-card:hover .home-curation-card-action,
.home-curation-card:focus-visible .home-curation-card-action {
  color: var(--accent-bright);
  opacity: 1;
  transform: translateX(3px);
}
.home-content-slots {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
}

.home-content-slots h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.home-content-slots > p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-content-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-content-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.home-content-inventory-summary {
  margin-bottom: 16px !important;
  padding: 11px 13px;
  border: 1px solid rgba(var(--green-rgb), 0.24);
  border-radius: 10px;
  color: #d9e8d4 !important;
  background: rgba(var(--accent-rgb), 0.08);
}

.home-content-slot-grid > .field {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0d0f15;
}

.home-content-slot-grid select {
  margin-top: 4px;
}

.home-inventory-browser {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.home-inventory-browser-heading {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 15px;
}

.home-inventory-browser-heading h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.home-inventory-browser-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-inventory-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
  gap: 12px;
}

.home-inventory-picker-status {
  min-height: 20px;
  margin: 14px 0 10px;
  color: #d9e8d4;
  font-size: 12px;
  line-height: 1.45;
}

.home-inventory-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.home-inventory-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: #0d0f15;
}

.home-inventory-art {
  display: grid;
  width: 86px;
  min-height: 118px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  color: var(--text);
  background: radial-gradient(circle at 70% 23%, rgba(var(--purple-rgb), 0.58), transparent 27%), linear-gradient(145deg, rgba(var(--accent-rgb), 0.3), #11131a);
  font-size: 24px;
  font-weight: 900;
}

.home-inventory-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-inventory-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.home-inventory-copy > span {
  margin-bottom: 5px;
  color: var(--accent-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-inventory-copy h5 {
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.18;
}

.home-inventory-copy small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.home-inventory-copy .small-action {
  width: 100%;
  margin-top: auto;
  padding: 7px 8px;
  font-size: 10px;
}

.home-inventory-copy .small-action:disabled {
  cursor: default;
  opacity: 0.48;
}

.home-content-slot-grid select.is-new-selection {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16);
}

@media (max-width: 1100px) {
  .home-inventory-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-inventory-controls,
  .home-inventory-picker {
    grid-template-columns: 1fr;
  }
}
.home-discovery-admin {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(var(--purple-rgb), 0.055);
}

.home-discovery-admin > h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.home-discovery-admin > p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.home-discovery-admin-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.home-discovery-admin-slot {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: #0d0f15;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.home-discovery-admin-slot.is-hidden {
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.58;
}

.home-discovery-slot-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.home-discovery-admin-slot textarea {
  min-height: 88px;
}

.artist-media-editor {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.artist-media-editor-head,
.artist-media-row-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.artist-media-editor-head h3,
.artist-media-editor-head strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.artist-media-editor-head p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.artist-media-editor-rows,
.artist-media-editor [data-artist-media-rows] {
  display: grid;
  gap: 12px;
}

.artist-media-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: #0d0f15;
}

.artist-media-row-head {
  grid-column: 1 / -1;
}

.artist-media-row-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.artist-media-artwork-preview {
  width: 118px;
  height: 152px;
  align-self: end;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #07080c;
}

.artist-media-artwork-preview[hidden] {
  display: none;
}

.artist-media-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
}

.artist-media-card.has-artwork::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(5, 6, 8, 0.94), rgba(5, 6, 8, 0.18) 72%);
}

.artist-media-artwork {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-media-card > *:not(.artist-media-artwork) {
  position: relative;
  z-index: 2;
}

.artist-media-card.has-artwork p {
  color: #d6d2cb;
}

@media (max-width: 900px) {
  .home-curation-heading {
    grid-template-columns: 1fr;
  }

  .home-curation-heading-side {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .home-curation-grid {
    grid-auto-columns: min(72vw, 340px);
  }
}

@media (max-width: 700px) {
  .home-content-slot-grid,
  .home-discovery-admin-slots,
  .artist-media-row-fields {
    grid-template-columns: 1fr;
  }

  .artist-media-editor-row {
    grid-template-columns: 1fr;
  }

  .artist-media-artwork-preview {
    width: min(160px, 100%);
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 520px) {
  .home-curation-heading-side {
    grid-template-columns: 1fr;
  }

  .home-curation-navigation {
    align-items: flex-end;
  }

  .home-curation-grid {
    grid-auto-columns: min(84vw, 330px);
    gap: 12px;
  }

  .home-curation-controls button {
    width: 40px;
    height: 40px;
  }

  .home-curation-copy strong {
    font-size: 23px;
  }

  .artist-media-editor-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (hover: none) {
  .home-curation-card-action {
    opacity: 1;
  }
}
/* Sarealtv Live Phase 1 */
.live-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.live-main {
  flex: 1 0 auto;
  padding: calc(var(--header) + clamp(36px, 6vw, 76px)) 0 clamp(64px, 8vw, 108px);
}

.live-intro {
  margin-bottom: clamp(28px, 5vw, 52px);
}

.live-intro-copy {
  width: min(880px, 100%);
}

.live-status-line {
  display: inline-flex;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 22px;
  padding: 8px 13px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #85878b;
  box-shadow: 0 0 0 5px rgba(133, 135, 139, 0.12);
}

body[data-broadcast-state="live"] .live-status-line {
  border-color: rgba(var(--green-rgb), 0.45);
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.12);
}

body[data-broadcast-state="live"] .live-status-dot {
  background: var(--accent-bright);
  box-shadow: 0 0 0 6px rgba(var(--green-rgb), 0.13);
  animation: live-status-pulse 1.8s ease-out infinite;
}

.live-intro h1 {
  max-width: 950px;
  margin: 9px 0 17px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-transform: uppercase;
}

.live-intro-copy > p:not(.section-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.live-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.live-event-meta span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 700;
}

.live-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(300px, 0.72fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.live-stage-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.live-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(var(--green-rgb), 0.25);
  border-radius: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(circle at 24% 20%, rgba(var(--accent-rgb), 0.23), transparent 32%),
    radial-gradient(circle at 78% 74%, rgba(var(--purple-rgb), 0.28), transparent 34%),
    #080a09;
  box-shadow: var(--shadow);
}

.live-stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.06), rgba(5, 6, 7, 0.62));
}

.live-stage-poster,
.live-stage-video,
.live-stage-embed {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-stage-poster {
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.8) brightness(0.72);
}

.live-stage-video {
  object-fit: contain;
  background: #000;
}

.live-stage-video:not([hidden]),
.live-stage-embed:not([hidden]) {
  z-index: 4;
}

.live-stage-video[hidden],
.live-stage-embed[hidden],
.live-stage-message[hidden] {
  display: none;
}

.live-stage-message {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 5vw, 55px);
  bottom: clamp(22px, 5vw, 52px);
  left: clamp(22px, 5vw, 55px);
  display: grid;
  max-width: 620px;
  gap: 9px;
}

.live-stage-message strong {
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.live-stage-message p {
  max-width: 560px;
  color: #d2ced8;
  font-size: 14px;
  line-height: 1.55;
}

.live-stage-mark {
  width: 42px;
  height: 5px;
  margin-bottom: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-bright), var(--purple-bright));
}

.live-stage.is-locked {
  border-color: rgba(var(--purple-rgb), 0.42);
}

.live-access-card,
.live-social-card,
.live-conversation {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.055), rgba(var(--purple-rgb), 0.045)), var(--panel);
}

.live-access-card [hidden] {
  display: none;
}

.live-access-card {
  display: flex;
  gap: 22px;
  padding: clamp(20px, 3vw, 28px);
  align-items: center;
  justify-content: space-between;
}

.live-access-card > div {
  display: grid;
  gap: 7px;
}

.live-access-card strong {
  font-size: 18px;
}

.live-access-card p:not(.section-kicker),
.live-social-card p:not(.section-kicker),
.live-chat-state p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.live-social-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: clamp(20px, 3vw, 28px);
  align-items: center;
}

.live-social-card[hidden] {
  display: none;
}

.live-social-card h2 {
  margin: 5px 0 7px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.live-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.live-social-link {
  min-height: 46px;
  display: inline-flex;
  padding: 10px 17px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.live-social-link:hover,
.live-social-link:focus-visible {
  transform: translateY(-2px);
}

.live-social-link.is-youtube:hover,
.live-social-link.is-youtube:focus-visible {
  border-color: #ff5555;
  background: rgba(255, 0, 0, 0.15);
}

.live-social-link.is-twitch:hover,
.live-social-link.is-twitch:focus-visible {
  border-color: #a970ff;
  background: rgba(145, 70, 255, 0.17);
}

.live-conversation {
  position: sticky;
  top: calc(var(--header) + 22px);
  min-height: 560px;
  padding: clamp(20px, 3vw, 28px);
}

.live-conversation-head {
  display: flex;
  gap: 15px;
  align-items: start;
  justify-content: space-between;
}

.live-conversation h2 {
  margin-top: 5px;
  font-size: 29px;
  letter-spacing: -0.045em;
}

.live-phase-badge {
  padding: 7px 10px;
  border: 1px solid rgba(var(--purple-rgb), 0.55);
  border-radius: 999px;
  color: #c8b9f4;
  background: rgba(var(--purple-rgb), 0.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
}

.live-chat-preview {
  display: grid;
  gap: 13px;
  margin: 35px 0 28px;
}

.live-chat-preview span {
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 15px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.025) 20%, rgba(255, 255, 255, 0.075) 46%, rgba(255, 255, 255, 0.025) 72%);
  background-size: 220% 100%;
  animation: live-chat-shimmer 2.4s linear infinite;
}

.live-chat-preview span:nth-child(2) {
  width: 88%;
  margin-left: auto;
  animation-delay: 180ms;
}

.live-chat-preview span:nth-child(3) {
  width: 94%;
  animation-delay: 340ms;
}

.live-chat-state {
  padding: 18px;
  border: 1px solid rgba(var(--green-rgb), 0.2);
  border-radius: 15px;
  background: rgba(var(--accent-rgb), 0.065);
}

.live-chat-state strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.live-chat-roadmap {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.live-chat-roadmap p {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.live-chat-roadmap span {
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.live-page-status {
  min-height: 22px;
  margin-top: 18px;
}

.live-admin-card .inventory-heading {
  margin-bottom: 25px;
}

.live-admin-card .inventory-heading .admin-card-intro {
  max-width: 760px;
}

.live-admin-readiness {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 3px;
}

.live-admin-readiness article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.live-admin-readiness article.is-ready {
  border-color: rgba(var(--green-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.09);
}

.live-admin-readiness span {
  color: var(--accent-bright);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.live-admin-readiness strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 15px;
}

.live-admin-readiness p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.field.is-required > input {
  border-color: rgba(var(--green-rgb), 0.52);
}

@keyframes live-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--green-rgb), 0.35); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(var(--green-rgb), 0); }
}

@keyframes live-chat-shimmer {
  to { background-position: -220% 0; }
}

@media (max-width: 980px) {
  .live-experience {
    grid-template-columns: 1fr;
  }

  .live-conversation {
    position: static;
    min-height: 0;
  }

  .live-chat-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .live-chat-preview span,
  .live-chat-preview span:nth-child(2),
  .live-chat-preview span:nth-child(3) {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .live-main {
    padding-top: calc(var(--header) + 32px);
  }

  .live-intro h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .live-stage {
    min-height: 0;
    border-radius: 17px;
  }

  .live-stage-message {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .live-stage-message p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .live-access-card,
  .live-social-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .live-access-card {
    flex-direction: column;
  }

  .live-access-card .cta {
    width: 100%;
  }

  .live-social-links {
    justify-content: flex-start;
  }

  .live-chat-preview {
    grid-template-columns: 1fr;
  }

  .live-chat-preview span:nth-child(3) {
    display: none;
  }

  .live-admin-readiness {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-broadcast-state="live"] .live-status-dot,
  .live-chat-preview span {
    animation: none;
  }
}
/* Phase 2: memory-only live chat */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.live-conversation {
  display: flex;
  min-height: min(720px, calc(100vh - var(--header) - 44px));
  max-height: min(820px, calc(100vh - var(--header) - 44px));
  flex-direction: column;
}

.live-chat-connection {
  display: inline-flex;
  min-height: 32px;
  padding: 7px 11px;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-chat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83858a;
}

[data-live-chat][data-connection="connected"] .live-chat-connection {
  border-color: rgba(var(--green-rgb), 0.38);
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.11);
}

[data-live-chat][data-connection="connected"] .live-chat-dot {
  background: var(--accent-bright);
  box-shadow: 0 0 0 5px rgba(var(--green-rgb), 0.11);
}

[data-live-chat][data-connection="connecting"] .live-chat-dot {
  background: var(--purple-bright);
  animation: live-status-pulse 1.4s ease-out infinite;
}

[data-live-chat][data-connection="error"] .live-chat-dot {
  background: #ff6969;
}

.live-chat-meta {
  display: flex;
  margin: 16px 0 12px;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.live-chat-meta span:last-child {
  padding: 6px 9px;
  border: 1px solid rgba(var(--green-rgb), 0.24);
  border-radius: 999px;
  color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.07);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-chat-state {
  margin-bottom: 12px;
}

.live-chat-state[hidden] {
  display: none;
}

.live-chat-messages {
  min-height: 250px;
  flex: 1 1 auto;
  overflow: auto;
  padding: 4px 5px 10px 0;
  scrollbar-color: rgba(var(--purple-rgb), 0.55) transparent;
  overscroll-behavior: contain;
}

.live-chat-empty {
  display: grid;
  min-height: 260px;
  padding: 24px;
  place-content: center;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.018);
}

.live-chat-empty[hidden] {
  display: none;
}

.live-chat-empty span {
  width: max-content;
  margin: 0 auto 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0b120d;
  background: var(--accent-bright);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.live-chat-empty strong {
  font-size: 16px;
}

.live-chat-empty p {
  max-width: 250px;
  margin: 7px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.live-chat-message {
  display: grid;
  margin: 0 0 9px;
  padding: 13px 14px 11px;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.028);
}

.live-chat-message.is-own {
  border-color: rgba(var(--green-rgb), 0.23);
  background: rgba(var(--accent-rgb), 0.06);
}

.live-chat-message-head {
  display: flex;
  min-width: 0;
  gap: 7px;
  align-items: center;
}

.live-chat-message-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.live-chat-message-head > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.live-chat-role {
  padding: 3px 6px;
  border-radius: 999px;
  color: #d4c9f6;
  background: rgba(var(--purple-rgb), 0.2);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live-chat-role.is-admin {
  color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.14);
}

.live-chat-message > p {
  overflow-wrap: anywhere;
  color: #e6e3eb;
  font-size: 13px;
  line-height: 1.48;
}

.live-chat-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.live-chat-reaction,
.live-chat-moderation > summary,
.live-chat-moderation button {
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.live-chat-reaction:hover,
.live-chat-reaction:focus-visible,
.live-chat-moderation > summary:hover,
.live-chat-moderation > summary:focus-visible {
  border-color: rgba(var(--green-rgb), 0.35);
  color: var(--text);
}

.live-chat-moderation {
  position: relative;
  margin-left: auto;
}

.live-chat-moderation > summary {
  display: inline-flex;
  align-items: center;
  list-style: none;
}

.live-chat-moderation > summary::-webkit-details-marker {
  display: none;
}

.live-chat-moderation > div {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: calc(100% + 6px);
  display: grid;
  width: 150px;
  padding: 7px;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #111313;
  box-shadow: var(--shadow);
}

.live-chat-moderation button {
  width: 100%;
  border-radius: 9px;
  text-align: left;
}

.live-chat-typing {
  min-height: 19px;
  padding: 3px 2px;
  color: var(--accent-bright);
  font-size: 10px;
}

.live-chat-composer {
  display: grid;
  padding-top: 10px;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.live-chat-composer textarea {
  width: 100%;
  min-height: 58px;
  max-height: 130px;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  font: inherit;
  line-height: 1.4;
}

.live-chat-composer textarea:focus {
  border-color: rgba(var(--green-rgb), 0.48);
  outline: 2px solid rgba(var(--green-rgb), 0.1);
}

.live-chat-composer textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.live-chat-compose-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.live-chat-compose-actions span {
  color: var(--muted);
  font-size: 10px;
}

.live-chat-compose-actions button {
  min-width: 86px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  color: #071008;
  background: var(--accent-bright);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.live-chat-compose-actions button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.live-chat-feedback {
  min-height: 17px;
  color: var(--accent-bright);
  font-size: 10px;
  line-height: 1.4;
}

.live-chat-feedback.error {
  color: #ff8585;
}

.live-chat-privacy {
  margin-top: 6px;
  color: #85828c;
  font-size: 9px;
  line-height: 1.45;
}

.live-chat-report-dialog {
  width: min(92vw, 510px);
  padding: 0;
  border: 1px solid rgba(var(--purple-rgb), 0.42);
  border-radius: 22px;
  color: var(--text);
  background: #111313;
  box-shadow: var(--shadow);
}

.live-chat-report-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.live-chat-report-dialog form {
  display: grid;
  padding: clamp(24px, 5vw, 38px);
  gap: 16px;
}

.live-chat-report-dialog h2 {
  font-size: clamp(24px, 5vw, 36px);
  letter-spacing: -0.045em;
}

.live-chat-report-dialog form > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.live-chat-report-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .live-conversation {
    min-height: 620px;
    max-height: none;
  }

  .live-chat-messages {
    max-height: 480px;
  }
}

@media (max-width: 700px) {
  .live-conversation {
    min-height: 600px;
    padding: 18px;
  }

  .live-chat-message-actions {
    gap: 5px;
  }

  .live-chat-moderation > div {
    right: auto;
    left: 0;
  }

  .live-chat-report-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.live-chat-enable-field {
  margin-top: 8px;
  border-color: rgba(var(--green-rgb), 0.24);
  background: rgba(var(--accent-rgb), 0.055);
}

.live-chat-relay-state {
  display: grid;
  padding: 15px 16px;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.live-chat-relay-state.is-ready {
  border-color: rgba(var(--green-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.075);
}

.live-chat-relay-state span {
  color: var(--purple-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-chat-relay-state.is-ready span {
  color: var(--accent-bright);
}

.live-chat-relay-state strong {
  font-size: 14px;
}

.live-chat-relay-state p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.live-report-admin {
  display: grid;
  margin-top: 30px;
  padding-top: 26px;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.live-report-list {
  display: grid;
  gap: 9px;
}

.live-report-record {
  display: flex;
  padding: 15px;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.live-report-record > div {
  min-width: 0;
}

.live-report-record strong {
  display: block;
  font-size: 13px;
}

.live-report-record p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 10px;
}

.live-report-record code {
  display: block;
  overflow: hidden;
  color: #a5a0ad;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-role-select {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #151717;
  font: inherit;
  font-size: 11px;
}

@media (max-width: 700px) {
  .live-report-record {
    align-items: stretch;
    flex-direction: column;
  }

  .live-report-record .small-action {
    width: 100%;
  }

  .user-role-select {
    width: 100%;
  }
}
/* Phase 3: clearly separated, read-only external chat sources. */
.live-chat-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
}

.live-chat-source {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #d7d4dd;
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-chat-source[hidden] {
  display: none;
}

.live-chat-source small {
  color: var(--muted);
  font-size: 8px;
}

.live-chat-source.is-sarealtv[data-state="connected"] {
  border-color: rgba(var(--green-rgb), 0.32);
}

.live-chat-source.is-youtube {
  border-color: rgba(255, 79, 89, 0.28);
}

.live-chat-source.is-youtube[data-state="connected"] small {
  color: #ff8d94;
}

.live-chat-message[data-source="youtube"] {
  border-color: rgba(255, 79, 89, 0.18);
  background: linear-gradient(135deg, rgba(255, 79, 89, 0.055), rgba(255, 255, 255, 0.02));
}

.live-chat-source-badge {
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-chat-source-badge.is-sarealtv {
  color: var(--accent-bright);
  background: rgba(var(--accent-rgb), 0.13);
}

.live-chat-source-badge.is-youtube {
  color: #ff9ba1;
  background: rgba(255, 79, 89, 0.13);
}

.live-chat-role.is-channel,
.live-chat-role.is-moderator {
  color: #ffb5ba;
  background: rgba(255, 79, 89, 0.12);
}
/* Phase 4: isolated provider replies, moderation, and Twitch. */
.live-provider-settings {
  display: grid;
  margin: 4px 0 0;
  padding: clamp(17px, 3vw, 24px);
  gap: 15px;
  border: 1px solid rgba(var(--purple-rgb), 0.25);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(var(--purple-rgb), 0.07), rgba(255, 255, 255, 0.018));
}

.live-provider-settings legend {
  padding: 0 9px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-provider-id-grid,
.live-provider-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.live-provider-capabilities .check-field,
.live-provider-settings > .check-field:not(.live-chat-enable-field) {
  min-height: 58px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
}

.live-chat-source.is-twitch {
  border-color: rgba(169, 112, 255, 0.36);
}

.live-chat-source.is-twitch[data-state="connected"] small {
  color: #c4a2ff;
}

.live-chat-message[data-source="twitch"] {
  border-color: rgba(169, 112, 255, 0.2);
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.075), rgba(255, 255, 255, 0.02));
}

.live-chat-source-badge.is-twitch {
  color: #d1b8ff;
  background: rgba(145, 70, 255, 0.16);
}

.live-chat-role.is-vip,
.live-chat-role.is-subscriber {
  color: #d6c0ff;
  background: rgba(145, 70, 255, 0.16);
}

.live-chat-provider-reply {
  border-color: rgba(255, 255, 255, 0.13) !important;
  color: #f2eff8 !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.live-chat-provider-reply.is-youtube:hover,
.live-chat-provider-reply.is-youtube:focus-visible {
  border-color: rgba(255, 79, 89, 0.46) !important;
  color: #ffabb0 !important;
}

.live-chat-provider-reply.is-twitch:hover,
.live-chat-provider-reply.is-twitch:focus-visible {
  border-color: rgba(169, 112, 255, 0.52) !important;
  color: #d1b8ff !important;
}

.live-chat-reply-target {
  display: flex;
  min-height: 42px;
  padding: 9px 11px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(var(--purple-rgb), 0.35);
  border-radius: 12px;
  color: #ddd8e8;
  background: rgba(var(--purple-rgb), 0.09);
  font-size: 10px;
  line-height: 1.4;
}

.live-chat-reply-target[hidden] {
  display: none;
}

.live-chat-reply-target b,
.live-chat-reply-target strong {
  color: var(--text);
}

.live-chat-reply-target button {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.live-chat-moderation.is-provider summary {
  border-color: rgba(255, 79, 89, 0.25);
  color: #ffabb0;
}

@media (max-width: 700px) {
  .live-provider-id-grid,
  .live-provider-capabilities {
    grid-template-columns: 1fr;
  }

  .live-chat-reply-target {
    align-items: flex-start;
  }
}
/* Phase 5: approval-gated Meta and TikTok destinations. */
.live-destination-settings {
  display: grid;
  padding: clamp(17px, 3vw, 24px);
  gap: 14px;
  border: 1px solid rgba(var(--green-rgb), 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.055), rgba(255, 255, 255, 0.018));
}

.live-destination-settings legend {
  padding: 0 9px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-destination-settings .admin-card-intro,
.live-phase-five .admin-card-intro {
  margin: 0;
}

.live-destination-grid,
.live-provider-review-grid,
.live-phase-five-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.live-phase-five-grid article {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.live-phase-five-grid article.is-pending {
  border-color: rgba(232, 190, 91, 0.42);
  background: rgba(232, 190, 91, 0.06);
}

.live-phase-five-grid article.is-ready {
  border-color: rgba(var(--green-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.075);
}

.live-phase-five-grid span {
  color: var(--purple-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.live-phase-five-grid article.is-ready span {
  color: var(--accent-bright);
}

.live-phase-five-grid strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 13px;
}

.live-phase-five-grid p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.live-admin-readiness {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.live-admin-readiness article.is-pending {
  border-color: rgba(232, 190, 91, 0.38);
  background: rgba(232, 190, 91, 0.055);
}

.live-admin-readiness article.is-pending span {
  color: #e8be5b;
}

.live-social-link {
  min-width: 154px;
  gap: 9px;
}

.live-social-mark {
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 10px;
  font-weight: 950;
}

.live-social-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-social-link.is-instagram:hover,
.live-social-link.is-instagram:focus-visible {
  border-color: #dc5ea4;
  background: linear-gradient(135deg, rgba(115, 67, 189, 0.19), rgba(225, 48, 108, 0.16), rgba(252, 175, 69, 0.12));
}

.live-social-link.is-facebook:hover,
.live-social-link.is-facebook:focus-visible {
  border-color: #5e9bff;
  background: rgba(24, 119, 242, 0.16);
}

.live-social-link.is-tiktok:hover,
.live-social-link.is-tiktok:focus-visible {
  border-color: #65e8ec;
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.12), rgba(254, 44, 85, 0.13));
}

@media (max-width: 900px) {
  .live-destination-grid,
  .live-provider-review-grid,
  .live-phase-five-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .live-social-links,
  .live-social-link {
    width: 100%;
  }
}
/* 2026-07-29 Control Room workspace and viewport-safe checkout. */
.admin-section-nav {
  position: sticky;
  top: 74px;
  z-index: 80;
  display: flex;
  gap: 8px;
  margin: -12px 0 24px;
  padding: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(8, 10, 9, .9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
}

.admin-section-nav button {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  min-height: 50px;
  padding: 11px 16px 11px 20px;
  white-space: nowrap;
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  text-align: center;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.admin-section-nav button::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  transform: translateY(-50%);
}

.admin-section-nav button.active::before {
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(var(--green-rgb), .55);
}

.admin-section-nav button:hover {
  transform: translateY(-1px);
}

.admin-page button,
.admin-page .small-action {
  -webkit-tap-highlight-color: transparent;
}

.admin-page button:focus-visible,
.admin-page .small-action:focus-visible {
  outline: 3px solid rgba(var(--green-rgb), .32);
  outline-offset: 3px;
}

.live-admin-card {
  overflow: visible;
}

.live-admin-heading {
  align-items: flex-start;
  gap: 22px;
}

.live-open-destination {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.live-control-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.live-status-console {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(var(--green-rgb), .24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 84% 0%, rgba(var(--purple-rgb), .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
}

.live-status-console-top,
.live-side-card-heading,
.live-save-bar,
.live-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.live-control-label,
.live-panel-heading span,
.live-side-card-heading span {
  color: var(--accent);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.live-status-console-top p,
.live-panel-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.live-destination-toggle {
  flex: 0 0 auto;
  min-height: 42px;
  border-color: rgba(var(--green-rgb), .2);
  background: rgba(0, 0, 0, .22);
}

.live-state-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.live-state-buttons button,
.live-admin-tools button {
  border: 1px solid rgba(255, 255, 255, .11);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.live-state-buttons button {
  min-height: 52px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(3, 5, 4, .48);
}

.live-state-buttons button span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #737773;
}

.live-state-buttons button[data-live-state="scheduled"] span { background: #d7a954; }
.live-state-buttons button[data-live-state="live"] span { background: #d85c6b; }
.live-state-buttons button[data-live-state="ended"] span { background: #957bc9; }

.live-state-buttons button.is-active {
  border-color: rgba(var(--green-rgb), .6);
  color: var(--text);
  background: linear-gradient(135deg, rgba(var(--green-rgb), .2), rgba(var(--purple-rgb), .15));
  box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .11), 0 10px 24px rgba(0, 0, 0, .22);
}

.live-status-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.live-admin-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}

.live-admin-tools button {
  min-width: 0;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  white-space: normal;
}

.live-admin-tools button span {
  margin-right: 8px;
  color: rgba(var(--green-rgb), .76);
  font-size: .72rem;
}

.live-admin-tools button.is-active {
  border-color: rgba(var(--green-rgb), .34);
  color: var(--text);
  background: rgba(var(--green-rgb), .12);
}

.live-admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  gap: 18px;
  align-items: start;
}

.live-admin-main,
.live-admin-rail {
  min-width: 0;
}

.live-admin-panel,
.live-side-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(5, 7, 6, .55);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.live-admin-panel {
  padding: clamp(17px, 2.6vw, 27px);
}

.live-admin-panel[hidden] {
  display: none;
}

.live-panel-heading {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.live-panel-heading h3,
.live-side-card-heading h3 {
  margin: 4px 0 0;
}

.live-panel-heading p {
  max-width: 220px;
  text-align: right;
}

.live-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.live-admin-rail {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 158px;
}

.live-side-card {
  padding: 17px;
}

.live-side-card-heading {
  align-items: center;
  margin-bottom: 14px;
}

.live-side-card .field,
.live-side-card .check-field {
  margin-top: 10px;
}

.live-chat-adapter {
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.live-chat-adapter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.live-chat-adapter summary::-webkit-details-marker { display: none; }
.live-chat-adapter summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; }
.live-chat-adapter[open] summary::after { content: "-"; }
.live-chat-adapter summary small { margin-left: auto; color: var(--muted); font-size: .7rem; font-weight: 650; }

.live-chat-adapter-body {
  padding: 0 12px 13px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.live-side-card .live-chat-relay-state {
  margin-top: 11px;
}

.live-report-admin {
  margin: 0;
  padding: 17px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.live-report-admin .small-action {
  min-height: 36px;
  padding: 7px 10px;
}

.live-report-admin .admin-card-intro {
  font-size: .78rem;
}

.live-report-list {
  max-height: 260px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.live-save-bar {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  align-items: center;
  min-height: 68px;
  padding: 11px 12px 11px 18px;
  border: 1px solid rgba(var(--green-rgb), .24);
  border-radius: 16px;
  background: rgba(8, 10, 9, .94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
}

.live-save-bar .admin-status {
  margin: 0;
}

.live-save-bar .auth-submit {
  flex: 0 0 auto;
  min-width: 180px;
}

.payment-modal {
  align-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  overflow: hidden;
}

.payment-modal-panel {
  max-height: calc(100dvh - 36px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.payment-modal-checkout,
.payment-modal-checkout iframe {
  max-width: 100%;
}

@media (max-width: 980px) {
  .live-admin-workspace {
    grid-template-columns: 1fr;
  }

  .live-admin-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-section-nav {
    top: 62px;
    display: flex;
    margin-inline: -4px;
    border-radius: 13px;
  }

  .admin-section-nav button {
    min-height: 46px;
  }

  .live-status-console-top,
  .live-panel-heading,
  .live-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .live-destination-toggle {
    width: 100%;
  }

  .live-state-buttons,
  .live-status-details,
  .live-panel-grid,
  .live-provider-review-grid,
  .live-admin-rail {
    grid-template-columns: 1fr;
  }

  .live-state-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-panel-heading p {
    max-width: none;
    text-align: left;
  }

  .live-save-bar {
    position: static;
    padding: 14px;
  }

  .live-save-bar .auth-submit {
    width: 100%;
  }

  .payment-modal {
    align-items: center;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
  }

  .payment-modal-panel {
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
    padding: 18px 15px 20px;
  }
}

/* 2026-07-29 Live Control Room mobile containment. */
@media (max-width: 760px) {
  .live-admin-card,
  .live-control-form,
  .live-status-console,
  .live-status-details,
  .live-admin-workspace,
  .live-admin-main,
  .live-admin-panel,
  .live-admin-rail,
  .live-side-card,
  .live-panel-grid,
  .live-provider-review-grid,
  .live-control-form .field {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .live-admin-heading {
    flex-direction: column;
  }

  .live-control-form input,
  .live-control-form select,
  .live-control-form textarea {
    min-width: 0;
    max-width: 100%;
  }

  .live-state-buttons button {
    min-width: 0;
    padding-inline: 8px;
    overflow-wrap: anywhere;
  }

  .live-status-console-top p,
  .live-panel-heading p,
  .live-admin-heading p,
  .live-side-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}


/* 2026-07-30 admin command bar, Live queue, and proportional Live cards. */
.admin-command-bar {
  position: sticky;
  top: 74px;
  z-index: 85;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 10px;
  margin: -12px 0 24px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 17px;
  background: rgba(8, 10, 9, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  backdrop-filter: blur(18px);
}

.admin-command-bar .admin-section-nav {
  position: static;
  top: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.admin-nav-frame {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 7px;
  min-width: 0;
  align-items: stretch;
}

.admin-nav-arrow,
.admin-add-content {
  border: 1px solid rgba(var(--green-rgb), .24);
  color: var(--text);
  background: rgba(255, 255, 255, .045);
}

.admin-nav-arrow {
  min-width: 0;
  border-radius: 11px;
  font-size: 18px;
  font-weight: 900;
}

.admin-nav-arrow:hover,
.admin-nav-arrow:focus-visible {
  border-color: var(--accent-bright);
  background: rgba(var(--green-rgb), .12);
}

.admin-add-content {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 8px 13px;
  align-items: center;
  border-color: rgba(var(--green-rgb), .5);
  border-radius: 12px;
  text-align: left;
  background: linear-gradient(135deg, rgba(var(--green-rgb), .2), rgba(var(--purple-rgb), .15));
}

.admin-add-content.active {
  border-color: var(--accent-bright);
  box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .18), 0 8px 24px rgba(0, 0, 0, .24);
}

.admin-add-content-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #081006;
  background: var(--accent-bright);
  font-size: 25px;
  line-height: 1;
}

.admin-add-content > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-add-content strong {
  font-size: 13px;
}

.admin-add-content small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-card[data-admin-section] {
  scroll-margin-top: calc(var(--header) + 104px);
}

.admin-page .small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
}

.live-save-bar .auth-submit {
  width: min(220px, 100%);
  min-width: 0;
  max-width: 100%;
}

.live-queue-admin-toggle {
  border-color: rgba(var(--green-rgb), .28);
  background: rgba(var(--green-rgb), .07);
}

.live-experience {
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
}

.live-stage-column > *,
.live-conversation,
.live-support-grid > * {
  width: 100%;
  min-width: 0;
}

.live-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.live-support-grid .live-access-card,
.live-support-grid .live-social-card {
  height: 100%;
  padding: clamp(20px, 2.4vw, 27px);
}

.live-support-grid .live-social-card {
  grid-template-columns: 1fr;
  align-items: start;
}

.live-support-grid .live-social-links {
  justify-content: flex-start;
}

.live-submission-queue {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), .07), rgba(var(--purple-rgb), .055)), var(--panel);
}

.live-submission-queue[hidden] {
  display: none;
}

.live-submission-queue-head {
  display: flex;
  gap: 18px;
  padding: clamp(19px, 2.5vw, 27px);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.live-submission-queue-head h2 {
  margin: 5px 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.045em;
}

.live-submission-queue-head p:last-child {
  color: var(--muted);
  font-size: 12px;
}

.live-submission-queue-list {
  display: grid;
  max-height: 430px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.live-submission-queue-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  min-width: 0;
  padding: 15px clamp(18px, 2.5vw, 26px);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.live-submission-queue-item:first-child {
  border-top: 0;
}

.live-submission-queue-item.is-playing {
  background: linear-gradient(90deg, rgba(var(--green-rgb), .15), transparent 70%);
  box-shadow: inset 3px 0 var(--accent-bright);
}

.live-submission-queue-item > strong {
  color: var(--accent-bright);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 24px;
}

.live-submission-queue-item > div {
  min-width: 0;
}

.live-submission-queue-item span,
.live-submission-queue-item small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.live-submission-queue-item p {
  margin-top: 3px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-submission-queue-item.is-playing small {
  color: var(--accent-bright);
}

.live-submission-queue-empty {
  padding: 30px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.inventory-record-fallback {
  border-color: rgba(var(--danger-rgb), .32);
}

@media (max-width: 980px) {
  .live-experience {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-command-bar {
    top: 62px;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-inline: -4px;
    padding: 8px;
  }

  .admin-add-content {
    min-height: 52px;
  }

  .admin-nav-frame {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .admin-card[data-admin-section] {
    scroll-margin-top: calc(var(--header) + 154px);
  }

  .live-submission-queue-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-submission-queue-head .small-action {
    width: 100%;
  }

  .live-submission-queue-item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding-inline: 15px;
  }

  .live-submission-queue-item small {
    grid-column: 2;
  }
}


/* 20260730-site-repair1: compact navigation, Control Room workspace menu, donations, and repaired pages. */

/* Keep signed-in navigation composed on narrow screens. */
.live-stage-message strong { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }

@media (max-width: 700px) {
  body.has-compact-navigation { --header: 126px; }
  .stream-nav.has-compact-tabs {
    display: grid;
    min-height: var(--header);
    padding-block: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 52px 54px;
    gap: 4px 12px;
  }
  .stream-nav.has-compact-tabs > .brand { grid-column: 1; grid-row: 1; min-width: 0; font-size: 19px; }
  .stream-nav.has-compact-tabs > .brand::before { width: 25px; height: 25px; margin-right: 7px; }
  .stream-nav.has-compact-tabs > .sign-in-link { grid-column: 2; grid-row: 1; min-height: 40px; padding-inline: 15px; }
  .stream-nav.has-compact-tabs > .content-tabs { width: 100%; min-width: 0; margin: 0; padding: 4px; grid-column: 1 / -1; grid-row: 2; border-radius: 14px; }
  .stream-nav.has-compact-tabs > .content-tabs > a,
  .stream-nav.has-compact-tabs .content-tabs-more-toggle { min-height: 42px; padding: 10px 14px; }
  .live-stage-message strong { font-size: clamp(22px, 7.2vw, 32px); line-height: 1.06; }
}

.content-tabs.is-compact {
  overflow: visible;
}

.content-tabs-more {
  position: relative;
  flex: 0 0 auto;
}

.content-tabs-more-toggle {
  min-height: 42px;
  display: inline-flex;
  padding: 10px 15px;
  gap: 9px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.content-tabs-more-toggle.active,
.content-tabs-more-toggle[aria-expanded="true"],
.content-tabs-more-toggle:hover {
  color: var(--text);
  background: rgba(var(--accent-rgb), .16);
}

.content-tabs-more-toggle i,
.admin-tools-toggle i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .24s ease;
}

.content-tabs-more-toggle[aria-expanded="true"] i,
.admin-tools-toggle[aria-expanded="true"] i {
  transform: rotate(225deg) translate(-2px, -2px);
}

.content-tabs-more-panel {
  position: absolute;
  z-index: 140;
  top: calc(100% + 12px);
  right: 0;
  width: min(330px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(9, 11, 10, .98);
  box-shadow: 0 24px 70px rgba(0,0,0,.58);
  backdrop-filter: blur(18px);
}

.content-tabs-more-panel[hidden] { display: none; }
.content-tabs-more-panel a { width: 100%; padding: 12px 13px; text-align: left; }

.admin-tools-menu { position: relative; min-width: 0; }
.admin-tools-toggle {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 16px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255,255,255,.04);
  text-align: left;
  cursor: pointer;
}
.admin-tools-toggle > span { grid-column: 1; color: var(--accent-bright); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.admin-tools-toggle > strong { grid-column: 1; overflow: hidden; margin-top: 2px; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.admin-tools-toggle > i { grid-column: 2; grid-row: 1 / 3; }
.admin-command-bar .admin-section-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: min(880px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 12px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 17px;
  background: rgba(8,10,9,.985);
  box-shadow: 0 28px 80px rgba(0,0,0,.64);
}
.admin-command-bar .admin-section-nav[hidden] { display: none; }
.admin-command-bar .admin-section-nav button { width: 100%; min-height: 48px; padding: 10px 12px; white-space: normal; }
.admin-nav-arrow { display: none !important; }

.live-submission-queue-list { max-height: none; overflow: visible; }
.live-submission-queue-head { align-items: flex-start; }

.submission-service-copy { display: grid; gap: 15px; margin-top: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.submission-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.submission-copy-grid textarea { min-height: 92px; }

.donation-chooser { display: grid; gap: 18px; padding: clamp(8px, 2vw, 18px); }
.donation-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.donation-presets button { min-height: 52px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: #101310; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.donation-presets button.active, .donation-presets button:hover { border-color: var(--accent-bright); color: var(--accent-bright); background: rgba(var(--accent-rgb), .12); }
.donation-success { display: grid; min-height: 330px; place-content: center; gap: 12px; padding: 34px; text-align: center; }
.donation-success span { color: var(--accent-bright); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.donation-success h3 { font-size: clamp(28px, 5vw, 42px); letter-spacing: -.05em; }
.donation-success p { max-width: 520px; color: var(--muted); line-height: 1.6; }

.artist-back-link { width: fit-content; margin-bottom: 22px; color: var(--accent-bright); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.artist-social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.artist-social-links a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 12px; font-weight: 800; }
.artist-profile-sidebar { display: grid; gap: 16px; }
.payment-record-actions { min-width: 150px; }

@media (max-width: 1060px) {
  .admin-command-bar .admin-section-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .content-tabs.is-compact { min-width: 0; }
  .content-tabs-more-panel { position: fixed; top: calc(var(--header) + 8px); right: 14px; left: 14px; width: auto; }
  .admin-command-bar { position: sticky; grid-template-columns: 1fr; }
  .admin-command-bar .admin-section-nav { position: absolute; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-height: calc(100dvh - 190px); overflow-y: auto; }
  .submission-copy-grid, .donation-presets { grid-template-columns: 1fr 1fr; }
  .artist-profile-layout { grid-template-columns: 1fr; }
}


/* Cloudflare Stream signed playback controls. */
.stream-security-summary {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(var(--purple-rgb), .35);
  border-radius: 16px;
  background: rgba(var(--purple-rgb), .08);
}
.stream-security-summary.is-ready { border-color: rgba(var(--green-rgb), .42); background: rgba(var(--green-rgb), .08); }
.stream-security-summary > span,
.stream-security-grid article > span { color: var(--accent-bright); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.stream-security-summary > strong { font-size: 19px; }
.stream-security-summary > p,
.stream-security-grid p,
.stream-security-action p,
.stream-security-private-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.stream-security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stream-security-grid article { display: grid; gap: 8px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.stream-security-grid article strong { overflow-wrap: anywhere; }
.stream-security-action { display: flex; gap: 20px; padding: 18px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 16px; background: #0d100e; }
.stream-security-action > div { display: grid; max-width: 520px; gap: 5px; }
.stream-security-action .cta { flex: 0 0 auto; }
.stream-security-private-note { padding: 13px 15px; border-left: 3px solid var(--purple-bright); background: rgba(var(--purple-rgb), .06); }
.stream-security-private-note code { color: var(--text); }
@media (max-width: 760px) {
  .live-admin-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stream-security-grid { grid-template-columns: 1fr; }
  .stream-security-action { align-items: stretch; flex-direction: column; }
  .stream-security-action .cta { width: 100%; }
}

@media (max-width: 430px) {
  .live-admin-tools { grid-template-columns: 1fr; }
}


/* Non-blocking Control Room hamburger navigation. */
.admin-command-bar {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 210px);
  align-items: stretch;
}
.admin-command-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
}
.admin-command-shortcut {
  min-width: 0;
  min-height: 58px;
  display: grid;
  gap: 3px;
  padding: 10px 15px;
  align-content: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  text-align: left;
}
.admin-command-shortcut span { font-size: 15px; font-weight: 900; }
.admin-command-shortcut small { color: var(--muted); font-size: 10px; font-weight: 700; }
.admin-command-shortcut.is-live span { color: #f18a98; }
.admin-command-shortcut.is-music span { color: var(--accent-bright); }
.admin-command-shortcut.active,
.admin-command-shortcut:hover,
.admin-command-shortcut:focus-visible {
  border-color: rgba(var(--green-rgb), .48);
  background: linear-gradient(135deg, rgba(var(--green-rgb), .14), rgba(var(--purple-rgb), .12));
}
.admin-tools-menu { display: contents; }
.admin-tools-toggle {
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 14px;
  align-items: center;
}
.admin-hamburger-mark {
  display: grid;
  grid-column: 1 !important;
  gap: 5px;
  color: inherit !important;
}
.admin-hamburger-mark i,
.admin-tools-toggle[aria-expanded="true"] .admin-hamburger-mark i {
  width: 23px;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: currentColor;
  transform: none !important;
}
.admin-tools-toggle-copy {
  min-width: 0;
  display: grid;
  grid-column: 2 !important;
  gap: 2px;
  color: var(--text) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.admin-tools-toggle-copy strong { font-size: 14px; }
.admin-tools-toggle-copy small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-command-bar .admin-section-nav {
  position: static !important;
  grid-column: 1 / -1;
  width: 100%;
  max-height: min(56vh, 520px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2px;
  padding: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  box-shadow: none;
}
.admin-command-bar .admin-section-nav button.active { border-color: rgba(var(--green-rgb), .52); }
.admin-command-bar .admin-section-nav .admin-menu-add-content {
  border-color: rgba(var(--green-rgb), .5);
  color: var(--accent-bright);
  background: rgba(var(--green-rgb), .1);
}
.admin-menu-add-content span { margin-right: 5px; font-size: 19px; line-height: .7; }

@media (max-width: 760px) {
  .admin-command-bar { grid-template-columns: minmax(0, 1fr) 64px; }
  .admin-command-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-tools-toggle { grid-template-columns: 1fr; padding-inline: 15px; justify-items: center; }
  .admin-hamburger-mark { grid-column: 1 !important; }
  .admin-tools-toggle-copy { display: none; }
  .admin-command-bar .admin-section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
  .admin-command-shortcut { padding-inline: 10px; }
  .admin-command-shortcut span { font-size: 12px; }
  .admin-command-shortcut small { display: none; }
  .admin-command-bar .admin-section-nav { grid-template-columns: 1fr; }
}

/* Readable grouped Control Room navigation. */
.admin-command-bar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 12px;
  padding: 12px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(7, 9, 8, .97);
}

.admin-command-shortcuts {
  gap: 10px;
}

.admin-command-shortcut {
  min-height: 64px;
  gap: 5px;
  padding: 12px 16px;
  border-color: rgba(255, 255, 255, .15);
  background: #111411;
  cursor: pointer;
}

.admin-command-shortcut span {
  color: var(--text);
  font-size: 16px;
  line-height: 1.15;
}

.admin-command-shortcut small {
  color: #aeb5ae;
  font-size: 11px;
  line-height: 1.35;
}

.admin-command-shortcut.is-live span {
  color: #ff9ca8;
}

.admin-command-shortcut.is-music span {
  color: var(--accent-bright);
}

.admin-command-shortcut.active {
  border-color: var(--accent-bright);
  box-shadow: inset 0 0 0 1px rgba(var(--green-rgb), .2);
}

.admin-tools-toggle {
  min-height: 64px;
  grid-template-columns: 28px minmax(0, 1fr);
  border-color: rgba(255, 255, 255, .17);
  background: #111411;
}

.admin-tools-toggle:hover,
.admin-tools-toggle:focus-visible,
.admin-tools-toggle[aria-expanded="true"] {
  border-color: var(--accent-bright);
  background: rgba(var(--green-rgb), .09);
}

.admin-tools-toggle-copy strong {
  color: var(--accent-bright);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-tools-toggle-copy small {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.admin-command-bar .admin-section-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: calc(100dvh - 190px);
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 9px;
  padding: 14px;
  border-color: rgba(255, 255, 255, .15);
  background: #0c0f0d;
}

.admin-command-bar .admin-section-nav[hidden] {
  display: none;
}

.admin-menu-heading,
.admin-menu-group-heading,
.admin-command-bar .admin-section-nav .admin-menu-add-content {
  grid-column: 1 / -1;
}

.admin-menu-heading {
  display: flex;
  gap: 18px;
  padding: 3px 2px 8px;
  align-items: center;
  justify-content: space-between;
}

.admin-menu-heading > span,
.admin-menu-group-heading,
.admin-command-bar .admin-section-nav button > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-menu-heading strong {
  color: var(--text);
  font-size: 17px;
}

.admin-menu-heading small {
  color: var(--muted);
  font-size: 11px;
}

.admin-menu-close {
  min-height: 38px !important;
  width: auto !important;
  padding: 8px 13px !important;
  border-color: rgba(255, 255, 255, .2) !important;
  border-radius: 999px !important;
  color: var(--text) !important;
  background: rgba(255, 255, 255, .06) !important;
  font-size: 11px;
  font-weight: 900;
}

.admin-menu-group-heading {
  margin: 8px 0 0;
  padding: 13px 4px 4px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.admin-menu-group-heading strong {
  color: var(--accent-bright);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.admin-menu-group-heading small {
  color: #9ca49d;
  font-size: 11px;
  line-height: 1.35;
}

.admin-command-bar .admin-section-nav button {
  position: relative;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 12px 14px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .035);
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

.admin-command-bar .admin-section-nav button::before {
  display: none;
}

.admin-command-bar .admin-section-nav button strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.admin-command-bar .admin-section-nav button small {
  color: #aeb5ae;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.admin-command-bar .admin-section-nav button:hover,
.admin-command-bar .admin-section-nav button:focus-visible {
  border-color: rgba(var(--green-rgb), .5);
  background: rgba(var(--green-rgb), .08);
}

.admin-command-bar .admin-section-nav button.active {
  border-color: var(--accent-bright);
  background: linear-gradient(135deg, rgba(var(--green-rgb), .15), rgba(var(--purple-rgb), .1));
  box-shadow: inset 4px 0 var(--accent-bright);
}

.admin-command-bar .admin-section-nav .admin-menu-add-content {
  min-height: 72px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  border-color: rgba(var(--green-rgb), .55);
  background: linear-gradient(135deg, rgba(var(--green-rgb), .16), rgba(var(--purple-rgb), .1));
}

.admin-menu-add-mark {
  display: grid !important;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  place-items: center;
  border-radius: 11px;
  color: #071006;
  background: var(--accent-bright);
  font-size: 27px !important;
  font-weight: 500;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  .admin-command-bar {
    grid-template-columns: minmax(0, 1fr) 60px;
    gap: 8px;
    margin-inline: 0;
    padding: 8px;
  }

  .admin-command-shortcut {
    min-height: 58px;
    padding: 10px 11px;
  }

  .admin-command-shortcut span {
    font-size: 13px;
  }

  .admin-command-shortcut small {
    font-size: 9px;
  }

  .admin-tools-toggle {
    min-height: 58px;
    padding-inline: 14px;
  }

  .admin-command-bar .admin-section-nav {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 172px);
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .admin-command-bar .admin-section-nav button {
    min-height: 62px;
  }

  .admin-menu-heading,
  .admin-menu-group-heading,
  .admin-command-bar .admin-section-nav .admin-menu-add-content {
    grid-column: 1;
  }

  .admin-menu-heading {
    position: sticky;
    z-index: 2;
    top: -12px;
    padding: 12px 2px;
    background: #0c0f0d;
  }
}

@media (max-width: 430px) {
  .admin-command-shortcut small {
    display: none;
  }

  .admin-command-shortcut {
    min-height: 52px;
  }

  .admin-tools-toggle {
    min-height: 52px;
  }
}
/* Stable two-panel Stripe checkout and Control Room submission save action. */
.submission-offer-savebar .submission-offer-save {
  border-color: rgba(var(--green-rgb), 0.58);
  color: #f8fff4;
  background: linear-gradient(135deg, var(--accent), #376f25);
  box-shadow: 0 14px 34px rgba(var(--accent-rgb), 0.24);
}

.submission-offer-savebar .submission-offer-save:hover,
.submission-offer-savebar .submission-offer-save:focus-visible {
  border-color: var(--accent-bright);
  color: #fff;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
}

.payment-modal {
  overflow: hidden;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
}

.payment-modal-panel {
  display: grid;
  width: min(1120px, 100%);
  height: min(780px, calc(100dvh - 36px));
  min-height: 0;
  max-width: none;
  max-height: calc(100dvh - 36px);
  padding: 0;
  overflow: hidden;
  grid-template-columns: minmax(290px, 360px) minmax(0, 1fr);
}

.payment-modal-summary {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px);
  overflow-y: auto;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 90%, rgba(var(--accent-rgb), 0.22), transparent 21rem),
    radial-gradient(circle at 100% 0, rgba(var(--purple-rgb), 0.3), transparent 23rem),
    linear-gradient(150deg, #090c0a, #121018);
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.payment-modal-summary .brand {
  width: fit-content;
}

.payment-modal-summary-copy {
  display: grid;
  gap: 12px;
  margin-block: clamp(44px, 9vh, 86px) 28px;
}

.payment-modal-summary h2 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.payment-modal-summary-copy > p {
  margin: 0;
  max-width: 34rem;
  overflow-wrap: anywhere;
  color: #c6c3bc;
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.6;
}

.payment-modal-facts {
  display: grid;
  gap: 0;
  margin: auto 0 0;
}

.payment-modal-facts > div {
  display: grid;
  grid-template-columns: minmax(72px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-modal-facts dt,
.payment-modal-security {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-modal-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-align: right;
}

.payment-modal-security {
  margin: 18px 0 0;
}

.payment-modal-flow {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  color: #161a16;
  background: #f3f1eb;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.payment-modal-flow-header {
  display: flex;
  min-width: 0;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 36px) 18px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(12, 18, 13, 0.12);
}

.payment-modal-flow-header > div {
  min-width: 0;
}

.payment-modal-flow-header .section-kicker {
  color: #3b6530;
}

.payment-modal-flow-header h3 {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.payment-modal-flow .payment-modal-close {
  flex: 0 0 auto;
  border-color: rgba(12, 18, 13, 0.2);
  color: #1a211a;
  background: transparent;
}

.payment-modal-flow .payment-modal-close:hover,
.payment-modal-flow .payment-modal-close:focus-visible {
  border-color: #3b6530;
  background: rgba(59, 101, 48, 0.08);
}

.payment-modal-flow .payment-modal-status {
  min-width: 0;
  margin: 0;
  padding: 12px clamp(20px, 3vw, 36px);
  overflow-wrap: anywhere;
  color: #5d625d;
  border-bottom: 1px solid rgba(12, 18, 13, 0.08);
}

.payment-modal-flow .payment-modal-status.error {
  color: #9e3028;
}

.payment-modal-checkout {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 12px clamp(10px, 2vw, 22px) 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.payment-modal-checkout > div,
.payment-modal-checkout iframe {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.payment-modal-checkout iframe {
  display: block;
  border: 0;
}

@media (max-width: 760px) {
  .payment-modal {
    align-items: center;
    padding:
      max(10px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }

  .payment-modal-panel {
    width: 100%;
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .payment-modal-summary {
    max-height: 38dvh;
    padding: 18px;
  }

  .payment-modal-summary-copy {
    gap: 7px;
    margin: 18px 0 12px;
  }

  .payment-modal-summary h2 {
    font-size: clamp(24px, 8vw, 36px);
    line-height: 1;
  }

  .payment-modal-summary-copy > p {
    font-size: 12px;
    line-height: 1.45;
  }

  .payment-modal-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
  }

  .payment-modal-facts > div {
    display: block;
    padding: 9px 10px 0 0;
  }

  .payment-modal-facts dd {
    margin-top: 3px;
    text-align: left;
  }

  .payment-modal-security {
    display: none;
  }

  .payment-modal-flow-header {
    padding: 15px 16px 12px;
  }

  .payment-modal-flow-header h3 {
    font-size: clamp(20px, 6vw, 27px);
  }

  .payment-modal-flow .payment-modal-status {
    padding: 10px 16px;
    font-size: 12px;
  }

  .payment-modal-checkout {
    padding: 8px 4px 18px;
  }
}

@media (max-width: 420px) {
  .payment-modal-summary {
    max-height: 34dvh;
    padding: 15px;
  }

  .payment-modal-summary .brand {
    font-size: 15px;
  }

  .payment-modal-summary-copy {
    margin-top: 12px;
  }

  .payment-modal-summary-copy > p {
    display: none;
  }

  .payment-modal-flow-header {
    gap: 10px;
  }

  .payment-modal-close {
    padding: 8px 10px;
    font-size: 12px;
  }

  .membership-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding-inline: 15px;
  }

  .membership-dashboard-heading h2 {
    overflow-wrap: anywhere;
    font-size: clamp(25px, 9vw, 34px);
  }

  .membership-payment-form,
  .membership-payment-element {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-modal *,
  .submission-offer-save {
    scroll-behavior: auto;
    transition: none !important;
  }
}

/* 20260805 product foundation: clearer public entry and bounded Site Health. */
.public-pillars article > span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.public-hero-copy h1 {
  max-width: 980px;
  font-size: clamp(52px, 7.6vw, 96px);
}

.site-health-panel {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.site-health-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.site-health-event {
  display: grid;
  padding: 16px 18px;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
}

.site-health-event div { min-width: 0; }
.site-health-event div > strong { display: block; margin: 7px 0 5px; overflow-wrap: anywhere; }
.site-health-event p { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.site-health-event aside { display: grid; gap: 4px; justify-items: end; color: var(--muted); font-size: 11px; }
.site-health-event aside strong { color: var(--green); font-size: 18px; }

@media (max-width: 700px) {
  .public-hero-copy h1 { font-size: clamp(42px, 13vw, 62px); line-height: .92; }
  .public-header .public-nav-actions { gap: 6px; }
  .public-header .public-nav-actions .sign-in-link { padding-inline: 12px; }
  .site-health-event { grid-template-columns: 1fr; }
  .site-health-event aside { justify-items: start; }
}

@media (max-width: 520px) {
  .public-header .submission-nav-link { display: none; }
}

/* 20260805 mobile foundation: lighter rendering, touch comfort, and stable dialogs. */
.title-row {
  content-visibility: auto;
  contain-intrinsic-size: 1px 245px;
}

.title-card-cover-art,
.home-curation-artwork,
.artist-media-artwork {
  background: #10130f;
}

@media (pointer: coarse) {
  .card-rail,
  .home-curation-grid {
    scroll-behavior: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .row-buttons,
  .home-curation-controls {
    display: none;
  }

  .title-card:hover,
  .home-curation-card:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .stream-header,
  .content-tabs-more-panel {
    backdrop-filter: none;
  }

  .preview-dialog::backdrop,
  .profile-settings::backdrop,
  .live-chat-report-dialog::backdrop {
    backdrop-filter: none;
  }

  .library-page .library-main,
  .preview-dialog,
  .profile-settings {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .preview-dialog {
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
  }

  .preview-close,
  .content-tabs-more-panel a,
  .auth-tabs button,
  .small-action {
    min-height: 44px;
  }

  .preview-close {
    min-width: 44px;
    margin-top: 0;
  }

  .content-tabs-more-panel a {
    display: flex;
    align-items: center;
  }

  .library-page:not(.shorts-page) .card-rail {
    grid-auto-columns: min(78vw, 280px);
  }

  .library-page:not(.shorts-page) .title-card {
    height: clamp(168px, 48vw, 190px);
  }

  .title-card strong {
    max-width: 100%;
    line-height: 1.12;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .public-landing-page {
    --header: 74px;
  }

  .public-header .stream-nav {
    gap: 8px;
  }

  .public-hero {
    min-height: max(590px, calc(100svh - var(--header)));
  }

  .public-hero-copy {
    padding-bottom: 42px;
  }
}

/* 20260805 public controls: YouTube preview artwork and account visibility switch. */
.youtube-load::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 6, 7, .84), rgba(5, 6, 7, .34) 68%, rgba(5, 6, 7, .52));
}

.youtube-load > * {
  z-index: 2;
}

.youtube-load .youtube-thumbnail {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.admin-setting-toggle {
  position: relative;
  display: grid;
  min-height: 76px;
  padding: 14px 16px;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}

.admin-setting-toggle > span {
  display: grid;
  gap: 5px;
}

.admin-setting-toggle strong {
  font-size: 14px;
}

.admin-setting-toggle small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-setting-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-setting-toggle .toggle-track {
  position: relative;
  width: 50px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  transition: background 160ms ease, border-color 160ms ease;
}

.admin-setting-toggle .toggle-track::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  content: "";
  border-radius: 50%;
  background: #d8d4cc;
  transition: transform 160ms ease, background 160ms ease;
}

.admin-setting-toggle input:checked + .toggle-track {
  border-color: rgba(var(--green-rgb), .74);
  background: rgba(var(--accent-rgb), .76);
}

.admin-setting-toggle input:checked + .toggle-track::before {
  background: #fff;
  transform: translateX(22px);
}

.admin-setting-toggle input:focus-visible + .toggle-track {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.admin-setting-state {
  width: max-content;
  padding: 4px 8px;
  border: 1px solid rgba(var(--green-rgb), .34);
  border-radius: 999px;
  color: var(--accent-bright);
  background: rgba(var(--green-rgb), .1);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-setting-toggle.is-hidden-state .admin-setting-state {
  border-color: rgba(255, 255, 255, .14);
  color: var(--muted);
  background: rgba(255, 255, 255, .05);
}

[data-public-account-action][hidden] {
  display: none !important;
}

/* 20260805 public mobile layout: readable motion, artist, and contact sections. */
@media (max-width: 760px) {
  .public-landing-page {
    overflow-x: hidden;
  }

  .public-landing-page main {
    overflow: visible;
  }

  .public-social,
  .featured-artist,
  .contact-section {
    width: min(100% - 24px, 1240px);
    padding-block: 46px;
    overflow: visible;
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .public-social,
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
  }

  .public-social-copy,
  .featured-artist-copy,
  .contact-copy {
    min-width: 0;
  }

  .public-social-copy,
  .contact-copy {
    display: grid;
    gap: 14px;
  }

  .public-social h2,
  .featured-artist h2,
  .contact-section h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 10.5vw, 44px);
    line-height: .96;
    overflow-wrap: anywhere;
  }

  .public-social-copy > p:not(.section-kicker),
  .featured-artist-copy > p:not(.section-kicker),
  .contact-copy > p:not(.section-kicker):not(.inline-status) {
    font-size: 15px;
    line-height: 1.65;
  }

  .public-social .social-links {
    display: grid;
    margin-top: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .public-social .social-links a {
    min-height: 46px;
    display: flex;
    padding: 10px 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    font-size: 13px;
    font-weight: 800;
  }

  .public-social .youtube-frame {
    width: 100%;
    padding: 7px;
    border-radius: 18px;
  }

  .public-social .youtube-load,
  .public-social .youtube-frame iframe {
    min-height: 0;
    border-radius: 12px;
  }

  .public-social .youtube-load {
    padding: 18px;
    gap: 7px;
    align-content: end;
  }

  .public-social .youtube-play-mark {
    width: 44px;
    height: 44px;
  }

  .public-social .youtube-play-mark::before {
    border-block-width: 8px;
    border-left-width: 13px;
  }

  .public-social .youtube-load strong {
    max-width: 78%;
    font-size: clamp(21px, 7vw, 30px);
    line-height: .98;
  }

  .public-social .youtube-load small {
    font-size: 12px;
  }

  .public-social .youtube-frame > p {
    margin: 9px 5px 3px;
    font-size: 11px;
  }

  .featured-artist-card {
    display: grid;
    padding: 0;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
  }

  .featured-artist-card .artist-cover-preview {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border-radius: 0;
  }

  .featured-artist-card .artist-cover-preview span {
    max-width: 100%;
    font-size: clamp(38px, 14vw, 58px);
    overflow-wrap: anywhere;
  }

  .featured-artist-copy {
    display: grid;
    padding: 24px 20px 22px;
    gap: 15px;
  }

  .featured-artist-copy .section-kicker {
    margin-bottom: -3px;
  }

  .featured-artist-copy .cta {
    width: 100%;
    min-height: 48px;
    margin-top: 11px;
    justify-content: center;
    text-align: center;
  }

  .contact-copy a:not(.cta) {
    color: var(--accent-bright);
    overflow-wrap: anywhere;
  }

  .contact-copy .donation-button {
    width: 100%;
    min-height: 48px;
    margin-top: 3px;
    justify-content: center;
    text-align: center;
  }

  .contact-section .contact-card {
    width: 100%;
    padding: 20px 16px;
    gap: 17px;
    border-radius: 18px;
  }

  .contact-section .contact-card textarea {
    min-height: 150px;
    resize: vertical;
  }

  .contact-section .contact-card .auth-submit {
    min-height: 50px;
  }
}

/* 20260805 public desktop actions: balanced social and artist controls. */
@media (min-width: 761px) {
  .public-social-copy {
    display: grid;
    min-width: 0;
    align-content: center;
    justify-items: start;
  }

  .public-social-copy > .section-kicker,
  .featured-artist-copy > .section-kicker {
    margin-bottom: 12px;
  }

  .public-social-copy > p:not(.section-kicker),
  .featured-artist-copy > p:not(.section-kicker) {
    max-width: 560px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
  }

  .public-social .social-links {
    display: grid;
    width: min(100%, 430px);
    margin-top: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .public-social .social-links a {
    min-height: 52px;
    display: flex;
    padding: 12px 18px;
    align-items: center;
    justify-content: center;
    border-color: rgba(var(--purple-rgb), .38);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--purple-rgb), .17), rgba(var(--green-rgb), .07));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
    letter-spacing: .02em;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  }

  .public-social .social-links a:hover,
  .public-social .social-links a:focus-visible {
    border-color: rgba(var(--green-rgb), .68);
    background: linear-gradient(135deg, rgba(var(--purple-rgb), .25), rgba(var(--green-rgb), .14));
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
    transform: translateY(-2px);
  }

  .featured-artist-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-artist-copy h2 {
    margin-bottom: 18px;
  }

  .featured-artist-copy .cta {
    min-width: 230px;
    min-height: 52px;
    margin-top: 30px;
    padding-inline: 24px;
    border-color: rgba(var(--purple-rgb), .58);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(var(--purple-rgb), .46), rgba(var(--accent-rgb), .2));
    box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
  }

  .featured-artist-copy .cta:hover,
  .featured-artist-copy .cta:focus-visible {
    border-color: rgba(var(--green-rgb), .76);
    background: linear-gradient(135deg, rgba(var(--purple-rgb), .58), rgba(var(--accent-rgb), .3));
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
    transform: translateY(-2px);
  }
}

/* 20260805 public artist controls, reveal motion, and tablet layout. */

.public-social .youtube-frame > p {
  display: block;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(var(--green-rgb), .2);
  border-radius: 999px;
  color: #cfc9d9;
  background: rgba(var(--green-rgb), .06);
  letter-spacing: .02em;
}

.featured-artist-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 12px;
}

.featured-artist-actions[hidden],
.featured-artist-actions .cta[hidden],
.artist-cover-preview img[hidden] {
  display: none !important;
}

.admin-field-help {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

@keyframes landing-action-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 761px) {
  .featured-artist-actions {
    margin-top: 30px;
  }

  .featured-artist-copy .featured-artist-actions .cta {
    margin-top: 0;
  }

  .landing-reveal-ready:not(.is-visible) .social-links a,
  .landing-reveal-ready:not(.is-visible) .featured-artist-actions .cta {
    opacity: 0;
    transform: translateY(12px);
  }

  .landing-reveal-ready.is-visible .social-links a,
  .landing-reveal-ready.is-visible .featured-artist-actions .cta {
    animation: landing-action-reveal 480ms ease-out backwards;
  }

  .landing-reveal-ready.is-visible .social-links a:nth-child(2),
  .landing-reveal-ready.is-visible .featured-artist-actions .cta:nth-child(2) {
    animation-delay: 70ms;
  }

  .landing-reveal-ready.is-visible .social-links a:nth-child(3) {
    animation-delay: 140ms;
  }

  .landing-reveal-ready.is-visible .social-links a:nth-child(4) {
    animation-delay: 210ms;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .public-social {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
  }

  .public-social-copy {
    max-width: 720px;
  }

  .public-social .social-links {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .featured-artist-card {
    padding: 26px;
    grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr);
    gap: 28px;
  }

  .featured-artist-card .artist-cover-preview {
    min-height: 320px;
  }

  .featured-artist-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .featured-artist-copy .featured-artist-actions .cta {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .featured-artist-actions {
    display: grid;
    margin-top: 11px;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .featured-artist-copy .featured-artist-actions .cta {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-reveal-ready .social-links a,
  .landing-reveal-ready .featured-artist-actions .cta {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* 20260805 launch readiness, operations, and content lifecycle. */
.site-operation-banner { position: relative; z-index: 180; display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 24px; padding: 10px max(20px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid rgba(var(--green-rgb), .28); color: #f8f7fb; background: linear-gradient(100deg, rgba(43, 30, 71, .98), rgba(15, 38, 25, .98)); box-shadow: 0 12px 34px rgba(0, 0, 0, .28); }
.site-operation-banner.is-maintenance { border-bottom-color: rgba(241, 190, 82, .38); background: linear-gradient(100deg, #2b2414, #191711); }
.site-operation-banner.is-emergency-playback-disabled { border-bottom-color: rgba(255, 103, 103, .48); background: linear-gradient(100deg, #38191e, #211116); }
.site-operation-copy { display: flex; min-width: 0; align-items: baseline; justify-content: center; gap: 12px; text-align: center; }
.site-operation-copy strong { flex: 0 0 auto; color: var(--green); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.site-operation-banner.is-maintenance .site-operation-copy strong,
.site-operation-banner.is-emergency-playback-disabled .site-operation-copy strong { color: #ffd98b; }
.site-operation-copy span { color: #ebe7f0; font-size: 14px; line-height: 1.45; }
.site-operation-banner > a { flex: 0 0 auto; padding: 7px 12px; border: 1px solid rgba(var(--green-rgb), .5); border-radius: 999px; color: #fff; background: rgba(var(--green-rgb), .12); font-size: 12px; font-weight: 800; }

.launch-readiness { overflow: visible; }
.readiness-heading { align-items: flex-start; }
.readiness-heading > div:first-child { max-width: 720px; }
.readiness-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.readiness-private-note { display: grid; gap: 2px; padding: 8px 12px; border: 1px solid rgba(var(--green-rgb), .22); border-radius: 12px; color: var(--green); background: rgba(var(--green-rgb), .07); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.readiness-private-note small { color: #aaa3b2; font-size: 9px; font-weight: 700; letter-spacing: .03em; text-transform: none; }

.readiness-summary { display: grid; margin: 24px 0 20px; grid-template-columns: minmax(280px, 1.75fr) repeat(3, minmax(120px, .75fr)); gap: 12px; }
.readiness-score,
.readiness-panel { border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; background: linear-gradient(145deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .018)); }
.readiness-score { display: grid; min-width: 0; align-content: center; gap: 5px; padding: 18px; }
.readiness-score-primary { position: relative; min-height: 132px; overflow: hidden; padding: 22px; background: radial-gradient(circle at 92% 12%, rgba(var(--purple-rgb), .22), transparent 42%), linear-gradient(135deg, rgba(var(--green-rgb), .1), rgba(255, 255, 255, .025)); }
.readiness-score-primary::after { position: absolute; top: -34px; right: -28px; width: 120px; height: 120px; border: 1px solid rgba(var(--green-rgb), .12); border-radius: 50%; content: ""; }
.readiness-score-label { color: #bdb5c8; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.readiness-score-primary strong { font-size: clamp(27px, 3vw, 41px); line-height: 1; }
.readiness-score-primary small { color: var(--muted); font-size: 12px; }
.readiness-score-metric { min-height: 132px; text-align: center; }
.readiness-score-metric strong { font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.readiness-score-metric span { color: var(--muted); font-size: 12px; }
.readiness-score.is-pass strong,
.readiness-score.is-ready strong { color: var(--green); }
.readiness-score.is-warning strong,
.readiness-score.is-attention strong { color: #ffd98b; }
.readiness-score.is-blocked strong { color: #ff8a95; }
.readiness-progress { position: relative; z-index: 1; display: block; height: 7px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.readiness-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--accent-bright)); box-shadow: 0 0 18px rgba(var(--green-rgb), .38); transition: width 360ms ease; }

.readiness-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); align-items: start; gap: 18px; }
.readiness-panel { min-width: 0; padding: 22px; }
.operations-panel { position: sticky; top: 88px; }
.media-health-panel { margin-top: 18px; }
.readiness-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.readiness-panel-heading span { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.readiness-panel-heading h3 { margin: 4px 0 0; font-size: clamp(21px, 2.4vw, 29px); }
.readiness-panel-heading p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.readiness-check-list,
.readiness-group-list,
.media-health-list { display: grid; gap: 10px; }
.readiness-check-list { gap: 14px; }
.readiness-check-group { min-width: 0; }
.readiness-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.readiness-group-heading h4 { margin: 0; font-size: 15px; }
.readiness-group-heading span { padding: 5px 9px; border-radius: 999px; color: #ffd98b; background: rgba(241, 190, 82, .1); font-size: 10px; font-weight: 850; }
.readiness-group-empty { margin: 0; padding: 18px; border: 1px solid rgba(var(--green-rgb), .18); border-radius: 14px; color: #cdd6ca; background: rgba(var(--green-rgb), .06); font-size: 13px; }
.is-ready-group { overflow: hidden; border: 1px solid rgba(var(--green-rgb), .15); border-radius: 14px; background: rgba(var(--green-rgb), .035); }
.is-ready-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.is-ready-group > summary::-webkit-details-marker { display: none; }
.is-ready-group > summary span { display: grid; gap: 3px; }
.is-ready-group > summary strong { font-size: 13px; }
.is-ready-group > summary small { color: var(--muted); font-size: 11px; }
.is-ready-group > summary b { color: var(--green); font-size: 11px; }
.is-ready-group[open] > summary { border-bottom: 1px solid rgba(255, 255, 255, .07); }
.is-ready-group[open] > summary b { font-size: 0; }
.is-ready-group[open] > summary b::after { content: "Hide details"; font-size: 11px; }
.is-ready-group .readiness-group-list { padding: 10px; }

.readiness-check,
.media-health-record { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px; border: 1px solid rgba(255, 255, 255, .075); border-left: 3px solid rgba(241, 190, 82, .52); border-radius: 13px; background: rgba(0, 0, 0, .2); }
.readiness-check.is-pass { border-left-color: rgba(var(--green-rgb), .58); background: rgba(var(--green-rgb), .025); }
.readiness-check.is-blocked,
.media-health-record.is-blocked { border-left-color: rgba(255, 90, 106, .68); }
.readiness-check-marker,
.media-health-badge { display: grid; min-width: 56px; min-height: 30px; place-items: center; padding: 5px 8px; border-radius: 999px; color: #ffd98b; background: rgba(241, 190, 82, .12); font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.readiness-check.is-pass .readiness-check-marker { color: var(--green); background: rgba(var(--green-rgb), .12); }
.readiness-check.is-blocked .readiness-check-marker,
.media-health-record.is-blocked .media-health-badge { color: #ff9ca5; background: rgba(255, 90, 106, .13); }
.readiness-check h4,
.media-health-record h4 { margin: 0; font-size: 14px; }
.readiness-check p,
.media-health-record p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.media-health-record small { display: block; margin-top: 5px; color: #a99fb5; font-size: 10px; text-transform: capitalize; }
.media-health-summary { display: grid; margin-bottom: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.media-health-stat { display: grid; min-width: 0; gap: 2px; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; background: rgba(0, 0, 0, .18); }
.media-health-stat strong { font-size: 20px; line-height: 1; }
.media-health-stat small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.media-health-stat.is-pass strong { color: var(--green); }
.media-health-stat.is-warning strong { color: #ffd98b; }
.media-health-stat.is-blocked strong { color: #ff8a95; }

.operations-modes { display: grid; gap: 9px; padding: 0; border: 0; }
.operations-modes legend { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.operations-modes label { position: relative; display: block; cursor: pointer; }
.operations-modes input { position: absolute; opacity: 0; pointer-events: none; }
.operations-modes label span { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: rgba(0,0,0,.16); transition: border-color 160ms ease, background 160ms ease; }
.operations-modes label small { color: var(--muted); line-height: 1.4; }
.operations-modes input:checked + span { border-color: rgba(var(--green-rgb), .56); background: rgba(var(--green-rgb), .1); box-shadow: inset 3px 0 0 var(--green); }
.operations-modes input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.operations-form.is-emergency .operations-modes input:checked + span { border-color: rgba(255, 90, 106, .55); background: rgba(255, 90, 106, .1); box-shadow: inset 3px 0 0 #ff6575; }
.operations-notice-settings { display: grid; gap: 14px; min-width: 0; margin: 6px 0 0; padding: 17px; border: 1px solid rgba(var(--green-rgb), .2); border-radius: 17px; background: linear-gradient(145deg, rgba(var(--green-rgb), .075), rgba(255,255,255,.025)); }
.operations-notice-settings > legend { padding: 0 8px; color: var(--text); font-weight: 800; }
.operations-notice-intro { margin: -4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.operations-notice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.operations-notice-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(0,0,0,.18); }
.operations-notice-pages[hidden] { display: none !important; }
.operations-notice-pages legend { padding: 0 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.operations-notice-pages label { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.025); color: var(--text); cursor: pointer; }
.operations-notice-pages label:has(input:checked) { border-color: rgba(var(--green-rgb), .45); background: rgba(var(--green-rgb), .09); }
.operations-notice-pages input { width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--green); }
.operations-notice-pages span { overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.operations-notice-preview { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; min-width: 0; padding: 13px 14px; border: 1px solid rgba(var(--green-rgb), .24); border-radius: 14px; background: #111a11; transition: opacity 160ms ease, filter 160ms ease; }
.operations-notice-preview > span { padding: 5px 7px; border-radius: 999px; background: rgba(var(--green-rgb), .14); color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.operations-notice-preview > div { display: grid; gap: 2px; min-width: 0; }
.operations-notice-preview strong, .operations-notice-preview p { overflow-wrap: anywhere; }
.operations-notice-preview p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.operations-notice-preview > small { color: var(--green); font-size: 10px; font-weight: 800; text-align: right; }
.operations-notice-preview.is-hidden { opacity: .48; filter: grayscale(.65); }
@media (max-width: 760px) {
  .operations-notice-grid, .operations-notice-pages { grid-template-columns: minmax(0, 1fr); }
  .operations-notice-preview { grid-template-columns: auto minmax(0, 1fr); }
  .operations-notice-preview > small { grid-column: 1 / -1; text-align: left; }
}
.compact-field { min-width: 170px; }
.inventory-record.is-archived { opacity: .76; border-style: dashed; }

@media (max-width: 1040px) {
  .readiness-layout { grid-template-columns: minmax(0, 1fr); }
  .operations-panel { position: static; }
}

@media (max-width: 820px) {
  .site-operation-banner,
  .site-operation-copy { align-items: stretch; flex-direction: column; gap: 7px; }
  .site-operation-banner { padding: 11px 18px; }
  .site-operation-banner > a { align-self: center; }
  .readiness-heading,
  .readiness-heading-actions { align-items: stretch; flex-direction: column; }
  .readiness-heading-actions { width: 100%; }
  .readiness-private-note { width: 100%; }
  .readiness-heading-actions .small-action { width: 100%; }
  .readiness-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .readiness-score-primary { grid-column: 1 / -1; }
  .readiness-panel-heading { align-items: stretch; flex-direction: column; }
  .readiness-check,
  .media-health-record { grid-template-columns: auto minmax(0, 1fr); }
  .readiness-check .small-action,
  .media-health-record .small-action { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 560px) {
  .readiness-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readiness-score-primary { grid-column: 1 / -1; }
  .readiness-score-metric { min-height: 96px; padding: 13px; }
  .readiness-score-metric:last-child { grid-column: 1 / -1; }
  .readiness-panel { padding: 16px; }
  .readiness-check,
  .media-health-record { grid-template-columns: minmax(0, 1fr); }
  .readiness-check-marker,
  .media-health-badge { width: fit-content; }
  .media-health-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 20260805 personalized signed-in Home watchline. */
.viewer-dashboard {
  position: relative;
  isolation: isolate;
  margin-top: clamp(52px, 7vw, 94px);
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 2%, rgba(var(--purple-rgb), .24), transparent 34%),
    linear-gradient(145deg, rgba(var(--green-rgb), .07), rgba(15, 16, 22, .97) 42%, rgba(8, 9, 13, .99));
  box-shadow: 0 28px 72px rgba(0, 0, 0, .34);
}

.viewer-dashboard::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 9%;
  left: 9%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--green), var(--accent-bright), transparent);
  opacity: .78;
}

.viewer-dashboard-heading {
  display: grid;
  margin-bottom: 25px;
  padding-bottom: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 24px clamp(32px, 5vw, 70px);
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.viewer-dashboard-heading-copy {
  max-width: 740px;
}

.viewer-dashboard-heading h2 {
  max-width: 680px;
  margin-top: 6px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 4.7vw, 58px);
  line-height: .95;
  letter-spacing: -.055em;
}

.viewer-dashboard-heading-copy > p:last-child {
  max-width: 610px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.viewer-dashboard-status {
  display: grid;
  gap: 6px;
  padding: 16px 17px;
  border: 1px solid rgba(var(--green-rgb), .24);
  border-radius: 15px;
  background: rgba(6, 8, 10, .54);
  box-shadow: inset 3px 0 0 rgba(var(--green-rgb), .58);
}

.viewer-dashboard-status > span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.viewer-dashboard-status > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(var(--green-rgb), .1), 0 0 14px rgba(var(--green-rgb), .55);
}

.viewer-dashboard-status strong {
  font-size: 16px;
  line-height: 1.25;
}

.viewer-dashboard-status small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.viewer-shelves {
  min-width: 0;
}

.viewer-shelf {
  min-width: 0;
}

.viewer-shelf-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.viewer-shelf-heading > div:first-child > span {
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.viewer-shelf-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(23px, 2.8vw, 32px);
  letter-spacing: -.04em;
}

.viewer-shelf-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.viewer-shelf-tools > a {
  color: #d9d2e3;
  font-size: 12px;
  font-weight: 750;
}

.viewer-shelf-tools > a:hover,
.viewer-shelf-tools > a:focus-visible {
  color: var(--green);
}

.viewer-shelf-controls {
  display: flex;
  gap: 8px;
}

.viewer-shelf-viewport {
  display: block;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 16px;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}

.viewer-shelf-viewport::-webkit-scrollbar {
  display: none;
}

.viewer-shelf-viewport:focus-visible {
  border-radius: 15px;
  outline: 2px solid rgba(var(--green-rgb), .7);
  outline-offset: 5px;
}

.viewer-shelf-rail {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: stretch;
  flex-flow: row nowrap;
  gap: 16px;
}

.viewer-shelf-card {
  width: clamp(270px, 28vw, 355px);
  min-height: 218px;
  flex: 0 0 clamp(270px, 28vw, 355px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.viewer-shelf-card .home-curation-copy {
  min-height: 218px;
}

.viewer-shelf-card .home-curation-copy strong {
  font-size: clamp(20px, 2.2vw, 27px);
}

@media (max-width: 760px) {
  .viewer-dashboard {
    margin-top: 42px;
    padding: 21px;
    border-radius: 19px;
  }

  .viewer-dashboard-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 21px;
  }

  .viewer-dashboard-heading h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .viewer-dashboard-status {
    max-width: 430px;
  }

  .viewer-shelf-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .viewer-shelf-tools {
    width: 100%;
    justify-content: space-between;
  }

  .viewer-shelf-rail {
    min-width: max-content;
  }

  .viewer-shelf-card {
    width: min(72vw, 340px);
    flex-basis: min(72vw, 340px);
  }
}

@media (max-width: 520px) {
  .viewer-dashboard {
    padding: 18px 16px;
  }

  .viewer-shelf-tools {
    align-items: flex-end;
  }

  .viewer-shelf-tools > a {
    max-width: 120px;
  }

  .viewer-shelf-rail {
    gap: 12px;
  }

  .viewer-shelf-card {
    width: min(82vw, 330px);
    flex-basis: min(82vw, 330px);
  }
}
/* 20260805 profile settings hub. */
.profile-settings-hub {
  display: grid;
  margin: -6px 0 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-settings-current,
.profile-settings-shortcut {
  display: grid;
  min-width: 0;
  min-height: 112px;
  align-content: start;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #0d0f15;
  text-align: left;
}

.profile-settings-current {
  border-color: rgba(var(--green-rgb), .44);
  background: linear-gradient(145deg, rgba(var(--green-rgb), .12), rgba(255, 255, 255, .025));
  box-shadow: inset 3px 0 0 var(--green);
}

.profile-settings-shortcut {
  cursor: pointer;
  font: inherit;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.profile-settings-shortcut[hidden] {
  display: none;
}

.profile-settings-shortcut:hover,
.profile-settings-shortcut:focus-visible {
  border-color: rgba(var(--green-rgb), .62);
  background: rgba(var(--green-rgb), .08);
  transform: translateY(-2px);
}

.profile-settings-current span,
.profile-settings-shortcut span {
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-settings-current strong,
.profile-settings-shortcut strong {
  font-size: 15px;
  line-height: 1.25;
}

.profile-settings-current small,
.profile-settings-shortcut small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.profile-settings-danger {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .profile-settings-hub {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-settings-current,
  .profile-settings-shortcut {
    min-height: 0;
  }
}
/* 20260805 profile activity rail and Control Room consistency. */
.profile-activity-section {
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
}

.profile-activity-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.profile-activity-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(22px, 3vw, 30px);
}

.profile-activity-heading > div:first-child > p:last-child {
  max-width: 660px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.profile-activity-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.profile-activity-controls button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #0d0f15;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.profile-activity-controls button:hover,
.profile-activity-controls button:focus-visible {
  border-color: rgba(var(--green-rgb), .62);
  color: var(--green);
  background: rgba(var(--green-rgb), .08);
}

.profile-activity-controls button:disabled {
  opacity: .3;
  cursor: default;
}

.profile-activity-section .watch-activity {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}

.profile-activity-section .watch-activity::-webkit-scrollbar {
  display: none;
}

.profile-activity-section .watch-activity:focus-visible {
  border-radius: 11px;
  outline: 2px solid rgba(var(--green-rgb), .68);
  outline-offset: 4px;
}

.profile-activity-section .watch-activity > .empty-social {
  flex: 1 0 100%;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #0d0f15;
}

.profile-activity-section .activity-item {
  display: flex;
  flex: 0 0 clamp(230px, 25vw, 300px);
  min-height: 156px;
  padding: 16px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0d0f15;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.activity-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.activity-item-top > small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.activity-status {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: #d9d4df;
  background: rgba(255, 255, 255, .07);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.activity-status.is-watching {
  color: var(--green);
  background: rgba(var(--green-rgb), .11);
}

.activity-status.is-want-to-watch {
  color: #d7c8f4;
  background: rgba(var(--purple-rgb), .18);
}

.activity-status.is-watched {
  color: #ffd98b;
  background: rgba(241, 190, 82, .12);
}

.profile-activity-section .activity-item > strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.activity-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.activity-item-meta span {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 7px;
  color: #cbc5d2;
  background: rgba(255, 255, 255, .035);
  font-size: 10px;
}

.activity-item-time {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 620px) {
  .profile-activity-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .profile-activity-controls {
    align-self: flex-end;
  }

  .profile-activity-section .activity-item {
    flex-basis: min(78vw, 280px);
  }
}

/* Television browser compatibility: Fire TV, Android TV, Tizen, webOS and similar embedded browsers. */
html.tv-mode {
  --header: 56px;
  scroll-behavior: auto;
}

html.tv-mode body {
  min-width: 0;
  background: #050607;
  font-size: 14px;
}

html.tv-mode *,
html.tv-mode *::before,
html.tv-mode *::after {
  animation: none !important;
  scroll-behavior: auto !important;
  transition: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.tv-mode .shell {
  width: 92vw;
  max-width: 1480px;
}

html.tv-mode .stream-header {
  position: absolute;
  min-height: var(--header);
  background: #050607;
}

html.tv-mode .stream-nav,
html.tv-mode .library-page .stream-nav,
html.tv-mode .home-page .stream-nav {
  display: flex !important;
  min-height: var(--header);
  padding: 0;
  grid-template: none !important;
  gap: 10px;
  align-items: center;
}

html.tv-mode .stream-nav > * {
  grid-column: auto !important;
  grid-row: auto !important;
}

html.tv-mode .brand {
  min-width: max-content;
  font-size: 20px;
}

html.tv-mode .brand::before {
  width: 21px;
  height: 21px;
  margin-right: 6px;
  filter: none;
}

html.tv-mode .content-tabs,
html.tv-mode .library-page .stream-nav .content-tabs,
html.tv-mode .home-page .stream-nav .content-tabs {
  width: auto;
  min-width: 0;
  margin: 0 0 0 auto;
  padding: 3px;
  grid-column: auto;
  grid-row: auto;
  gap: 2px;
  border-radius: 999px;
  flex-wrap: nowrap;
}

html.tv-mode .content-tabs a,
html.tv-mode .library-page .stream-nav .content-tabs a,
html.tv-mode .home-page .stream-nav .content-tabs a {
  min-height: 34px;
  padding: 6px 8px;
  font-size: 11px;
}

html.tv-mode .sign-in-link,
html.tv-mode .library-page .stream-nav .sign-in-link,
html.tv-mode .home-page .stream-nav .sign-in-link {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 12px;
}

html.tv-mode .cta,
html.tv-mode button {
  min-height: 38px;
  font-size: 12px;
}

html.tv-mode .cta {
  padding: 8px 14px;
}

html.tv-mode :focus {
  outline: 3px solid var(--accent-bright) !important;
  outline-offset: 3px !important;
}

html.tv-mode .public-hero,
html.tv-mode .home-hero {
  height: calc(100vh - var(--header));
  min-height: 360px;
  background: linear-gradient(118deg, #17251a 0%, #11131a 52%, #241d35 100%);
}

html.tv-mode .public-hero-copy,
html.tv-mode .home-copy {
  padding-bottom: clamp(26px, 4vh, 42px);
}

html.tv-mode .public-hero-copy h1,
html.tv-mode .home-copy h1 {
  max-width: 700px;
  margin-bottom: 11px;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: .92;
}

html.tv-mode .library-page .hero-copy {
  padding-bottom: clamp(16px, 2.6vh, 26px);
}

html.tv-mode .library-page .hero-copy h1,
html.tv-mode .shorts-page .shorts-hero .hero-copy h1 {
  max-width: 570px;
  margin-bottom: 7px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: .94;
}

html.tv-mode .content-badge {
  margin-bottom: 7px;
  font-size: 9px;
}

html.tv-mode .hero-description,
html.tv-mode .home-copy > p:not(.content-badge),
html.tv-mode .public-hero-copy > p:not(.content-badge) {
  max-width: 500px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.4;
}

html.tv-mode .hero-meta {
  margin-bottom: 8px;
  font-size: 11px;
}

html.tv-mode .hero-actions {
  gap: 7px;
}

html.tv-mode .public-hero-video,
html.tv-mode .home-video,
html.tv-mode .home-hero > iframe,
html.tv-mode .feature-media > video,
html.tv-mode .feature-media > iframe {
  display: none !important;
}

html.tv-mode .public-hero-overlay,
html.tv-mode .home-overlay,
html.tv-mode .feature-media::after {
  background: linear-gradient(90deg, rgba(5, 6, 7, 0.82), rgba(5, 6, 7, 0.38) 58%, rgba(5, 6, 7, 0.64));
}

html.tv-mode .feature-media {
  background-color: #101411;
  background-image:
    linear-gradient(90deg, rgba(5, 6, 7, 0.72), rgba(5, 6, 7, 0.2) 66%),
    var(--tv-hero-poster, linear-gradient(135deg, #17251a, #241d35));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

html.tv-mode .hero-control-bar,
html.tv-mode .feature-controls,
html.tv-mode .shorts-trailer-gestures,
html.tv-mode .hero-slide-controls {
  display: none !important;
}

html.tv-mode .library-page {
  height: 100vh;
}

html.tv-mode .library-page main {
  height: calc(100vh - var(--header));
  margin-top: var(--header);
  grid-template-rows: minmax(180px, 35vh) minmax(0, 1fr);
}

html.tv-mode .library-page .library-main {
  padding-block: 16px 28px;
  overscroll-behavior: auto;
}

html.tv-mode .catalog-top {
  gap: 14px;
  margin-bottom: 18px;
}

html.tv-mode .catalog-top h2 {
  font-size: clamp(24px, 2.9vw, 34px);
}

html.tv-mode .row-stack {
  gap: 26px;
}

html.tv-mode .row-title {
  margin-bottom: 10px;
}

html.tv-mode .card-rail {
  grid-auto-columns: clamp(155px, 16.5vw, 195px);
  gap: 9px;
  padding-bottom: 7px;
}

html.tv-mode .title-card {
  min-height: 112px;
  height: auto;
  padding: 10px;
}

html.tv-mode .title-card strong {
  font-size: 15px;
}

html.tv-mode .title-card small {
  font-size: 9px;
}

html.tv-mode .shorts-page {
  height: 100vh;
  overflow: hidden;
}

html.tv-mode .shorts-page .shorts-experience {
  display: grid !important;
  height: calc(100vh - var(--header));
  margin-top: var(--header);
  grid-template-columns: minmax(230px, 29vw) minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  overflow: hidden;
}

html.tv-mode .shorts-page .shorts-hero {
  position: relative;
  display: flex !important;
  min-height: 0 !important;
  padding: 18px !important;
  align-items: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

html.tv-mode .shorts-page .portrait-player {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
}

html.tv-mode .shorts-page .shorts-hero .hero-copy.shell {
  position: relative !important;
  z-index: 4;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  transform: none !important;
}

html.tv-mode .shorts-page .library-main {
  min-width: 0;
  padding: 16px 0 24px;
  overflow-y: auto;
}

html.tv-mode .shorts-page .card-rail {
  grid-auto-columns: clamp(140px, 15.5vw, 175px) !important;
}

html.tv-mode .shorts-page .title-card {
  min-height: clamp(185px, 23vw, 240px) !important;
}

html.tv-mode .home-discovery,
html.tv-mode .public-story,
html.tv-mode .public-social,
html.tv-mode .featured-artist,
html.tv-mode .contact-section {
  padding-block: clamp(30px, 4vw, 46px);
}

html.tv-mode .home-heading {
  margin-bottom: 22px;
}

html.tv-mode .home-heading h2 {
  font-size: clamp(27px, 3.5vw, 38px);
}

html.tv-mode .destination-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

html.tv-mode .destination {
  min-height: 170px;
  padding: 15px;
}

html.tv-mode .destination span {
  margin-bottom: 34px;
}

html.tv-mode .destination h3 {
  font-size: 21px;
}

html.tv-mode .destination p {
  margin-bottom: 10px;
  font-size: 11px;
}

html.tv-mode .home-curation-grid {
  grid-auto-columns: clamp(200px, 21vw, 255px);
  gap: 10px;
}

html.tv-mode .home-curation-card,
html.tv-mode .home-curation-copy,
html.tv-mode .viewer-shelf-card,
html.tv-mode .viewer-shelf-card .home-curation-copy {
  min-height: 160px;
}

html.tv-mode .viewer-shelf-card {
  width: clamp(200px, 21vw, 255px);
  flex-basis: clamp(200px, 21vw, 255px);
}

html.tv-mode .home-curation-copy {
  padding: 12px;
}

html.tv-mode .home-curation-copy strong,
html.tv-mode .viewer-shelf-card .home-curation-copy strong {
  font-size: 17px;
}

html.tv-mode .featured-artist-card {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding: 20px;
  grid-template-columns: minmax(170px, 250px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
}

html.tv-mode .featured-artist-card .artist-cover-preview {
  width: 100%;
  max-width: 250px;
  min-height: 0;
  padding: 18px;
  justify-self: start;
  aspect-ratio: 4 / 5;
}

html.tv-mode .featured-artist-card .artist-cover-preview span {
  font-size: clamp(27px, 3.6vw, 46px);
}

html.tv-mode .featured-artist-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.5vw, 40px);
}

html.tv-mode .featured-artist-copy > p:not(.section-kicker) {
  max-width: 540px;
  font-size: 13px;
  line-height: 1.5;
}

html.tv-mode .featured-artist-actions {
  margin-top: 20px;
  gap: 8px;
}

html.tv-mode .featured-artist-copy .featured-artist-actions .cta {
  min-width: 190px;
  min-height: 38px;
  padding-inline: 15px;
}

html.tv-mode .public-pillars {
  gap: 9px;
}

html.tv-mode .public-pillars article,
html.tv-mode .contact-card {
  padding: 16px;
}

html.tv-mode .payment-modal {
  padding: clamp(18px, 4vh, 36px) 0;
}

html.tv-mode .payment-modal-panel {
  width: min(400px, 38vw);
  height: min(780px, 88vh);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 16px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  transform: none !important;
}

html.tv-mode .payment-modal-summary {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: 13px 15px 11px;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 90% 10%, rgba(var(--purple-rgb), .22), transparent 14rem),
    linear-gradient(150deg, #090c0a, #121018);
}

html.tv-mode .payment-modal-summary .brand {
  font-size: 16px;
}

html.tv-mode .payment-modal-summary-copy {
  gap: 4px;
  margin: 8px 0 7px;
}

html.tv-mode .payment-modal-summary .content-badge {
  margin-bottom: 1px;
  font-size: 7px;
}

html.tv-mode .payment-modal-summary h2 {
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1;
}

html.tv-mode .payment-modal-summary-copy > p {
  font-size: 9px;
  line-height: 1.3;
}

html.tv-mode .payment-modal-facts {
  display: grid;
  margin: 2px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 10px;
}

html.tv-mode .payment-modal-facts > div {
  display: block;
  min-width: 0;
  padding: 5px 0 2px;
}

html.tv-mode .payment-modal-facts dt {
  font-size: 7px;
}

html.tv-mode .payment-modal-facts dd {
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 9px;
  line-height: 1.25;
  text-align: left;
}

html.tv-mode .payment-modal-security {
  margin: 5px 0 0;
  font-size: 6px;
  line-height: 1.3;
}

html.tv-mode .payment-modal-flow-header {
  gap: 8px;
  padding: 8px 11px 6px;
}

html.tv-mode .payment-modal-flow-header h3 {
  margin-top: 3px;
  font-size: 17px;
}

html.tv-mode .payment-modal-flow .payment-modal-close {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 9px;
}

html.tv-mode .payment-modal-flow .payment-modal-status {
  padding: 5px 11px;
  font-size: 8px;
  line-height: 1.25;
}

html.tv-mode .payment-modal-checkout {
  min-height: 0;
  padding: 3px 5px 5px;
  overflow: hidden;
}

html.tv-mode .payment-modal-checkout.stripe-checkout-mounted > div {
  width: 125% !important;
  min-width: 125% !important;
  max-width: none !important;
  zoom: .8;
}

html.tv-mode .donation-chooser {
  gap: 7px;
  padding: 3px;
}

html.tv-mode .donation-presets {
  gap: 5px;
}

html.tv-mode .donation-presets button {
  min-height: 30px;
  font-size: 11px;
}

html.tv-mode .donation-chooser .field {
  gap: 4px;
  font-size: 9px;
}

html.tv-mode .donation-chooser input,
html.tv-mode .donation-chooser .cta {
  min-height: 32px;
}
html.tv-mode .public-story,
html.tv-mode .public-social,
html.tv-mode .featured-artist,
html.tv-mode .contact-section,
html.tv-mode .title-row,
html.tv-mode [data-landing-reveal] {
  contain: none !important;
  content-visibility: visible !important;
}

html.tv-mode .title-rail,
html.tv-mode .home-curation-rail,
html.tv-mode .viewer-shelf-viewport,
html.tv-mode .watch-activity {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

html.tv-mode .page-footer {
  content-visibility: visible;
}

@media (max-width: 900px) {
  html.tv-mode .shell {
    width: 94vw;
  }

  html.tv-mode .public-pillars,
  html.tv-mode .destination-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html.tv-mode .public-social,
  html.tv-mode .contact-section {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }
}

@media (max-height: 760px) and (orientation: landscape) {
  html.tv-mode {
    --header: 50px;
  }

  html.tv-mode body {
    font-size: 13px;
  }

  html.tv-mode .brand {
    font-size: 18px;
  }

  html.tv-mode .brand::before {
    width: 19px;
    height: 19px;
  }

  html.tv-mode .content-tabs a,
  html.tv-mode .library-page .stream-nav .content-tabs a,
  html.tv-mode .home-page .stream-nav .content-tabs a {
    min-height: 31px;
    padding: 5px 7px;
    font-size: 10px;
  }

  html.tv-mode .sign-in-link,
  html.tv-mode .library-page .stream-nav .sign-in-link,
  html.tv-mode .home-page .stream-nav .sign-in-link,
  html.tv-mode .cta,
  html.tv-mode button {
    min-height: 34px;
    font-size: 11px;
  }

  html.tv-mode .public-hero,
  html.tv-mode .home-hero {
    min-height: 310px;
  }

  html.tv-mode .public-hero-copy,
  html.tv-mode .home-copy {
    padding-bottom: 22px;
  }

  html.tv-mode .public-hero-copy h1,
  html.tv-mode .home-copy h1 {
    max-width: 640px;
    font-size: clamp(34px, 5vw, 52px);
  }

  html.tv-mode .library-page main {
    grid-template-rows: minmax(158px, 32vh) minmax(0, 1fr);
  }

  html.tv-mode .library-page .hero-copy h1,
  html.tv-mode .shorts-page .shorts-hero .hero-copy h1 {
    font-size: clamp(27px, 4vw, 38px);
  }

  html.tv-mode .hero-description,
  html.tv-mode .home-copy > p:not(.content-badge),
  html.tv-mode .public-hero-copy > p:not(.content-badge) {
    margin-bottom: 11px;
    font-size: 12px;
    line-height: 1.32;
  }

  html.tv-mode .library-page .library-main,
  html.tv-mode .shorts-page .library-main {
    padding-top: 12px;
  }

  html.tv-mode .catalog-top {
    margin-bottom: 13px;
  }

  html.tv-mode .row-stack {
    gap: 20px;
  }

  html.tv-mode .destination {
    min-height: 150px;
  }

  html.tv-mode .featured-artist-card {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    padding: 16px;
  }

  html.tv-mode .featured-artist-card .artist-cover-preview {
    max-width: 210px;
    padding: 14px;
  }

  html.tv-mode .featured-artist-actions {
    margin-top: 14px;
  }

  html.tv-mode .payment-modal {
    padding: 12px 0;
  }

  html.tv-mode .payment-modal-panel {
    width: min(340px, 34vw);
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    transform: none !important;
  }

  html.tv-mode .payment-modal-summary {
    padding: 10px 12px 8px;
  }

  html.tv-mode .payment-modal-summary .brand {
    font-size: 14px;
  }

  html.tv-mode .payment-modal-summary-copy {
    gap: 3px;
    margin: 5px 0 4px;
  }

  html.tv-mode .payment-modal-summary h2 {
    font-size: 18px;
  }

  html.tv-mode .payment-modal-summary-copy > p {
    font-size: 8px;
    line-height: 1.22;
  }

  html.tv-mode .payment-modal-facts > div {
    padding-top: 4px;
  }

  html.tv-mode .payment-modal-security {
    display: block;
    margin-top: 3px;
  }

  html.tv-mode .payment-modal-flow-header {
    padding: 6px 9px 5px;
  }

  html.tv-mode .payment-modal-flow-header h3 {
    font-size: 15px;
  }

  html.tv-mode .payment-modal-flow .payment-modal-status {
    padding: 4px 9px;
    font-size: 7px;
  }

  html.tv-mode .payment-modal-checkout {
    padding: 2px 4px 4px;
  }

  html.tv-mode .payment-modal-checkout.stripe-checkout-mounted > div {
    width: 153.85% !important;
    min-width: 153.85% !important;
    zoom: .65;
  }

  html.tv-mode .donation-chooser {
    gap: 5px;
    padding: 2px;
  }

  html.tv-mode .donation-presets button {
    min-height: 28px;
    font-size: 10px;
  }}

@media (min-width: 1800px) {
  html.tv-mode .shell {
    max-width: 1680px;
  }

  html.tv-mode .hero-description,
  html.tv-mode .home-copy > p:not(.content-badge),
  html.tv-mode .public-hero-copy > p:not(.content-badge) {
    font-size: 14px;
  }
}

/* 20260813 managed Sarealtv in motion playlist. */
.motion-player {
  display: grid;
  gap: 10px;
}

.motion-player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: #07080c;
}

.motion-player-stage .youtube-load,
.motion-player-stage iframe,
.motion-player-stage video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: #07080c;
}

.motion-player-stage video {
  object-fit: contain;
}

.motion-player-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(8, 10, 10, 0.9);
}

.motion-player-toolbar > button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.motion-player-toolbar > button:hover,
.motion-player-toolbar > button:focus-visible {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.2);
  outline: none;
}

.motion-player-toolbar > button:disabled {
  opacity: 0.38;
  cursor: default;
}

.youtube-frame .motion-player-toolbar p {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.motion-player-toolbar strong,
.motion-player-toolbar span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motion-player-toolbar strong {
  color: var(--text);
  font-size: 14px;
}

.motion-player-toolbar span {
  color: var(--muted);
  font-size: 11px;
}

.motion-playlist {
  display: flex;
  gap: 9px;
  padding: 2px 1px 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(var(--accent-rgb), 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  scroll-snap-type: inline proximity;
}

.motion-playlist-item {
  display: grid;
  flex: 0 0 min(260px, 76%);
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px 12px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.motion-playlist-item:hover,
.motion-playlist-item:focus-visible,
.motion-playlist-item.active {
  border-color: rgba(var(--accent-rgb), 0.72);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--purple-rgb), 0.09));
  outline: none;
}

.motion-playlist-item > span:first-child {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.motion-playlist-item > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.motion-playlist-item strong,
.motion-playlist-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.motion-playlist-item strong {
  font-size: 13px;
}

.motion-playlist-item small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.youtube-frame .motion-player-note {
  width: fit-content;
  margin: 0 3px;
}

.motion-player-error {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 24px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.home-motion-admin {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.07), rgba(var(--purple-rgb), 0.055) 58%, rgba(255, 255, 255, 0.025));
}

.home-motion-admin-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.home-motion-admin-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-motion-admin-heading h3 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 25px);
}

.home-motion-admin > p {
  margin: 0;
  color: var(--muted);
}

.home-motion-list {
  display: grid;
  gap: 11px;
}

.home-motion-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(260px, 1.45fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(5, 7, 7, 0.58);
}

.home-motion-row-head {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
}

.home-motion-row-head strong {
  display: grid;
  width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  font-size: 11px;
}

.home-motion-row-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-motion-row .field {
  margin: 0;
}

.home-motion-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2px;
}

.home-motion-row-actions .check-field {
  margin: 0 3px 0 0;
  white-space: nowrap;
}

.home-motion-row-actions .small-action {
  min-height: 36px;
  padding-inline: 11px;
}

.home-motion-summary {
  min-height: 18px;
  font-size: 12px;
}

@media (max-width: 820px) {
  .home-motion-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-motion-row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .motion-player-toolbar {
    gap: 7px;
    padding: 8px;
  }

  .motion-player-toolbar > button {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .motion-player-toolbar strong {
    font-size: 12px;
  }

  .motion-playlist-item {
    flex-basis: 84%;
  }

  .home-motion-admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

html.tv-mode .motion-playlist-item {
  flex-basis: 220px;
  min-height: 56px;
}

html.tv-mode .motion-player-toolbar > button {
  min-height: 34px;
}

@media (prefers-reduced-motion: reduce) {
  .motion-playlist {
    scroll-behavior: auto;
  }
}
/* 20260813 playlist expansion and stable loading state. */
.motion-player-toolbar[hidden],
.motion-playlist[hidden],
.motion-player-note[hidden] {
  display: none !important;
}

.motion-player-loading {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 220px;
  gap: 7px;
  padding: clamp(24px, 6vw, 46px);
  place-content: center start;
  background:
    radial-gradient(circle at 20% 22%, rgba(var(--accent-rgb), 0.14), transparent 30%),
    linear-gradient(135deg, #0d100e, #07080c);
  color: var(--text);
}

.motion-player-loading-mark {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 7px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.motion-player-loading strong {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(23px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.motion-player-loading small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.motion-player[data-motion-state="loading"] .motion-player-loading-mark,
.motion-player[data-motion-state="opening"] .motion-player-loading-mark {
  animation: motion-player-loading-pulse 1.5s ease-in-out infinite;
}

.motion-player-stage > iframe,
.motion-player-stage > video,
.motion-player-stage > .youtube-load,
.motion-player-stage > .motion-player-error {
  animation: motion-player-arrive 220ms ease-out both;
}

.motion-playlist-item {
  flex-basis: min(310px, 82%);
  grid-template-columns: 78px minmax(0, 1fr);
}

.motion-playlist-item > .motion-playlist-visual {
  position: relative;
  display: grid;
  width: 78px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.motion-playlist-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes motion-player-loading-pulse {
  0%,
  100% {
    border-color: rgba(var(--accent-rgb), 0.25);
    opacity: 0.72;
  }

  50% {
    border-color: rgba(var(--accent-rgb), 0.72);
    opacity: 1;
  }
}

@keyframes motion-player-arrive {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .motion-playlist-item {
    flex-basis: 88%;
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .motion-playlist-item > .motion-playlist-visual {
    width: 68px;
    height: 39px;
  }
}

html.tv-mode .motion-playlist-item {
  grid-template-columns: 66px minmax(0, 1fr);
}

html.tv-mode .motion-playlist-item > .motion-playlist-visual {
  width: 66px;
  height: 37px;
}

@media (prefers-reduced-motion: reduce) {
  .motion-player-loading-mark,
  .motion-player-stage > * {
    animation: none !important;
  }
}
/* 20260821 closed public accounts and private owner entry. */
.account-private-access-note { margin: 0 0 14px; padding: 10px 12px; border: 1px solid rgba(var(--green-rgb), .28); border-radius: 12px; background: rgba(var(--green-rgb), .08); color: var(--green); font-size: 12px; font-weight: 800; }
.account-private-access-note[hidden] { display: none !important; }
.account-access-admin { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 16px; margin: 18px 0 24px; padding: 18px; border: 1px solid rgba(var(--green-rgb), .2); border-radius: 18px; background: linear-gradient(145deg, rgba(var(--green-rgb), .07), rgba(255,255,255,.02)); }
.account-access-admin-copy { grid-column: 1 / -1; }
.account-access-admin-copy > span, .private-signin-launcher span { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.account-access-admin-copy h3 { margin: 4px 0 5px; }
.account-access-admin-copy p, .private-signin-launcher p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.account-access-form { display: grid; gap: 10px; align-content: start; min-width: 0; }
.account-access-form .admin-setting-toggle { min-width: 0; }
.account-access-form .admin-setting-toggle:has(input:disabled) { opacity: .55; }
.account-access-form .auth-submit { width: 100%; margin-top: 3px; }
.private-signin-launcher { display: grid; align-content: space-between; gap: 18px; min-width: 0; padding: 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(0,0,0,.2); }
.private-signin-launcher strong { display: block; margin: 5px 0; }
.private-signin-launcher .cta { width: 100%; }
.account-access-status { grid-column: 1 / -1; margin: 0; }
@media (max-width: 820px) {
  .account-access-admin { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .account-access-admin-copy, .account-access-status { grid-column: 1; }
}
