@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap");

:root {
  color-scheme: dark;
  --font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  --font-display: "Outfit", sans-serif;
  --bg-main: #0a0a0a;
  --bg-surface: rgba(20, 20, 25, 0.7);
  --bg-glass: rgba(25, 25, 35, 0.6);
  --primary-accent: #d10f42;
  --primary-accent-dark: #a50c34;
  --primary-accent-light: #e84068;
  --primary-glow: rgba(209, 15, 66, 0.4);
  --gradient-primary: linear-gradient(135deg, #d10f42 0%, #a50c34 50%, #8a0a2c 100%);
  --gradient-card: linear-gradient(135deg, rgba(209, 15, 66, 0.1) 0%, rgba(165, 12, 52, 0.08) 100%);
  --gradient-shine: linear-gradient(135deg, #e84068 0%, #d10f42 50%, #a50c34 100%);
  --text-light: #f0f0f0;
  --text-muted: #a0a0a0;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(209, 15, 66, 0.4);
  --border-radius: 16px;
  --glass-blur: blur(20px);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ink: var(--text-light);
  --ink-soft: #d8d8d8;
  --ink-muted: var(--text-muted);
  --surface: var(--bg-surface);
  --surface-strong: rgba(14, 14, 18, 0.88);
  --glass: var(--bg-glass);
  --glass-strong: rgba(15, 15, 22, 0.72);
  --stroke: var(--border-color);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --gold: var(--primary-accent);
  --gold-strong: var(--primary-accent-light);
  --gold-rgb: 209 15 66;
  --gold-strong-rgb: 232 64 104;
  --green: #31d49b;
  --cyan: #c7d2fe;
  --red: #e84068;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
  --background-blur: 0px;
  --brand-logo-width: 200px;
  --footer-powered-by-height: 46px;
  --portal-header-rgb: 25 25 35;
  --portal-header-opacity: 0.82;
  --portal-header-opacity-soft: 0.78;
  --player-bg-image:
    radial-gradient(circle at 16% 30%, rgba(209, 15, 66, 0.22), transparent 22%),
    radial-gradient(circle at 86% 24%, rgba(232, 64, 104, 0.14), transparent 25%),
    linear-gradient(120deg, rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.9));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--bg-main);
  overflow-x: hidden;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background: var(--player-bg-image) center top / cover no-repeat;
  filter: blur(var(--background-blur));
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding-bottom: var(--footer-powered-by-height);
  font-family: var(--font-family);
  color: var(--ink);
  background:
    linear-gradient(116deg, rgba(4, 6, 10, 0.06), rgba(4, 6, 10, 0.2) 55%, rgba(3, 4, 6, 0.12)),
    linear-gradient(72deg, rgba(3, 4, 7, 0.24), transparent 15%, transparent 85%, rgba(3, 4, 7, 0.28));
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(140px, 18vw, 280px);
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(180deg, rgb(var(--gold-rgb) / 0.16), transparent 18%, transparent 78%, rgb(var(--gold-rgb) / 0.13)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.2), rgba(0, 0, 0, 0.92));
}

body::before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
}

body::after {
  right: 0;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

.player-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.player-control-icon,
.player-info-icon,
.cinema-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  line-height: 0;
  -webkit-font-smoothing: antialiased;
}

.player-control-icon-small {
  width: 15px;
  height: 15px;
}

.player-svg-icon {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  color: inherit;
  pointer-events: none;
}

.player-control-icon[data-icon="play"],
.player-info-icon[data-icon="play"] {
  transform: translateX(1px);
}

.hidden {
  display: none !important;
}

.no-link {
  cursor: default;
}

.background-link {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

.site-shell {
  width: min(1100px, calc(100% - 28px));
  margin: 0px auto;
  padding: clamp(24px, 10vw, 100px) 0 38px;
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.top-notice {
  min-height: 32px;
  display: grid;
  place-items: center;
  padding: 7px 14px;
  border-radius: 25px 25px 0px 0px;
  background: rgb(5 8 13 / 79%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(18px) saturate(1.25);
  border-top: solid 1px #eeeeee1f;
}

.mobile-top-banner {
  display: none;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(var(--gold-strong-rgb) / 0.2);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px) saturate(1.24);
}

.mobile-top-banner img {
  width: 100%;
  height: 100%;
  min-height: 58px;
  display: block;
  object-fit: cover;
}

.portal-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 0px 0px 25px 25px;
  background:
    linear-gradient(
      180deg,
      rgb(var(--portal-header-rgb) / var(--portal-header-opacity)),
      rgb(var(--portal-header-rgb) / var(--portal-header-opacity-soft))
    ),
    rgb(var(--gold-rgb) / 0.04);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.25);
}

.brand {
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
}

.brand-mark {
  width: var(--brand-logo-width);
  min-height: 50px;
  height: auto;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--gradient-shine);
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 14px 28px var(--primary-glow);
}

.brand-mark.has-image {
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

.brand-mark img {
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.portal-nav {
  min-width: 0;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: hidden;
  scrollbar-width: none;
}

.portal-nav::-webkit-scrollbar {
  display: none;
}

.portal-nav a {
  min-width: 86px;
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 15px;
  color: var(--ink-soft);
  padding: 5px;
  transition: var(--transition-smooth);
}

.portal-nav a:not(.no-link):hover {
  border-color: var(--border-glow);
  background: var(--gradient-card);
  transform: translateY(-1px);
}

.portal-nav .nav-icon,
.portal-nav span {
  min-width: 26px;
  min-height: 26px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: 0;
}

.portal-nav strong {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.nav-icon-pulse {
  animation: nav-icon-pulse 1.35s ease-in-out infinite;
}

.nav-icon-float {
  animation: nav-icon-float 2.1s ease-in-out infinite;
}

.nav-icon-spin {
  animation: nav-icon-spin 2.6s linear infinite;
}

.nav-icon-bounce {
  animation: nav-icon-bounce 1.25s ease-in-out infinite;
}

@keyframes nav-icon-pulse {
  50% { color: var(--gold-strong); transform: scale(1.12); }
}

@keyframes nav-icon-float {
  50% { transform: translateY(-3px); }
}

@keyframes nav-icon-spin {
  to { transform: rotate(360deg); }
}

@keyframes nav-icon-bounce {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-5px); }
}

.ad-banner {
  width: min(820px, 100%);
  min-height: 78px;
  margin: 16px auto 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-banner::before,
.ad-banner::after {
  content: "";
  width: 96px;
  height: 100%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at center, rgb(var(--gold-strong-rgb) / 0.64), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0.8;
}

.ad-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ad-placeholder {
  padding: 12px;
  color: var(--gold-strong);
  flex: 1;
  font-size: 24px;
  font-weight: 950;
  text-align: center;
}

.promo-bar {
  min-height: 48px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  padding: 11px 16px;
  border: 1px solid rgb(var(--gold-strong-rgb) / 0.18);
  border-radius: 15px;
  background: rgb(var(--gold-rgb) / 0.13);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  backdrop-filter: blur(16px);
}

.below-player-promo {
  min-height: 40px;
  margin: 0px 0px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: 16px;
  align-items: start;
}

main {
  min-width: 0;
}

.player-shell {
  display: grid;
  gap: 12px;
}

.player-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 408px;
  max-height: 548px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: #020305;
  box-shadow: 0 36px 95px rgba(0, 0, 0, 0.64), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  isolation: isolate;
  touch-action: manipulation;
}

.multi-screen-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #020305;
  box-shadow: none;
}

.multi-screen-grid {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  gap: 4px;
  padding: 6px 6px 70px;
  background: #020305;
}

.multi-screen-grid.multi-count-1 {
  grid-template-columns: 1fr;
}

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

.multi-screen-grid.multi-count-3,
.multi-screen-grid.multi-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.multi-tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 16px;
  background: #000;
}

.multi-tile video,
.multi-tile canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.player-wrapper.native-controls .multi-screen-grid {
  padding: 6px;
}

.multi-tile-label {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.multi-empty-state {
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.player-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 67%, rgba(0, 0, 0, 0.76)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 14%, transparent 86%, rgba(255, 255, 255, 0.035));
}

.player-wrapper.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.085) 48%, transparent 74%);
  animation: player-sheen 1.4s ease-in-out infinite;
}

@keyframes player-sheen {
  from { transform: translateX(-70%); }
  to { transform: translateX(70%); }
}

.single-player,
.single-player video {
  width: 100%;
  height: 100%;
}

.single-player video {
  display: block;
  object-fit: contain;
  background: #020305;
}

.single-player video::-webkit-media-controls-timeline,
.single-player video::-webkit-media-controls-current-time-display,
.single-player video::-webkit-media-controls-time-remaining-display,
.single-player video::-webkit-media-controls-seek-back-button,
.single-player video::-webkit-media-controls-seek-forward-button,
.multi-tile video::-webkit-media-controls-timeline,
.multi-tile video::-webkit-media-controls-current-time-display,
.multi-tile video::-webkit-media-controls-time-remaining-display,
.multi-tile video::-webkit-media-controls-seek-back-button,
.multi-tile video::-webkit-media-controls-seek-forward-button {
  display: none !important;
}

.player-wrapper.native-controls::before,
.player-wrapper.native-controls .player-top-bar,
.player-wrapper.native-controls .player-bottom-bar,
.player-wrapper.native-controls .player-glow-line {
  display: none !important;
}

.player-wrapper.native-controls .center-play-toggle {
  display: none !important;
}

.player-wrapper.native-controls.start-required .center-play-toggle {
  display: grid !important;
}

.player-wrapper.native-controls .player-poster {
  display: none !important;
}

.player-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #020305;
  filter: saturate(1.04) contrast(1.02);
}

.preroll-overlay {
  position: absolute;
  inset: 0;
  z-index: 16;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  padding: 20px;
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.32), rgba(2, 4, 8, 0.9));
}

.preroll-click-area,
.preroll-video,
.preroll-image,
.preroll-fallback {
  position: absolute;
  inset: 0;
}

.preroll-click-area {
  display: block;
  cursor: pointer;
}

.preroll-click-area.no-link {
  cursor: default;
}

.preroll-video,
.preroll-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #020305;
}

.preroll-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgb(var(--gold-rgb) / 0.22), rgba(9, 13, 20, 0.92) 48%, rgba(49, 212, 155, 0.14));
  color: #fff;
  text-align: center;
}

.preroll-fallback span {
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.preroll-fallback strong {
  max-width: min(640px, calc(100% - 40px));
  font-size: 38px;
  line-height: 1.02;
  font-weight: 950;
}

.preroll-fallback small {
  max-width: min(580px, calc(100% - 42px));
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.preroll-skip {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  min-width: 142px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(10, 14, 20, 0.58);
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 950;
  cursor: not-allowed;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(1.28);
}

.preroll-skip.ready {
  border-color: rgb(var(--gold-strong-rgb) / 0.55);
  background: var(--gradient-primary);
  color: #fff;
  cursor: pointer;
}

#preroll-countdown {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.player-top-bar,
.player-bottom-bar,
.center-play-toggle,
.player-glow-line {
  transition: opacity 180ms ease, transform 180ms ease;
}

.player-top-bar {
  position: absolute;
  inset: 10px 10px auto 10px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.player-top-action,
.player-icon-btn,
.player-info,
.player-metric-chip,
.cinema-mode-toggle {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--glass);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.3);
}

.player-top-action {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 15px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

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

.player-top-action {
  min-width: 44px;
  padding: 0 13px;
  cursor: pointer;
}

.player-top-action-wide {
  min-width: 108px;
}

.overlay-message {
  position: absolute;
  left: 16px;
  top: 68px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--glass-strong);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.overlay-message.subtle {
  top: 112px;
}

.center-play-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 9;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(6, 9, 14, 0.44);
  color: #fff;
  cursor: pointer;
  opacity: 0.92;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 58px rgb(0 0 0 / 67%), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(1.3);
}

.center-play-toggle:hover {
  background: rgba(18, 24, 33, 0.68);
  transform: translate(-50%, -50%) scale(1.04);
}

.player-wrapper:not(.controls-visible):not(.paused):not(.loading):not(.has-error) .center-play-toggle {
  opacity: 0;
  pointer-events: none;
}

#center-play-icon {
  width: 31px;
  height: 31px;
}

.player-bottom-bar {
  position: absolute;
  inset: auto 0px 0px;
  z-index: 8;
  min-height: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 5px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0px;
  background: linear-gradient(180deg, rgb(23 29 39 / 0%), rgb(4 6 10 / 0%));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px) saturate(1.28);
}

.player-wrapper.controls-hidden:not(.paused):not(.loading):not(.has-error) .player-top-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.player-wrapper.controls-hidden:not(.paused):not(.loading):not(.has-error) .player-bottom-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.player-wrapper.controls-hidden:not(.paused):not(.loading):not(.has-error) .player-glow-line {
  opacity: 0;
}

.live-chip {
  min-width: 70px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.live-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 75, 97, 0.13), 0 0 20px rgba(255, 75, 97, 0.78);
}

.control-strip {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.player-icon-btn {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0px 0px;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  line-height: 0;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.player-icon-btn:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.player-mode-pill {
  min-width: 112px;
  color: #b4ffe0;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.volume-shell {
  width: 112px;
  display: inline-flex;
  align-items: center;
}

#volume-slider {
  width: 100%;
  height: 6px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff, #fff) left / var(--volume-progress, 100%) 100% no-repeat, rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14);
}

#volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.status-summary {
  min-width: 50px;
  display: none;
  justify-items: end;
  gap: 3px;
}

.status-summary span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-summary strong {
  color: #ff0000;
  font-size: 10px;
  font-weight: 950;
}

.player-glow-line {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 96px;
  z-index: 5;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
  pointer-events: none;
}

.error-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
  width: min(420px, calc(100% - 38px));
  padding: 18px;
  border: 1px solid rgba(255, 75, 97, 0.44);
  border-radius: 4px;
  background: rgba(9, 12, 18, 0.86);
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(1.25);
}

.error-overlay h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
}

.error-overlay p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}

#retry-playback {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgb(var(--gold-strong-rgb) / 0.55);
  border-radius: 4px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.player-info-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0px 0px 10px;
}

.player-info {
  min-height: 30px;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 15px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  text-align: center;
}

.player-info-icon {
  color: var(--gold);
  width: 17px;
  height: 17px;
}

#player-info-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.player-side-metrics {
  display: flex;
  align-items: center;
  gap: 9px;
}

.player-metric-chip {
  min-width: 104px;
  min-height: 30px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 2px 13px;
  border-radius: 25px;
  display: none;
}

.player-metric-chip span {
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-metric-chip strong {
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.cinema-mode-toggle {
  min-height: 37px;
  min-width: 178px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: 15px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.cinema-mode-toggle.active {
  border-color: rgb(var(--gold-strong-rgb) / 0.5);
  background: rgb(var(--gold-rgb) / 0.12);
  font-size: 10px;
}

.channel-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 52%, rgb(var(--gold-rgb) / 0.18), transparent 38%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.18);
  min-height: 418px;
  max-height: 550px;
}

.tabs-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--stroke);
}

.tab-btn {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
  cursor: pointer;
  position: relative;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  border-color: transparent;
  background: rgb(var(--gold-rgb) / 0.13);
  color: #fff;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 6px;
  border-radius: 999px 999px 0 0;
  background: var(--gold);
}

.search-bar {
  padding: 10px;
  border-bottom: 1px solid var(--stroke);
}

.search-bar input {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  outline: 0;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
}

.search-bar input:focus {
  border-color: rgb(var(--gold-strong-rgb) / 0.45);
}

.match-list {
  min-height: 280px;
}

.channel-groups {
  max-height: calc(100vh - 217px);
  overflow: auto;
  padding: 0;
}

.channel-groups::-webkit-scrollbar {
  width: 8px;
}

.channel-groups::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 9px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgb(var(--gold-rgb) / 0.18), var(--surface-strong));
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.group-title strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-overflow: ellipsis;
}

.group-title span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 950;
  text-transform: none;
}

.channel-item,
.match-card {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.channel-item:hover,
.match-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.channel-item.active,
.match-card.active {
  background: transparent;
}

.channel-item.offline,
.match-card.offline {
  opacity: 0.54;
}

.channel-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border-bottom: solid 1px #eeeeee24;
}

.channel-inline-banner {
  width: calc(100% - 20px);
  min-height: 40px;
  margin: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgb(var(--gold-rgb) / 0.14), rgba(6, 7, 10, 0.78)),
    rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.channel-inline-banner img {
  width: 100%;
  height: 100%;
  min-height: 40px;
  display: block;
  object-fit: cover;
}

.channel-left,
.channel-right {
  display: flex;
  align-items: center;
  gap: 9px;
}

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

.tv-icon-box {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.tv-icon-box::before {
  content: "";
  position: absolute;
  inset: 8px 8px 10px;
  border: 2px solid rgb(var(--gold-rgb) / 0.9);
  border-radius: 4px;
}

.tv-icon-box::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  background: rgb(var(--gold-rgb) / 0.9);
}

.channel-name-stack {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.channel-name-text,
.channel-meta-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-name-text {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.channel-meta-line {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
}

.channel-live-badge {
  min-width: 50px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(49, 212, 155, 0.14);
  color: #8ef0ca;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.channel-live-badge.status-offline,
.channel-live-badge.status-stopped {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-muted);
}

.channel-live-badge.status-error {
  background: rgba(255, 75, 97, 0.14);
  color: #ff9aaa;
}

.channel-live-badge.status-stale,
.channel-live-badge.status-starting {
  background: rgba(255, 184, 77, 0.14);
  color: #ffd18e;
}

.channel-logo-right {
  width: 82px;
  height: 42px;
  flex: 0 0 auto;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #12100a;
  font-size: 8px;
  font-weight: 950;
  padding: 10px;
  justify-content: center;
}

.channel-logo-right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.match-card {
  min-height: 82px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.105);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(20, 20, 18, 0.94) 62%, rgba(44, 41, 29, 0.62));
}

.match-card:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.match-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
}

.match-team {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.match-team-away {
  justify-content: flex-end;
  text-align: right;
}

.match-team strong,
.score-team strong {
  min-width: 0;
  overflow: visible;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.08;
  white-space: normal;
  word-break: normal;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.42);
}

.match-logo,
.score-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold-strong);
  font-size: 10px;
  font-weight: 950;
}

.match-logo img,
.score-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.match-center {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.match-time,
.score-clock {
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.match-score-pill,
.score-line {
  min-width: 68px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.match-score-pill strong,
.match-score-pill span,
.score-line strong,
.score-line span {
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.score-line span {
  color: rgba(255, 255, 255, 0.7);
}

.match-score-pill.is-empty {
  min-width: 42px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.48);
}

.match-status-text {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  padding: 20px;
  color: var(--ink-muted);
  text-align: center;
}

.info-panel {
  padding: 0;
  display: grid;
  gap: 0;
}

.score-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stroke);
}

.score-tab {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px 14px 0 0;
  background: rgba(8, 8, 8, 0.62);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.score-tab.active {
  border-color: rgb(var(--gold-rgb) / 0.78);
  background: rgb(var(--gold-rgb) / 0.18);
}

.score-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 10px 16px;
}

.score-toolbar label {
  display: grid;
  gap: 5px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 900;
}

.score-toolbar input,
.score-toolbar button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  font: inherit;
}

.score-toolbar input {
  padding: 0 10px;
}

.score-toolbar button {
  padding: 0 13px;
  color: var(--gold-strong);
  font-weight: 950;
  cursor: pointer;
}

.score-list {
  display: grid;
  gap: 0;
  padding: 0 16px 16px;
}

.score-league-block {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(4, 5, 5, 0.84);
}

.score-league-block + .score-league-block {
  margin-top: 12px;
}

.score-league-header {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgb(var(--gold-rgb) / 0.18), var(--surface-strong));
}

.score-league-header strong {
  color: var(--gold-strong);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.score-league-header span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 950;
}

.score-card {
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  background: rgba(8, 8, 8, 0.88);
}

.score-card.is-live {
  background: rgba(255, 75, 97, 0.08);
}

.score-header,
.score-body {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
}

.score-team {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.score-team-home {
  justify-content: flex-end;
  text-align: right;
}

.score-result {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.info-card {
  padding: 14px;
  border: 1px solid var(--stroke);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.info-card h3 {
  margin: 0 0 8px;
  color: #fff;
}

.info-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.footer-text {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  text-align: center;
}

.footer-powered-by {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  min-height: var(--footer-powered-by-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.footer-powered-by a {
  color: var(--primary-accent);
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.footer-powered-by a:hover {
  opacity: 0.78;
}

.chat-button {
  position: fixed;
  right: 18px;
  bottom: calc(18px + var(--footer-powered-by-height));
  z-index: 40;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgb(9 13 20 / 24%);
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 950;
  backdrop-filter: blur(20px);
}

.side-skin {
  position: fixed;
  top: 0;
  bottom: 0;
  width: max(180px, calc((100vw - 1228px) / 2));
  z-index: 1;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.52;
}

.side-skin-left {
  left: 0;
}

.side-skin-right {
  right: 0;
}

body.cinema-mode {
  background: #000;
  padding-bottom: 0;
}

body.cinema-mode .top-notice,
body.cinema-mode .mobile-top-banner,
body.cinema-mode .portal-header,
body.cinema-mode .top-banner,
body.cinema-mode .primary-promo,
body.cinema-mode .channel-list,
body.cinema-mode .below-player-promo,
body.cinema-mode .bottom-banner,
body.cinema-mode .footer-text,
body.cinema-mode .footer-powered-by,
body.cinema-mode .side-skin,
body.cinema-mode .chat-button {
  display: none;
}

body.cinema-mode .site-shell {
  width: 100%;
  padding: 0;
}

body.cinema-mode .content-wrapper {
  display: block;
}

body.cinema-mode .player-wrapper {
  width: 100vw;
  height: 100vh;
  max-height: none;
  min-height: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

body.cinema-mode .multi-screen-panel {
  border-radius: 0;
}

body.cinema-mode .player-info-container {
  position: fixed;
  bottom: 40px;
  z-index: 20;
  left: 5px;
  right: 5px;
}

.player-wrapper:fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  min-height: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

.player-wrapper:fullscreen .single-player,
.player-wrapper:fullscreen video,
body.cinema-mode .single-player,
body.cinema-mode video {
  width: 100%;
  height: 100%;
}

@supports (height: 100dvh) {
  body.cinema-mode .player-wrapper,
  body.cinema-mode .multi-screen-panel,
  .player-wrapper:fullscreen {
    height: 100dvh;
  }
}

@media (max-width: 1280px) {
  .content-wrapper {
    grid-template-columns: minmax(0, 1fr) 332px;
  }

  .portal-nav {
    overflow-x: hidden;
    justify-content: flex-start;
    padding-bottom: 2px;
  }
}

@media (max-width: 1080px) {
  .site-shell {
    width: min(100% - 20px, 1228px);
  }

  .portal-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    justify-content: center;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .player-wrapper,
  .multi-screen-panel {
    min-height: auto;
    max-height: none;
  }

  .channel-groups {
    max-height: min(520px, 58vh);
  }
}

@media (max-width: 760px) {
  body::before,
  body::after {
    display: none;
  }

  .site-shell {
    width: min(100% - 12px, 1228px);
    padding-top: 8px;
  }

  .top-notice,
  .primary-promo,
  .below-player-promo {
    display: block;
    font-size: 10px;
    border-radius: 15px;
    margin: 0;
    margin-bottom: 10px;
  }

  .mobile-top-banner:not(.hidden) {
    display: flex;
    min-height: 64px;
    margin: 0 0 10px;
  }

  .portal-header {
    min-height: auto;
    margin-top: 8px;
    padding: 2px;
    border-radius: 20px;
    margin-bottom: 10px;
  }

  .ad-placeholder {
    font-size: 17px;
  }

  .portal-nav a {
    min-width: 74px;
    min-height: 50px;
    border-radius: 14px;
  }

  .ad-banner {
    min-height: 62px;
    margin-top: 10px;
  }

  .content-wrapper {
    gap: 0px;
  }

  .player-wrapper,
  .multi-screen-panel {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }

  .multi-screen-grid {
    padding: 4px 4px 64px;
  }

  .player-wrapper.native-controls .multi-screen-grid {
    padding: 4px;
  }

  .multi-tile {
    border-radius: 12px;
  }

  .multi-tile-label {
    left: 7px;
    right: 7px;
    top: 7px;
    bottom: auto;
    max-width: calc(100% - 14px);
    min-height: 23px;
    padding: 4px 7px;
    font-size: 10px;
  }

  .preroll-overlay {
    padding: 12px;
  }

  .preroll-fallback strong {
    font-size: 28px;
  }

  .preroll-skip {
    right: 12px;
    top: 12px;
    min-width: 128px;
    min-height: 38px;
    font-size: 12px;
  }

  .player-top-bar {
    inset: 8px 8px auto;
  }

  .player-top-action {
    min-width: 38px;
    min-height: 36px;
    padding: 0 9px;
  }

  .player-top-action-wide {
    min-width: 40px;
    font-size: 15px;
  }

  .overlay-message {
    left: 10px;
    top: 54px;
    font-size: 12px;
  }

  .overlay-message.subtle {
    top: 94px;
  }

  .center-play-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 7px;
  }

  #center-play-icon {
    width: 21px;
    height: 21px;
  }

  .player-bottom-bar {
    inset: auto 0px 0px;
    min-height: 40px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 5px;
    padding: 3px;
    border-radius: 0px 0px 15px 15px;
    background: linear-gradient(180deg, rgba(16, 22, 31, 0.2), rgba(4, 6, 10, 0.62));
  }

  .live-chip {
    min-width: 30px;
    justify-content: center;
  }

  .live-chip strong {
    display: none;
  }

  .control-strip {
    gap: 6px;
    justify-content: left;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    display: grid;
  }

  .player-icon-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    font-size: 11px;
  }

  .player-icon-btn .player-control-icon {
    width: 16px;
    height: 16px;
  }

  .player-mode-pill {
    min-width: 78px;
    font-size: 9px;
  }

  .volume-shell {
    width: 56px;
  }

  .status-summary {
    min-width: 50px;
  }

  .status-summary span {
    display: none;
  }

  .status-summary strong {
    font-size: 11px;
  }

  .player-glow-line {
    display: none;
  }

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

  .player-info {
    min-height: 40px;
    padding: 0px 12px;
    font-size: 13px;
  }

  #player-info-text {
    white-space: normal;
    font-size: 11px;
  }

  .player-side-metrics {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cinema-mode-toggle {
    min-width: 0;
  }

  .channel-list {
    border-radius: 20px;
  }

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

  .channel-row {
    padding: 8px 6px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: min(var(--brand-logo-width), 58vw);
    min-height: 50px;
    height: auto;
  }

  .portal-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    overflow: hidden;
    zoom: 0.7;
    border-radius: 12px;
  }

  .portal-nav a {
    min-width: 0;
    min-height: 45px;
  }

  .portal-nav .nav-icon,
  .portal-nav span {
    min-width: 22px;
    min-height: 22px;
  }

  .portal-nav strong {
    font-size: 12px;
  }

  .player-top-action-wide span:last-child,
  .player-mode-pill,
  .status-summary {
    display: none;
  }

  .volume-shell {
    width: 48px;
  }

  .player-bottom-bar {
    grid-template-columns: auto 1fr auto;
  }

  .player-side-metrics {
    grid-template-columns: 1fr;
  }

  .player-info-container {
    margin: 0 2px 8px;
    gap: 8px;
  }

  .volume-shell {
    width: 70px;
  }

  .channel-row {
    min-height: 62px;
  }

  .match-row {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .match-center {
    order: -1;
  }

  .match-team-away {
    justify-content: flex-start;
    text-align: left;
  }

  .score-body {
    display: grid;
    grid-template-columns: 1fr;
  }

  .score-team-home {
    justify-content: flex-start;
    text-align: left;
  }

  .chat-button {
    right: 10px;
    bottom: calc(10px + var(--footer-powered-by-height));
  }
}

@media (max-width: 420px) {
  .footer-powered-by {
    flex-wrap: wrap;
    gap: 0.18rem 0.25rem;
    font-size: 0.72rem;
    line-height: 1.2;
    padding: 0.7rem 0.8rem;
  }
}
