:root {
  color-scheme: dark;
  --bg: #0e0f14;
  --shell: #14161d;
  --panel: #181b23;
  --panel-2: #20242e;
  --panel-3: #292e3a;
  --text: #f7f8fb;
  --muted: #adb4c2;
  --soft: #737b8c;
  --line: rgba(255, 255, 255, .10);
  --accent: #58d68d;
  --accent-2: #6bb6ff;
  --danger: #ff5b75;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

/* Keep the semantic H1 available to crawlers and assistive technology without adding a large visual block to the home layout. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f8;
  --shell: #ffffff;
  --panel: #ffffff;
  --panel-2: #eef2f6;
  --panel-3: #e4e9f0;
  --text: #121722;
  --muted: #5d6675;
  --soft: #8a93a1;
  --line: rgba(18, 23, 34, .12);
  --accent: #167245;
  --accent-2: #266f9d;
  --danger: #d93156;
  --shadow: 0 18px 54px rgba(18, 23, 34, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

:target {
  scroll-margin-top: 82px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  gap: 14px;
  align-items: center;
  height: 62px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--shell) 92%, transparent);
  backdrop-filter: blur(18px);
}

.topbar > div:empty {
  display: none;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.top-right { justify-content: end; }

.icon-button {
  border: 1px solid #ff3045;
  border-radius: 10px;
  color: var(--text);
  background: var(--panel-2);
}

.icon-button {
  width: 38px;
  height: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 1000;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--bg);
  background: var(--accent);
}

.top-nav {
  display: flex;
  gap: 2px;
  flex: 0 0 auto;
  margin-left: 0;
}

.top-nav a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 850;
  font-size: 14px;
}

.top-nav a:hover {
  color: var(--text);
  background: var(--panel-2);
}

.top-nav .nav-guarantee {
  position: relative;
  isolation: isolate;
  color: #05060a;
  background: linear-gradient(90deg, #ffea00, #38ff8b, #35b7ff, #ff4df3, #ffea00);
  background-size: 320% 100%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .22) inset,
    0 0 14px rgba(255, 224, 55, .65),
    0 0 30px rgba(56, 255, 139, .32);
  font-weight: 1000;
  animation: guaranteeColorFlow 2.2s linear infinite, guaranteePulse 1.15s ease-in-out infinite;
}

.top-nav .nav-guarantee::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
  filter: blur(10px);
  opacity: .72;
  animation: guaranteeColorFlow 2.2s linear infinite;
}

.top-nav .nav-guarantee:hover {
  color: #05060a;
  transform: translateY(-1px);
}

@keyframes guaranteeColorFlow {
  from { background-position: 0% 50%; }
  to { background-position: 320% 50%; }
}

@keyframes guaranteePulse {
  0%, 100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .22) inset,
      0 0 14px rgba(255, 224, 55, .60),
      0 0 30px rgba(56, 255, 139, .30);
  }
  50% {
    filter: brightness(1.24);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .36) inset,
      0 0 24px rgba(255, 224, 55, .95),
      0 0 48px rgba(255, 77, 243, .45);
  }
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(560px, 38vw);
  margin-left: auto;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
}

.search-box span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.theme-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
}

.theme-switch button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.theme-switch button.is-active {
  color: var(--bg);
  background: var(--accent);
}

.drawer-nav {
  display: none;
}

.app-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
  padding-top: 62px;
}

.channel-rail {
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  overflow-y: auto;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
  background: var(--shell);
}

body.rail-collapsed .app-shell {
  grid-template-columns: 70px minmax(0, 1fr);
}

body.rail-collapsed .rail-title strong,
body.rail-collapsed .rail-title span,
body.rail-collapsed .rail-channel span:not(.avatar),
body.rail-collapsed .rail-channel em {
  display: none;
}

.rail-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 8px 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.rail-title span {
  color: var(--accent);
  font-weight: 1000;
}

.rail-channel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
}

.rail-channel:hover {
  background: var(--panel-2);
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 1000;
}

.avatar.large {
  width: 58px;
  height: 58px;
  font-size: 22px;
}

.rail-channel strong,
.rail-channel small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rail-channel small {
  color: var(--muted);
  margin-top: 3px;
}

.rail-channel em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.content {
  min-width: 0;
  padding: 18px;
}

.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.watch-main,
.browse-block {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 0;
  background:
    radial-gradient(circle at 62% 26%, color-mix(in srgb, var(--accent-2) 28%, transparent), transparent 30%),
    linear-gradient(120deg, rgba(0,0,0,.78), rgba(0,0,0,.12) 52%, rgba(0,0,0,.70)),
    #080a0f;
}

/* Do not reserve a full video viewport while the first live-status response is pending. */
.live-hero.is-status-pending,
.live-hero.has-no-live {
  aspect-ratio: auto;
  min-height: 96px;
}

.live-hero.is-status-pending .hero-video-scene,
.live-hero.is-status-pending .hero-video-vignette,
.live-hero.is-status-pending .hero-arrow,
.live-hero.is-status-pending .hero-dots,
.live-hero.has-no-live .hero-video-scene,
.live-hero.has-no-live .hero-video-vignette,
.live-hero.has-no-live .hero-arrow,
.live-hero.has-no-live .hero-dots {
  display: none;
}

.live-hero.is-status-pending .hero-profile-card,
.live-hero.has-no-live .hero-profile-card {
  position: relative;
  inset: auto;
  min-height: 96px;
}

/* Local layout test: when there is no confirmed live channel, show the banner
   strip first and let the live grid start below it without an empty hero. */
.watch-layout:has(.live-hero.is-status-pending),
.watch-layout:has(.live-hero.has-no-live) {
  grid-template-columns: minmax(0, 1fr);
}

.watch-layout:has(.live-hero.is-status-pending) .watch-main,
.watch-layout:has(.live-hero.has-no-live) .watch-main {
  display: none;
}

.watch-layout:has(.live-hero.is-status-pending) .kick-side-panel,
.watch-layout:has(.live-hero.has-no-live) .kick-side-panel {
  min-height: 136px;
}

.watch-layout:has(.live-hero.is-status-pending) .sponsor-banner-list,
.watch-layout:has(.live-hero.has-no-live) .sponsor-banner-list {
  grid-template-rows: 1fr;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Home-only test: remove the heavy hero completely. Streamer detail pages
   keep their own player; the home keeps banners and confirmed live cards. */
.home-content .watch-layout {
  grid-template-columns: minmax(0, 1fr);
}

.home-content .watch-main {
  display: none !important;
}

.home-content .kick-side-panel {
  min-height: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.home-content .kick-side-panel.sponsor-panel {
  display: block;
}

.home-content .sponsor-banner-list[data-banner-placement="top"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 10px;
  min-height: 0;
  flex: none;
  padding: 0;
}

.home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot {
  min-height: 82px;
  height: 82px;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-live-banner-strip {
  margin: 18px 0 24px;
}

.home-live-banner-strip .sponsor-banner-list[data-banner-placement="below-live"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 10px;
  padding: 0;
}

.home-live-banner-strip .sponsor-slot {
  min-height: 82px;
  height: 82px;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-banner-strip .kick-side-head {
  display: none;
}

.home-banner-strip .sponsor-slot {
  max-width: none;
  min-height: 112px;
}

.home-banner-strip .sponsor-cta {
  display: none;
}

@media (max-width: 700px) {
  .home-content .sponsor-banner-list[data-banner-placement="top"],
  .home-live-banner-strip .sponsor-banner-list[data-banner-placement="below-live"] {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 8px;
    overflow: visible;
  }

  .home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot,
  .home-live-banner-strip .sponsor-slot {
    min-height: 64px;
    height: 64px;
  }
}

/* Banner slots stay at a fixed creative size; the page must not stretch them into columns. */
.home-content .sponsor-banner-list[data-banner-placement="top"],
.home-live-banner-strip .sponsor-banner-list[data-banner-placement="below-live"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

.home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot,
.home-live-banner-strip .sponsor-slot {
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  height: 82px;
  min-height: 82px;
}

@media (max-width: 700px) {
  .home-content .sponsor-banner-list[data-banner-placement="top"],
  .home-live-banner-strip .sponsor-banner-list[data-banner-placement="below-live"] {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot,
  .home-live-banner-strip .sponsor-slot {
    flex: 0 0 82px;
    width: 320px;
    max-width: 100%;
    height: 82px;
    min-height: 82px;
  }
}

html[data-theme="light"] .video-player {
  background:
    radial-gradient(circle at 62% 26%, color-mix(in srgb, var(--accent-2) 36%, transparent), transparent 30%),
    linear-gradient(120deg, rgba(0,0,0,.78), rgba(0,0,0,.20) 52%, rgba(0,0,0,.72)),
    #131722;
}

.video-pattern {
  position: absolute;
  inset: 10%;
  opacity: .62;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 55% 45%, #000, transparent 68%);
}

.video-center {
  position: absolute;
  left: clamp(26px, 5vw, 70px);
  bottom: clamp(86px, 7vw, 128px);
  width: min(640px, calc(100% - 52px));
}

.live-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #0e0f14;
  background: var(--accent);
  font-size: 12px;
  font-weight: 1000;
}

.video-center h1 {
  margin: 16px 0 8px;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -.075em;
}

.video-center p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
}

.primary-button,
.follow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--bg);
  background: var(--accent);
  font-weight: 1000;
  text-decoration: none;
}

.video-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(12px);
}

.bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.bar i {
  display: block;
  width: 66%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.stream-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.stream-info > div {
  min-width: 0;
}

.stream-info h2 {
  margin: 0 0 5px;
  font-size: 24px;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.stream-info p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.tag-row span {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel-2);
  font-size: 12px;
  font-weight: 800;
}

.browse-block {
  margin-top: 18px;
  padding: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.section-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
}

.section-head h2 {
  margin: 5px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -.065em;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tabs button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel-2);
  font-weight: 900;
}

.filter-tabs button.is-active {
  color: var(--bg);
  background: var(--accent);
}

.stream-grid,
.vod-grid,
.category-grid {
  display: grid;
  gap: 14px;
}

.stream-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* External channels have no viewer count, so they remain after counted live cards. */
.stream-grid .external-live-card {
  order: 5;
}

.vod-grid,
.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stream-card,
.vod-card,
.category-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-2);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.stream-card:hover,
.vod-card:hover,
.category-card:hover {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  background: color-mix(in srgb, var(--panel-2) 86%, var(--accent));
  transform: translateY(-2px);
}

.thumb,
.vod-thumb {
  position: relative;
  min-height: 165px;
  background:
    radial-gradient(circle at 70% 24%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 26px),
    var(--panel-3);
}

.thumb span,
.vod-thumb span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--accent);
  font-size: 11px;
  font-weight: 1000;
}

.thumb.muted span,
.vod-thumb span {
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  border: 1px solid var(--line);
}

.thumb .play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: var(--bg);
  background: var(--accent);
  font-size: 22px;
  transform: translate(-50%, -50%);
  font-style: normal;
}

.stream-card .stream-card-title,
.vod-card h3 {
  margin: 13px 13px 5px;
  letter-spacing: -.04em;
}

.stream-card p {
  margin: 0 13px 14px;
  color: var(--muted);
}

.category-card {
  min-height: 120px;
  padding: 18px;
}

.category-card strong {
  display: block;
  font-size: 20px;
  letter-spacing: -.04em;
}

.category-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.streamer-top-banner{margin:22px 0 18px}.streamer-top-banner .sponsor-banner-list{width:100%}
.chrome-live-caption-button{position:absolute;right:58px;bottom:12px;z-index:3;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(8,10,14,.86);color:#fff;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer;backdrop-filter:blur(8px)}.chrome-live-caption-button:hover{border-color:var(--accent);color:#fff}.chrome-live-caption-button:disabled{cursor:not-allowed;opacity:.55}
.streamer-directory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.streamer-directory-toolbar {
  display: grid;
  gap: 10px;
  margin: 18px 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 27, 45, .16), transparent 34%),
    color-mix(in srgb, var(--panel) 92%, #05070b);
}

.streamer-toolbar-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.streamer-toolbar-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
}

.streamer-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.streamer-filter-group button,
.streamer-sort-box select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.streamer-filter-group button {
  padding: 0 14px;
  cursor: pointer;
}

.streamer-filter-group button.is-active {
  border-color: rgba(255, 27, 45, .70);
  background: linear-gradient(135deg, rgba(255,27,45,.95), rgba(255,69,82,.78));
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 27, 45, .20);
}

.streamer-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.streamer-sort-box label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.streamer-sort-box select {
  padding: 0 34px 0 14px;
  appearance: none;
  border-color: color-mix(in srgb, var(--line) 84%, var(--accent));
  background-color: #111722;
  color: #f7f9ff;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 18px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    #111722;
}

.streamer-sort-box select option {
  background: #111722;
  color: #f7f9ff;
}

html[data-theme="light"] .streamer-sort-box select {
  border-color: #d5dbe7;
  background-color: #ffffff;
  color: #111827;
}

html[data-theme="light"] .streamer-sort-box select option {
  background: #ffffff;
  color: #111827;
}

.streamer-directory-summary {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.streamer-empty-state {
  margin: 18px 0 0;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
  background: rgba(255,255,255,.035);
}

.streamer-directory-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--panel-2) 94%, #000), color-mix(in srgb, var(--panel) 92%, #000));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.streamer-directory-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
}

.streamer-directory-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 22px 100%;
  opacity: .72;
}

.streamer-directory-card .avatar,
.streamer-directory-card > span:not(.avatar),
.streamer-directory-card em {
  position: relative;
  z-index: 1;
}

.streamer-directory-card .avatar {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 2px rgba(255,27,45,.18);
}

.streamer-directory-card.is-live .avatar {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 0 18px rgba(255,27,45,.34);
}

.streamer-directory-card strong,
.streamer-directory-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.streamer-directory-card strong {
  color: var(--text);
  font-size: 17px;
  letter-spacing: -.035em;
}

.streamer-directory-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.streamer-directory-card em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.streamer-directory-card.is-live em {
  color: var(--accent);
  font-weight: 1000;
}

.streamer-directory-card.is-live em::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 27, 45, .72);
  vertical-align: 1px;
}

.streamer-directory-card.is-offline {
  opacity: .78;
}

.streamer-directory-card.is-offline .avatar {
  filter: saturate(.72) brightness(.76);
}

.site-footer {
  margin-top: 20px;
  padding: 18px 4px 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.footer-links a {
  transition: color .16s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.simple-page {
  min-height: calc(100vh - 62px - 96px);
  padding: 0;
  background: transparent;
}

.simple-card {
  width: min(980px, 100%);
  margin: 0;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.simple-card > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .14em;
}

.simple-card h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: .98;
  letter-spacing: -.075em;
}

.simple-card p {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.simple-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.streamer-watch-content {
  padding: 18px;
}

.streamer-watch-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.streamer-main-panel {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.live-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 30%),
    linear-gradient(135deg, rgba(0,0,0,.88), rgba(0,0,0,.22) 52%, rgba(0,0,0,.82)),
    #05070b;
}

.live-screen.is-status-pending {
  background: #0b0d12 !important;
}

.live-screen.is-status-pending .live-pill {
  background: #414955;
  color: #fff;
}

.live-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .48;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 58% 42%, #000, transparent 70%);
}

.live-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.72));
}

.live-screen-inner {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 1;
}

.live-screen h1 {
  margin: 12px 0 7px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -.075em;
}

.live-screen p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 16px;
}

.streamer-meta-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--panel);
}

.streamer-meta-card.mystery-meta-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 18px;
}

.mystery-meta-card .mystery-avatar {
  width: 54px;
  height: 54px;
  font-size: 20px;
}

.mystery-meta-card h1 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.mystery-meta-card .tag-row {
  gap: 6px;
  margin-top: 8px;
}

.mystery-meta-card .tag-row span {
  padding: 5px 8px;
  font-size: 11px;
}

.myavlive-hls-screen .myavlive-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 6vw, 52px);
  background: linear-gradient(135deg, #050608 0%, #08090c 70%, #101217 100%);
  color: #fff;
}
.myavlive-hls-screen .myavlive-loading[hidden] { display: none; }
.myavlive-loading b {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 3px;
  background: #414955;
  font-size: 12px;
  letter-spacing: .02em;
}
.myavlive-loading strong {
  margin-top: 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: .95;
  letter-spacing: -.08em;
}
.myavlive-loading span {
  margin-top: 18px;
  color: rgba(255,255,255,.76);
  font-size: clamp(14px, 1.8vw, 18px);
}

.mystery-list-link {
  min-width: 72px;
  margin: 0 62px 0 0;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .streamer-meta-card.mystery-meta-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mystery-list-link {
    grid-column: 2;
    justify-self: start;
    margin-right: 0;
  }
}

.streamer-meta-card > div {
  min-width: 0;
}

.streamer-meta-card h2 {
  margin: 0 0 5px;
  font-size: 26px;
  letter-spacing: -.045em;
}

.streamer-meta-card p {
  margin: 0;
  color: var(--muted);
}

.streamer-tabs {
  display: flex;
  gap: 18px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.streamer-tabs a {
  padding: 16px 0 13px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  font-weight: 900;
}

.streamer-tabs a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.streamer-replay-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 82%, #000);
}

.mini-vod-card {
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 76% 24%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 34%),
    var(--panel-2);
}

.mini-vod-card strong,
.mini-vod-card span {
  display: block;
}

.mini-vod-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.vod-list-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel-2) 82%, transparent);
}

.streamer-replay-strip.has-error .vod-list-message {
  color: #ffd6dc;
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
}

.mini-vod-card.vod-replay-card {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  background: color-mix(in srgb, var(--panel-2) 86%, #000);
}

.mini-vod-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 34%),
    linear-gradient(135deg, #2a1720, #12151c 56%, #0b0d11);
  background-position: center;
  background-size: cover;
}

.mini-vod-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.46));
}

.mini-vod-thumb span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: inline-flex;
  margin: 0;
  min-height: 22px;
  align-items: center;
  padding: 0 7px;
  border-radius: 4px;
  color: #fff;
  background: rgba(0,0,0,.72);
  font-size: 12px;
  font-weight: 900;
}

.mini-vod-card.vod-replay-card strong {
  display: -webkit-box;
  margin: 11px 12px 0;
  min-height: 42px;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-vod-card.vod-replay-card > span {
  margin: 7px 12px 12px;
  color: var(--muted);
  font-size: 12px;
}

.right-banner-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: color-mix(in srgb, var(--panel-2) 88%, #000);
}

.banner-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.banner-panel-head strong {
  font-size: 16px;
}

.banner-panel-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
}

.banner-stack {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.side-banner-slot {
  display: grid;
  place-items: center;
  min-height: 124px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent 48%),
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--accent-2) 36%, transparent), transparent 34%),
    var(--panel);
}

.side-banner-slot strong {
  display: block;
  font-size: 18px;
  letter-spacing: -.04em;
}

.side-banner-slot span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.side-banner-note {
  margin: auto 14px 14px;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 150;
  max-width: min(92vw, 520px);
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1240px) {
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .streamer-watch-page {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

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

  .video-player {
    min-height: 0;
  }
}

@media (max-width: 960px) {
  .topbar {
    gap: 10px;
  }

  .search-box {
    width: min(360px, 34vw);
  }

  .app-shell,
  body.rail-collapsed .app-shell {
    grid-template-columns: 1fr;
  }

  .channel-rail {
    position: static;
    height: auto;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body.rail-collapsed .rail-channel span:not(.avatar),
  body.rail-collapsed .rail-channel em {
    display: block;
  }

  .rail-title {
    display: none;
  }

  .rail-channel {
    min-width: 180px;
    scroll-snap-align: start;
    background: var(--panel);
    border: 1px solid var(--line);
  }

  .content {
    padding: 14px;
  }

  .watch-main,
  .browse-block {
    border-radius: 16px;
  }

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

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

  .streamer-main-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .right-banner-panel {
    min-height: auto;
  }

  .banner-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .side-banner-slot {
    min-height: 118px;
  }
}

@media (max-width: 700px) {
  body.drawer-open {
    overflow: hidden;
  }

  body.drawer-open::before {
    content: "";
    position: fixed;
    inset: 60px 0 0;
    z-index: 120;
    background: rgba(0, 0, 0, .56);
  }

  .topbar {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "left . right";
    height: 60px;
    min-height: 0;
    gap: 10px;
    padding: 0 10px;
  }

  .top-left {
    grid-area: left;
    min-width: 0;
    justify-content: start;
  }

  .top-nav {
    display: none;
  }

  .top-right {
    grid-area: right;
    min-width: max-content;
    justify-content: end;
  }

  .search-box {
    display: none;
  }

  .brand strong {
    font-size: 20px;
    letter-spacing: -.04em;
  }

  .brand-mark,
  .icon-button {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .theme-switch {
    padding: 3px;
  }

  .theme-switch button {
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .app-shell {
    padding-top: 0;
  }

  .content {
    padding: 10px;
  }

  .channel-rail {
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    z-index: 140;
    display: block;
    width: min(78vw, 286px);
    height: calc(100dvh - 60px);
    overflow-y: auto;
    align-items: flex-start;
    padding: 16px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: var(--shell);
    box-shadow: 24px 0 80px rgba(0, 0, 0, .45);
    transform: translateX(-104%);
    transition: transform .22s ease;
  }

  body.drawer-open .channel-rail {
    transform: translateX(0);
  }

  .drawer-nav {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
  }

  .drawer-nav-divider {
    display: block;
    height: 1px;
    margin: 6px 0;
    background: var(--line);
  }

  .drawer-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    background: var(--panel-2);
    font-weight: 900;
  }

  .drawer-nav .nav-guarantee {
    justify-content: flex-start;
    color: #05060a;
    background: linear-gradient(90deg, #ffea00, #38ff8b, #35b7ff, #ff4df3, #ffea00);
    background-size: 320% 100%;
    box-shadow: 0 0 18px rgba(255, 224, 55, .55);
    animation: guaranteeColorFlow 2.2s linear infinite, guaranteePulse 1.15s ease-in-out infinite;
  }

  .rail-title {
    display: flex;
    padding: 8px 4px 10px;
  }

  .rail-channel {
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 54px;
    margin-bottom: 4px;
  }

  .rail-channel em {
    display: block;
  }

  .avatar {
    width: 38px;
    height: 38px;
  }

  .avatar.large {
    width: 50px;
    height: 50px;
    font-size: 19px;
  }

  .video-player {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: 0;
  }

  .video-pattern {
    inset: 0;
    opacity: .42;
    background-size: 54px 54px;
  }

  .video-center {
    left: 16px;
    right: 16px;
    bottom: 74px;
    width: auto;
  }

  .live-pill {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
  }

  .video-center h1 {
    margin: 12px 0 7px;
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.02;
  }

  .video-center p {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.45;
  }

  .primary-button,
  .follow-button {
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }

  .video-controls {
    grid-template-columns: auto 1fr auto;
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 8px;
    padding: 10px;
    font-size: 12px;
  }

  .video-controls span:nth-last-child(-n+2) {
    display: none;
  }

  .stream-info {
    grid-template-columns: auto 1fr;
    gap: 11px;
    padding: 13px;
  }

  .stream-info h2 {
    font-size: 20px;
  }

  .stream-info p {
    font-size: 13px;
    line-height: 1.55;
  }

  .tag-row {
    gap: 5px;
  }

  .tag-row span {
    padding: 5px 8px;
    font-size: 11px;
  }

  .follow-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .streamer-watch-content {
    padding: 10px;
  }

  .streamer-watch-page {
    border-radius: 16px;
  }

  .live-screen {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .live-screen-inner {
    inset: auto 16px 18px;
  }

  .live-screen h1 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .live-screen p {
    font-size: 13px;
  }

  .streamer-meta-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
  }

  .streamer-meta-card h2 {
    font-size: 20px;
  }

  .streamer-meta-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .streamer-tabs {
    gap: 15px;
    overflow-x: auto;
    padding-inline: 14px;
  }

  .streamer-tabs a {
    flex: 0 0 auto;
  }

  .streamer-replay-strip,
  .banner-stack {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .browse-block {
    margin-top: 12px;
    padding: 13px;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
    gap: 10px;
    margin-bottom: 12px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .filter-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .filter-tabs button {
    flex: 0 0 auto;
    min-height: 34px;
  }

  .stream-grid,
  .vod-grid,
  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .thumb,
  .vod-thumb {
    min-height: 156px;
  }

  .stream-card .stream-card-title,
  .vod-card h3 {
    margin: 11px 12px 4px;
    font-size: 16px;
  }

  .stream-card p {
    margin: 0 12px 12px;
    font-size: 13px;
  }

  .category-card {
    min-height: 96px;
    padding: 15px;
  }

  .category-card strong {
    font-size: 18px;
  }

  .site-footer {
    margin-top: 14px;
    padding: 15px 2px 28px;
  }

  .footer-links {
    justify-content: center;
    gap: 10px 14px;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
  }

  .simple-page {
    min-height: auto;
    padding: 0;
  }

  .simple-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .simple-card h1 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .simple-card p {
    font-size: 15px;
  }

  .simple-actions {
    width: 100%;
  }

  .simple-actions .primary-button,
  .simple-actions .follow-button {
    width: 100%;
  }
}

/* Policy pages: readable long-form content for users and search engines. */
.legal-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 334px;
  gap: 12px;
  max-width: none;
}

.legal-page .simple-card {
  padding: clamp(22px, 4vw, 42px);
}

body .legal-side-banner {
  position: sticky;
  top: 72px;
  align-self: start;
  height: 562px;
  min-height: 562px;
}

.legal-lead {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.85;
}

.legal-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.legal-sections {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  text-align: left;
}

.legal-sections section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.legal-sections h2 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
}

.legal-sections p,
.legal-sections li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.legal-sections p {
  margin: 0;
}

.legal-sections ul {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
  padding-left: 20px;
}

.legal-sections a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-references {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.legal-references h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.legal-references p,
.legal-references li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.legal-references p {
  margin: 0 0 10px;
}

.legal-references ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.legal-references + .simple-actions {
  margin-top: 18px;
}

.legal-references a {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 700px) {
  .legal-page {
    grid-template-columns: 1fr;
  }

  .legal-page .simple-card {
    padding: 20px 16px;
  }

  body .legal-side-banner {
    position: static;
    height: 562px;
    min-height: 562px;
  }

  .legal-lead {
    font-size: 14px;
    line-height: 1.75;
  }

  .legal-sections {
    gap: 19px;
    margin-top: 22px;
  }

  .legal-sections section {
    padding-top: 16px;
  }

  .legal-sections h2 {
    font-size: 16px;
  }

  .legal-sections p,
  .legal-sections li {
    font-size: 13px;
    line-height: 1.75;
  }

  .legal-references {
    margin-top: 22px;
    padding: 16px;
  }

  .legal-references p,
  .legal-references li {
    font-size: 12px;
  }
}

body:not(.rail-ready) .channel-rail .rail-channel {
  visibility: hidden !important;
}

.streamer-watch-page .live-screen.is-offline {
  display: block !important;
}

.streamer-watch-page .live-screen.is-offline.has-source-preview {
  background:
    linear-gradient(180deg, rgba(3, 5, 8, .12), rgba(3, 5, 8, .58)),
    var(--source-poster, none) center / cover no-repeat,
    #05070b;
}

a[href="/#vod"],
a[href="#vod"],
#vod,
.streamer-vod-head,
.streamer-replay-strip,
[data-vod-list],
.vod-grid,
.vod-card {
  display: none !important;
}

@media (max-width: 420px) {
  .theme-switch {
    transform: scale(.94);
    transform-origin: right center;
  }

  .video-player {
    min-height: 0;
  }

  .video-center {
    bottom: 70px;
  }

  .video-center h1 {
    font-size: 29px;
  }

  .rail-channel {
    min-width: 0;
  }

  .thumb,
  .vod-thumb {
    min-height: 145px;
  }
}

/* Kick-inspired platform shell refresh.
   Layout density and interaction patterns follow a live streaming platform,
   while 슬롯.TV keeps its own brand, labels, and original visual treatment. */
:root,
html[data-theme="dark"],
html[data-theme="light"] {
  color-scheme: dark;
  --bg: #07090c;
  --shell: #07090c;
  --panel: #10141a;
  --panel-2: #171b22;
  --panel-3: #252a33;
  --text: #f6f7fb;
  --muted: #b4bbc6;
  --soft: #7d8592;
  --line: rgba(255, 255, 255, .12);
  --accent: #53fc18;
  --accent-2: #8dff55;
  --danger: #ee2447;
  --shadow: none;
}

body {
  background: var(--bg);
}

:target {
  scroll-margin-top: 76px;
}

.topbar {
  height: 60px;
  padding: 0 14px;
  gap: 16px;
  background: #07090c;
  border-bottom: 1px solid #1d222b;
  backdrop-filter: none;
}

.top-left {
  min-width: 260px;
}

.top-right,
.top-nav {
  display: none;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-color: #2b303a;
  border-radius: 7px;
  color: #fff;
  background: #151920;
  font-size: 22px;
  line-height: 1;
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #061007;
  background: var(--accent);
  font-weight: 1000;
}

.brand strong {
  color: var(--accent);
  font-size: 27px;
  letter-spacing: -.075em;
}

.search-box {
  width: min(560px, 44vw);
  min-height: 34px;
  margin: 0 auto;
  padding: 0 12px;
  border-color: #414751;
  border-radius: 5px;
  background: #07090c;
}

.search-box span {
  color: #dde1e7;
  font-size: 13px;
  font-weight: 800;
}

.search-box span::before {
  content: "⌕";
  margin-right: 8px;
  color: #fff;
  font-size: 18px;
  vertical-align: -1px;
}

.search-box input::placeholder {
  color: #9098a4;
}

.app-shell {
  grid-template-columns: 256px minmax(0, 1fr);
  padding-top: 60px;
}

.channel-rail {
  top: 60px;
  height: calc(100vh - 60px);
  padding: 0 8px 14px;
  border-right-color: #1d222b;
  background: #07090c;
}

.drawer-nav {
  display: grid;
  gap: 2px;
  padding: 12px 0 14px;
  border-bottom: 1px solid #252a33;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 13px;
  border-radius: 4px;
  color: #f6f7fb;
  font-weight: 1000;
}

.drawer-nav a::before {
  display: inline-grid;
  place-items: center;
  width: 24px;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
}

.drawer-nav a:nth-child(1)::before { content: ""; }
.drawer-nav a:nth-child(2)::before { content: ""; }
.drawer-nav a:nth-child(3)::before { content: ""; }
.drawer-nav a:nth-child(4)::before { content: ""; }
.drawer-nav a:nth-child(5)::before { content: ""; }

.drawer-nav a:hover,
.drawer-nav a:first-child {
  background: #3a3f48;
}

.drawer-nav .nav-guarantee {
  color: #071006;
  background: linear-gradient(90deg, var(--accent), #f6ff22, var(--accent));
  background-size: 240% 100%;
  animation: guaranteeColorFlow 1.8s linear infinite, guaranteePulse 1.1s ease-in-out infinite;
}

.rail-title {
  padding: 17px 10px 13px;
  color: #fff;
  font-size: 16px;
  font-weight: 1000;
}

.rail-title span {
  color: var(--accent);
  font-size: 12px;
}

.rail-channel {
  min-height: 54px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 5px;
}

.rail-channel:hover {
  background: #171b22;
}

.avatar {
  width: 34px;
  height: 34px;
  border: 2px solid var(--accent);
  color: #061007;
  background: linear-gradient(135deg, #ecffe8, var(--accent));
  font-size: 14px;
}

.avatar.large {
  width: 58px;
  height: 58px;
  font-size: 22px;
}

.rail-channel strong {
  color: #fff;
  font-size: 14px;
}

.rail-channel small {
  color: #aeb5c1;
  font-size: 13px;
}

.rail-channel em {
  color: #f4f6fb;
  font-size: 12px;
  font-style: normal;
  font-weight: 1000;
}

.rail-channel em::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--accent);
}

body.rail-collapsed .app-shell {
  grid-template-columns: 64px minmax(0, 1fr);
}

body.rail-collapsed .drawer-nav a {
  justify-content: center;
  padding: 0;
  font-size: 0;
}

body.rail-collapsed .drawer-nav a::before {
  margin: 0;
}

.content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
  padding: 0 18px 18px;
  background: #07090c;
}

/* 홈 첫 화면은 배너/라이브를 먼저 보여주고, 스트리머 목록은 그 다음에 배치한다. */
.home-content > #player {
  order: -1;
}

.home-content > #live {
  order: 0;
}

.home-content > #streamers {
  order: 1;
}

.home-content > .home-seo-title,
.home-content > #slot-broadcast-guide,
.home-content > .seo-home-faq {
  order: 2;
}

/* Defer layout and painting work for sections below the first viewport. */
.live-grid,
.stream-grid,
.category-grid,
.seo-home-content {
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.watch-layout {
  order: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 334px;
  gap: 12px;
}

.watch-main,
.browse-block,
.simple-card,
.streamer-watch-page {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.video-player {
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 44% 45%, rgba(133, 124, 95, .58), transparent 54%),
    linear-gradient(135deg, rgba(100, 91, 72, .82), rgba(76, 82, 80, .94)),
    #22262d;
}

.video-pattern {
  inset: 0;
  opacity: .22;
  background:
    linear-gradient(120deg, rgba(255,255,255,.12), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 52px);
  filter: blur(1px);
  mask-image: none;
}

.adult-gate {
  position: absolute;
  inset: 16% 12% auto;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #f6f7fb;
  text-align: center;
  pointer-events: none;
}

.adult-gate span {
  font-size: 42px;
  line-height: 1;
}

.adult-gate p {
  max-width: 440px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.55;
}

.video-center {
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  width: auto;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 7px;
  background: rgba(20, 19, 17, .90);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 -1px 0 var(--accent) inset;
}

.video-center h1 {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.video-center p {
  margin: 0;
  color: #f2f5f9;
  font-size: 14px;
  font-weight: 900;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.primary-button,
.follow-button,
.side-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  color: #061007;
  background: var(--accent);
  font-weight: 1000;
  text-decoration: none;
}

.primary-button:hover,
.follow-button:hover,
.side-cta:hover {
  filter: brightness(1.08);
}

.video-controls {
  display: none;
}

.stream-info {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 14px 0 0;
  border-top: 0;
}

.stream-info h2 {
  font-size: 22px;
}

.stream-info p {
  color: #aeb5c1;
}

.tag-row span {
  border-radius: 999px;
  color: #e7ebf1;
  background: #333842;
  font-weight: 900;
}

.kick-side-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #252a33;
  border-radius: 6px;
  background: #0d1015;
}

.kick-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid #252a33;
}

.kick-side-head strong {
  font-size: 20px;
  letter-spacing: -.04em;
}

.kick-side-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
}

.side-message-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.side-message {
  padding: 14px;
  border: 1px solid #252a33;
  border-radius: 7px;
  background: #151920;
}

.side-message b,
.side-message span {
  display: block;
}

.side-message b {
  color: var(--accent);
  margin-bottom: 6px;
}

.side-message span {
  color: #c2c8d1;
  font-size: 13px;
  line-height: 1.55;
}

.side-cta {
  margin: auto 16px 16px;
}

.sponsor-panel {
  min-height: 100%;
}

.sponsor-banner-list {
  display: grid;
  flex: 1;
  gap: 10px;
  grid-template-rows: repeat(5, minmax(74px, 1fr));
  min-height: 0;
  padding: 14px 16px;
}

.sponsor-slot {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 300px;
  height: auto;
  min-height: 74px;
  margin-inline: auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 48, 70, .32);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 48, 70, .18), rgba(255, 48, 70, .03) 45%, rgba(0, 0, 0, .42)),
    #141820;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.sponsor-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 48, 70, .45), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 12px);
}

.sponsor-slot span {
  position: relative;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .03em;
}

.sponsor-slot .sponsor-slot-copy {
  display: flex;
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: 1.1;
}

.sponsor-slot .sponsor-slot-copy .sponsor-slot-title {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .03em;
}

.sponsor-slot .sponsor-slot-copy small {
  color: rgba(255,255,255,.64);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.sponsor-slot:hover {
  border-color: rgba(255, 48, 70, .72);
  transform: translateY(-1px);
}

.sponsor-cta {
  margin: 0 16px 16px;
}

.streamer-sponsor-panel .banner-panel-head strong {
  color: #fff;
}

.streamer-sponsor-panel .banner-stack {
  gap: 10px;
  padding-right: 16px;
  padding-left: 16px;
}

.streamer-sponsor-panel .sponsor-slot {
  height: 130px;
  min-height: 130px;
}

.streamer-watch-page .streamer-sponsor-panel {
  position: static;
  align-self: stretch;
  height: auto;
  min-height: 100%;
  border-left-color: rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, #0d1015 0%, #0d1015 72%, rgba(255, 27, 45, .08) 100%);
}

.streamer-watch-page .streamer-sponsor-panel .banner-stack {
  padding-bottom: 10px;
}

.streamer-watch-page .streamer-sponsor-panel .sponsor-cta {
  width: calc(100% - 32px);
  min-height: 44px;
  margin: 0 16px;
  border-radius: 9px;
  box-shadow:
    0 14px 34px rgba(255, 27, 45, .18),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.streamer-watch-page .streamer-sponsor-panel::after {
  content: "";
  flex: 0 0 12px;
  background: linear-gradient(180deg, rgba(255, 27, 45, .12), transparent);
}

.browse-block {
  margin-top: 0;
  padding: 0;
}

#categories {
  order: 1;
}

#live {
  order: 2;
}

#vod {
  order: 3;
}

.section-head {
  margin-bottom: 16px;
  align-items: center;
}

.section-head span {
  display: none;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -.055em;
}

.section-more {
  color: #f2f5f9;
  font-size: 14px;
  font-weight: 900;
}

.live-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.live-more-button {
  min-width: 128px;
  min-height: 40px;
  border: 1px solid rgba(255, 47, 73, .45);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, rgba(255, 47, 73, .96), rgba(180, 18, 42, .92));
  box-shadow: 0 12px 30px rgba(255, 47, 73, .18);
  cursor: pointer;
}

.live-more-button:hover {
  filter: brightness(1.08);
}

.filter-tabs {
  gap: 4px;
}

.filter-tabs button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  color: #c8ced8;
  background: #171b22;
}

.filter-tabs button.is-active {
  color: #061007;
  background: var(--accent);
}

.category-grid {
  grid-template-columns: repeat(8, minmax(110px, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  min-height: 186px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background:
    radial-gradient(circle at 35% 24%, rgba(83,252,24,.42), transparent 34%),
    linear-gradient(160deg, #1b261c 0%, #11151c 46%, #252a33 100%);
}

.category-card:nth-child(2n) {
  background:
    radial-gradient(circle at 44% 22%, rgba(255,255,255,.32), transparent 32%),
    linear-gradient(160deg, #203b24 0%, #151920 50%, #11151c 100%);
}

.category-card:nth-child(3n) {
  background:
    radial-gradient(circle at 62% 24%, rgba(83,252,24,.30), transparent 36%),
    linear-gradient(160deg, #25323c 0%, #11151c 54%, #171b22 100%);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px);
  opacity: .82;
}

.category-card strong {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 40px;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

.category-card span {
  position: absolute;
  left: 10px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15,17,23,.75);
  font-size: 13px;
  font-weight: 900;
}

.stream-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.vod-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.stream-card,
.vod-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.stream-card:hover,
.vod-card:hover,
.category-card:hover {
  transform: none;
  background-color: transparent;
}

.thumb,
.vod-thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 70% 26%, rgba(83,252,24,.32), transparent 32%),
    linear-gradient(135deg, #2a2f38, #11151c 56%, #0b0d11);
}

.thumb span,
.vod-thumb span {
  top: 8px;
  left: 8px;
  border-radius: 4px;
  color: #fff;
  background: #e11838;
  font-size: 11px;
}

.thumb .play-button {
  width: 46px;
  height: 46px;
  color: #061007;
  background: var(--accent);
}

.stream-card .stream-card-title,
.vod-card h3 {
  margin: 9px 0 4px;
  color: #fff;
  font-size: 16px;
}

.stream-card p {
  margin: 0;
  color: #aeb5c1;
  font-size: 13px;
}

.site-footer {
  order: 10;
  margin-top: 18px;
  padding: 20px 0 32px;
  border-top: 1px solid #1d222b;
}

.footer-links {
  gap: 22px;
  color: #7f8794;
  font-size: 13px;
}

.simple-page {
  min-height: calc(100vh - 60px - 120px);
  padding-top: 18px;
}

.simple-card {
  width: 100%;
  max-width: 1120px;
  padding: 30px;
  border: 1px solid #252a33;
  border-radius: 7px;
  background: #10141a;
}

.simple-card h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.company-page {
  padding-top: 22px;
}

.company-card {
  max-width: 1120px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 36, 61, .10), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 48%),
    #10141a;
}

.company-card h1 {
  margin-bottom: 18px;
}

.company-lead {
  max-width: 860px !important;
  font-size: 17px !important;
  line-height: 1.85 !important;
}

.company-section {
  max-width: 920px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.company-section h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: -.04em;
}

.company-section p {
  max-width: none;
  margin-bottom: 12px;
  line-height: 1.85;
}

.company-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  list-style: none;
}

.company-list li::before {
  margin-right: 8px;
  color: var(--accent);
  content: '✓';
  font-weight: 900;
}

.company-section a {
  color: var(--accent);
  font-weight: 800;
}

.company-meta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.company-meta time {
  color: var(--accent);
}

.company-contact-section {
  margin-bottom: 30px;
}

.company-contact-section + .simple-actions {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.guarantee-page {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 22px 0 4px;
}

.guarantee-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 48, 70, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 48, 70, .30), transparent 36%),
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.10), transparent 28%),
    linear-gradient(135deg, rgba(255, 48, 70, .13), rgba(15, 18, 25, .98) 48%, #0b0d12 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 24px 80px rgba(0,0,0,.24);
}

.guarantee-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 34px),
    linear-gradient(90deg, transparent, rgba(255, 48, 70, .10), transparent);
  pointer-events: none;
}

.guarantee-hero > * {
  position: relative;
}

.guarantee-hero span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 48, 70, .18);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
}

.guarantee-hero h1 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.07em;
}

.guarantee-hero p {
  max-width: 720px;
  margin: 0;
  color: #c7ceda;
  font-size: 16px;
  line-height: 1.7;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.guarantee-card {
  display: flex;
  min-height: 472px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 42%),
    #10141a;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 16px 42px rgba(0,0,0,.18);
}

.guarantee-banner {
  position: relative;
  display: grid;
  height: 164px;
  min-height: 164px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 48, 70, .42), transparent 36%),
    radial-gradient(circle at 20% 26%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(135deg, #251018, #11151d 52%, #090b10);
}

.guarantee-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 1px, transparent 1px 14px),
    linear-gradient(90deg, transparent, rgba(255,48,70,.20), transparent);
}

.guarantee-banner-label {
  position: relative;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 1000;
  letter-spacing: -.04em;
  text-shadow: 0 10px 30px rgba(0,0,0,.44);
}

.guarantee-banner small {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
}

.guarantee-card-body {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.guarantee-card h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.guarantee-info {
  display: grid;
  gap: 8px;
  margin: 0;
}

.guarantee-info div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

.guarantee-info dt {
  color: #ff4659;
  font-size: 13px;
  font-weight: 1000;
}

.guarantee-info dd {
  margin: 0;
  color: #d9dee7;
  font-size: 13px;
  line-height: 1.45;
}

.guarantee-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff3b3b, var(--accent));
  font-size: 14px;
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 27, 45, .20);
}

.guarantee-button:hover,
.guarantee-banner:hover {
  filter: brightness(1.08);
}

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

}

@media (max-width: 700px) {
  .guarantee-page {
    padding: 12px 0 0;
  }

  .guarantee-hero {
    padding: 22px;
    border-radius: 14px;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guarantee-card {
    min-height: 0;
  }

  .guarantee-banner {
    height: 148px;
    min-height: 148px;
  }

  .guarantee-card-body {
    min-height: 0;
    padding: 14px;
  }

  .guarantee-info div {
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

.streamer-watch-content {
  padding: 0 18px 18px;
  min-width: 0;
  overflow-x: hidden;
}

.streamer-watch-page {
  grid-template-columns: minmax(0, 1fr) 334px;
  gap: 0;
  overflow: visible;
  min-width: 0;
  max-width: 100%;
}

.streamer-main-panel {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding-right: 18px;
  border-right: 0;
}

.live-screen {
  border-radius: 0;
  background:
    radial-gradient(circle at 52% 40%, rgba(83,252,24,.20), transparent 34%),
    linear-gradient(135deg, rgba(118,125,128,.82), rgba(58,66,72,.94)),
    #22262d;
}

.live-screen::before {
  inset: 0;
  opacity: .24;
  mask-image: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.12), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 36px);
}

.live-screen::after {
  background:
    radial-gradient(circle at center, transparent 0 26%, rgba(0,0,0,.08) 27% 100%),
    linear-gradient(180deg, transparent 48%, rgba(0,0,0,.76));
}

.live-screen-inner {
  inset: auto 28px 28px;
  display: grid;
  gap: 9px;
}

.live-pill {
  width: max-content;
  min-height: 24px;
  border-radius: 3px;
  color: #061007;
  background: var(--accent);
}

.streamer-meta-card {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 16px 0;
  background: transparent;
}

.streamer-meta-card h2 {
  font-size: 22px;
}

.streamer-tabs {
  gap: 22px;
  padding: 0;
  border-top: 1px solid #252a33;
  background: transparent;
}

.streamer-tabs a {
  padding: 15px 0 11px;
}

.streamer-replay-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px 0 0;
  border-top: 1px solid #252a33;
  background: transparent;
}

.mini-vod-card,
.side-banner-slot {
  border-color: #252a33;
  border-radius: 7px;
  background:
    radial-gradient(circle at 76% 24%, rgba(83,252,24,.18), transparent 34%),
    #151920;
}

.right-banner-panel {
  position: sticky;
  top: 60px;
  display: flex;
  height: calc(100vh - 60px);
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  overflow: hidden;
  border-width: 0 0 0 1px;
  border-style: solid;
  border-color: #252a33;
  border-radius: 0;
  background: #0d1015;
}

.banner-panel-head {
  min-height: 50px;
  border-bottom-color: #252a33;
}

.banner-panel-head strong {
  font-size: 18px;
}

.banner-panel-head span {
  color: var(--accent);
}

.banner-stack {
  gap: 12px;
  padding: 14px;
}

.side-banner-slot {
  min-height: 150px;
}

.side-banner-note {
  border-color: #252a33;
  border-radius: 7px;
}

@media (max-width: 1240px) {
  .watch-layout,
  .streamer-watch-page {
    grid-template-columns: minmax(0, 1fr);
  }

  .streamer-main-panel {
    padding-right: 0;
  }

  .kick-side-panel,
  .right-banner-panel {
    position: static;
    height: auto;
    min-height: auto;
    border: 1px solid #252a33;
    border-radius: 7px;
  }

  .stream-grid,
  .vod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .top-left {
    min-width: auto;
  }

  .brand strong {
    font-size: 22px;
  }

  .search-box {
    width: min(420px, 42vw);
  }

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

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    gap: 10px;
    height: 58px;
    padding: 0 10px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 20px;
  }

  .search-box {
    display: none;
  }

  .app-shell {
    display: block;
    padding-top: 58px;
  }

  .channel-rail {
    position: fixed;
    top: 58px;
    left: 0;
    z-index: 90;
    width: min(84vw, 278px);
    height: calc(100vh - 58px);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 18px 0 38px rgba(0,0,0,.42);
  }

  body.drawer-open .channel-rail {
    transform: translateX(0);
  }

  .content,
  .streamer-watch-content {
    padding: 0 12px 14px;
  }

  .watch-layout,
  .streamer-watch-page {
    gap: 14px;
  }

  .video-player,
  .live-screen {
    width: calc(100% + 24px);
    margin: 0 -12px;
    border-radius: 0;
  }

  .adult-gate {
    inset: 14% 18px auto;
  }

  .adult-gate span {
    font-size: 32px;
  }

  .adult-gate p {
    font-size: 14px;
  }

  .video-center {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 11px;
  }

  .video-center .primary-button {
    grid-column: 1 / -1;
  }

  .video-center h1 {
    font-size: 20px;
  }

  .stream-info {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .stream-info .follow-button {
    grid-column: 1 / -1;
  }

  .streamer-meta-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .category-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .category-card {
    flex: 0 0 132px;
    min-height: 176px;
    scroll-snap-align: start;
  }

  .stream-grid,
  .vod-grid,
  .streamer-replay-strip {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 14px;
    justify-content: flex-start;
    text-align: left;
  }
}

.stream-adult-gate {
  position: absolute;
  inset: 18% 20px auto;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #f6f7fb;
  text-align: center;
  pointer-events: none;
}

.stream-adult-gate span {
  font-size: 42px;
  line-height: 1;
}

.stream-adult-gate p {
  max-width: 470px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.55;
}

.stream-adult-gate i {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 4px;
  color: #061007;
  background: var(--accent);
  font-style: normal;
  font-weight: 1000;
}

@media (max-width: 700px) {
  .stream-adult-gate {
    inset: 14% 18px auto;
    gap: 8px;
  }

  .stream-adult-gate span {
    font-size: 30px;
  }

  .stream-adult-gate p {
    font-size: 14px;
  }

  .stream-adult-gate i {
    min-height: 32px;
    font-size: 13px;
  }
}

/* Quick fixes after Kick-style pass: search icon only, no follow CTA without login. */
.search-box {
  overflow: hidden;
}

.search-box span {
  flex: 0 0 24px;
  width: 24px;
  min-width: 24px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0;
  line-height: 1;
}

.search-box span::before {
  margin-right: 0;
  font-size: 18px;
}

.search-box input {
  min-width: 0;
}

.auth-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border, #303946);
  border-radius: 8px;
  color: var(--text, #f5f7fa);
  background: var(--panel, #11161d);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.auth-button:hover {
  border-color: #ff3045;
  color: #fff;
}

.auth-logout {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
}

.auth-logout:hover {
  border-color: #ff3045;
  color: #fff;
}

.auth-profile {
  gap: 8px;
  padding: 0 10px 0 7px;
}

.auth-avatar {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #e8e8e8;
  color: #8f98a4;
  font-size: 14px;
}

.auth-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-message {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 20px;
  text-decoration: none;
}

.auth-message:hover {
  border-color: #ff3045;
  color: #fff;
}

.auth-message { position: relative; }
.auth-message.has-unread::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3045;
  box-shadow: 0 0 8px #ff3045;
}

.favorite-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #0d1016cc;
  color: #ff3045;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.favorite-heart.is-active { color: #ff3045; border-color: #ff3045; box-shadow: 0 0 10px #ff304566; }
.favorite-heart img { display: block; width: 26px; height: 26px; margin: auto; object-fit: contain; mix-blend-mode: screen; }
.streamer-directory-card { position: relative; }
.streamer-meta-card, .live-screen { position: relative; }
.streamer-directory-card .favorite-heart { top: 50%; right: 12px; width: 38px; height: 38px; font-size: 25px; transform: translateY(-50%); }
.streamer-directory-card > span:not(.avatar) { padding-right: 46px; }
.detail-favorite-heart { top: 50%; right: 16px; width: 44px; height: 44px; font-size: 29px; transform: translateY(-50%); }
.streamer-meta-card.mystery-meta-card .mystery-list-link { margin: 0 78px 0 0; }
.streamer-meta-card.mystery-meta-card { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.streamer-meta-card.mystery-meta-card .detail-favorites-link { margin: 0; min-width: 112px; }
.streamer-meta-card:not(.mystery-meta-card) .detail-favorites-link { grid-column: 2; justify-self: start; margin: 8px 0 0; min-width: 112px; }
.streamer-meta-card > div { padding-right: 58px; }
.drawer-nav [data-favorites-link] { border: 0; border-radius: 0; color: #fff; }
.drawer-nav a[data-favorites-link] { justify-content: flex-start !important; min-height: 48px !important; padding: 0 13px !important; color: #fff !important; background: transparent !important; font-weight: 1000; }
.drawer-nav [data-favorites-link]::before { background-image: url("./icons/favorite-star.png") !important; background-size: contain; background-repeat: no-repeat; background-position: center; }
.drawer-nav a[data-favorites-link]::before { content: "" !important; display: inline-block !important; width: 26px !important; height: 26px !important; margin-right: 10px !important; flex: 0 0 26px; mix-blend-mode: screen; }
.favorite-menu-icon { display: none; }

.sponsor-slot.has-managed-banner-image {
  background-size: cover;
  background-position: center;
}

/* Streamer detail side banners also need to show the complete creative. */
.streamer-sponsor-panel .sponsor-slot.has-managed-banner-image,
.legal-side-banner .sponsor-slot.has-managed-banner-image {
  width: 100%;
  max-width: none;
  background-color: #050609;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

/* Local guarantee-page banner row. */
.guarantee-ad-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}

.guarantee-ad-banner {
  display: block;
  width: 100%;
  height: 112px;
  min-height: 112px;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background-color: #050609;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.guarantee-ad-banner::before,
.guarantee-ad-banner .sponsor-slot-copy {
  display: none;
}

/* On the local guarantee preview, put the four creatives inside the same
   guarantee cards instead of showing a separate banner row. */
.guarantee-ad-grid {
  display: none !important;
}

.guarantee-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guarantee-grid .guarantee-banner.has-managed-banner-image {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  background-color: #050609;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.guarantee-grid .guarantee-banner.has-managed-banner-image::before,
.guarantee-grid .guarantee-banner.has-managed-banner-image .guarantee-banner-label,
.guarantee-grid .guarantee-banner.has-managed-banner-image small {
  display: none;
}

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

@media (max-width: 700px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1240px) {
  .guarantee-ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .guarantee-ad-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guarantee-ad-banner {
    height: 132px;
    min-height: 132px;
  }
}

/* Local GIF banner preview: show the creative itself without the old placeholder
   copy, frame, or gradient overlay. */
.home-content .sponsor-slot.has-managed-banner-image,
.home-live-banner-strip .sponsor-slot.has-managed-banner-image {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background-color: #050609;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.home-content .sponsor-slot.has-managed-banner-image::before,
.home-live-banner-strip .sponsor-slot.has-managed-banner-image::before,
.home-content .sponsor-slot.has-managed-banner-image .sponsor-slot-copy,
.home-live-banner-strip .sponsor-slot.has-managed-banner-image .sponsor-slot-copy,
.legal-side-banner .sponsor-slot.has-managed-banner-image::before,
.legal-side-banner .sponsor-slot.has-managed-banner-image .sponsor-slot-copy {
  display: none;
}

/* All managed banner placements use the same full-slot treatment. */
.banner-panel-head,
.kick-side-head {
  display: none !important;
}

.sponsor-slot.has-managed-banner-image {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-repeat: no-repeat;
  background-size: 100% 100% !important;
  background-position: center;
}

/* 19+ list and live banner strips use the same readable mobile-sized slot. */
.adult-banner-strip .sponsor-slot.has-managed-banner-image,
.adult-banner-strip .sponsor-banner-list .sponsor-slot {
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  height: 82px !important;
  min-height: 82px !important;
  padding: 0;
  box-sizing: border-box;
}

.adult-banner-strip .sponsor-banner-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
}

@media (max-width: 700px) {
  .adult-banner-strip .sponsor-banner-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 8px;
  }

  .adult-banner-strip .sponsor-slot.has-managed-banner-image,
  .adult-banner-strip .sponsor-banner-list .sponsor-slot {
    flex: 0 0 82px;
    width: 320px;
    max-width: 100%;
    height: 82px !important;
    min-height: 82px !important;
  }
}

/* Responsive banner sizing: keep the creative inside its page column without overlap. */
.sponsor-slot.has-managed-banner-image {
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
.home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot,
.home-live-banner-strip .sponsor-banner-list[data-banner-placement="below-live"] .sponsor-slot {
  flex: 1 1 0;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 320 / 82;
  box-sizing: border-box;
}
.adult-banner-strip .sponsor-banner-list .sponsor-slot {
  flex: 1 1 0;
  width: 100%;
  max-width: none;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 320 / 82;
  box-sizing: border-box;
}
.streamer-sponsor-panel .sponsor-slot.has-managed-banner-image,
.legal-side-banner .sponsor-slot.has-managed-banner-image {
  height: auto !important;
  min-height: 0 !important;
  padding: 0;
  aspect-ratio: 320 / 130;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  .home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot,
  .home-live-banner-strip .sponsor-banner-list[data-banner-placement="below-live"] .sponsor-slot,
  .adult-banner-strip .sponsor-banner-list .sponsor-slot {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
}

/* Local five-banner preview: divide the desktop row evenly instead of leaving
   large gaps around fixed-width creatives. */
.home-content .sponsor-banner-list[data-banner-placement="top"] {
  flex-wrap: nowrap;
  gap: 10px;
}

.home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  min-width: 0;
}

@media (max-width: 700px) {
  .home-content .sponsor-banner-list[data-banner-placement="top"] {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .home-content .sponsor-banner-list[data-banner-placement="top"] .sponsor-slot {
    flex: 0 0 82px;
    width: 100%;
    max-width: 100%;
  }
}

.sponsor-slot[hidden] {
  display: none !important;
}

.right-banner-panel > .kick-side-head,
.right-banner-panel > .sponsor-cta {
  display: none !important;
}

/* Unified creative ratio: use the same home-top banner geometry everywhere
   except the guarantee page, which intentionally uses square ad cards. */
.sponsor-banner-list:not(.guarantee-grid) {
  grid-template-rows: none;
}
.sponsor-banner-list .sponsor-slot:not(.guarantee-banner),
.legal-side-banner .sponsor-slot:not(.guarantee-banner),
.streamer-sponsor-panel .sponsor-slot:not(.guarantee-banner) {
  width: 100%;
  max-width: none;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 320 / 82;
  box-sizing: border-box;
  padding: 0;
}

.sponsor-panel > .kick-side-head,
.sponsor-panel > .sponsor-cta {
  display: none !important;
}

.site-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); }
.site-modal-card { position: relative; width: min(100%, 460px); padding: 26px; border: 1px solid rgba(255,48,69,.55); border-radius: 14px; background: #11151b; color: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.site-modal-card h2 { margin: 0 0 18px; font-size: 21px; }
.site-modal-card p { color: #c2c7d0; line-height: 1.6; }
.site-modal-card label { display: block; margin: 12px 0; color: #c2c7d0; font-size: 13px; }
.site-modal-card input, .site-modal-card textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 7px; padding: 11px; border: 1px solid #3b4350; border-radius: 8px; background: #0d1015; color: #fff; font: inherit; }
.site-modal-close { position: absolute; top: 10px; right: 13px; border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; }
.site-modal-submit { display: inline-flex; justify-content: center; width: 100%; box-sizing: border-box; margin-top: 12px; padding: 12px; border: 0; border-radius: 8px; background: #ff3045; color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; }
.leave-confirm-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.leave-confirm-actions .site-modal-submit { margin-top: 0; }
.leave-confirm-actions .leave-confirm-no { background: #343a46; }

.stream-info,
.streamer-meta-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.streamer-meta-card::after {
  content: none;
  display: none;
}

@media (max-width: 700px) {
  .streamer-meta-card.mystery-meta-card .mystery-list-link { margin-right: 0; }
  .streamer-meta-card.mystery-meta-card { grid-template-columns: auto minmax(0, 1fr); }
  .streamer-meta-card.mystery-meta-card .detail-favorites-link { grid-column: 2; justify-self: start; }
  .stream-info .follow-button,
  .streamer-meta-card::after {
    display: none;
  }

  body.drawer-open::before {
    z-index: 120;
  }

  .channel-rail {
    z-index: 160;
    display: block;
    width: min(84vw, 286px);
    padding: 12px 8px 16px;
    background: #07090c;
  }

  body.drawer-open .channel-rail {
    transform: translateX(0);
  }

  body.rail-collapsed .drawer-nav a,
  .drawer-nav a {
    justify-content: flex-start;
    padding: 0 13px;
    font-size: 16px;
  }

  body.rail-collapsed .drawer-nav a::before,
  .drawer-nav a::before {
    margin-right: 10px;
  }

  body.rail-collapsed .rail-title strong,
  body.rail-collapsed .rail-title span,
  body.rail-collapsed .rail-channel span:not(.avatar),
  body.rail-collapsed .rail-channel em {
    display: block;
  }

  .rail-title {
    display: flex;
  }

  .rail-channel,
  body.rail-collapsed .rail-channel {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    min-width: 0;
  }
}

/* Red brand pass: Kick green removed, 슬롯.TV red identity applied. */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07090c;
  --shell: #07090c;
  --panel: #10141a;
  --panel-2: #171b22;
  --panel-3: #252a33;
  --text: #f7f8fb;
  --muted: #b6bdc8;
  --soft: #7f8794;
  --line: rgba(255, 255, 255, .12);
  --accent: #ff1b2d;
  --accent-2: #ff6a4f;
  --accent-soft: rgba(255, 27, 45, .24);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6f8;
  --shell: #ffffff;
  --panel: #ffffff;
  --panel-2: #eef1f5;
  --panel-3: #e2e6ed;
  --text: #101319;
  --muted: #596270;
  --soft: #838d9b;
  --line: rgba(18, 23, 34, .14);
  --accent: #e50914;
  --accent-2: #ff5d45;
  --accent-soft: rgba(229, 9, 20, .16);
}

.topbar {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(320px, 560px) minmax(120px, 1fr);
  grid-template-areas: "left search right";
  align-items: center;
  background: var(--shell);
}

.top-left {
  grid-area: left;
  min-width: 0;
}

.brand {
  width: 178px;
  height: 44px;
  flex: 0 0 auto;
  background: url("./slot-tv-logo-red.webp") left center / contain no-repeat;
}

.brand-mark,
.brand strong {
  display: none !important;
}

.search-box {
  grid-area: search;
  justify-self: center;
  width: 100%;
  max-width: 560px;
  margin: 0;
  border-color: color-mix(in srgb, var(--line) 78%, var(--accent));
  background: color-mix(in srgb, var(--panel) 82%, #000);
}

.search-box span::before {
  color: var(--accent);
}

.top-right {
  grid-area: right;
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.theme-switch {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.theme-switch button {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 2px solid color-mix(in srgb, var(--accent) 42%, #6d7cff);
  border-radius: 50%;
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset;
  font-size: 0;
}

.theme-switch button::before {
  font-size: 19px;
  line-height: 1;
}

.theme-switch button[data-theme-choice="dark"] {
  color: #1b2a5b;
  background: #ffffff;
}

.theme-switch button[data-theme-choice="dark"]::before {
  content: "☾";
}

.theme-switch button[data-theme-choice="light"] {
  color: #ffffff;
  background: #10264b;
}

.theme-switch button[data-theme-choice="light"]::before {
  content: "☼";
}

.theme-switch button.is-active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent),
    0 0 18px color-mix(in srgb, var(--accent) 42%, transparent);
}

.drawer-nav .nav-guarantee,
.top-nav .nav-guarantee {
  color: #fff;
  background: linear-gradient(90deg, #ff1b2d, #ff5d45, #b60013, #ff1b2d);
  background-size: 280% 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 0 18px rgba(255,27,45,.70),
    0 0 38px rgba(255,27,45,.34);
}

.avatar,
.primary-button,
.side-cta,
.live-pill,
.filter-tabs button.is-active,
.thumb .play-button,
.theme-switch button.is-active {
  color: #fff;
}

.avatar {
  border-color: var(--accent);
  background: linear-gradient(135deg, #ff796b, var(--accent));
}

.primary-button,
.follow-button,
.side-cta,
.live-pill,
.filter-tabs button.is-active,
.thumb .play-button,
.stream-adult-gate i {
  color: #fff;
  background: linear-gradient(135deg, #ff3b3b, var(--accent));
}

.category-card,
.category-card:nth-child(2n),
.category-card:nth-child(3n),
.thumb,
.vod-thumb,
.mini-vod-card,
.side-banner-slot {
  background:
    radial-gradient(circle at 70% 26%, var(--accent-soft), transparent 34%),
    linear-gradient(135deg, #2a1720, #12151c 56%, #0b0d11);
}

.rail-channel em::before {
  background: var(--accent);
}

.video-center {
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 -1px 0 var(--accent) inset;
}

html[data-theme="light"] body,
html[data-theme="light"] .content {
  background: var(--bg);
}

html[data-theme="light"] .topbar,
html[data-theme="light"] .channel-rail {
  background: var(--shell);
}

html[data-theme="light"] .drawer-nav a,
html[data-theme="light"] .rail-channel,
html[data-theme="light"] .side-message,
html[data-theme="light"] .simple-card,
html[data-theme="light"] .right-banner-panel,
html[data-theme="light"] .kick-side-panel {
  background: var(--panel);
}

html[data-theme="light"] .rail-channel strong,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .stream-card .stream-card-title,
html[data-theme="light"] .vod-card h3,
html[data-theme="light"] .streamer-meta-card h2 {
  color: var(--text);
}

html[data-theme="light"] .search-box {
  background: #fff;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .brand {
    width: 142px;
    height: 40px;
  }
}

@media (max-width: 700px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "left . right";
  }

  .search-box {
    display: none;
  }

  .brand {
    width: 126px;
    height: 36px;
  }

  .top-right {
    display: flex !important;
  }

  .theme-switch {
    gap: 5px;
  }

  .theme-switch button {
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .theme-switch button::before {
    font-size: 16px;
  }
}

/* Single theme toggle + light-mode sidebar readability fix. */
.theme-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 2px solid color-mix(in srgb, var(--accent) 55%, #7d86ff);
  border-radius: 50%;
  color: #ffffff;
  background: #10264b;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 14px color-mix(in srgb, var(--accent) 24%, transparent);
  font-size: 0;
}

.theme-toggle::before {
  content: "☼";
  font-size: 19px;
  line-height: 1;
}

html[data-theme="light"] .theme-toggle {
  color: #1b2a5b;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.04) inset,
    0 0 12px rgba(229,9,20,.16);
}

html[data-theme="light"] .theme-toggle::before {
  content: "☾";
}

html[data-theme="light"] .channel-rail {
  background: #ffffff;
  border-color: rgba(18, 23, 34, .14);
}

html[data-theme="light"] .drawer-nav a {
  color: #161b24;
  background: #f2f4f8;
  border-color: rgba(18, 23, 34, .14);
}

html[data-theme="light"] .drawer-nav a::before {
  color: #161b24;
}

html[data-theme="light"] .drawer-nav a:hover,
html[data-theme="light"] .drawer-nav a:first-child {
  color: #101319;
  background: #e5e9f0;
}

html[data-theme="light"] .drawer-nav .nav-guarantee,
html[data-theme="light"] .drawer-nav .nav-guarantee::before {
  color: #ffffff;
}

html[data-theme="light"] .drawer-nav a.nav-guarantee {
  color: #ffffff;
  background: linear-gradient(90deg, #ff1b2d, #ff5d45, #b60013, #ff1b2d);
  background-size: 280% 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.18) inset,
    0 0 18px rgba(255,27,45,.48);
}

html[data-theme="light"] .rail-title,
html[data-theme="light"] .rail-title strong {
  color: #101319;
}

html[data-theme="light"] .rail-title span {
  color: var(--accent);
}

html[data-theme="light"] .rail-channel {
  color: #101319;
  background: #ffffff;
  border-color: rgba(18, 23, 34, .14);
}

html[data-theme="light"] .rail-channel:hover {
  background: #f2f4f8;
}

html[data-theme="light"] .rail-channel strong,
html[data-theme="light"] .rail-channel small,
html[data-theme="light"] .rail-channel em {
  color: #101319;
}

html[data-theme="light"] .rail-channel small {
  color: #586170;
}

@media (max-width: 700px) {
  .theme-toggle {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .theme-toggle::before {
    font-size: 17px;
  }
}

/* Main live hero carousel + transparent wordmark logo. */
.brand {
  width: 188px !important;
  height: 44px !important;
  background: none !important;
}

.brand-logo {
  display: block;
  width: 176px;
  height: auto;
  max-height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(255, 27, 45, .28));
}

.live-hero {
  isolation: isolate;
  min-height: 0;
  background: #07090c;
}

.hero-video-scene,
.hero-video-vignette {
  position: absolute;
  inset: 0;
}

.hero-video-scene {
  z-index: 0;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity .32s ease, transform .7s ease;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 27, 45, .30), transparent 25%),
    linear-gradient(135deg, rgba(24, 28, 36, .92), rgba(71, 70, 58, .62)),
    #171b22;
}

.hero-video-scene.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-scene-bighandbro {
  background:
    linear-gradient(90deg, rgba(2, 4, 8, .58), rgba(2, 4, 8, .08) 46%, rgba(2, 4, 8, .64)),
    radial-gradient(circle at 74% 24%, rgba(255, 27, 45, .34), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 76px),
    linear-gradient(135deg, #4b4a3d, #646458 48%, #2f3634);
}

.hero-scene-minseo {
  background:
    linear-gradient(90deg, rgba(2, 4, 8, .54), rgba(2, 4, 8, .04) 48%, rgba(2, 4, 8, .62)),
    radial-gradient(circle at 68% 32%, rgba(250, 68, 161, .46), transparent 28%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.10) 0 2px, transparent 2px 54px),
    linear-gradient(135deg, #3f2039, #755272 48%, #232934);
}

.hero-scene-taeo {
  background:
    linear-gradient(90deg, rgba(2, 4, 8, .56), rgba(2, 4, 8, .05) 46%, rgba(2, 4, 8, .65)),
    radial-gradient(circle at 72% 28%, rgba(255, 143, 46, .44), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 62px),
    linear-gradient(135deg, #2b2d48, #6d5534 50%, #141820);
}

.hero-video-vignette {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,9,12,.10), rgba(7,9,12,.18) 46%, rgba(7,9,12,.72)),
    linear-gradient(90deg, rgba(7,9,12,.68), transparent 36%, rgba(7,9,12,.42));
}

.hero-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 96px;
  height: 96px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("/assets/icons/play-button-glossy-v2.webp") center / contain no-repeat;
  font-size: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.hero-play-button:hover {
  filter: brightness(1.12);
  transform: translate(-50%, -50%) scale(1.06);
}

.hero-profile-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 108px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: rgba(10, 12, 17, .72);
  box-shadow:
    0 18px 48px rgba(0,0,0,.35),
    0 0 0 1px rgba(255, 27, 45, .14) inset;
  backdrop-filter: blur(18px) saturate(125%);
}

.hero-profile-avatar {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
}

.hero-profile-avatar .avatar,
.hero-profile-avatar img {
  grid-area: 1 / 1;
  width: 58px;
  height: 58px;
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.hero-profile-avatar img {
  display: block;
  object-fit: cover;
  background: #151920;
}

.hero-profile-avatar img[hidden] {
  display: none;
}

.hero-profile-avatar img:not([hidden]) + .avatar {
  display: none;
}

.hero-profile-avatar i {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border: 3px solid rgba(10,12,17,.95);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255,27,45,.8);
}

.hero-profile-copy {
  min-width: 0;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 1000;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255,27,45,.95);
}

.hero-profile-card h1,
.hero-profile-card h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.055em;
}

.hero-profile-card p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 9px;
}

.hero-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #f4f6fb;
  background: rgba(255,255,255,.13);
  font-size: 12px;
  font-weight: 900;
}

.hero-profile-card .primary-button {
  min-height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #ff1b2d, #ff4a55);
  box-shadow: 0 0 22px rgba(255,27,45,.28);
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.hero-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(10,12,17,.54);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  font-size: 26px;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(255,27,45,.88);
}

.hero-arrow-left {
  left: 14px;
}

.hero-arrow-right {
  right: 14px;
}

.hero-stream-info {
  display: none !important;
}

html[data-theme="light"] .hero-profile-card {
  background: rgba(255,255,255,.74);
  border-color: rgba(18,23,34,.16);
  box-shadow:
    0 18px 48px rgba(31,36,46,.16),
    0 0 0 1px rgba(255,27,45,.10) inset;
}

html[data-theme="light"] .hero-kicker,
html[data-theme="light"] .hero-profile-card h1,
html[data-theme="light"] .hero-profile-card h2 {
  color: #101319;
}

html[data-theme="light"] .hero-profile-card p {
  color: rgba(16,19,25,.78);
}

html[data-theme="light"] .hero-tags span {
  color: #101319;
  background: rgba(16,19,25,.10);
}

@media (max-width: 900px) {
  .brand {
    width: 154px !important;
    height: 40px !important;
  }

  .brand-logo {
    width: 150px;
  }

  .hero-profile-card {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
    padding: 13px;
  }

  .hero-profile-card .primary-button {
    grid-column: 1 / -1;
  }

  .hero-dots {
    right: 16px;
    bottom: 16px;
    left: auto;
    transform: none;
  }
}

@media (max-width: 700px) {
  .brand {
    width: 118px !important;
    height: 34px !important;
  }

  .brand-logo {
    width: 118px;
  }

  .hero-arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .hero-profile-avatar,
  .hero-profile-avatar .avatar,
  .hero-profile-avatar img {
    width: 46px;
    height: 46px;
  }

  .hero-profile-card h1,
  .hero-profile-card h2 {
    font-size: 21px;
  }

  .hero-profile-card p {
    font-size: 12px;
  }

  .hero-tags {
    display: none;
  }
}

/* User-supplied menu and carousel icons. */
.top-nav a,
.drawer-nav a {
  display: inline-flex;
  align-items: center;
}

.top-nav a::before,
.drawer-nav a::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, .62))
    drop-shadow(0 0 5px rgba(255, 27, 45, .35));
}

.drawer-nav a::before {
  width: 26px;
  height: 26px;
  margin-right: 10px;
}

.top-nav a:nth-child(1)::before,
.drawer-nav a:nth-child(1)::before {
  background-image: url("./icons/icon-home.webp");
}

.top-nav a:nth-child(2)::before,
.drawer-nav a:nth-child(2)::before {
  background-image: url("./icons/icon-live.png");
}

.top-nav a:nth-child(3)::before,
.drawer-nav a:nth-child(3)::before {
  background-image: url("./icons/icon-category.webp");
}

.top-nav a:nth-child(4)::before,
.drawer-nav a:nth-child(4)::before {
  background-image: url("./icons/icon-vod.webp");
}

.top-nav a:nth-child(5)::before,
.drawer-nav a:nth-child(5)::before {
  background-image: url("./icons/icon-guarantee.webp");
}

.drawer-nav a.nav-age {
  color: #fff;
}

.drawer-nav a.nav-age::before {
  background-image: url("./icons/icon-19-plus.webp");
  border-radius: 50%;
}

.drawer-nav a.nav-age:hover,
.drawer-nav a.nav-age:focus-visible {
  color: #fff;
  background: rgba(255, 27, 45, .18);
}

body.rail-collapsed .drawer-nav a::before {
  width: 30px;
  height: 30px;
  margin: 0;
}

html[data-theme="light"] .top-nav a::before,
html[data-theme="light"] .drawer-nav a::before {
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, .74))
    drop-shadow(0 0 7px rgba(229, 9, 20, .42));
}

.hero-arrow {
  overflow: visible;
  border: 0;
  background: rgba(10, 12, 17, .28);
  box-shadow: none;
  font-size: 0 !important;
}

.hero-arrow::before {
  content: "";
  display: block;
  width: 48px;
  height: 56px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 10px rgba(255, 27, 45, .35));
}

.hero-arrow-left::before {
  background-image: url("./icons/icon-arrow-left.webp");
}

.hero-arrow-right::before {
  background-image: url("./icons/icon-arrow-right.webp");
}

.hero-arrow:hover {
  background: rgba(10, 12, 17, .44);
}

.hero-arrow-left {
  left: 8px;
}

.hero-arrow-right {
  right: 8px;
}

/* Keep the desktop arrow button and its image canvas the same size so both
   arrows share the same visual center and edge spacing. */
@media (min-width: 701px) {
  .hero-arrow {
    width: 48px;
    height: 56px;
  }

  /* The supplied left-arrow PNG has more transparent space on its outer
     side than the right-arrow PNG; offset only the button to align visible
     icon edges, not the image scale. */
  .hero-arrow-left {
    left: -6px;
  }
}

@media (max-width: 900px) {
  .top-nav a::before {
    width: 20px;
    height: 20px;
    margin-right: 5px;
  }
}

@media (max-width: 700px) {
  .drawer-nav a::before {
    width: 27px;
    height: 27px;
  }

  .hero-arrow::before {
    width: 38px;
    height: 44px;
  }
}

/* Kick channel profile thumbnails for the live rail and cards. */
.profile-avatar {
  overflow: hidden;
  color: transparent;
  background: #11151c;
}

.profile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.rail-avatar-stack {
  position: relative;
  display: grid;
  width: 42px;
  min-height: 50px;
  place-items: center;
}

.rail-avatar-stack .avatar {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 27, 45, .18), 0 0 18px rgba(255, 27, 45, .30);
}

.rail-avatar-stack b {
  position: absolute;
  right: -4px;
  bottom: -2px;
  padding: 2px 5px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 8px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: .02em;
  box-shadow: 0 0 12px rgba(255, 27, 45, .7);
}

.rail-channel.is-live em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-weight: 900;
}

.live-only-note {
  align-self: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 27, 45, .28);
  border-radius: 999px;
  color: #ff4655;
  background: rgba(255, 27, 45, .10);
  font-size: 12px;
  font-weight: 900;
}

.thumb.live-thumb {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7,9,12,.02), rgba(7,9,12,.66)),
    radial-gradient(circle at 72% 24%, rgba(255, 27, 45, .35), transparent 30%),
    #141820;
}

.thumb.live-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--thumb-image, none);
  background-position: center;
  background-size: cover;
  opacity: .72;
  transform: scale(1.04);
}

.thumb.live-thumb span,
.thumb.live-thumb .play-button {
  position: relative;
  z-index: 1;
}

.thumb .play-button,
.thumb.live-thumb .play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: clamp(64px, 7.2vw, 96px);
  height: clamp(48px, 5.4vw, 72px);
  border: 0;
  border-radius: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: visible;
  background: url("/assets/icons/play-button-glossy-v2.webp") center / contain no-repeat;
  box-shadow: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 22px rgba(255, 27, 45, .42));
  z-index: 2;
}

html[data-theme="light"] .rail-avatar-stack b {
  border-color: #f7f8fb;
}

/* Final Kick-style recommendation row: avatar, live badge below, status text, viewer dot. */
.rail-channel {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 62px;
  padding: 8px 10px;
}

.rail-avatar-stack {
  width: 42px;
  min-height: 48px;
  align-self: center;
}

.rail-avatar-stack .avatar,
.rail-channel .profile-avatar {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 27, 45, .18), 0 0 14px rgba(255, 27, 45, .34);
}

.rail-avatar-stack b {
  right: auto;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 5px;
  border: 2px solid #080a0e;
  border-radius: 6px;
  color: #fff;
  background: #ff1b2d;
  font-size: 8px;
  line-height: 1;
}

.rail-channel strong {
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
}

.rail-channel small {
  color: #cbd2df;
  font-size: 12px;
  line-height: 1.15;
}

.rail-channel.is-live em {
  min-width: 7px;
  justify-content: flex-end;
  color: #f5f7fb;
  font-size: 12px;
}

.rail-channel.is-live em::before {
  width: 7px;
  height: 7px;
  margin-right: 0;
  background: #ff1b2d;
  box-shadow: 0 0 8px rgba(255, 27, 45, .70);
}

.rail-channel.is-offline .rail-avatar-stack .avatar {
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
  filter: saturate(.72) brightness(.76);
}

.rail-channel.is-offline small {
  color: #a7adba;
}

.rail-channel.is-offline em {
  min-width: 12px;
  color: transparent;
}

.rail-channel.is-offline em::before {
  width: 6px;
  height: 6px;
  margin-right: 0;
  background: #7b828f;
  box-shadow: none;
}

.rail-channel[hidden],
.rail-channel.is-rail-hidden {
  display: none !important;
}

@keyframes mobile-live-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(var(--live-marquee-distance, 0px) * -1), 0, 0);
  }
}

@media (max-width: 700px) {
  #live {
    overflow: hidden;
  }

  #live .section-head {
    padding-inline: 8px;
  }

  #live .stream-grid {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 2px 12px 4px;
    will-change: transform;
  }

  #live .stream-grid.is-mobile-marquee {
    animation: mobile-live-marquee var(--live-marquee-duration, 42s) linear infinite;
  }

  #live .stream-grid.is-mobile-marquee:hover,
  #live .stream-grid.is-mobile-marquee:active,
  #live .stream-grid.is-mobile-marquee:focus-within {
    animation-play-state: paused;
  }

  #live .stream-card {
    flex: 0 0 min(72vw, 232px);
    min-width: min(72vw, 232px);
    border-radius: 13px;
  }

  #live .stream-card .stream-card-title {
    margin-top: 12px;
  }

  #live .stream-card p {
    margin-bottom: 14px;
  }

  #live .stream-card.is-marquee-clone {
    pointer-events: none;
  }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  #live .stream-grid.is-mobile-marquee {
    animation: none;
  }
}

/* Mobile live cards stay in the normal grid; the more button reveals the
   remaining cards below instead of moving the row horizontally. */
@media (max-width: 700px) {
  #live .stream-grid {
    display: grid;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 2px 8px 4px;
    transform: none !important;
    will-change: auto;
  }

  #live .stream-card {
    flex: initial;
    min-width: 0;
    width: auto;
  }

  #live .stream-card.is-marquee-clone {
    display: none !important;
  }

  .live-hero .hero-dots {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .live-hero .hero-arrow {
    width: 28px;
    height: 34px;
    overflow: visible;
  }

  .live-hero .hero-arrow::before {
    width: 24px;
    height: 32px;
  }

  .live-hero .hero-arrow-left {
    left: 6px;
  }

  .live-hero .hero-arrow-right {
    right: 18px;
  }
}

/* Search-friendly home content: keep the live UI first, then explain the
   platform with concise, readable sections and internal navigation context. */
.seo-home-content {
  order: 4;
  display: grid;
  gap: 22px;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 8%, rgba(255, 27, 45, .12), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 46%),
    var(--panel);
  box-shadow: var(--shadow);
}

.seo-report-content {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: clamp(24px, 4vw, 64px);
  padding-left: clamp(24px, 4vw, 64px);
}

.seo-report-content > .seo-home-intro {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.seo-report-content > .seo-home-intro h1 {
  margin: 12px 0 12px;
  font-size: clamp(25px, 3.1vw, 40px);
  line-height: 1.18;
  letter-spacing: -.055em;
}

.seo-report-content > .seo-home-intro h2 {
  margin-top: 24px;
  font-size: clamp(20px, 2.4vw, 30px);
}

.seo-report-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.seo-report-meta time {
  color: var(--accent);
}

.seo-home-intro {
  max-width: 780px;
}

.seo-eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .14em;
}

.seo-home-intro h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.055em;
}

.seo-home-intro p,
.seo-home-points p,
.seo-faq-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.seo-home-points article {
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.seo-home-points article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
}

.seo-home-points h3 {
  margin: 12px 0 7px;
  font-size: 17px;
}

.seo-guide-accordions,
.seo-steps-details,
.seo-technical-details {
  display: grid;
  gap: 10px;
}

.seo-guide-details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.seo-guide-details summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 15px 18px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
}

.seo-guide-details summary::-webkit-details-marker {
  display: none;
}

.seo-guide-details summary strong {
  flex: 1;
}

.seo-guide-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.seo-guide-details[open] .seo-guide-chevron {
  transform: rotate(180deg);
}

.seo-guide-chevron {
  color: var(--muted);
  font-size: 14px;
  transition: transform .2s ease;
}

.seo-guide-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 1000;
}

.seo-guide-number.is-red { color: #ff4c61; background: rgba(255, 76, 97, .16); }
.seo-guide-number.is-blue { color: #69a2ff; background: rgba(74, 132, 255, .16); }
.seo-guide-number.is-green { color: #55dba2; background: rgba(49, 201, 137, .16); }
.seo-guide-number.is-dark { color: #fff; background: #26334a; }

.seo-guide-body {
  padding: 18px 20px 20px 54px;
}

.seo-guide-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.seo-home-steps-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-step;
}

.seo-home-steps-list li {
  counter-increment: seo-step;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, .12);
}

.seo-home-steps-list li::before {
  margin-right: 8px;
  color: var(--accent);
  content: '0' counter(seo-step);
  font-size: 12px;
  font-weight: 1000;
}

.seo-home-steps-list strong {
  margin-right: 8px;
  color: var(--text);
  font-size: 14px;
}

.seo-home-steps-list span {
  color: var(--muted);
  font-size: 13px;
}

.seo-code-block {
  overflow-x: auto;
  margin: 16px 0 8px;
  padding: 16px 18px;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 9px;
  background: #0c1424;
  color: #9ee7ff;
  font: 13px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.seo-code-label {
  margin-top: 16px !important;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 900;
}

.seo-code-note {
  font-size: 12px !important;
}

.seo-home-copy {
  display: grid;
  gap: 14px;
  max-width: 960px;
}

.seo-copy-details {
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
}

.seo-copy-details summary {
  color: var(--text);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  list-style-position: inside;
}

.seo-copy-details summary::marker {
  color: var(--accent);
}

.seo-copy-details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.seo-home-copy article {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.seo-home-copy h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.seo-home-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.seo-home-steps {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.seo-home-steps h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.seo-home-steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-step;
}

.seo-home-steps li {
  counter-increment: seo-step;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, .12);
}

.seo-home-steps li::before {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  content: '0' counter(seo-step);
  font-size: 12px;
  font-weight: 1000;
}

.seo-home-steps strong,
.seo-home-steps span {
  display: block;
}

.seo-home-steps strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.seo-home-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.seo-home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.seo-home-links a {
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, .025);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.seo-home-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.seo-home-faq {
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  align-items: start;
}

.seo-home-faq {
  display: block;
  width: 100%;
  max-width: none;
  margin: 10px 0 0;
  padding: 0 clamp(24px, 4vw, 64px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.seo-faq-master .seo-guide-body {
  padding-top: 14px;
}

.seo-faq-list {
  display: grid;
  gap: 8px;
}

.seo-faq-list details {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}

.seo-faq-list summary {
  padding: 15px 16px;
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style-position: inside;
}

.seo-faq-list p {
  padding: 0 16px 16px 36px;
  font-size: 13px;
}

@media (max-width: 700px) {
  .seo-home-content {
    gap: 16px;
    margin-top: 14px;
    padding: 18px 14px;
    border-radius: 14px;
  }

  .seo-report-content > .seo-home-intro h1 {
    font-size: 25px;
  }

  .seo-home-intro h2 {
    font-size: 25px;
  }

  .seo-home-intro p,
  .seo-home-points p {
    font-size: 13px;
    line-height: 1.65;
  }

  .seo-home-points,
  .seo-home-faq,
  .seo-home-steps ol {
    grid-template-columns: 1fr;
  }

  .seo-home-points article {
    min-height: 0;
    padding: 15px;
  }

  .seo-home-points h3 {
    margin-top: 8px;
  }

  .seo-home-copy article,
  .seo-copy-details {
    padding-top: 14px;
  }

  .seo-guide-details summary {
    min-height: 58px;
    padding: 13px 14px;
    font-size: 14px;
  }

  .seo-guide-body {
    padding: 15px 14px 16px;
  }

  .seo-home-steps-list li {
    display: grid;
    gap: 4px;
  }

  .seo-home-steps-list span {
    padding-left: 26px;
  }

  .seo-home-copy p {
    font-size: 13px;
    line-height: 1.7;
  }

  .seo-home-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .seo-home-links a {
    text-align: center;
  }
}

html[data-theme="light"] .rail-avatar-stack b {
  border-color: #fff;
}

/* Real Kick player embeds: always fill the 16:9 player area. */
.kick-hero-frame,
.kick-live-frame,
.source-live-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.kick-hero-frame,
.kick-live-frame,
.source-live-video {
  z-index: 2;
}

.source-live-video {
  object-fit: cover;
}

.live-screen.has-source-video.is-audio-only {
  background:
    linear-gradient(180deg, rgba(3, 5, 8, .12), rgba(3, 5, 8, .62)),
    var(--source-poster, none) center / cover no-repeat,
    #05070b;
}

.live-screen.has-source-video.is-audio-only::before,
.live-screen.has-source-video.is-audio-only::after {
  opacity: 1;
}

.source-live-video.is-audio-only {
  top: auto;
  bottom: 0;
  height: 46px;
  background: rgba(0, 0, 0, .72);
  object-fit: contain;
}

.source-live-video[hidden],
.hero-source-video[hidden],
.kick-hero-frame[hidden],
.kick-live-frame[hidden],
.source-live-frame[hidden] {
  display: none !important;
}

.source-connect-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: clamp(96px, 9vw, 142px);
  height: clamp(72px, 6.75vw, 106px);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: url("/assets/icons/play-button-glossy-v2.webp") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 16px 26px rgba(255, 27, 45, .42));
  font-size: 0;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.source-connect-button::before {
  content: "";
  margin: 0;
}

.source-connect-button[hidden] {
  display: none !important;
}

.source-playback-notice {
  position: relative;
  z-index: 4;
  max-width: min(680px, 90%);
  margin: 10px auto 0;
  color: #cbd1dc;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.source-external-button {
  position: relative;
  z-index: 5;
}

.preroll-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  background: #000;
}

.preroll-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #000;
}

.preroll-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 5px;
  color: #fff;
  background: rgba(0,0,0,.68);
  font-size: 12px;
  font-weight: 800;
}

.preroll-skip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 6px;
  color: #fff;
  background: rgba(0,0,0,.78);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.preroll-skip:hover {
  background: rgba(255,27,45,.92);
}

.preroll-skip:disabled {
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.62);
  background: rgba(0,0,0,.62);
  cursor: default;
}

.live-screen.has-embed {
  background: #000;
}

.live-hero.has-source-frame,
.live-screen.has-source-frame {
  background: #000;
}

.live-screen.has-source-video {
  background:
    linear-gradient(180deg, rgba(3, 5, 8, .04), rgba(3, 5, 8, .14)),
    var(--source-poster, none) center / cover no-repeat,
    #000;
}

.live-screen.has-source-preview {
  background:
    linear-gradient(180deg, rgba(3, 5, 8, .05), rgba(3, 5, 8, .22)),
    var(--source-poster, none) center / cover no-repeat,
    #000;
}

.source-live-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  transform: none;
}

.live-hero:not(.has-no-live) .kick-hero-frame {
  z-index: 2;
}

.live-hero:not(.has-no-live) .hero-video-vignette {
  z-index: 3;
}

.live-screen.has-embed::before,
.live-screen.has-source-frame::before,
.live-screen.has-source-video::before,
.live-screen.has-embed::after,
.live-screen.has-source-frame::after,
.live-screen.has-source-video::after {
  opacity: 0;
  pointer-events: none;
}

.hero-video-scene.has-thumbnail {
  background-image:
    linear-gradient(180deg, rgba(3,5,8,.18), rgba(3,5,8,.52)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.live-hero:not(.has-no-live) .hero-video-scene.has-thumbnail.is-active {
  opacity: 1 !important;
  pointer-events: auto;
}

.live-hero.has-source-preview:not(.has-no-live) .hero-video-scene.is-active {
  opacity: 1;
  pointer-events: auto;
}

.live-hero.has-source-video {
  background: #000;
}

.live-hero.has-source-video .hero-video-scene {
  opacity: 0 !important;
  pointer-events: none !important;
}

.live-screen.has-embed .live-screen-inner {
  z-index: 2;
  pointer-events: none;
}

.live-screen.has-embed .stream-adult-gate {
  display: none !important;
}

.stream-card .thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

/* Final requested polish: keep the home overlay, but make its title less dominant. */
.hero-profile-card h1,
.hero-profile-card h2 {
  font-size: clamp(22px, 2.35vw, 34px);
  line-height: 1.04;
}

.home-page-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.04em;
}

/* Streamer pages should show the live video itself; title/description live below it. */
.live-screen.has-embed:not(.is-offline) .live-screen-inner {
  display: none !important;
}

.live-screen.has-source-frame:not(.is-offline) .live-screen-inner {
  display: none !important;
}

.live-screen.has-source-video:not(.is-offline) .live-screen-inner {
  display: none !important;
}

.live-screen.has-source-preview:not(.is-offline) .live-screen-inner {
  display: none !important;
}

/* Keep only the supplied arrow image on the home hero; remove the button circle. */
.hero-arrow,
.hero-arrow:hover,
.hero-arrow:focus-visible {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  outline: 0;
}

@media (max-width: 700px) {
  .live-hero {
    overflow: hidden;
  }

  .hero-arrow {
    left: auto;
    right: auto;
    width: 24px;
    height: 30px;
    overflow: hidden;
  }

  .hero-arrow-left {
    left: 5px;
  }

  .hero-arrow-right {
    right: 5px;
  }

  .hero-arrow::before {
    width: 20px;
    height: 28px;
  }

  .hero-profile-card {
    right: 6px;
    bottom: 8px;
    left: 6px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
    padding: 9px;
    border-radius: 8px;
  }

  .hero-profile-avatar,
  .hero-profile-avatar .avatar,
  .hero-profile-avatar img {
    width: 38px;
    height: 38px;
  }

  .hero-kicker {
    gap: 4px;
    margin-bottom: 2px;
    font-size: 10px;
  }

  .hero-kicker .live-dot {
    width: 6px;
    height: 6px;
  }

.hero-profile-card h1,
.hero-profile-card h2 {
    margin-bottom: 3px;
    font-size: 17px;
    line-height: 1.05;
    white-space: nowrap;
  }

  .hero-profile-card p {
    font-size: 10px;
    line-height: 1.15;
  }

  .hero-profile-card .primary-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-arrow {
    width: 20px;
    height: 24px;
    font-size: 0;
  }

  .hero-arrow::before {
    width: 18px;
    height: 26px;
  }

  .hero-arrow-left {
    left: 5px;
  }

  .hero-arrow-right {
    right: 5px;
  }

  .hero-dots {
    right: 10px;
    bottom: 10px;
    gap: 5px;
  }

  .hero-dots button {
    width: 6px;
    height: 6px;
  }

  .hero-dots button.is-active {
    width: 18px;
  }
}

.section-head h1 {
  margin: 5px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -.065em;
}

.streamer-list-block .streamer-directory-grid,
.browse-block .streamer-directory-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.streamer-region-block {
  margin-top: 24px;
}

.streamer-region-block + .streamer-region-block {
  margin-top: 34px;
}

.streamer-subhead {
  margin-bottom: 14px;
}

.streamer-subhead h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.2vw, 31px);
  letter-spacing: -.055em;
}

@media (max-width: 1240px) {
  .streamer-list-block .streamer-directory-grid,
  .browse-block .streamer-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .streamer-list-block .streamer-directory-grid,
  .browse-block .streamer-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .streamer-directory-toolbar {
    gap: 10px;
    padding: 12px;
  }

  .streamer-toolbar-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .streamer-filter-group {
    width: 100%;
  }

  .streamer-filter-group button {
    flex: 1 1 auto;
    padding: 0 10px;
  }

  .streamer-sort-box {
    width: 100%;
    justify-content: space-between;
  }

  .streamer-sort-box select {
    flex: 1;
    max-width: 210px;
  }

  .streamer-list-block .streamer-directory-grid,
  .browse-block .streamer-directory-grid {
    grid-template-columns: 1fr;
  }

  .streamer-list-block .streamer-directory-card,
  .browse-block .streamer-directory-card {
    min-width: 0;
  }
}

/* Make the random live shortcut stand out from the regular navigation items. */
.top-nav a[data-random-live],
.drawer-nav a[data-random-live] {
  position: relative;
  padding-right: 72px !important;
  border-color: rgba(255, 207, 92, .46);
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 207, 92, .24), transparent 34%),
    linear-gradient(135deg, rgba(255, 27, 45, .24), rgba(255, 207, 92, .13));
  color: #fff7d1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .05),
    0 0 18px rgba(255, 207, 92, .16);
}

.top-nav a[data-random-live]::after,
.drawer-nav a[data-random-live]::after {
  content: "RANDOM";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffd166;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .08em;
  opacity: .9;
}

.top-nav a[data-random-live]:hover,
.drawer-nav a[data-random-live]:hover {
  border-color: rgba(255, 207, 92, .8);
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 207, 92, .32), transparent 36%),
    linear-gradient(135deg, rgba(255, 27, 45, .32), rgba(255, 207, 92, .2));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 0 24px rgba(255, 207, 92, .24);
}

html[data-theme="light"] .top-nav a[data-random-live],
html[data-theme="light"] .drawer-nav a[data-random-live] {
  border-color: rgba(225, 92, 0, .48);
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 179, 42, .36), transparent 36%),
    linear-gradient(135deg, rgba(255, 27, 45, .18), rgba(255, 184, 54, .34));
  color: #1f1300 !important;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .44),
    0 0 18px rgba(255, 148, 31, .18);
}

html[data-theme="light"] .top-nav a[data-random-live]::after,
html[data-theme="light"] .drawer-nav a[data-random-live]::after {
  color: #c9001b;
  opacity: 1;
  text-shadow: none;
}

/* 19+ notice opens as an in-page modal instead of using a separate screen. */
body.age-gate-open {
  overflow: hidden;
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(2, 4, 7, .82);
  backdrop-filter: blur(8px);
}

.age-gate-dialog {
  position: relative;
  width: min(100%, 680px);
  padding: 34px 32px 26px;
  border: 1px solid rgba(255, 48, 70, .54);
  border-radius: 18px;
  color: #f7f8fb;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 48, 70, .18), #10141a 52%, #080a0e);
  box-shadow: 0 0 48px rgba(255, 27, 45, .24), 0 24px 70px rgba(0, 0, 0, .5);
}

.age-gate-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  color: #dfe4ee;
  font-size: 28px;
  line-height: 1;
  background: transparent;
  cursor: pointer;
}

.age-gate-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 12px;
  object-fit: contain;
}

.age-gate-section {
  padding: 16px 0 20px;
}

.age-gate-section + .age-gate-section {
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.age-gate-section h2,
.age-gate-section h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 5vw, 34px);
}

.age-gate-section h3 {
  font-size: clamp(20px, 4vw, 26px);
}

.age-gate-section p {
  max-width: 570px;
  margin: 0 auto;
  color: #c8ced9;
  line-height: 1.75;
}

.age-gate-english p {
  font-size: 14px;
}

.age-gate-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.age-gate-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.age-gate-primary {
  background: #ff1b2d;
  box-shadow: 0 8px 22px rgba(255, 27, 45, .2);
}

.age-gate-secondary {
  border-color: rgba(255, 255, 255, .2) !important;
  background: rgba(255, 255, 255, .08);
}

.age-gate-actions button:hover,
.age-gate-actions button:focus-visible {
  filter: brightness(1.1);
}

.age-gate-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #788294;
  font-size: 13px;
}

.age-gate-links a {
  color: #ff6a76;
  text-decoration: none;
}

@media (max-width: 560px) {
  .age-gate-overlay {
    padding: 12px;
  }

  .age-gate-dialog {
    padding: 30px 17px 22px;
  }

  .age-gate-icon {
    width: 92px;
    height: 92px;
  }

  .age-gate-actions {
    flex-direction: column;
  }

  .age-gate-actions button {
    width: 100%;
  }
}

/* Sitewide legal footer: keep policy links and the adult-use notice centered
   on every public page, including the streamer and 19+ views. */
.site-footer {
  text-align: center;
}

.site-footer .footer-links {
  justify-content: center;
  text-align: center;
}

.footer-disclaimer,
.footer-copyright {
  margin: 12px auto 0;
  color: #7f8794;
  font-size: 12px;
  line-height: 1.6;
}

.footer-copyright {
  margin-top: 8px;
}

/* Keep desktop streamer-side guarantee banners identical to the homepage panel. */
@media (min-width: 1241px) {
  .streamer-watch-page .streamer-sponsor-panel {
    height: 562px;
    min-height: 562px;
    align-self: start;
  }
}

/* Keep the desktop content width stable when the recommendation rail is collapsed. */
@media (min-width: 961px) {
  body.rail-collapsed .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body.rail-collapsed .channel-rail {
    display: none;
  }

  body.rail-collapsed .content,
  body.rail-collapsed .streamer-watch-content,
  body.rail-collapsed .streamer-watch-page,
  body.rail-collapsed .streamer-main-panel,
  body.rail-collapsed .live-screen {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.rail-collapsed .kick-live-frame,
  body.rail-collapsed .kick-hero-frame,
  body.rail-collapsed .source-live-video {
    max-width: 100%;
  }
}

/* 19+ is an isolated catalog: its controls and previews never share the
   recommendation, streamer-directory, or random-live card styles. */
.age-only-content {
  min-width: 0;
}

.age-only-page {
  min-height: calc(100vh - 112px);
  padding: 24px;
  border: 1px solid rgba(255, 48, 70, .24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 76% 10%, rgba(255, 48, 70, .12), transparent 30%),
    #0d1015;
}

.age-only-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #252a33;
}

.age-only-kicker {
  color: #ff5060;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .14em;
}

.age-only-head h1 {
  margin: 7px 0 6px;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
}

.age-only-head p {
  margin: 0;
  color: #aeb6c4;
  font-size: 14px;
}

.age-only-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.age-only-filters button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #343b47;
  border-radius: 999px;
  color: #bac2cf;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  background: #171b22;
  cursor: pointer;
}

.age-only-filters button:hover,
.age-only-filters button:focus-visible,
.age-only-filters button.is-active {
  border-color: rgba(255, 48, 70, .78);
  color: #fff;
  background: #e50920;
  box-shadow: 0 0 18px rgba(255, 27, 45, .2);
}

.age-only-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 20px;
}

.age-only-preview-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  border: 1px solid rgba(255, 48, 70, .32);
  border-radius: 12px;
  background: #12161d;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
  text-decoration: none;
  cursor: pointer;
}

.age-only-preview-card[hidden] {
  display: none !important;
}

.age-only-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #06070a;
}

.age-only-video-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.myavlive-card-status {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255,255,255,.72);
  background: linear-gradient(135deg, #080a0f, #171b24);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
}

.myavlive-card-status.is-live {
  color: #fff;
  background: linear-gradient(135deg, #5a101c, #171b24 70%);
}

.age-only-crop-frame {
  position: relative;
  overflow: hidden;
}

.age-only-crop-frame iframe {
  position: absolute;
  top: -115px;
  left: 0;
  width: 100%;
  height: 720px;
  border: 0;
  background: #06070a;
}

.mystery-crop-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #06070a;
}

.mystery-crop-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mystery-crop-viewport iframe {
  position: absolute;
  top: -115px;
  left: 0;
  width: 100%;
  height: 720px;
  border: 0;
  background: #06070a;
}

/* MyAVLive shows its own age notice before the player. Keep that notice
   inside the viewport instead of applying the old video-only crop. */
.myavlive-page .mystery-crop-viewport iframe,
.myavlive-preview-frame iframe {
  top: 0;
  height: 100%;
  min-height: 560px;
}

.myavlive-page .mystery-crop-viewport,
.myavlive-preview-frame {
  overflow: auto;
  background: #000;
}

/* The shared live-screen sheen must never sit above an interactive iframe. */
.mystery-crop-screen::before,
.mystery-crop-screen::after,
.myavlive-preview-frame::before,
.myavlive-preview-frame::after {
  pointer-events: none;
}

.myavlive-page .mystery-crop-viewport,
.myavlive-preview-frame {
  z-index: 2;
}

.myavlive-page .mystery-crop-screen .live-pill {
  z-index: 3;
}

.myavlive-hls-screen video,
.myavlive-preview-frame video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #000;
}

.myavlive-preview-frame .myavlive-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #000;
}

/* 19+ catalog layout: category strip, region strip, and video cards. */
.adult-catalog { min-height: calc(100vh - 112px); padding: 18px 0 32px; }
.adult-catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 334px; gap: 0; align-items: start; }
.adult-catalog-layout .adult-catalog { min-width: 0; padding-right: 18px; }
.adult-favorites-link { display: flex; width: fit-content; margin: 0 0 12px auto; min-width: 132px; }
.adult-sponsor-panel { position: sticky; top: 60px; min-height: 562px; }
.adult-catalog-layout .adult-catalog-head { min-width: 0; }

@media (max-width: 1240px) {
  .adult-catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .adult-catalog-layout .adult-catalog { padding-right: 0; }
  .adult-sponsor-panel { position: static; min-height: auto; }
}
.adult-catalog-head { padding: 4px 0 18px; border-bottom: 1px solid #2a2d34; }
.adult-catalog-head h1 { margin: 7px 0 5px; color: #fff; font-size: clamp(26px, 3vw, 38px); }
.adult-catalog-head p { margin: 0; color: #9ca3af; }
.adult-banner-strip { margin: 0 0 18px; }
.adult-banner-strip .sponsor-banner-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: none; flex: none; min-height: 0; gap: 10px; padding: 0; }
.adult-banner-strip .sponsor-slot { width: 100%; max-width: none; height: 82px; min-height: 82px; border: 0; border-radius: 0; box-shadow: none; background-size: 100% 100%; background-repeat: no-repeat; background-position: center; }
.adult-banner-strip .sponsor-slot.has-managed-banner-image::before, .adult-banner-strip .sponsor-slot.has-managed-banner-image .sponsor-slot-copy { display: none; }
.adult-seo-intro { margin: 18px 0 20px; padding: 16px 18px; border: 1px solid #2a2d34; border-radius: 10px; background: rgba(20, 23, 29, .72); }
.adult-seo-intro h2 { margin: 0 0 6px; color: #f3f4f6; font-size: 16px; }
.adult-seo-intro h2 + p { margin: 0 0 14px; color: #a7adb8; line-height: 1.6; }
.adult-seo-intro h2:last-of-type + p { margin-bottom: 0; }
@media (max-width: 700px) {
  .adult-banner-strip .sponsor-banner-list { grid-template-columns: 1fr; gap: 8px; }
  .adult-banner-strip .sponsor-slot { height: 82px; min-height: 82px; }
}

/* Mobile header: keep the brand and authenticated actions in one stable order. */
@media (max-width: 700px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; padding: 0 8px; }
  .top-left { min-width: 0; gap: 6px; overflow: hidden; }
  .brand { min-width: 0; max-width: 108px; overflow: hidden; }
  .brand-logo { display: block; width: 108px; height: auto; max-width: 100%; }
  .top-right { min-width: 0; gap: 4px; overflow: hidden; }
  .auth-profile { max-width: 78px; padding: 0 6px 0 4px; gap: 4px; }
  .auth-name { max-width: 43px; font-size: 11px; }
  .auth-logout { min-height: 34px; padding: 0 7px; font-size: 11px; }
  .auth-message { width: 32px; height: 34px; font-size: 18px; }
  .theme-switch button { width: 32px; height: 32px; min-height: 32px; }
}

@media (max-width: 360px) {
  .brand { max-width: 82px; }
  .brand-logo { width: 82px; }
  .auth-profile { max-width: 34px; width: 34px; padding: 0; justify-content: center; }
  .auth-name { display: none; }
  .auth-logout { padding: 0 5px; font-size: 10px; }
}

/* Managed image creatives already contain their own artwork/text. */
.sponsor-slot.has-managed-banner-image::before,
.sponsor-slot.has-managed-banner-image .sponsor-slot-copy { display: none !important; }
.adult-category-strip { display: flex; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 15px 2px 12px; border-bottom: 1px solid #25282e; scrollbar-width: none; }
.adult-category-strip::-webkit-scrollbar { display: none; }
.adult-category-strip button, .adult-category-strip a { flex: 0 0 auto; display: grid; justify-items: center; gap: 4px; min-width: 46px; padding: 0 1px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #aeb4bd; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; text-decoration: none; }
.adult-category-strip button > span, .adult-category-strip button > img.category-menu-icon, .adult-category-strip a > span, .adult-category-strip a > img.category-menu-icon { display: block!important; width: 36px!important; height: 36px!important; max-width: 36px!important; max-height: 36px!important; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ff3045, #5e1321); font-size: 12px; box-shadow: 0 4px 15px rgba(255,48,69,.18); object-fit: contain!important; }
.adult-category-strip button:hover, .adult-category-strip button.is-active, .adult-category-strip a:hover, .adult-category-strip a.is-active { color: #ff4e61; border-bottom-color: #ff3045; }
.adult-category-strip button.is-active > span, .adult-category-strip button.is-active > img.category-menu-icon, .adult-category-strip a.is-active > span, .adult-category-strip a.is-active > img.category-menu-icon { background: #ff3045; }
.adult-region-strip { display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden; padding: 15px 2px 0; border-bottom: 1px solid #2a2d34; scrollbar-width: none; }
.adult-region-strip[hidden] { display: none !important; }
.adult-region-strip::-webkit-scrollbar { display: none; }
.adult-region-strip button { position: relative; flex: 0 0 auto; padding: 0 0 12px; border: 0; background: transparent; color: #c2c7cf; font-size: 15px; font-weight: 800; cursor: pointer; }
.adult-region-strip button.is-active, .adult-region-strip button:hover { color: #ff4e61; }
.adult-region-strip button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #ff3045; }
.adult-video-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding-top: 20px; }
.adult-video-card { overflow: hidden; color: #f7f7f7; text-decoration: none; border-radius: 8px; background: #14161b; border: 1px solid #282c34; transition: transform .18s ease, border-color .18s ease; }
.adult-video-card:hover { transform: translateY(-3px); border-color: #ff3045; }
.adult-video-card[hidden] { display: none; }
.adult-video-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: #252832 center / cover no-repeat; }
.adult-video-card[data-myavlive-model] .adult-video-thumb { background-size: contain; background-color: #0a0d12; }
.adult-video-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,48,69,.7), transparent 45%, rgba(0,0,0,.8)); }
.thumb-one { background: linear-gradient(135deg, #8c4f48, #1a202c 65%); }.thumb-two { background: linear-gradient(135deg, #445b8d, #170d18 65%); }.thumb-three { background: linear-gradient(135deg, #be5363, #25141c 65%); }.thumb-four { background: linear-gradient(135deg, #5e3979, #11151f 65%); }.thumb-five { background: linear-gradient(135deg, #bd7b41, #201721 65%); }
.adult-video-thumb b { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 5px 8px; border-radius: 4px; color: #fff; background: #ff3045; font-size: 11px; }
.adult-video-thumb i { position: absolute; left: 50%; top: 50%; z-index: 2; display: block; width: clamp(64px, 7.2vw, 96px); height: clamp(48px, 5.4vw, 72px); border: 0; border-radius: 0; color: transparent; background: url("/assets/icons/play-button-glossy-v2.webp") center / contain no-repeat; font-size: 0; line-height: 0; box-shadow: none; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 22px rgba(255, 27, 45, .42)); transition: filter .18s ease, transform .18s ease; }
.adult-video-thumb i:hover { filter: brightness(1.12) drop-shadow(0 10px 22px rgba(255, 27, 45, .5)); transform: translate(-50%, -50%) scale(1.06); }
.adult-video-info { display: grid; gap: 5px; padding: 12px 13px 14px; }.adult-video-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }.adult-video-info span { color: #9da4b0; font-size: 12px; }.adult-empty { padding: 45px 0; color: #9da4b0; text-align: center; }
@media (max-width: 1200px) { .adult-video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .adult-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .adult-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .adult-catalog { padding: 12px 0 24px; }.adult-category-strip { gap: 3px; }.adult-category-strip button, .adult-category-strip a { min-width: 42px; font-size: 10px; }.adult-category-strip button > span, .adult-category-strip button > img.category-menu-icon, .adult-category-strip a > span, .adult-category-strip a > img.category-menu-icon { width: 30px!important; height: 30px!important; max-width: 30px!important; max-height: 30px!important; }.adult-video-grid { grid-template-columns: 1fr; gap: 13px; } }

.mystery-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #e50920, #6520b9);
}

.mystery-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #252a33;
  border-radius: 10px;
  color: #9da7b7;
  background: #12161d;
  font-size: 13px;
  line-height: 1.6;
}

.age-only-capture-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: rgba(229, 9, 32, .92);
}

.age-only-preview-meta {
  display: grid;
  gap: 5px;
  padding: 13px 14px 15px;
}

.age-only-preview-meta strong {
  color: #fff;
  font-size: 15px;
}

.age-only-preview-meta span {
  color: #8f99aa;
  font-size: 12px;
  line-height: 1.5;
}

.age-only-open-link {
  color: #ff6472;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.age-only-open-link:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .age-only-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .age-only-filters {
    justify-content: flex-start;
  }

  .age-only-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .age-only-page {
    padding: 18px 14px;
  }

  .age-only-preview-grid {
    grid-template-columns: 1fr;
  }
}
.home-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Local member menu foundation: points and level are placeholders until the server ledger is added. */
.member-menu-wrap { position: relative; display: inline-flex; align-items: center; }
.member-menu-trigger { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 2px 0 8px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.member-points { color: var(--accent); font-size: 14px; font-weight: 900; white-space: nowrap; }
.member-avatar { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: url("/assets/default-avatar.png") center / cover no-repeat; color: transparent; font-size: 0; overflow: hidden; }
.member-avatar-image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.member-menu-panel { position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; width: 260px; padding: 14px 10px 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow); color: var(--text); }
.member-menu-panel[hidden] { display: none; }
.member-menu-user { display: flex; align-items: center; gap: 12px; padding: 2px 10px 10px; }
.member-avatar-large { width: 42px; height: 42px; font-size: 20px; }
.member-menu-user strong, .member-menu-user small { display: block; }
.member-menu-user strong { font-size: 14px; }
.member-menu-user small, .member-exp-copy { margin-top: 3px; color: var(--muted); font-size: 11px; }
.member-menu-divider { height: 1px; margin: 7px 10px 11px; background: var(--line); }
.member-menu-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 6px; }
.member-menu-shortcuts a { display: grid; min-height: 36px; place-items: center; border-radius: 8px; background: var(--panel-2); color: var(--text); font-size: 17px; line-height: 1; text-decoration: none; }
.member-menu-shortcuts a:hover { background: var(--panel-3); }
.member-level-row, .member-points-row { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px; }
.member-level-icon { width: 22px; height: 22px; margin-right: 4px; vertical-align: middle; object-fit: contain; }
.member-level-row b, .member-points-row strong { color: var(--text); }
.member-exp { height: 4px; margin: 10px 10px 0; overflow: hidden; border-radius: 5px; background: var(--panel-3); }
.member-exp i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.member-exp-copy { display: block; margin: 8px 10px 0; text-align: right; }
.member-points-row { padding-top: 2px; padding-bottom: 11px; color: var(--muted); }
.member-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; }
.member-menu-actions a, .member-logout { display: grid; min-height: 37px; place-items: center; border: 0; border-radius: 8px; background: var(--panel-2); color: var(--text); font: inherit; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; }
.member-menu-actions a:hover, .member-logout:hover { background: var(--panel-3); }
.member-logout { width: 100%; margin-top: 9px; border: 1px solid var(--line); background: transparent; }
.member-more { display: flex; justify-content: space-between; align-items: center; margin: 12px 10px 0; color: var(--text); font-size: 12px; font-weight: 800; text-decoration: none; }
.member-more span { color: var(--accent); font-size: 24px; line-height: 12px; }
.member-more-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.member-more-row .member-more { flex: 1; margin: 0 0 0 10px; }
.member-theme-switch { display: inline-flex; align-items: center; gap: 7px; margin-right: 10px; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; }
.member-theme-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.member-theme-switch i { position: relative; display: block; width: 38px; height: 22px; border-radius: 999px; background: var(--panel-3); transition: background .15s ease; }
.member-theme-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .15s ease, background .15s ease; }
.member-theme-switch input:checked + i { background: var(--accent); }
.member-menu-panel > .member-theme-switch { display: flex; justify-content: space-between; width: auto; margin: 12px 10px 0; padding-top: 12px; border-top: 1px solid var(--line); }
.member-menu-panel > .member-more-row { display: block; margin: 0 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.member-menu-panel > .member-more-row .member-more { display: flex; margin: 0; }
.watch-reward-panel { position: relative; margin: 14px 0 0; padding: 13px 16px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); }
.watch-reward-gate { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 16px; border-radius: inherit; background: color-mix(in srgb, var(--panel) 92%, #000); color: var(--muted); font-size: 12px; font-weight: 800; text-align: center; }
.watch-reward-gate[hidden] { display: none; }
.watch-reward-gate [data-watch-reward-confirm] { margin-top: 10px; padding: 7px 12px; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.live-screen [data-picture-in-picture] { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 7px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.live-screen [data-picture-in-picture][hidden] { display: none; }
.watch-reward-head, .watch-reward-level, .watch-reward-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.watch-reward-head { margin-bottom: 10px; font-size: 13px; }
.watch-reward-head span, .watch-reward-foot span { color: var(--muted); font-size: 11px; }
.watch-reward-level { color: var(--muted); font-size: 12px; }
.watch-reward-level b, .watch-reward-foot strong { color: var(--text); }
.watch-reward-bar { height: 5px; margin: 9px 0 8px; overflow: hidden; border-radius: 999px; background: var(--panel-3); }
.watch-reward-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
.member-theme-switch input:checked + i::after { transform: translateX(16px); background: #fff; }

/* Drawer icons follow the link destination, so the separator never shifts them. */
.drawer-nav a[href="/"]::before { background-image: url("./icons/icon-home.webp") !important; }
.drawer-nav a[href="/#live"]::before { background-image: url("./icons/icon-live.png") !important; }
.drawer-nav a[href="/streamers/"]::before { background-image: url("./icons/icon-category.webp") !important; }
.drawer-nav a[data-random-live]::before { background-image: url("./icons/icon-vod.webp") !important; }
.drawer-nav a[href="/19+/"]::before { background-image: url("./icons/icon-19-plus.webp") !important; }
.drawer-nav a[href="/guarantee/"]::before { background-image: url("./icons/icon-guarantee.webp") !important; }
.drawer-nav a[href="/board/"]::before { content: "📣" !important; background-image: none !important; font-size: 20px; }
.drawer-nav a[href="/favorites/"]::before { background-image: url("./icons/favorite-star.png") !important; }
.drawer-nav-divider { display: block; height: 1px; margin: 6px 0; background: var(--line); }
@media (max-width: 700px) {
  .topbar, .top-right { overflow: visible !important; }
  .member-menu-wrap { position: relative; z-index: 140; flex: 0 0 auto; }
  .member-menu-trigger { min-width: 38px; }
  .member-points { display: inline; }
  .member-menu-panel { right: 0; width: min(260px, calc(100vw - 24px)); top: calc(100% + 8px); }
}

/* Streamer detail banners stay in the original narrow panel size when the layout stacks below the player. */
.streamer-sponsor-panel .banner-stack { grid-template-columns: 1fr; min-width: 0; overflow: hidden; }
.streamer-sponsor-panel .sponsor-slot,
.streamer-sponsor-panel .sponsor-slot.has-managed-banner-image { width: 100%; max-width: 334px; height: 130px !important; min-height: 130px !important; aspect-ratio: auto !important; justify-self: center; flex: 0 0 130px; }
@media (min-width: 1241px) {
  .streamer-sponsor-panel .sponsor-slot,
  .streamer-sponsor-panel .sponsor-slot.has-managed-banner-image { max-width: none; }
}

/* When the detail layout stacks on PC, fill the available banner area without letting the image aspect ratio create a huge panel. */
@media (min-width: 701px) and (max-width: 1240px) {
  .streamer-watch-page .streamer-sponsor-panel {
    height: auto !important;
    min-height: 0 !important;
  }
  .streamer-watch-page .streamer-sponsor-panel .banner-stack {
    overflow: visible;
  }
  .streamer-watch-page .streamer-sponsor-panel .banner-stack .sponsor-slot,
  .streamer-watch-page .streamer-sponsor-panel .banner-stack .sponsor-slot.has-managed-banner-image {
    width: 100% !important;
    max-width: 334px !important;
    height: 130px !important;
    min-height: 130px !important;
    aspect-ratio: auto !important;
    flex: 0 0 auto !important;
    justify-self: center;
  }
}

/* Final shared banner rule: match the home top-banner ratio everywhere
   except the square guarantee cards. */
.sponsor-banner-list .sponsor-slot:not(.guarantee-banner),
.legal-side-banner .sponsor-slot:not(.guarantee-banner),
.streamer-sponsor-panel .sponsor-slot:not(.guarantee-banner) {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 320 / 82 !important;
  box-sizing: border-box;
  padding: 0;
}
.streamer-sponsor-panel .banner-stack,
.legal-side-banner .sponsor-banner-list {
  grid-template-rows: none !important;
}

/* Keep consecutive banners compact on every non-guarantee placement. */
.home-content .sponsor-banner-list[data-banner-placement="top"],
.home-live-banner-strip .sponsor-banner-list[data-banner-placement="below-live"],
.adult-banner-strip .sponsor-banner-list,
.streamer-sponsor-panel .banner-stack,
.legal-side-banner .sponsor-banner-list {
  gap: 4px !important;
  height: auto !important;
  min-height: 0 !important;
  align-content: start !important;
}
.adult-banner-strip,
.adult-banner-strip .sponsor-banner-list {
  height: auto !important;
  min-height: 0 !important;
  align-content: start !important;
}.live-action-controls{position:absolute;right:12px;bottom:12px;z-index:3;display:flex;align-items:center;gap:8px}.live-action-controls button,.live-screen [data-picture-in-picture],.chrome-live-caption-button{position:static!important;box-sizing:border-box;min-height:32px;padding:7px 10px;border:1px solid rgba(255,255,255,.35);border-radius:6px;background:rgba(0,0,0,.72);color:#fff;font-size:11px;font-weight:800;line-height:1;cursor:pointer}.live-action-controls button:hover{border-color:var(--accent);color:#fff}.live-action-controls button:disabled{cursor:not-allowed;opacity:.55}/* Live player actions: keep caption and PiP controls clear of native bottom controls. */
.live-action-controls{top:14px;right:14px;bottom:auto;gap:10px}.live-action-controls button,.live-screen [data-picture-in-picture],.chrome-live-caption-button{min-height:40px;padding:10px 15px;border-radius:8px;font-size:13px;letter-spacing:-.02em}
