@font-face {
  font-family: "Noto Sans Arabic";
  src: url("./fonts/NotoSansArabic-Regular.woff") format("woff"), url("./fonts/NotoSansArabic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Arabic";
  src: url("./fonts/NotoSansArabic-Bold.woff") format("woff"), url("./fonts/NotoSansArabic-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #030807;
  --surface: rgba(13, 25, 22, 0.88);
  --surface-strong: #0f1c19;
  --line: rgba(255, 255, 255, 0.1);
  --text: #fbfdfc;
  --muted: #91a7a0;
  --green: #13a867;
  --red: #ed2632;
  --gold: #f6bc27;
}

/* Keep inactive panels hidden even when a browser restores an older layout
   rule from cache before the current script finishes loading. */
[hidden] { display: none !important; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% -8%, rgba(19,168,103,.2), transparent 30rem),
    radial-gradient(circle at 88% 5%, rgba(237,38,50,.16), transparent 28rem),
    radial-gradient(circle at 50% 10%, rgba(246,188,39,.09), transparent 25rem),
    linear-gradient(180deg, #08130f 0%, var(--bg) 54%, #020504 100%);
  color: var(--text);
  font-family: "Noto Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 72%);
  content: "";
  pointer-events: none;
}

button, a { font: inherit; }

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 19rem;
  height: 19rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  pointer-events: none;
}

.ambient-one { top: 24%; right: -12rem; background: var(--red); }
.ambient-two { bottom: 6%; left: -13rem; background: var(--green); }

.topbar {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 142px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid transparent;
}

.topbar::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19,168,103,.55), rgba(246,188,39,.65), rgba(237,38,50,.55), transparent);
  box-shadow: 0 0 22px rgba(246,188,39,.18);
  content: "";
}

.brand {
  position: relative;
  display: block;
  line-height: 0;
  text-decoration: none;
}

.brand::before {
  position: absolute;
  z-index: -1;
  inset: 18% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,188,39,.13), transparent 68%);
  filter: blur(18px);
  content: "";
}

.brand-logo {
  width: clamp(285px, 35vw, 410px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.42));
  transition: transform .25s ease, filter .25s ease;
}

.brand:hover .brand-logo { transform: translateY(-2px); filter: drop-shadow(0 16px 28px rgba(0,0,0,.5)); }

.install-guide-trigger {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 0;
  width: 238px;
  min-height: 60px;
  padding: 6px 9px 6px 7px;
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(246,188,39,.24);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 35%),
    linear-gradient(135deg, rgba(20,48,39,.96), rgba(6,17,13,.98));
  color: #fff;
  text-align: right;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 14px 34px rgba(0,0,0,.25), 0 0 25px rgba(19,168,103,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.install-guide-trigger::after {
  position: absolute;
  right: 28%;
  bottom: 0;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), var(--red), transparent);
  content: "";
}

.install-guide-trigger:hover {
  border-color: rgba(246,188,39,.43);
  transform: translateY(calc(-50% - 2px));
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 18px 40px rgba(0,0,0,.3), 0 0 30px rgba(246,188,39,.07);
}

.install-guide-trigger:active { transform: translateY(-50%) scale(.98); }
.install-guide-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.install-guide-trigger[hidden] { display: none; }

.install-trigger-app {
  width: 47px;
  height: 47px;
  padding: 3px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 7px 17px rgba(0,0,0,.28);
}

.install-trigger-app img { width: 100%; height: 100%; display: block; border-radius: 11px; object-fit: cover; }
.install-trigger-copy { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.install-trigger-copy small { color: #75d5a6; direction: ltr; font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-align: right; }
.install-trigger-copy strong { overflow: hidden; color: #f9fcfa; font-size: 14px; font-weight: 800; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.install-trigger-arrow { width: 19px; height: 19px; fill: none; stroke: #d5c27c; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transform: rotate(180deg); }

body.has-install-guide { overflow: hidden; }

.install-guide-dialog {
  width: min(1000px, calc(100% - 30px));
  max-width: none;
  max-height: min(92vh, 860px);
  max-height: min(92dvh, 860px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(246,188,39,.26);
  border-radius: 30px;
  background: #07110e;
  color: var(--text);
  box-shadow: 0 34px 100px rgba(0,0,0,.7), inset 0 1px rgba(255,255,255,.07);
}

.install-guide-dialog::backdrop {
  background: rgba(0,4,3,.8);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
}

.install-guide-dialog[open] { animation: install-guide-enter .24s ease-out both; }

.install-guide-shell {
  position: relative;
  max-height: inherit;
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 93% 0, rgba(19,168,103,.16), transparent 23rem),
    radial-gradient(circle at 5% 8%, rgba(237,38,50,.1), transparent 19rem),
    linear-gradient(180deg, rgba(15,29,25,.99), rgba(4,10,8,.995));
  scrollbar-color: rgba(246,188,39,.3) transparent;
}

.install-guide-shell::before {
  position: absolute;
  top: 0;
  right: 9%;
  left: 9%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), var(--red), transparent);
  box-shadow: 0 0 22px rgba(246,188,39,.26);
  content: "";
}

.install-guide-close {
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: #b9c8c2;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.install-guide-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.install-guide-close:active { transform: scale(.95); }
.install-guide-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }

.install-guide-head {
  position: relative;
  min-height: 126px;
  padding: 24px 28px 22px 78px;
  display: flex;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(90deg, rgba(19,168,103,.05), transparent 45%, rgba(246,188,39,.035));
}

.install-guide-app {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  padding: 4px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 13px 30px rgba(0,0,0,.34), 0 0 28px rgba(19,168,103,.08);
}

.install-guide-app img { width: 100%; height: 100%; display: block; border-radius: 17px; object-fit: cover; }
.install-guide-head > div { min-width: 0; }
.install-guide-kicker { display: block; margin-bottom: 3px; color: #69d49f; font-size: 12px; font-weight: 700; }
.install-guide-head h2 { font-size: clamp(23px, 3vw, 31px); }
.install-guide-head p { margin: 4px 0 0; color: #9aafa8; font-size: 14px; line-height: 1.7; }

.install-platform-tabs {
  width: min(430px, calc(100% - 40px));
  margin: 18px auto;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 18px;
  background: rgba(0,0,0,.2);
}

.install-platform-tab {
  min-height: 48px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #82958f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.install-platform-tab svg { width: 20px; height: 20px; fill: currentColor; }
.install-platform-tab:hover { color: #e9f0ed; background: rgba(255,255,255,.04); }
.install-platform-tab:active { transform: scale(.98); }
.install-platform-tab.is-active { border-color: rgba(246,188,39,.28); background: linear-gradient(135deg, rgba(19,168,103,.2), rgba(246,188,39,.09)); color: #fff; box-shadow: inset 0 1px rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.18); }

.install-guide-panels { padding: 0 24px 24px; }
.install-guide-panel[hidden] { display: none; }

.install-browser-note {
  min-height: 42px;
  margin-bottom: 13px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(19,168,103,.17);
  border-radius: 14px;
  background: rgba(19,168,103,.07);
  color: #bfd3cb;
  font-size: 13px;
}

.install-browser-note svg { width: 18px; height: 18px; fill: #5ed399; }
.install-browser-note b { color: #fff; direction: ltr; font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif; }

.install-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  list-style: none;
}

.install-step {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 154px auto;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(19,34,29,.88), rgba(8,16,13,.94));
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 14px 32px rgba(0,0,0,.14);
}

.install-step-visual {
  min-width: 0;
  padding: 13px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background:
    radial-gradient(circle at 50% 115%, rgba(246,188,39,.09), transparent 56%),
    linear-gradient(145deg, rgba(19,168,103,.065), rgba(237,38,50,.035));
}

.ui-shot {
  position: relative;
  width: min(100%, 360px);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15,29,25,.14);
  border-radius: 14px;
  background: #f4f5f5;
  color: #17201d;
  direction: ltr;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
  box-shadow: 0 10px 25px rgba(0,0,0,.23);
}

.ui-site-mark {
  position: absolute;
  top: 20px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ui-site-mark img { width: 43px; height: 43px; border-radius: 12px; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.ui-site-mark span { display: flex; flex-direction: column; }
.ui-site-mark b { color: #0a241a; font-size: 13px; line-height: 1.25; }
.ui-site-mark small { color: #159a60; font-size: 7px; font-weight: 800; letter-spacing: .7px; }

.safari-address {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  height: 34px;
  padding: 0 9px;
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  align-items: center;
  gap: 5px;
  border: 1px solid #d8d9da;
  border-radius: 11px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 3px 9px rgba(0,0,0,.08);
}

.safari-address span { color: #38413e; font-size: 10px; font-weight: 700; }
.safari-address strong { overflow: hidden; color: #222; font-size: 10px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.safari-address svg { width: 14px; height: 14px; fill: #4e5754; }

.ui-site-mini {
  position: absolute;
  top: 14px;
  right: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 9px 7px;
  align-items: center;
  gap: 6px 8px;
}

.ui-site-mini img { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 9px; }
.ui-site-mini span { height: 7px; border-radius: 999px; background: #d5dcda; }
.ui-site-mini span:last-child { width: 62%; background: #e3e7e6; }

.safari-toolbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d9dada;
  background: rgba(249,249,249,.98);
  color: #126fe5;
}

.safari-toolbar > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 24px; line-height: 1; }
.safari-toolbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.ui-target {
  position: relative;
  color: #0da267 !important;
  background: rgba(13,162,103,.11) !important;
  box-shadow: 0 0 0 3px rgba(13,162,103,.17), 0 0 16px rgba(13,162,103,.18);
}

.ios-sheet-shot { padding: 15px 9px 8px; border-radius: 18px 18px 13px 13px; background: #f1f1f3; }
.ui-sheet-handle { width: 36px; height: 4px; margin: -7px auto 7px; display: block; border-radius: 999px; background: #b8b8bb; }
.ui-sheet-row {
  min-height: 34px;
  padding: 5px 8px;
  display: grid;
  grid-template-columns: 26px 1fr 14px;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #dddfe0;
  border-radius: 8px;
  font-size: 10px;
}
.ui-sheet-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-sheet-row i { color: #89918e; font-size: 18px; font-style: normal; text-align: right; }
.ui-sheet-row.muted { opacity: .52; }
.ui-target-row { position: relative; background: #e4f4ec !important; color: #0a6f45; box-shadow: inset 0 0 0 1px rgba(13,162,103,.24), 0 3px 12px rgba(13,162,103,.1); opacity: 1 !important; }
.ui-plus-box { width: 22px; height: 22px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 6px; font-size: 14px; }

.ios-add-shot { padding: 0 10px; background: #f6f6f7; }
.ui-add-head { height: 38px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; border-bottom: 1px solid #ddd; color: #1775e5; font-size: 9px; }
.ui-add-head b { color: #242827; font-size: 9px; text-align: center; }
.ui-add-head strong { text-align: right; }
.ui-add-app { margin-top: 18px; padding: 10px; display: flex; align-items: center; gap: 9px; border: 1px solid #e0e2e2; border-radius: 12px; background: #fff; }
.ui-add-app img { width: 42px; height: 42px; border-radius: 11px; }
.ui-add-app span { min-width: 0; display: flex; flex-direction: column; }
.ui-add-app b { font-size: 11px; }
.ui-add-app small { color: #858e8b; font-size: 8px; }
.ui-home-line { position: absolute; right: 38%; bottom: 5px; left: 38%; height: 4px; border-radius: 999px; background: #242424; }

.chrome-address {
  height: 36px;
  margin: 8px;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 22px 1fr 20px;
  align-items: center;
  border-radius: 18px;
  background: #e5e8e7;
  color: #3b4541;
}
.chrome-address strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.chrome-address b { font-size: 18px; line-height: 1; text-align: center; }
.chrome-page .ui-site-mark { top: 62px; }
.chrome-menu-button-shot .ui-site-mini { top: 62px; }
.ui-dot-target { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; font-size: 18px !important; }

.android-menu-shot { padding: 7px; background: #fff; }
.android-menu-row { min-height: 31px; padding: 4px 7px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 6px; border-radius: 8px; font-size: 9px; }
.android-menu-row.muted { opacity: .53; }

.android-install-shot { height: auto; min-height: 100%; padding: 18px 14px 12px; background: #fff; }
.android-install-app { display: flex; align-items: flex-start; gap: 9px; }
.android-install-app img { width: 42px; height: 42px; border-radius: 12px; }
.android-install-app span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.android-install-app b { font-size: 11px; }
.android-install-app small { max-width: 170px; color: #7b8581; font-size: 8px; line-height: 1.4; }
.android-install-actions { position: absolute; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 18px; color: #0d8b59; font-size: 9px; font-weight: 700; }
.android-install-actions strong { padding: 6px 12px; border-radius: 12px; background: #0d8b59; color: #fff; }

.install-step-copy {
  padding: 14px 15px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.install-step-number {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246,188,39,.25);
  border-radius: 10px;
  background: rgba(246,188,39,.09);
  color: #f4ca57;
  font-size: 13px;
  font-weight: 900;
}

.install-step-copy > div { min-width: 0; }
.install-step-copy strong { display: block; color: #f5f8f6; font-size: 15px; font-weight: 800; line-height: 1.5; }
.install-step-copy p { margin: 3px 0 0; color: #8fa39c; font-size: 14px; line-height: 1.65; }

.install-guide-foot {
  min-height: 76px;
  padding: 14px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(3,9,7,.72);
}

.install-guide-foot > span { display: flex; align-items: center; gap: 8px; color: #849990; font-size: 13px; }
.install-guide-foot > span i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #27c77b; box-shadow: 0 0 0 4px rgba(39,199,123,.1), 0 0 11px rgba(39,199,123,.3); }
.install-guide-foot button {
  min-width: 124px;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid rgba(246,188,39,.36);
  border-radius: 14px;
  background: linear-gradient(145deg, #f8ca4d, #d9940c);
  color: #1a1207;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 9px 23px rgba(246,188,39,.15);
}

.install-guide-close:focus-visible,
.install-platform-tab:focus-visible,
.install-guide-foot button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@keyframes install-guide-enter {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
}

.ad-slot {
  width: min(920px, 100%);
  margin: 0 auto 26px;
}

/* Paid artwork stays intact within the existing advertising rectangle. */
#standard-ad-frame.darko-ad { display: grid; grid-template-columns: minmax(0,26fr) minmax(0,74fr); direction: rtl; place-items: stretch; gap: 0; padding: 0; overflow: hidden; border: 1px solid #b19853; border-radius: 16px; background: #10261b; box-shadow: 0 6px 20px #0005; }
#standard-ad-frame > .darko-ad-heading { width: 100%; height: 100%; justify-self: stretch; align-self: stretch; box-sizing: border-box; }
.darko-ad-heading { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 5px; min-width: 0; margin: 0; padding: clamp(7px,1.8vw,22px); background: linear-gradient(155deg,#132b1e,#07150f); color: #eee5c8; border-left: 1px solid #b59a54; font-family: inherit; font-size: clamp(12px,2.9vw,27px); font-weight: 700; line-height: 1.4; text-align: right; text-decoration: none; }
.darko-ad-heading:before { content: ''; position: absolute; right: 0; top: 34%; height: 30%; width: 3px; background: linear-gradient(#8a723d,#e8c779,#8a723d); }
.darko-ad-heading strong { display: block; color: #f1d076; font-family: inherit; font-size: 1.25em; font-weight: 800; }
.darko-ad-heading svg { width: clamp(12px,2.3vw,23px); height: clamp(12px,2.3vw,23px); flex-shrink: 0; color: #c9b47c; }
.darko-ad-top { display: flex; align-items: center; justify-content: space-between; gap: 3px; direction: ltr; }
.darko-ad-top small { color: #c9b47c; font-family: inherit; font-size: clamp(9px,1.4vw,13px); line-height: 1.2; }
.darko-ad-bottom { display: flex; align-items: center; justify-content: space-between; gap: 3px; border-top: 1px solid #5b5734; padding-top: clamp(5px,1.2vw,17px); color: #c8d2bf; font-size: clamp(9px,1.4vw,13px); white-space: nowrap; }
.darko-ad-arrow { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: clamp(17px,3vw,34px); height: clamp(17px,3vw,34px); border-radius: 50%; background: #e3c574; }
.darko-ad-arrow svg { width: 60%; height: 60%; color: #152319; }
.darko-ad-link { display: flex; align-items: center; min-width: 0; width: 100%; overflow: hidden; background: #fff; isolation: isolate; }
.darko-ad-link:focus-visible, .darko-ad-heading:focus-visible { outline: 3px solid #d6b971; outline-offset: -3px; }
.darko-ad-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; }
@media(max-width:360px) { .darko-ad-heading { gap: 3px; padding: 6px; } }
.darko-number-shine { animation: darko-number-shine 3.8s ease-in-out infinite alternate; }
@keyframes darko-number-shine { 0%, 12% { transform: translateX(-75px) skewX(-12deg); } 88%, 100% { transform: translateX(630px) skewX(-12deg); } }
@media (prefers-reduced-motion: reduce) { .darko-number-shine { animation: none; opacity: 0; } }

.apple-event-card {
  position: relative;
  width: 100%;
  min-height: clamp(172px, 24vw, 220px);
  overflow: hidden;
  display: block;
  padding: 0;
  border: 1px solid rgba(207, 232, 255, .42);
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 25px;
  background: #163e69;
  color: #fff;
  direction: ltr;
  font-family: "Noto Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: right;
  cursor: pointer;
  box-shadow: 0 28px 72px rgba(0, 5, 18, .44), 0 10px 35px rgba(92, 177, 255, .12), inset 0 1px rgba(255,255,255,.18);
  isolation: isolate;
}

.apple-event-card[hidden] { display: none; }
.ad-frame[hidden] { display: none; }

.apple-event-card::before,
.apple-event-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.apple-event-card::before {
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(225,245,255,.2), transparent 30%),
    linear-gradient(118deg, rgba(255,255,255,.1), transparent 24% 78%, rgba(167,219,255,.08));
  mix-blend-mode: screen;
}

.apple-event-card::after {
  z-index: 4;
  inset: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255,255,255,.25), inset 0 -45px 58px rgba(0,8,24,.12);
}

.apple-event-art,
.apple-event-shade { position: absolute; inset: 0; width: 100%; height: 100%; }

.apple-event-art {
  z-index: -3;
  object-fit: cover;
  object-position: 46% center;
  filter: saturate(.88) brightness(.76) contrast(1.02);
  transform: scale(1.025);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}

.apple-event-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 43% 46%, transparent 8%, rgba(3,15,38,.08) 48%, rgba(2,10,27,.3) 100%),
    linear-gradient(90deg, rgba(2,10,27,.04) 0%, rgba(2,10,27,.12) 44%, rgba(1,8,24,.82) 100%);
}

.apple-event-card:hover .apple-event-art { transform: scale(1.055); filter: saturate(.94) brightness(.82) contrast(1.04); }
.apple-event-card:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.apple-event-topline {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 13px;
  left: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  direction: ltr;
}

.apple-event-badge {
  min-height: 28px;
  padding: 4px 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,231,177,.48);
  border-radius: 999px;
  background: rgba(5,19,43,.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff5d8;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.apple-event-sponsor {
  width: clamp(210px, 35vw, 300px);
  max-width: calc(100% - 92px);
  min-height: 38px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  direction: rtl;
  text-align: right;
}

.apple-event-sponsor-logos {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  direction: ltr;
}

.apple-event-sponsor-logos img {
  max-width: 100%;
  height: clamp(28px, 3.8vw, 36px);
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 3px 8px rgba(0,7,22,.55));
}

.apple-event-asia-logo {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 14px;
  width: clamp(122px, 16vw, 152px);
  max-width: 34%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,7,22,.55));
  pointer-events: none;
}
.apple-event-mystore-logo { width: 40%; }

.apple-event-badge { color: #fff4d4; }
.apple-event-card[data-event-state='live'] .apple-event-badge { background: #fff; color: #111; }

.apple-event-copy {
  position: absolute;
  z-index: 2;
  right: clamp(156px, 21vw, 192px);
  bottom: clamp(14px, 2.2vw, 22px);
  left: auto;
  width: min(44%, 420px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  direction: rtl;
  text-align: right;
}

.apple-event-copy small {
  margin-bottom: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(233,246,255,.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .01em;
}
.apple-event-copy strong {
  font-family: inherit;
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
  text-shadow: 0 12px 38px rgba(0,7,22,.7), 0 0 30px rgba(200,235,255,.08);
}

.apple-event-meta { margin-top: 5px; padding: 4px 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(2,13,34,.3); color: #fff; font-size: clamp(11px, 1.5vw, 13px); box-shadow: inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.apple-event-meta i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.72); }
.apple-event-zone { margin-top: 3px; color: rgba(225,240,255,.8); font-size: 10px; font-weight: 650; }
.apple-event-countdown { display: none; }

.apple-event-action { position: absolute; z-index: 3; bottom: clamp(14px, 2.2vw, 22px); left: clamp(13px, 2.4vw, 24px); min-height: 38px; padding: 4px 6px 4px 12px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(245,251,255,.94); color: #12385f; box-shadow: 0 9px 24px rgba(2,13,31,.3); white-space: nowrap; direction: rtl; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.apple-event-play { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #1769aa; color: #fff; box-shadow: 0 4px 11px rgba(23,105,170,.3); }
.apple-event-play svg { width: 18px; fill: currentColor; }
.apple-event-action b { font-size: 10px; font-weight: 800; }

.ad-frame {
  position: relative;
  min-height: clamp(132px, 18vw, 190px);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  border: 1px solid rgba(246,188,39,.3);
  border-radius: 25px;
  background:
    linear-gradient(135deg, rgba(19,168,103,.13), transparent 35%),
    linear-gradient(315deg, rgba(237,38,50,.13), transparent 37%),
    linear-gradient(145deg, rgba(19,31,28,.96), rgba(5,10,9,.98));
  box-shadow: 0 20px 55px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.055);
}

.ad-frame::before {
  position: absolute;
  z-index: -1;
  inset: 9px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 18px;
  background-image: radial-gradient(rgba(246,188,39,.12) .7px, transparent .7px);
  background-size: 17px 17px;
  content: "";
}

.ad-frame::after {
  position: absolute;
  z-index: 3;
  right: 16%;
  bottom: 0;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), var(--red), transparent);
  box-shadow: 0 0 24px rgba(246,188,39,.38);
  content: "";
}

.ad-label {
  position: absolute;
  top: 16px;
  right: 17px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(3,8,7,.55);
  color: #a8bbb5;
  font-size: 12px;
  font-weight: 700;
}

.ad-copy {
  position: relative;
  z-index: 2;
  padding: 26px 70px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ad-copy small {
  margin-bottom: 2px;
  color: #8fa49d;
  font-size: 12px;
  font-weight: 600;
}

.ad-copy strong {
  position: relative;
  overflow: hidden;
  color: #fff;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 850;
  line-height: 1.45;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.ad-copy strong span {
  display: inline-block;
  background: linear-gradient(100deg, #fff 20%, #fff0b7 43%, #fff 62%);
  background-size: 240% 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: ad-shine 3.2s ease-in-out infinite;
}

.ad-copy a {
  margin-top: 3px;
  color: #dacb9a;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-decoration: none;
  transition: color .18s ease;
}

.ad-copy a:hover { color: var(--gold); }

.ad-glow {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .22;
}

.ad-glow-red { right: -80px; bottom: -90px; background: var(--red); }
.ad-glow-green { top: -90px; left: -75px; background: var(--green); }

.ad-character {
  position: absolute;
  z-index: 1;
  bottom: -3px;
  left: 14px;
  width: clamp(116px, 19vw, 190px);
  height: calc(100% - 12px);
  display: block;
  object-fit: contain;
  object-position: left bottom;
  opacity: .6;
  filter: invert(1) brightness(1.3);
  mix-blend-mode: screen;
  pointer-events: none;
}

.watch-stage {
  position: relative;
  scroll-margin-top: 86px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 29px;
  background: linear-gradient(145deg, rgba(20,37,32,.94), rgba(7,13,12,.98));
  box-shadow: 0 32px 100px rgba(0,0,0,.46), 0 0 0 1px rgba(246,188,39,.035) inset;
}

.watch-stage::before {
  position: absolute;
  z-index: 6;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,188,39,.78), transparent);
  content: "";
  pointer-events: none;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #101816, #010302 72%);
}

.player-shell video,
.official-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #010302;
}

.official-player {
  border: 0;
}

.official-player[hidden],
.player-shell video[hidden] { display: none; }

.idle-placeholder {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #030706;
  pointer-events: none;
}

.idle-placeholder[hidden] { display: none; }

.idle-placeholder::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(6,18,14,.08), rgba(2,7,6,.38) 72%),
    linear-gradient(180deg, rgba(2,7,6,.12), rgba(2,7,6,.36));
  content: "";
}

.idle-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(.48) contrast(.92);
  transform: scale(1.01);
}

.idle-placeholder strong {
  position: relative;
  z-index: 1;
  padding: 10px 20px 13px;
  color: #fff;
  font-size: clamp(24px, 4.4vw, 42px);
  font-weight: 850;
  line-height: 1.45;
  text-shadow: 0 5px 22px rgba(0,0,0,.9);
}

.stream-message {
  position: absolute;
  z-index: 4;
  inset: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: rgba(2,7,6,.76);
  color: #f4f8f6;
  backdrop-filter: blur(9px);
  text-align: center;
}

.stream-message[hidden] { display: none; }

.stream-message strong {
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 800;
}

.stream-spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.22);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.stream-message.is-error { background: rgba(16,5,7,.86); color: #ffdadd; }
.stream-message.is-error .stream-spinner { display: none; }
.broadcast-notice { margin: 14px 16px 18px; padding: 18px 14px; border: 1px solid #ff6674; border-radius: 16px; background: #3e1018; color: #fff0f2; font-size: clamp(24px, 5vw, 34px); font-weight: 900; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.broadcast-notice[hidden] { display: none; }
.match-showcase.has-broadcast-notice { border-color: #ff6674; }
.stream-message.is-match-notice { font-size: clamp(24px, 5vw, 40px); font-weight: 900; line-height: 1.7; text-align: center; }

.viewer-count {
  position: static;
  max-width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(2,7,6,.74);
  color: rgba(255,255,255,.82);
  overflow: hidden;
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  direction: rtl;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.5;
  pointer-events: none;
}

.viewer-count[hidden] { display: none; }

.viewer-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  contain: paint;
}

.viewer-icon > picture,
.viewer-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.viewer-icon img { filter: brightness(1.5); }

.viewer-count-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.viewer-count b {
  display: inline-block;
  color: #fff;
  font-size: inherit;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.viewer-count.is-rising b {
  color: #bff7d8;
  animation: viewer-number-rise .44s ease-out;
}

.viewer-count.is-falling b {
  color: #ffd2d5;
  animation: viewer-number-fall .44s ease-out;
}

.live-tools {
  max-width: calc(100% - 32px);
  z-index: 5;
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-pill {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(2,7,6,.76);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  pointer-events: none;
}

.live-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(220,53,53,.18);
  animation: pulse 1.8s infinite;
}

.live-pill b { font-size: inherit; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sound-button {
  flex-shrink: 0;
  position: relative;
  min-width: 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246,188,39,.3);
  border-radius: 50%;
  background: rgba(7,14,12,.78);
  backdrop-filter: blur(14px);
  color: #fff4cc;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.05);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.sound-button[hidden] { display: none; }
.sound-button:hover { border-color: rgba(246,188,39,.62); background: rgba(22,31,26,.88); }
.sound-button:active { transform: scale(.96); }
.sound-button .sound-icon { width: 19px; fill: currentColor; }
.sound-button .sound-icon-on { display: none; }
.sound-button .mute-mark { fill: none; stroke: var(--red); stroke-width: 2.15; stroke-linecap: round; }
.sound-button.is-sound-on { border-color: rgba(19,168,103,.55); background: rgba(7,31,21,.84); color: #b9f4d3; box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 18px rgba(19,168,103,.12), inset 0 1px rgba(255,255,255,.05); }
.sound-button.is-sound-on .sound-icon-off { display: none; }
.sound-button.is-sound-on .sound-icon-on { display: block; }
.sound-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#sound-button:not(.is-sound-on) { width: auto; padding: 0 9px; gap: 5px; border-radius: 999px; font-family: inherit; }
#sound-button:not(.is-sound-on) span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 11px; font-weight: 700; }

.fullscreen-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fullscreen-button[aria-pressed='true'] { color: #b9f4d3; border-color: rgba(19,168,103,.55); }
.quality-chip[hidden] { display: none; }
.player-shell:not([data-state='playing']) .live-pill span { animation: none; background: #91a7a0; box-shadow: none; }

.sound-tip {
  position: absolute;
  z-index: 7;
  top: 66px;
  right: 16px;
  max-width: min(260px, calc(100% - 32px));
  padding: 9px 12px;
  border: 1px solid rgba(246,188,39,.32);
  border-radius: 11px;
  background: rgba(6,12,10,.92);
  color: #fff3c4;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.38);
}

.sound-tip[hidden] { display: none; }

.player-watermark {
  position: absolute;
  z-index: 5;
  bottom: 16px;
  left: 16px;
  width: clamp(82px, 11vw, 126px);
  max-width: 23%;
  height: auto;
  opacity: .88;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.72));
  pointer-events: none;
}

.now-playing {
  min-height: 86px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.055);
  background: linear-gradient(90deg, rgba(19,168,103,.055), transparent 36%, rgba(237,38,50,.04));
}

.now-playing[hidden] { display: none; }

.eyebrow {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

h1, h2 { margin: 0; line-height: 1.35; }
h1 { font-size: clamp(20px, 3vw, 27px); font-weight: 800; }
h2 { font-size: 24px; font-weight: 800; }

.quality-chip {
  min-width: 64px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(19,168,103,.25);
  border-radius: 999px;
  background: rgba(19,168,103,.09);
  color: #9ee5c1;
  direction: ltr;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .55px;
}

.channels-section { margin-top: 34px; scroll-margin-top: 86px; }

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

.section-heading-title {
  flex: 1 1 10rem;
  min-width: 0;
}

.channel-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  min-height: 68px;
  margin-inline-start: auto;
}

#channel-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.category-dock {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 23px;
  background: rgba(8,16,14,.78);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 16px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}

.category-tab {
  min-height: 72px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: transparent;
  color: #859a94;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.category-tab[hidden] { display: none; }

.category-tab:hover {
  color: #dce6e2;
  background: rgba(255,255,255,.04);
}

.category-tab:active { transform: scale(.97); }

.category-tab.is-active {
  border-color: rgba(246,188,39,.29);
  background: linear-gradient(135deg, rgba(19,168,103,.16), rgba(246,188,39,.075) 55%, rgba(237,38,50,.105));
  color: #fff;
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 9px 24px rgba(0,0,0,.2);
}

.category-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  color: currentColor;
}

.category-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.category-tab.is-active .category-icon {
  background: linear-gradient(145deg, #f8cb50, #da930e);
  color: #191108;
  box-shadow: 0 7px 18px rgba(246,188,39,.2);
}

.category-tab:focus-visible,
.channel-card:focus-visible,
.sound-button:focus-visible,
.ad-copy a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.channel-card[hidden], .channel-grid[hidden] { display: none; }

.sports-switch {
  width: min(460px, 100%);
  margin: 0 0 18px;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(5,13,11,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 12px 30px rgba(0,0,0,.13);
}

.sports-switch[hidden], .match-grid[hidden] { display: none; }

.sports-view-tab {
  min-height: 48px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #8da19b;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.sports-view-tab svg { width: 19px; height: 19px; fill: currentColor; }
.sports-view-tab:hover { color: #f4f8f6; background: rgba(255,255,255,.045); }
.sports-view-tab:active { transform: scale(.98); }
.sports-view-tab.is-active {
  border-color: rgba(246,188,39,.28);
  background: linear-gradient(135deg, rgba(19,168,103,.2), rgba(246,188,39,.1));
  color: #fff;
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 8px 20px rgba(0,0,0,.18);
}

.sports-view-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.match-grid { display: grid; gap: 16px; }

.match-showcase {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(246,188,39,.24);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.045), transparent 34%),
    radial-gradient(circle at 50% 115%, rgba(246,188,39,.11), transparent 40%),
    linear-gradient(145deg, rgba(18,32,28,.98), rgba(5,12,10,.99));
  box-shadow:
    inset 0 1px rgba(255,255,255,.07),
    0 24px 62px rgba(0,0,0,.27),
    0 0 44px rgba(19,168,103,.035);
  cursor: default;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.match-showcase[hidden] { display: none; }

.match-showcase.is-live {
  border-color: rgba(237,38,50,.48);
  box-shadow:
    inset 0 1px rgba(255,255,255,.08),
    0 24px 62px rgba(0,0,0,.3),
    0 0 38px rgba(237,38,50,.09),
    0 0 48px rgba(19,168,103,.06);
}

.replay-showcase.is-replay-ready {
  border-color: rgba(246,188,39,.52);
  box-shadow:
    inset 0 1px rgba(255,255,255,.08),
    0 24px 62px rgba(0,0,0,.3),
    0 0 42px rgba(246,188,39,.09),
    0 0 52px rgba(19,168,103,.06);
}

.match-showcase::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 82%);
  content: "";
}

.match-showcase::after {
  position: absolute;
  z-index: 3;
  right: 10%;
  bottom: 0;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), var(--red), transparent);
  box-shadow: 0 0 20px rgba(246,188,39,.28);
  content: "";
}

.match-card-glow {
  position: absolute;
  z-index: -1;
  top: 35%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(76px);
  opacity: .14;
  pointer-events: none;
}

.match-card-glow-real { right: -90px; background: #f3c63c; }
.match-card-glow-inter { left: -90px; background: #1858db; }

.match-card-head,
.finished-match-label, .fixture-timezone { font-size: .9rem; color: #c8d6ce; line-height: 1.7; }
.finished-match-label { margin: 12px 0 0; color: #f7d675; text-align: center; }
.match-card-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.competition-chip,
.fixture-time-chip,
.preview-only-chip {
  min-height: 34px;
  padding: 6px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(4,10,8,.58);
  color: #cbd7d3;
  font-size: 12px;
  font-weight: 700;
}

.competition-chip svg,
.fixture-time-chip svg { width: 15px; height: 15px; fill: currentColor; }
.competition-chip { color: #f7d675; }
.fixture-time-chip { color: #d5e4de; direction: rtl; }

.match-teams {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 23px auto 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.match-team {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.club-logo-shell {
  position: relative;
  width: 122px;
  height: 122px;
  margin-bottom: 8px;
  padding: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.02));
  box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3);
}

.club-logo-shell::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: inherit;
  content: "";
}

.club-logo-real { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(246,188,39,.09); }
.club-logo-inter { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(34,89,225,.13); }

.club-logo-inner {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #fff, #eef1ef 68%, #cdd4d1);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.club-logo-inner img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  object-fit: contain;
  object-position: center;
}

.club-logo-inner img[src*="logo-aston-villa"] {
  width: 82%;
  height: 82%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.club-logo-barcelona { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(23,78,166,.16); }
.club-logo-feyenoord { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(232,34,45,.14); }
.club-logo-liverpool { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(197,30,50,.15); }
.club-logo-atletico { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(35,74,150,.15); }
.club-logo-napoli { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(30,145,205,.16); }
.club-logo-arsenal { box-shadow: inset 0 1px rgba(255,255,255,.17), 0 16px 34px rgba(0,0,0,.3), 0 0 28px rgba(219,30,45,.15); }

.club-logo-real .club-logo-inner { padding: 13px; }
.club-logo-inter .club-logo-inner { padding: 11px; }
.match-team strong { max-width: 100%; color: #fff; font-size: 18px; font-weight: 850; line-height: 1.35; }
.match-team small { color: #849890; font-size: 11px; font-weight: 600; }

.match-centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.match-centre span { color: #82958e; font-size: 10px; font-weight: 700; }
.match-centre b { color: #fff; font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif; font-size: 31px; font-weight: 900; letter-spacing: -.8px; line-height: 1.1; }
.match-centre.has-kickoff-message .match-kickoff { font-family: inherit; font-size: clamp(15px, 4vw, 23px); line-height: 1.5; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.match-centre.is-counting-down .match-kickoff { color: #f6cc68; }
.replay-showcase .match-kickoff { font-family: inherit; font-size: 14px; letter-spacing: 0; line-height: 1.6; }
.match-centre .match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  /* Match the team grid: home on the right, away on the left. */
  direction: rtl;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.match-centre .match-score[hidden],
.match-centre .match-kickoff[hidden] { display: none; }
.match-score span {
  direction: ltr;
  unicode-bidi: isolate;
  min-width: 38px;
  padding: 4px 7px 5px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  color: #fff;
  font-size: 30px;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.2);
}
.match-score em {
  color: #f3c95c;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
}
.match-centre.is-live-score [data-score-status] { color: #ffb7bc; }
.match-centre.is-live-score [data-score-badge] {
  border-color: rgba(237,38,50,.42);
  background: rgba(237,38,50,.14);
  color: #ffb7bc;
  letter-spacing: .6px;
}
.match-centre.is-finished-score [data-score-status],
.match-centre.is-finished-score > span { color: #d8e3df; }
.match-centre.score-bump .match-score span { animation: score-bump .55s ease; }
@keyframes score-bump {
  0% { transform: scale(.88); background: rgba(246,188,39,.28); }
  60% { transform: scale(1.09); }
  100% { transform: scale(1); }
}
.competition-logo {
  width: 34px;
  height: 34px;
  margin-bottom: 3px;
  display: block;
  object-fit: contain;
  opacity: .94;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.16));
}
.match-centre i {
  min-width: 46px;
  margin-top: 8px;
  padding: 4px 9px;
  border: 1px solid rgba(246,188,39,.2);
  border-radius: 999px;
  background: rgba(246,188,39,.08);
  color: #f3c95c;
  direction: ltr;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.match-apology {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  min-width: 0;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(246,188,39,.14);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(246,188,39,.055), rgba(4,10,8,.48));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  direction: rtl;
  text-align: center;
}

.match-apology strong {
  display: block;
  color: #f4d477;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.7;
}

.match-apology p {
  max-width: 100%;
  margin: 3px 0 0;
  color: #b2c0bb;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.85;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.match-card-foot {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.commentator-card { display: flex; align-items: center; gap: 10px; }
.commentator-card > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.commentator-card small { color: #849890; font-size: 10px; font-weight: 600; }
.commentator-card strong { color: #edf3f0; font-size: 14px; font-weight: 800; }

.commentator-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  overflow: hidden;
  padding: 3px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(66,218,151,.34);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(30,81,63,.5), rgba(5,18,14,.94));
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 7px 18px rgba(0,0,0,.25), 0 0 16px rgba(19,168,103,.08);
}

.commentator-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.commentator-pending .commentator-icon {
  animation: commentator-search 1.7s ease-in-out infinite;
}

@keyframes commentator-search {
  0%, 100% { transform: rotate(-7deg); opacity: .68; }
  50% { transform: rotate(7deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .commentator-pending .commentator-icon { animation: none; }
}
.preview-only-chip { color: #b6c3be; }
.preview-only-chip i { width: 7px; height: 7px; border-radius: 50%; background: #778781; box-shadow: 0 0 0 4px rgba(119,135,129,.1); }
.match-live-action { min-width: 0; max-width: 100%; font-family: inherit; white-space: normal; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.match-live-action > span { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.match-live-action { font-size: 13px; font-weight: 800; text-align: center; }
.match-live-action > i { flex-shrink: 0; }
.match-live-action:disabled { cursor: default; opacity: 1; }
.match-live-action:not(:disabled) {
  border-color: rgba(237,38,50,.45);
  background: linear-gradient(135deg, rgba(237,38,50,.26), rgba(157,12,25,.2));
  color: #fff;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 24px rgba(237,38,50,.14);
}
.match-live-action:not(:disabled) i { background: var(--red); box-shadow: 0 0 0 4px rgba(237,38,50,.13), 0 0 15px rgba(237,38,50,.65); animation: pulse 1.35s ease-in-out infinite; }
.match-live-action:not(:disabled):hover { border-color: rgba(255,111,120,.7); transform: translateY(-1px); }
.match-live-action:not(:disabled):active { transform: scale(.97); }
.match-live-action:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.replay-action { font-family: inherit; white-space: nowrap; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.replay-action:disabled { cursor: default; opacity: 1; }
.replay-action:not(:disabled) {
  border-color: rgba(246,188,39,.44);
  background: linear-gradient(135deg, rgba(19,168,103,.24), rgba(246,188,39,.15));
  color: #fff;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 24px rgba(19,168,103,.13);
}
.replay-action:not(:disabled) i { background: var(--gold); box-shadow: 0 0 0 4px rgba(246,188,39,.12), 0 0 14px rgba(246,188,39,.45); }
.replay-action:not(:disabled):hover { border-color: rgba(255,220,118,.72); transform: translateY(-1px); }
.replay-action:not(:disabled):active { transform: scale(.97); }
.replay-action:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.category-empty {
  min-height: 150px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(12,22,19,.54);
  color: #82968f;
  text-align: center;
}

.category-empty[hidden] { display: none; }
.category-empty span { width: 40px; height: 40px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 50%; background: rgba(246,188,39,.08); color: #b99a47; font-size: 24px; font-weight: 300; }
.category-empty strong { color: #d6e0dc; font-size: 16px; }
.category-empty small { margin-top: 3px; font-size: 13px; }

.channel-card {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  padding: 14px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(19,33,29,.9), rgba(9,16,14,.94));
  color: var(--text);
  text-align: right;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 14px 34px rgba(0,0,0,.13);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.channel-card::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0;
  content: "";
  transition: opacity .2s ease;
}

.channel-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.19); box-shadow: 0 18px 42px rgba(0,0,0,.22); }
.channel-card:active { transform: scale(.98); }

.channel-card.is-active {
  border-color: rgba(246,188,39,.44);
  background: linear-gradient(135deg, rgba(19,168,103,.14), rgba(17,29,27,.98) 54%, rgba(237,38,50,.075));
  box-shadow: inset 0 0 0 1px rgba(246,188,39,.05), 0 16px 42px rgba(0,0,0,.24), 0 0 30px rgba(19,168,103,.055);
}

.channel-card.is-active::after { opacity: 1; }

.channel-card.is-checking {
  border-color: rgba(246,188,39,.25);
}

.channel-card.is-checking .card-copy small { color: #ead695; }
.channel-card.is-checking .card-copy i {
  background: var(--gold);
  box-shadow: 0 0 9px rgba(246,188,39,.48);
  animation: availability-pulse 1.2s ease-in-out infinite;
}

.channel-card[data-match="true"] {
  min-height: 118px;
  border-color: rgba(246,188,39,.3);
  background:
    radial-gradient(circle at 12% 18%, rgba(45,103,178,.2), transparent 42%),
    linear-gradient(145deg, rgba(23,38,34,.98), rgba(8,15,13,.98));
}

.channel-card[data-match="true"] .card-logo {
  box-shadow: 0 0 0 1px rgba(246,188,39,.12), 0 10px 26px rgba(0,0,0,.28);
}

.channel-card.is-scheduled .card-copy small:not(.match-announcer) { color: #f3d477; }
.channel-card.is-scheduled .card-copy i {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(246,188,39,.58);
}

.card-copy .match-announcer {
  display: block;
  overflow: hidden;
  color: #c8d5d0;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.channel-card.is-unknown {
  border-color: rgba(246,188,39,.2);
}

.channel-card.is-unknown .card-copy small { color: #d8c88e; }
.channel-card.is-unknown .card-copy i {
  background: #b99a42;
  box-shadow: 0 0 8px rgba(246,188,39,.35);
}

.channel-card.is-available {
  border-color: rgba(36,168,106,.32);
}

.channel-card.is-available .card-copy small {
  color: #9fe0bd;
  font-weight: 700;
}

.channel-card.is-available .card-copy i {
  background: #2ad47f;
  box-shadow: 0 0 11px rgba(42,212,127,.68);
}

.channel-card.is-source-pending { border-color: rgba(36,168,106,.32); }
.channel-card.is-source-pending .card-copy small { color: #9fe0bd; font-weight: 700; }
.channel-card.is-source-pending .card-copy i { background: #2ad47f; box-shadow: 0 0 11px rgba(42,212,127,.68); }

.channel-card.is-unavailable {
  border-color: rgba(237,38,50,.27);
  background: linear-gradient(145deg, rgba(50,19,24,.6), rgba(5,24,17,.78));
}

.channel-card.is-unavailable .card-copy small { color: #e6aeb1; }
.channel-card.is-unavailable .card-copy i {
  background: var(--red);
  box-shadow: 0 0 9px rgba(237,38,50,.58);
}

@keyframes availability-pulse {
  50% { opacity: .35; transform: scale(.72); }
}

.card-logo {
  --logo-bg: linear-gradient(145deg, #17231f, #08110e);
  --logo-border: rgba(255,255,255,.14);
  --logo-padding: 5px;
  --logo-fit: contain;
  --logo-position: center;
  --logo-scale: 1;
  --logo-blend: normal;
  --logo-ink: #fff;
  --logo-glow: rgba(0,0,0,.28);
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--logo-border);
  background: var(--logo-bg);
  font-size: 18px;
  font-weight: 900;
  box-shadow:
    inset 0 1px rgba(255,255,255,.14),
    inset 0 -1px rgba(0,0,0,.2),
    0 8px 22px var(--logo-glow);
}

.card-logo::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.13), transparent 40%);
}

.card-logo-image { padding: var(--logo-padding); }
.card-logo-image img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: var(--logo-fit);
  object-position: var(--logo-position);
  mix-blend-mode: var(--logo-blend);
  transform: scale(var(--logo-scale));
  transform-origin: center;
}
.card-logo-image .channel-logo-image {
  opacity: 1;
  transition: none;
}
.card-logo-image .channel-logo-image.is-loaded { opacity: 1; }
.card-logo-image img[hidden],
.card-logo-image .logo-fallback[hidden] { display: none; }
.card-logo-image.tone-red { --logo-bg: linear-gradient(145deg, #40151c, #16090c); }
.card-logo-image.tone-blue { --logo-bg: linear-gradient(145deg, #123f58, #07151e); }
.card-logo-image.tone-gold { --logo-bg: linear-gradient(145deg, #584817, #191305); }
.card-logo-image.tone-green { --logo-bg: linear-gradient(145deg, #155338, #07170f); }
.card-logo-image.tone-purple { --logo-bg: linear-gradient(145deg, #45205a, #15091d); }
.card-logo-image.dark-logo { --logo-bg: #050807; }
.card-logo-image.edge-logo { --logo-padding: 0px; --logo-fit: cover; --logo-bg: #050807; }
.card-logo-image.wide-logo { --logo-padding: 4px; --logo-fit: contain; }
.card-logo-image.speda-logo { --logo-padding: 0px; --logo-fit: cover; --logo-bg: #128d81; }

/* Every channel owns its tile: brand colour, crop and spacing are tuned together. */
.channel-card[data-channel-id='rudaw'] .card-logo {
  --logo-bg: #070807; --logo-border: rgba(244,72,29,.5); --logo-padding: 6px;
}
.channel-card[data-channel-id='channel-8'] .card-logo {
  --logo-bg: #e3182f; --logo-border: rgba(255,74,91,.62); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.03;
}
.channel-card[data-channel-id='nrt'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(250,199,31,.5); --logo-padding: 0px; --logo-scale: 1.03;
}
.channel-card[data-channel-id='kurdsat'] .card-logo {
  --logo-bg: #030303; --logo-border: rgba(255,197,41,.42); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.02;
}
.channel-card[data-channel-id='kurdsat-news'] .card-logo {
  --logo-bg: linear-gradient(145deg, #0b354b, #051117); --logo-border: rgba(52,172,219,.42); --logo-padding: 4px;
}
.channel-card[data-channel-id='ava'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(217,54,255,.4); --logo-padding: 3px; --logo-scale: 1.08;
}
.channel-card[data-channel-id='kurdistan-tv'] .card-logo {
  --logo-bg: #0a1c42; --logo-border: rgba(80,142,255,.42); --logo-padding: 3px; --logo-scale: 1.06;
}
.channel-card[data-channel-id='kurdistan-24'] .card-logo {
  --logo-bg: linear-gradient(145deg, #ac1e32, #4d0915); --logo-border: rgba(255,90,108,.46); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.1;
}
.channel-card[data-channel-id='gali-kurdistan'] .card-logo {
  --logo-bg: linear-gradient(145deg, #166840, #071810); --logo-border: rgba(62,205,131,.4); --logo-padding: 3px;
}
.channel-card[data-channel-id='kirkuk-tv'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(221,181,74,.36); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.08;
}
.channel-card[data-channel-id='trt-kurdi'] .card-logo {
  --logo-bg: #111314; --logo-border: rgba(214,31,48,.48); --logo-padding: 3px; --logo-scale: 1.06;
}
.channel-card[data-channel-id='iraqia-kurdish'] .card-logo {
  --logo-bg: linear-gradient(145deg, #17704b, #071b12); --logo-border: rgba(80,208,143,.4); --logo-padding: 3px;
}
.channel-card[data-channel-id='waar'] .card-logo {
  --logo-bg: #07090a; --logo-border: rgba(218,53,59,.4); --logo-padding: 2px; --logo-scale: 1.05;
}
.channel-card[data-channel-id='jin-tv'] .card-logo {
  --logo-bg: linear-gradient(145deg, #7a2d81, #25102b); --logo-border: rgba(225,112,229,.38); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.08;
}
.channel-card[data-channel-id='ronahi'] .card-logo {
  --logo-bg: #0b1512; --logo-border: rgba(244,178,30,.42); --logo-padding: 2px; --logo-scale: 1.08;
}
.channel-card[data-channel-id='komala'] .card-logo {
  --logo-bg: #080b09; --logo-border: rgba(215,42,50,.42); --logo-padding: 2px; --logo-scale: 1.08;
}
.channel-card[data-channel-id='zagros-24'] .card-logo {
  --logo-bg: #082c47; --logo-border: rgba(50,151,221,.42); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.08;
}
.channel-card[data-channel-id='nrt-sport'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(0,159,214,.5); --logo-padding: 4px;
}
.channel-card[data-channel-id='ava-sport'] .card-logo {
  --logo-bg: #04243a; --logo-border: rgba(249,220,46,.5); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.02;
}
.channel-card[data-channel-id='aro-sport'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(41,177,229,.45); --logo-padding: 3px;
}
.channel-card[data-channel-id='kurdistan-sport'] .card-logo {
  --logo-bg: #fff; --logo-border: rgba(206,38,57,.42); --logo-padding: 0px; --logo-ink: #202020;
}
.channel-card[data-channel-id='mmn-sport'] .card-logo {
  --logo-bg: #353329; --logo-border: rgba(233,177,21,.5); --logo-padding: 0px;
}
.channel-card[data-channel-id='nubar-sport'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(129,209,74,.42);
}
.channel-card[data-channel-id='duhok-sport'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(102,136,222,.42);
}
.channel-card[data-channel-id='reng-sport'] .card-logo {
  --logo-bg: #050505; --logo-border: rgba(226,52,61,.42);
}
.channel-card[data-channel-id='halow-sport'] .card-logo {
  --logo-bg: #000; --logo-border: rgba(160,98,224,.42); --logo-padding: 0px;
}
/* The original Halow asset is a 1280 × 720 transparent broadcast overlay.
   Frame its real logo at x=1056..1256, centred on y=63, without editing the file. */
.channel-card[data-channel-id='halow-sport'] .card-logo img {
  position: absolute;
  width: 640%;
  height: 360%;
  max-width: none;
  left: -528%;
  top: 18.5%;
  object-fit: fill;
  transform: none;
}
.channel-card[data-channel-id='iraqia-sport'] .card-logo {
  --logo-bg: linear-gradient(145deg, #15924f, #07502c); --logo-border: rgba(68,221,132,.48); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.16; --logo-blend: multiply;
}
.channel-card[data-channel-id='trt-spor'] .card-logo {
  --logo-bg: #087147; --logo-border: rgba(71,216,151,.5); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.18; --logo-blend: multiply;
}
.channel-card[data-channel-id='trt-spor-yildiz'] .card-logo {
  --logo-bg: linear-gradient(145deg, #202d58, #8d1825); --logo-border: rgba(234,73,90,.45); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.22;
}
.channel-card[data-channel-id='sharjah-sports'] .card-logo {
  --logo-bg: linear-gradient(145deg, #a3283c, #4b0e19); --logo-border: rgba(239,88,111,.46); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.18;
}
.channel-card[data-channel-id='bahrain-sports-1'] .card-logo,
.channel-card[data-channel-id='bahrain-sports-2'] .card-logo {
  --logo-bg: linear-gradient(145deg, #aa2636, #510b16); --logo-border: rgba(245,96,113,.44); --logo-padding: 2px; --logo-scale: 1.1;
}
.channel-card[data-channel-id='bahrain-sports-2'] .card-logo {
  --logo-padding: 0px; --logo-fit: cover; --logo-blend: multiply;
}
.channel-card[data-channel-id='zarok-sorani'] .card-logo,
.channel-card[data-channel-id='zarok-kurmanji'] .card-logo {
  --logo-bg: #f3bd1d; --logo-border: rgba(255,220,87,.62); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.05;
}
.channel-card[data-channel-id='afarin-tv'] .card-logo {
  --logo-bg: linear-gradient(145deg, #22a6df, #0e579c); --logo-border: rgba(94,205,247,.5); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.08;
}
.channel-card[data-channel-id='afarin-baxcha'] .card-logo {
  --logo-bg: linear-gradient(145deg, #31a46d, #0b5134); --logo-border: rgba(91,221,151,.46); --logo-padding: 2px; --logo-scale: 1.06;
}
.channel-card[data-channel-id='amozhgary'] .card-logo {
  --logo-bg: linear-gradient(145deg, #14734c, #06291a); --logo-border: rgba(61,204,126,.42); --logo-padding: 3px; --logo-scale: 1.05;
}
.channel-card[data-channel-id='saudi-quran'] .card-logo {
  --logo-bg: linear-gradient(145deg, #e8cd6c, #bd8e2f); --logo-border: rgba(255,225,126,.66); --logo-padding: 0px; --logo-fit: cover; --logo-scale: 1.34; --logo-blend: multiply; --logo-ink: #552014;
}

.channel-card[data-channel-id="el-heddaf-tv"] .card-logo {
  --logo-bg: #090909; --logo-border: rgba(245,121,34,.48); --logo-padding: 4px;
}
.channel-card[data-channel-id="kuwait-sport-1"] .card-logo,
.channel-card[data-channel-id="kuwait-sport-2"] .card-logo {
  --logo-bg: #090909; --logo-border: rgba(214,31,36,.48); --logo-padding: 7px;
}
.channel-card[data-channel-id="oman-sport"] .card-logo {
  --logo-bg: #070c13; --logo-border: rgba(41,157,214,.48); --logo-padding: 5px;
}
.channel-card[data-channel-id="a-spor"] .card-logo {
  --logo-bg: #045e5b; --logo-border: rgba(112,221,211,.48); --logo-padding: 4px;
}
.channel-card[data-channel-id="htspor"] .card-logo {
  --logo-bg: #fff; --logo-border: rgba(237,31,40,.48); --logo-padding: 5px; --logo-ink: #080808;
}

.logo-fallback {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  color: var(--logo-ink);
  direction: ltr;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
  font-size: 18px;
  font-style: normal;
  letter-spacing: -.4px;
  text-shadow: 0 1px 7px rgba(0,0,0,.38);
}

.logo-fallback.k24 { color: #bf1e2e; }
.logo-fallback.nrt { color: #d83a32; }
.logo-fallback.kurdsat { color: #1969a6; }
.logo-fallback.speda { color: #0b7f75; }

.channel-eight {
  grid-template-rows: 1fr auto;
  gap: 0;
  padding: 6px;
  background: radial-gradient(circle at 52% 35%, #293936, #07100e 70%);
  color: #f7c434;
  direction: ltr;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
}

.channel-eight b { font-size: 35px; line-height: .95; font-weight: 900; }
.channel-eight em { color: #fff; font-size: 6px; font-style: normal; font-weight: 800; letter-spacing: .8px; }

.kurdistan-tv {
  position: relative;
  background: linear-gradient(145deg, #17214d, #070b20);
  color: #fff;
  direction: ltr;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
}

.kurdistan-tv b { position: relative; z-index: 1; font-size: 17px; letter-spacing: -.7px; }
.kurdistan-tv span { position: absolute; right: 0; bottom: 0; left: 0; height: 5px; background: linear-gradient(90deg, #d92532 0 33%, #fff 33% 66%, #10a45f 66%); }

.zarok-logo {
  background: linear-gradient(145deg, #ffdb39, #ff7c35 54%, #e63361);
  color: #18130b;
  direction: ltr;
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
}

.zarok-logo b { font-size: 13px; letter-spacing: -.5px; }

.card-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.card-copy strong { overflow: hidden; font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.card-copy small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.card-copy i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(36,168,106,.55); }

.play-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.78);
  font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif;
  font-size: 10px;
  transform: rotate(180deg);
}

.channel-card.is-active .play-icon { background: linear-gradient(145deg, #f8c94b, #d9900a); color: #171008; box-shadow: 0 5px 16px rgba(246,188,39,.22); }

html.remote-navigation .channel-card:focus,
html.remote-navigation .category-tab:focus,
html.remote-navigation .sports-view-tab:focus,
html.remote-navigation .install-guide-trigger:focus,
html.remote-navigation .install-guide-close:focus,
html.remote-navigation .install-platform-tab:focus,
html.remote-navigation .install-guide-foot button:focus,
html.remote-navigation .sound-button:focus {
  z-index: 2;
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px rgba(246,188,39,.55), 0 18px 44px rgba(0,0,0,.55);
}

.sound-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

html.remote-navigation .channel-card:focus { transform: scale(1.035); }

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: #6e817c;
  font-size: 12px;
}

.footer-dot { width: 3px; height: 3px; border-radius: 50%; background: #53625e; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

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

@keyframes ad-shine {
  0%, 18% { background-position: 100% 0; }
  55%, 100% { background-position: -100% 0; }
}

@keyframes viewer-number-rise {
  0% { opacity: .35; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes viewer-number-fall {
  0% { opacity: .35; transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
  .topbar { min-height: 185px; padding-bottom: 8px; align-items: flex-end; }
  .install-guide-trigger { top: 12px; transform: none; }
  .install-guide-trigger:hover { transform: translateY(-2px); }
  .install-guide-trigger:active { transform: scale(.98); }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  html { scroll-padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(91px + env(safe-area-inset-bottom)); }
  body::before, .ambient, .ad-glow { display: none; }
  .topbar, main, footer { width: min(100% - 24px, 1180px); }
  .topbar { min-height: 158px; padding-bottom: 8px; align-items: flex-end; }
  .brand-logo { width: min(62vw, 232px); filter: drop-shadow(0 8px 14px rgba(0,0,0,.36)); }
  .install-guide-trigger { top: 8px; right: 0; width: 194px; min-height: 50px; grid-template-columns: 38px minmax(0, 1fr) 17px; gap: 7px; padding: 5px 7px 5px 5px; border-radius: 15px; }
  .install-trigger-app { width: 38px; height: 38px; border-radius: 11px; }
  .install-trigger-app img { border-radius: 8px; }
  .install-trigger-copy strong { font-size: 12px; }
  .install-trigger-arrow { width: 16px; height: 16px; }
  .install-guide-dialog { width: 100%; max-height: 95vh; max-height: 95dvh; margin: auto 0 0; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 27px 27px 0 0; }
  .install-guide-close { top: 15px; left: 14px; width: 38px; height: 38px; border-radius: 12px; }
  .install-guide-head { min-height: 106px; padding: 18px 14px 17px 58px; gap: 11px; }
  .install-guide-app { width: 58px; height: 58px; flex-basis: 58px; border-radius: 18px; }
  .install-guide-app img { border-radius: 14px; }
  .install-guide-kicker { font-size: 11px; }
  .install-guide-head h2 { font-size: 21px; }
  .install-guide-head p { margin-top: 2px; font-size: 13px; line-height: 1.55; }
  .install-platform-tabs { width: calc(100% - 28px); margin: 13px auto; }
  .install-platform-tab { min-height: 44px; padding: 7px 12px; }
  .install-guide-panels { padding: 0 14px 14px; }
  .install-browser-note { min-height: 40px; margin-bottom: 10px; justify-content: flex-start; font-size: 12px; }
  .install-steps { grid-template-columns: 1fr; gap: 9px; }
  .install-step { min-height: 132px; grid-template-columns: 118px minmax(0, 1fr); grid-template-rows: 1fr; border-radius: 18px; }
  .install-step-visual { min-height: 132px; padding: 9px; border-bottom: 0; border-left: 1px solid rgba(255,255,255,.065); }
  .ui-shot { width: 100%; border-radius: 12px; }
  .ui-site-mark { top: 18px; flex-direction: column; gap: 4px; }
  .ui-site-mark img { width: 35px; height: 35px; border-radius: 10px; }
  .ui-site-mark span { align-items: center; }
  .safari-address { right: 5px; bottom: 5px; left: 5px; height: 31px; padding: 0 6px; grid-template-columns: 21px 1fr 16px; }
  .safari-address span, .safari-address strong { font-size: 8px; }
  .ui-site-mini { right: 8px; left: 8px; }
  .safari-toolbar { height: 45px; padding: 4px 7px; }
  .safari-toolbar > span { width: 23px; height: 27px; }
  .safari-toolbar svg { width: 16px; height: 16px; }
  .ios-sheet-shot { padding: 15px 5px 6px; }
  .ui-sheet-row { padding: 4px; grid-template-columns: 21px minmax(0, 1fr) 10px; font-size: 7px; }
  .ui-add-head { grid-template-columns: 1fr 1.5fr 1fr; font-size: 7px; }
  .ui-add-head b { font-size: 6px; }
  .ui-add-app { padding: 6px; gap: 5px; }
  .ui-add-app img { width: 34px; height: 34px; border-radius: 9px; }
  .ui-add-app b { font-size: 9px; }
  .chrome-address { margin: 6px; padding: 0 6px; grid-template-columns: 18px 1fr 17px; }
  .chrome-address strong { font-size: 7px; }
  .chrome-page .ui-site-mark { top: 55px; }
  .chrome-menu-button-shot .ui-site-mini { top: 54px; }
  .android-menu-row { padding: 4px; grid-template-columns: 18px minmax(0, 1fr); font-size: 7px; }
  .android-install-shot { padding: 13px 8px 8px; }
  .android-install-app { gap: 5px; }
  .android-install-app img { width: 34px; height: 34px; border-radius: 9px; }
  .android-install-app b { font-size: 8px; }
  .android-install-app small { font-size: 6px; }
  .android-install-actions { right: 8px; bottom: 8px; gap: 10px; font-size: 7px; }
  .android-install-actions strong { padding: 5px 8px; }
  .install-step-copy { padding: 12px 11px; gap: 8px; align-items: flex-start; }
  .install-step-number { width: 27px; height: 27px; flex-basis: 27px; border-radius: 9px; font-size: 12px; }
  .install-step-copy strong { font-size: 14px; }
  .install-step-copy p { font-size: 13px; line-height: 1.55; }
  .install-guide-foot { position: sticky; z-index: 3; bottom: 0; min-height: 66px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(3,9,7,.94); backdrop-filter: blur(14px); }
  .install-guide-foot > span { max-width: 58%; font-size: 11px; line-height: 1.5; }
  .install-guide-foot button { min-width: 104px; min-height: 42px; padding: 7px 15px; }
  main { margin-top: 16px; }
  .ad-slot { margin-bottom: 18px; }
  .apple-event-card { min-height: 178px; padding: 0; border-radius: 20px; }
  .apple-event-art { object-position: 43% center; filter: saturate(.88) brightness(.72) contrast(1.03); }
  .apple-event-shade { background: radial-gradient(circle at 38% 43%, transparent 4%, rgba(2,12,30,.09) 52%, rgba(1,7,20,.28) 100%), linear-gradient(90deg, rgba(2,10,27,.03) 0%, rgba(2,10,27,.14) 45%, rgba(1,6,18,.9) 100%); }
  .apple-event-topline { top: 12px; right: 12px; left: 12px; gap: 6px; }
  .apple-event-sponsor { width: 205px; max-width: calc(100% - 76px); min-height: 32px; padding: 0; border-radius: 0; }
  .apple-event-sponsor-logos { gap: 7px; }
  .apple-event-sponsor-logos img { height: 29px; }
  .apple-event-asia-logo { right: 12px; bottom: 12px; width: 122px; }
  .apple-event-badge { min-height: 28px; padding: 4px 8px; font-size: 9px; }
  .apple-event-copy { right: 12px; bottom: 11px; left: 53px; width: auto; padding: 0; }
  .apple-event-copy small { display: none; }
  .apple-event-copy strong { font-size: clamp(23px, 7.2vw, 29px); line-height: 1.42; }
  .apple-event-meta { margin-top: 3px; padding: 3px 8px; gap: 5px; font-size: 10px; }
  .apple-event-zone { margin-top: 2px; font-size: 9px; }
  .apple-event-action { bottom: 12px; left: 12px; min-width: 36px; min-height: 36px; padding: 3px; transform: none; }
  .apple-event-action b { display: none; }
  .apple-event-play { width: 28px; height: 28px; }
  .ad-frame { min-height: 126px; border-radius: 20px; }
  .ad-frame::before { inset: 7px; border-radius: 14px; }
  .ad-label { top: 12px; right: 13px; padding: 4px 8px; font-size: 10px; }
  .ad-copy { padding: 28px 52px 20px; }
  .ad-copy strong { font-size: 24px; }
  .ad-copy small, .ad-copy a { font-size: 11px; }
  .ad-character { left: 2px; width: 104px; height: calc(100% - 8px); opacity: .48; }
  .watch-stage { border-radius: 21px; }
  .live-tools { top: 10px; right: 10px; gap: 5px; }
  .viewer-count { min-height: 28px; padding: 5px 8px; }
  .viewer-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .live-pill { padding: 5px 8px; font-size: 10px; }
  .sound-button { min-width: 34px; width: 34px; height: 34px; }
  .sound-button .sound-icon { width: 17px; }
  .sound-tip { top: 54px; right: 10px; max-width: calc(100% - 20px); }
  .player-watermark { bottom: 11px; left: 11px; width: 82px; }
  .now-playing { min-height: 76px; padding: 13px 14px; }
  .channels-section { margin-top: 26px; }
  h2 { font-size: 21px; }
  .category-dock {
    position: fixed !important;
    z-index: 50;
    top: auto !important;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(9px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    margin: 0;
    padding: 5px;
    gap: 3px;
    border-radius: 19px;
    background: rgba(4,13,10,.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translate3d(0,0,0);
    box-shadow: 0 18px 60px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.055);
  }
  .category-tab { min-height: 68px; padding: 7px 3px; flex-direction: column; gap: 3px; border-radius: 15px; font-size: 12px; }
  .category-icon { width: 30px; height: 30px; border-radius: 10px; }
  .category-icon svg { width: 18px; height: 18px; }
  .channel-grid { grid-template-columns: 1fr; gap: 10px; }
  .sports-switch { width: 100%; margin-bottom: 12px; border-radius: 16px; }
  .sports-view-tab { min-height: 44px; padding: 7px 10px; font-size: 13px; }
  .match-showcase { min-height: 300px; padding: 12px 14px; border-radius: 20px; }
  .match-card-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; }
  .competition-chip, .fixture-time-chip { width: auto; min-height: 30px; font-size: 10px; }
  .fixture-time-chip { justify-self: end; }
  .match-teams { margin: 10px auto 9px; grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); gap: 8px; }
  .club-logo-shell { width: clamp(62px, 21vw, 76px); height: clamp(62px, 21vw, 76px); padding: 4px; }
  .club-logo-inner { padding: 9px; }
  .club-logo-real .club-logo-inner { padding: 10px; }
  .club-logo-inter .club-logo-inner { padding: 8px; }
  .match-team strong { font-size: 14px; }
  .match-team small { font-size: 9px; }
  .match-centre b { font-size: 20px; white-space: nowrap; }
  .match-centre .match-score { gap: 3px; }
  .match-score span { min-width: 24px; padding: 3px 4px; border-radius: 8px; font-size: 20px; }
  .match-score em { font-size: 12px; }
  .competition-logo { width: 29px; height: 29px; }
  .match-centre i { min-width: 38px; padding: 3px 7px; font-size: 9px; }
  .match-apology { margin-bottom: 13px; padding: 10px 11px; border-radius: 13px; }
  .match-apology strong { font-size: 12px; }
  .match-apology p { font-size: 12px; line-height: 1.75; }
  .match-card-foot { flex-wrap: wrap; gap: 7px; padding-top: 8px; }
  .commentator-icon { width: 40px; height: 40px; flex-basis: 40px; padding: 3px; border-radius: 12px; }
  .commentator-card strong { font-size: 12px; }
  .preview-only-chip { min-height: 30px; padding: 5px 8px; font-size: 11px; }
  .match-live-action { min-height: 40px; padding: 7px 10px; font-size: 12.5px; }
  .channel-card { min-height: 84px; grid-template-columns: 54px minmax(0, 1fr) 30px; padding: 11px; border-radius: 18px; }
  .card-logo { width: 54px; height: 54px; border-radius: 16px; }
  .channel-eight b { font-size: 31px; }
}

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

@media (min-width: 1100px) and (min-height: 600px) {
  .topbar,
  main,
  footer,
  .category-dock { width: min(1480px, calc(100% - 64px)); }

  .channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .channel-card { min-height: 108px; }
  .category-tab { min-height: 80px; font-size: 17px; }
  .category-icon { width: 44px; height: 44px; }
}

/* Remote-control TVs need a visible focus target and inexpensive painting. */
@media (min-width: 1000px) and (hover: none) {
  html { scroll-behavior: auto; }
  .ambient, body::before { display: none; }
  .media-switch-choice:focus, .home-switch-brand:focus, .match-feature-card:focus,
  .category-tab:focus, .channel-card:focus, .match-live-action:focus,
  .sound-button:focus, .fullscreen-button:focus, .cinema-film-strip:focus {
    outline: 4px solid #ffdd91;
    outline-offset: 4px;
  }
  .channel-card:hover, .media-switch-choice:hover { transform: none; }
  .player-shell, .category-dock { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .topbar { min-height: 118px; padding-bottom: 5px; align-items: flex-end; }
  .brand-logo { width: 200px; }
  .install-guide-trigger { top: 8px; transform: none; }
  .install-guide-trigger:hover { transform: translateY(-2px); }
  .install-guide-trigger:active { transform: scale(.98); }
  main { margin-top: 12px; }
  .player-watermark { width: 108px; bottom: 14px; left: 14px; }
}

/* Keep the complete broadcast visible in both orientations. */
body.has-expanded-player { overflow: hidden; }
body.has-expanded-player .category-dock { visibility: hidden; }
.player-shell:fullscreen,
.player-shell.is-expanded {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  aspect-ratio: auto;
  border-radius: 0;
  background: #010302;
}
.player-shell:fullscreen::backdrop { background: #010302; }
.player-shell:fullscreen .live-tools,
.player-shell.is-expanded .live-tools {
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  max-width: calc(100% - 24px);
}
.player-shell:fullscreen .player-watermark,
.player-shell.is-expanded .player-watermark {
  width: clamp(90px, 15vw, 148px);
  max-width: 24%;
  left: max(14px, env(safe-area-inset-left));
  bottom: calc(50px + env(safe-area-inset-bottom));
  object-fit: contain;
}
.player-shell:fullscreen .sound-tip,
.player-shell.is-expanded .sound-tip { top: calc(62px + env(safe-area-inset-top)); }
.card-logo .logo-fallback-long { max-width: 100%; font-size: 12px; overflow-wrap: anywhere; text-align: center; }
.card-logo.has-text-fallback {
  --logo-bg: linear-gradient(145deg, #344451, #111d25);
  --logo-border: rgba(198, 223, 239, .35);
  --logo-ink: #fff0d8;
  padding: 5px;
}
.card-logo.has-text-fallback .logo-fallback {
  max-width: 100%;
  font-size: clamp(11px, 1vw, 15px);
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-align: center;
}

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

/* Premium install guide — large, single-step visuals. */
.install-guide-trigger {
  top: 50%;
  right: 0;
  width: 292px;
  min-height: 74px;
  padding: 8px 10px 8px 8px;
  grid-template-columns: 56px minmax(0, 1fr) 38px;
  gap: 10px;
  overflow: visible;
  isolation: isolate;
  border: 1px solid rgba(255, 211, 79, .72);
  border-radius: 21px;
  background:
    linear-gradient(112deg, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #176b48 0%, #0b3526 45%, #07140f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.28),
    0 17px 36px rgba(0,0,0,.42),
    0 0 0 4px rgba(246,188,39,.07),
    0 0 30px rgba(19,168,103,.17);
}

.install-guide-trigger::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.14) 43%, transparent 62%);
  background-size: 230% 100%;
  content: "";
  animation: install-trigger-shine 4.8s ease-in-out infinite;
}

.install-guide-trigger::after {
  right: 24px;
  bottom: -1px;
  left: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #13a867, #ffe06a, #ed2632, transparent);
  box-shadow: 0 0 18px rgba(255,211,79,.55);
}

.install-guide-trigger:hover {
  border-color: #ffe58b;
  transform: translateY(calc(-50% - 3px));
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 22px 48px rgba(0,0,0,.48), 0 0 36px rgba(246,188,39,.2);
}

.install-trigger-ribbon {
  position: absolute;
  z-index: 3;
  top: -10px;
  left: 15px;
  min-width: 43px;
  padding: 4px 9px 5px;
  border: 2px solid #07140f;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff4b55, #c90f22);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 6px 14px rgba(237,38,50,.38);
}

.install-trigger-app {
  width: 56px;
  height: 56px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 17px;
  background: rgba(255,255,255,.16);
  box-shadow: 0 9px 20px rgba(0,0,0,.38), 0 0 0 3px rgba(255,255,255,.05);
}

.install-trigger-app img { border-radius: 13px; }
.install-trigger-copy { gap: 2px; }
.install-trigger-copy small {
  color: #ffe174;
  direction: rtl;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.install-trigger-copy strong {
  overflow: visible;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
  text-overflow: clip;
}

.install-trigger-action {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,224,106,.43);
  border-radius: 12px;
  background: linear-gradient(145deg, #ffd55a, #e3a50e);
  color: #172117;
  box-shadow: 0 7px 16px rgba(0,0,0,.28);
}
.install-trigger-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }

.install-guide-dialog-v2 {
  width: min(1040px, calc(100% - 24px));
  max-height: 96vh;
  max-height: 96dvh;
  border: 1px solid rgba(255,211,79,.55);
  border-radius: 32px;
  background: #06100d;
  box-shadow: 0 38px 110px rgba(0,0,0,.82), 0 0 0 5px rgba(246,188,39,.055), inset 0 1px rgba(255,255,255,.1);
}

.install-guide-dialog-v2::backdrop {
  background: rgba(0,5,3,.88);
  -webkit-backdrop-filter: blur(15px) saturate(.8);
  backdrop-filter: blur(15px) saturate(.8);
}

.install-guide-shell-v2 {
  background:
    radial-gradient(circle at 92% -3%, rgba(19,168,103,.24), transparent 27rem),
    radial-gradient(circle at 4% 16%, rgba(237,38,50,.12), transparent 22rem),
    radial-gradient(circle at 55% 88%, rgba(246,188,39,.08), transparent 22rem),
    linear-gradient(155deg, #10221c 0%, #07110e 44%, #030906 100%);
}

.install-guide-shell-v2::before {
  right: 6%;
  left: 6%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #13a867, #ffe06a, #ed2632, transparent);
  box-shadow: 0 0 25px rgba(246,188,39,.48);
}

.install-guide-dialog-v2 .install-guide-close {
  top: 22px;
  left: 22px;
  width: 46px;
  height: 46px;
  border-color: rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(1,7,5,.48);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

.install-guide-head-v2 {
  min-height: 132px;
  padding: 24px 30px 22px 86px;
  gap: 18px;
  border-bottom-color: rgba(255,255,255,.105);
  background: linear-gradient(90deg, rgba(19,168,103,.09), transparent 52%, rgba(246,188,39,.055));
}

.install-guide-head-v2 .install-guide-app {
  width: 82px;
  height: 82px;
  flex-basis: 82px;
  padding: 4px;
  border-color: rgba(255,255,255,.25);
  border-radius: 24px;
  background: rgba(255,255,255,.11);
  box-shadow: 0 15px 32px rgba(0,0,0,.42), 0 0 0 4px rgba(255,255,255,.035), 0 0 28px rgba(19,168,103,.16);
}
.install-guide-head-v2 .install-guide-app img { border-radius: 19px; }
.install-guide-heading { min-width: 0; flex: 1; }
.install-guide-head-v2 .install-guide-kicker { display: flex; align-items: center; gap: 7px; color: #7ce0af; font-size: 13px; }
.install-guide-head-v2 .install-guide-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #43e393; box-shadow: 0 0 0 5px rgba(67,227,147,.1), 0 0 15px rgba(67,227,147,.45); }
.install-guide-head-v2 h2 { margin: 0; color: #fff; font-size: clamp(27px, 3.4vw, 37px); font-weight: 900; line-height: 1.4; }
.install-guide-head-v2 p { max-width: 610px; margin: 4px 0 0; color: #b0c4bc; font-size: 16px; line-height: 1.65; }

.install-guide-ready {
  min-width: 88px;
  min-height: 40px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(82,225,154,.27);
  border-radius: 13px;
  background: rgba(19,168,103,.11);
  color: #8ce8ba;
  font-size: 13px;
  font-weight: 800;
}
.install-guide-ready svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }

.install-platform-tabs-v2 {
  width: min(500px, calc(100% - 40px));
  margin: 17px auto 13px;
  padding: 6px;
  gap: 7px;
  border-color: rgba(255,255,255,.15);
  border-radius: 19px;
  background: rgba(0,0,0,.34);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.install-platform-tabs-v2 .install-platform-tab { min-height: 52px; border-radius: 14px; color: #9cafaa; font-size: 16px; }
.install-platform-tabs-v2 .install-platform-tab svg { width: 23px; height: 23px; }
.install-platform-tabs-v2 .install-platform-tab.is-active {
  border-color: rgba(255,216,92,.48);
  background: linear-gradient(135deg, rgba(25,143,91,.42), rgba(246,188,39,.14));
  color: #fff;
  box-shadow: inset 0 1px rgba(255,255,255,.13), 0 8px 21px rgba(0,0,0,.24), 0 0 18px rgba(19,168,103,.1);
}

.install-wizard-status {
  width: min(920px, calc(100% - 44px));
  min-height: 52px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.install-wizard-status > strong { color: #ffe27b; font-size: 15px; font-weight: 900; }
.install-step-dots { display: flex; align-items: center; direction: ltr; }
.install-step-dots button {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  background: #0b1a15;
  color: #71857d;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: .2s ease;
}
.install-step-dots button:not(:last-child) { margin-right: 25px; }
.install-step-dots button:not(:last-child)::after { position: absolute; top: 50%; left: 100%; width: 25px; height: 2px; background: rgba(255,255,255,.13); content: ""; }
.install-step-dots button.is-active { border-color: #ffe173; background: linear-gradient(145deg, #f6c53d, #d99a08); color: #201706; box-shadow: 0 0 0 5px rgba(246,188,39,.1), 0 0 20px rgba(246,188,39,.24); transform: scale(1.06); }
.install-step-dots button.is-complete { border-color: rgba(82,225,154,.45); background: #126b48; color: #fff; }
.install-step-dots button.is-complete:not(:last-child)::after { background: linear-gradient(90deg, #32ce83, rgba(50,206,131,.28)); }

.install-guide-panels-v2 { padding: 0 22px 14px; }
.install-guide-panel-v2[hidden], .install-step-info[hidden] { display: none; }
.install-step-layout {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), transparent 38%),
    rgba(5,14,11,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.04), 0 22px 55px rgba(0,0,0,.23);
}

.install-step-copy-stack {
  min-width: 0;
  padding: 42px clamp(28px, 5vw, 64px);
  display: flex;
  align-items: center;
}
.install-step-info { width: 100%; animation: install-step-copy-in .28s ease-out both; }
.install-step-label {
  width: max-content;
  margin-bottom: 13px;
  padding: 7px 13px;
  display: block;
  border: 1px solid rgba(255,214,88,.31);
  border-radius: 999px;
  background: rgba(246,188,39,.1);
  color: #ffdc67;
  font-size: 14px;
  font-weight: 900;
}
.install-step-info h3 { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 900; line-height: 1.45; }
.install-step-info p { max-width: 540px; margin: 12px 0 0; color: #b2c3bd; font-size: 18px; line-height: 1.9; }
.install-step-info p b { color: #fff; direction: ltr; font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif; }
.install-tap-hint, .install-success-hint {
  max-width: 540px;
  min-height: 66px;
  margin-top: 28px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 17px;
  font-size: 15px;
  line-height: 1.65;
}
.install-tap-hint { border: 1px solid rgba(255,211,79,.26); background: rgba(246,188,39,.085); color: #fcebb1; }
.install-tap-hint > span { font-size: 29px; filter: drop-shadow(0 5px 8px rgba(0,0,0,.25)); }
.install-success-hint { border: 1px solid rgba(68,220,145,.28); background: rgba(19,168,103,.11); color: #b8f3d6; }
.install-success-hint svg { width: 27px; height: 27px; flex: 0 0 27px; padding: 4px; border-radius: 50%; background: #1cab6d; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }

.install-phone-stage {
  min-height: 500px;
  padding: 22px 20px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 50% 46%, rgba(246,188,39,.16), transparent 14rem),
    radial-gradient(circle at 50% 80%, rgba(19,168,103,.18), transparent 16rem),
    linear-gradient(180deg, rgba(19,168,103,.06), rgba(0,0,0,.14));
}
.install-phone {
  position: relative;
  width: 260px;
  height: 480px;
  padding: 9px;
  border: 1px solid #52605b;
  border-radius: 42px;
  background: linear-gradient(145deg, #303b37, #080b0a 36%, #1c2522 74%, #050706);
  box-shadow: inset 0 0 0 2px #050706, inset 0 0 0 4px rgba(255,255,255,.08), 0 30px 50px rgba(0,0,0,.55), 0 0 0 7px rgba(255,255,255,.025);
}
.ios-phone::before { position: absolute; z-index: 6; top: 16px; left: 50%; width: 82px; height: 25px; border-radius: 999px; background: #020303; content: ""; transform: translateX(-50%); }
.phone-side { position: absolute; right: -4px; width: 3px; border-radius: 3px; background: #57615e; }
.phone-side-one { top: 87px; height: 42px; }
.phone-side-two { top: 143px; height: 65px; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: #eef2f0; color: #15211d; font-family: "Noto Sans Arabic", "KurdView Latin", sans-serif; }
.phone-status { position: relative; z-index: 7; height: 37px; padding: 9px 17px 0; display: flex; align-items: flex-start; justify-content: space-between; color: #101514; font-size: 10px; }
.phone-status span { font-size: 9px; letter-spacing: 1px; }
.phone-home-line { position: absolute; z-index: 9; right: 35%; bottom: 6px; left: 35%; height: 5px; border-radius: 999px; background: #171b1a; }

.mock-browser-page { position: absolute; z-index: 1; top: 37px; right: 0; bottom: 104px; left: 0; padding: 26px 16px 12px; background: linear-gradient(160deg, #e5f5ec, #f6f7f7 55%, #f1ebe3); transition: opacity .24s ease, filter .24s ease; }
.mock-site-hero { display: flex; flex-direction: column; align-items: center; }
.mock-site-hero img { width: 69px; height: 69px; border-radius: 20px; box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.mock-site-hero strong { margin-top: 9px; color: #0b3425; font-size: 18px; font-weight: 800; }
.mock-site-hero small { margin-top: 2px; color: #11885a; font-size: 8px; font-weight: 900; letter-spacing: 1.5px; }
.mock-channel-row { margin-top: 20px; padding: 11px; display: flex; align-items: center; gap: 9px; border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(26,61,48,.08); }
.mock-channel-row + .mock-channel-row { margin-top: 9px; }
.mock-channel-row span:first-child { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(145deg, #138a5b, #07482f); }
.mock-channel-row span:last-child { height: 9px; flex: 1; border-radius: 999px; background: #d9e2df; }

.mock-safari-bottom { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 112px; padding: 9px 10px 20px; border-top: 1px solid #cfd6d3; background: rgba(247,249,248,.98); transition: opacity .2s ease; }
.mock-address { position: relative; height: 41px; padding: 0 10px; display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; border: 2px solid transparent; border-radius: 13px; background: #e5e9e7; font-size: 11px; transition: .2s ease; }
.mock-address b { text-align: center; }
.mock-address span { font-weight: 700; }
.mock-safari-tools { height: 40px; padding: 4px 5px 0; display: flex; align-items: center; justify-content: space-between; color: #0d73e6; font-size: 24px; }
.mock-safari-tools > span { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid transparent; border-radius: 12px; transition: .2s ease; }
.mock-safari-tools svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }

.tap-callout { display: none; position: absolute; z-index: 20; width: max-content; padding: 6px 10px; border: 2px solid #271c02; border-radius: 10px; background: #ffd756; color: #1c1505; font-family: "Noto Sans Arabic", system-ui, sans-serif; font-size: 11px; font-style: normal; font-weight: 900; line-height: 1.4; box-shadow: 0 7px 18px rgba(0,0,0,.3); animation: tap-label-bob 1.35s ease-in-out infinite; }
.tap-callout::after { position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; border-right: 2px solid #271c02; border-bottom: 2px solid #271c02; background: #ffd756; content: ""; transform: translateX(-50%) rotate(45deg); }
.ios-address .tap-callout { right: 31px; bottom: 51px; }
.share-target .tap-callout, .chrome-dots .tap-callout, .add-target .tap-callout, .install-target .tap-callout { right: 50%; bottom: 52px; transform: translateX(50%); }
.home-screen-target .tap-callout { right: 22px; bottom: 54px; }

.install-guide-panel-v2[data-current-step="0"] .ios-address,
.install-guide-panel-v2[data-current-step="1"] .share-target,
.install-guide-panel-v2[data-current-step="2"] .home-screen-target,
.install-guide-panel-v2[data-current-step="3"] .add-target,
.install-guide-panel-v2[data-current-step="0"] .mock-chrome-address,
.install-guide-panel-v2[data-current-step="1"] .chrome-dots,
.install-guide-panel-v2[data-current-step="2"] .android-menu .home-screen-target,
.install-guide-panel-v2[data-current-step="3"] .install-target {
  border-color: #f6b900;
  background-color: #fff4bf;
  color: #2b2003;
  box-shadow: 0 0 0 5px rgba(246,185,0,.2), 0 0 28px rgba(246,185,0,.58);
  animation: install-target-pulse 1.55s ease-in-out infinite;
}
.install-guide-panel-v2[data-current-step="0"] .ios-address .tap-callout,
.install-guide-panel-v2[data-current-step="1"] .share-target .tap-callout,
.install-guide-panel-v2[data-current-step="2"] .home-screen-target .tap-callout,
.install-guide-panel-v2[data-current-step="3"] .add-target .tap-callout,
.install-guide-panel-v2[data-current-step="0"] .mock-chrome-address > .tap-callout,
.install-guide-panel-v2[data-current-step="1"] .chrome-dots .tap-callout,
.install-guide-panel-v2[data-current-step="2"] .android-menu .home-screen-target .tap-callout,
.install-guide-panel-v2[data-current-step="3"] .install-target .tap-callout { display: block; }

.ios-share-sheet { position: absolute; z-index: 5; right: 7px; bottom: 9px; left: 7px; padding: 10px 9px 22px; border: 1px solid #d7ddda; border-radius: 24px 24px 28px 28px; background: rgba(247,248,249,.985); box-shadow: 0 -15px 40px rgba(0,0,0,.22); opacity: 0; transform: translateY(105%); transition: opacity .24s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.sheet-handle { width: 41px; height: 5px; margin: -3px auto 10px; display: block; border-radius: 999px; background: #b6bdbc; }
.sheet-site { padding: 6px 7px 12px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #dde1df; }
.sheet-site img { width: 41px; height: 41px; border-radius: 11px; }
.sheet-site span, .ios-add-preview span, .android-install-app span { min-width: 0; display: flex; flex-direction: column; }
.sheet-site b { font-size: 12px; }
.sheet-site small { color: #7b8581; font-size: 9px; }
.sheet-row { position: relative; min-height: 49px; padding: 7px 9px; display: grid; grid-template-columns: 31px 1fr 15px; align-items: center; gap: 6px; border: 2px solid transparent; border-bottom-color: #e0e4e2; border-radius: 11px; font-size: 11px; transition: .2s ease; }
.sheet-row > i { color: #8a9490; font-size: 18px; font-style: normal; }
.sheet-row.is-muted { opacity: .48; }
.home-plus { width: 27px; height: 27px; display: grid; place-items: center; border: 1.7px solid currentColor; border-radius: 7px; font-size: 17px; }
.install-guide-panel-v2[data-current-step="2"] .ios-share-sheet { opacity: 1; transform: translateY(0); }
.install-guide-panel-v2[data-current-step="2"] .mock-browser-page { filter: blur(2px); opacity: .35; }
.install-guide-panel-v2[data-current-step="2"] .mock-safari-bottom { opacity: .34; }

.ios-add-screen { position: absolute; z-index: 4; inset: 37px 0 0; padding: 0 12px 22px; background: linear-gradient(180deg, #f6f7f7, #e9f0ed); opacity: 0; pointer-events: none; transform: translateX(-16px); transition: opacity .22s ease, transform .25s ease; }
.ios-add-bar { height: 51px; display: grid; grid-template-columns: 1fr 2.2fr 1fr; align-items: center; border-bottom: 1px solid #d6dcda; color: #0c72e7; font-size: 11px; }
.ios-add-bar b { color: #1a211f; text-align: center; }
.ios-add-bar strong { position: relative; padding: 8px 6px; border: 2px solid transparent; border-radius: 10px; text-align: center; }
.ios-add-preview { margin-top: 22px; padding: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #d8dfdc; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(24,67,50,.08); }
.ios-add-preview img { width: 57px; height: 57px; border-radius: 16px; }
.ios-add-preview b { font-size: 14px; }
.ios-add-preview small { margin-top: 3px; color: #75827d; font-size: 10px; }
.final-home-preview { margin: 42px auto 0; padding: 17px 12px; display: flex; align-items: flex-start; justify-content: space-around; border-radius: 19px; background: linear-gradient(160deg, #244c3b, #102c22); }
.final-home-preview > span { width: 45px; height: 45px; border-radius: 13px; background: rgba(255,255,255,.12); }
.final-home-preview > div { display: flex; flex-direction: column; align-items: center; }
.final-home-preview img { width: 55px; height: 55px; border-radius: 16px; box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.final-home-preview small { margin-top: 5px; color: #fff; font-size: 9px; }
.install-guide-panel-v2[data-current-step="3"] .ios-add-screen { opacity: 1; pointer-events: auto; transform: translateX(0); }
.install-guide-panel-v2[data-current-step="3"] .mock-browser-page,
.install-guide-panel-v2[data-current-step="3"] .mock-safari-bottom,
.install-guide-panel-v2[data-current-step="3"] .ios-share-sheet { opacity: 0; }

.android-phone { border-radius: 34px; }
.android-phone .phone-screen { border-radius: 27px; background: #f2f5f4; }
.android-phone::before { position: absolute; z-index: 7; top: 17px; left: 50%; width: 10px; height: 10px; border: 2px solid #27302d; border-radius: 50%; background: #030504; content: ""; transform: translateX(-50%); }
.mock-chrome-address { position: relative; z-index: 3; height: 44px; margin: 5px 8px 0; padding: 0 9px; display: grid; grid-template-columns: 28px 1fr 31px; align-items: center; border: 2px solid transparent; border-radius: 22px; background: #dfe5e2; font-size: 11px; transition: .2s ease; }
.mock-chrome-address b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-chrome-address > em.tap-callout { right: 48px; top: 56px; }
.mock-chrome-address > em.tap-callout::after { top: -8px; bottom: auto; transform: translateX(-50%) rotate(225deg); }
.chrome-dots { position: relative; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid transparent; border-radius: 50%; font-size: 22px; font-weight: 900; line-height: 1; }
.android-browser-page { top: 86px; bottom: 0; }
.android-menu { position: absolute; z-index: 6; top: 82px; right: 9px; width: 222px; padding: 8px; border: 1px solid #d5dcda; border-radius: 18px; background: #fff; box-shadow: 0 18px 38px rgba(0,0,0,.27); opacity: 0; transform: translateY(-10px) scale(.96); transform-origin: top right; transition: opacity .2s ease, transform .24s ease; }
.android-menu-row { position: relative; min-height: 53px; padding: 7px 9px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 8px; border: 2px solid transparent; border-radius: 11px; font-size: 11px; transition: .2s ease; }
.android-menu-row.is-muted { opacity: .52; }
.android-menu-row .tap-callout { right: 18px; bottom: 57px; }
.install-guide-panel-v2[data-current-step="2"] .android-menu { opacity: 1; transform: translateY(0) scale(1); }
.install-guide-panel-v2[data-current-step="2"] .android-browser-page { filter: blur(2px); opacity: .35; }

.android-install-card { position: absolute; z-index: 7; right: 13px; top: 138px; left: 13px; padding: 18px 16px 15px; border: 1px solid #d5dcda; border-radius: 22px; background: #fff; box-shadow: 0 22px 45px rgba(0,0,0,.29); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .23s ease, transform .26s ease; }
.android-install-app { display: flex; align-items: flex-start; gap: 11px; }
.android-install-app img { width: 53px; height: 53px; border-radius: 15px; }
.android-install-app b { font-size: 13px; }
.android-install-app small { margin-top: 3px; color: #75817d; font-size: 9px; line-height: 1.4; }
.android-install-card > p { margin: 16px 0 18px; color: #65716d; font-size: 10px; }
.android-install-actions { position: static; display: flex; align-items: center; justify-content: flex-end; gap: 15px; color: #087849; font-size: 11px; }
.android-install-actions strong { position: relative; padding: 9px 16px; border: 2px solid transparent; border-radius: 13px; background: #0b8e59; color: #fff; }
.android-final { position: absolute; z-index: 4; right: 14px; bottom: 38px; left: 14px; margin: 0; opacity: 0; transition: opacity .22s ease; }
.install-guide-panel-v2[data-current-step="3"] .android-install-card { opacity: 1; transform: translateY(0) scale(1); }
.install-guide-panel-v2[data-current-step="3"] .android-final { opacity: .34; }
.install-guide-panel-v2[data-current-step="3"] .android-browser-page { filter: blur(2px); opacity: .24; }

.install-wizard-actions {
  min-height: 78px;
  padding: 12px 23px 17px;
  display: grid;
  grid-template-columns: 150px 1fr 190px;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255,255,255,.095);
  background: rgba(2,8,6,.76);
}
.install-step-prev, .install-step-next {
  min-height: 52px;
  padding: 8px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  transition: transform .18s ease, opacity .18s ease, border-color .18s ease;
}
.install-step-prev { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.055); color: #d3dfda; }
.install-step-next { border: 1px solid #ffe16d; background: linear-gradient(145deg, #ffd95e, #df9e08); color: #211704; box-shadow: 0 10px 24px rgba(246,188,39,.19); }
.install-step-prev svg, .install-step-next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.install-step-prev:disabled { opacity: .35; cursor: default; }
.install-step-prev:not(:disabled):active, .install-step-next:active { transform: scale(.97); }
.install-safe-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: #8ea39b; font-size: 13px; text-align: center; }
.install-safe-note i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #32d989; box-shadow: 0 0 0 5px rgba(50,217,137,.1), 0 0 14px rgba(50,217,137,.28); }
.install-step-dots button:focus-visible, .install-step-prev:focus-visible, .install-step-next:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@keyframes install-trigger-shine {
  0%, 36% { background-position: 120% 0; opacity: .35; }
  58%, 100% { background-position: -120% 0; opacity: .8; }
}
@keyframes install-target-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(246,185,0,.17), 0 0 20px rgba(246,185,0,.34); }
  50% { box-shadow: 0 0 0 9px rgba(246,185,0,.06), 0 0 34px rgba(246,185,0,.67); }
}
@keyframes tap-label-bob {
  0%, 100% { margin-bottom: 0; }
  50% { margin-bottom: 5px; }
}
@keyframes install-step-copy-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
  .topbar { min-height: 194px; }
  .install-guide-trigger { top: 13px; right: 0; width: 278px; transform: none; }
  .install-guide-trigger:hover { transform: translateY(-2px); }
  .install-guide-trigger:active { transform: scale(.98); }
  .install-guide-ready { display: none; }
  .install-step-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .install-step-copy-stack { padding: 32px 27px; }
  .install-step-info h3 { font-size: 30px; }
  .install-step-info p { font-size: 16px; }
}

@media (max-width: 680px) {
  .topbar { min-height: 176px; }
  .install-guide-trigger { top: 10px; width: 264px; min-height: 68px; grid-template-columns: 50px minmax(0, 1fr) 34px; gap: 8px; padding: 7px; border-radius: 19px; }
  .install-trigger-app { width: 50px; height: 50px; border-radius: 15px; }
  .install-trigger-app img { border-radius: 11px; }
  .install-trigger-copy small { font-size: 11px; }
  .install-trigger-copy strong { font-size: 14px; }
  .install-trigger-action { width: 33px; height: 33px; border-radius: 11px; }
  .install-trigger-ribbon { top: -8px; left: 12px; }

  .install-guide-dialog-v2 { width: 100%; max-height: 97vh; max-height: 97dvh; margin: auto 0 0; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 29px 29px 0 0; }
  .install-guide-dialog-v2 .install-guide-close { top: 15px; left: 14px; width: 42px; height: 42px; }
  .install-guide-head-v2 { min-height: 112px; padding: 16px 14px 14px 59px; gap: 12px; }
  .install-guide-head-v2 .install-guide-app { width: 65px; height: 65px; flex-basis: 65px; border-radius: 20px; }
  .install-guide-head-v2 .install-guide-app img { border-radius: 15px; }
  .install-guide-head-v2 .install-guide-kicker { font-size: 11px; }
  .install-guide-head-v2 h2 { font-size: 22px; }
  .install-guide-head-v2 p { margin-top: 2px; font-size: 13px; line-height: 1.55; }
  .install-platform-tabs-v2 { width: calc(100% - 26px); margin: 11px auto 8px; }
  .install-platform-tabs-v2 .install-platform-tab { min-height: 47px; font-size: 14px; }
  .install-wizard-status { width: calc(100% - 30px); min-height: 47px; margin-bottom: 7px; }
  .install-wizard-status > strong { font-size: 13px; }
  .install-step-dots button { width: 35px; height: 35px; font-size: 12px; }
  .install-step-dots button:not(:last-child) { margin-right: 14px; }
  .install-step-dots button:not(:last-child)::after { width: 14px; }
  .install-guide-panels-v2 { padding: 0 10px 10px; }
  .install-step-layout { min-height: 0; grid-template-columns: 1fr; border-radius: 23px; }
  .install-step-copy-stack { min-height: 178px; padding: 19px 18px 13px; align-items: flex-start; }
  .install-step-label { margin-bottom: 8px; padding: 5px 10px; font-size: 12px; }
  .install-step-info h3 { font-size: 24px; line-height: 1.45; }
  .install-step-info p { margin-top: 6px; font-size: 15px; line-height: 1.72; }
  .install-tap-hint, .install-success-hint { min-height: 50px; margin-top: 12px; padding: 9px 12px; border-radius: 14px; font-size: 13px; }
  .install-tap-hint > span { font-size: 23px; }
  .install-phone-stage { min-height: 456px; padding: 14px 8px 21px; border-top: 1px solid rgba(255,255,255,.09); border-right: 0; }
  .install-phone { width: 236px; height: 435px; padding: 8px; border-radius: 38px; }
  .phone-screen { border-radius: 31px; }
  .ios-phone::before { top: 15px; width: 73px; height: 23px; }
  .mock-browser-page { padding-top: 19px; }
  .mock-site-hero img { width: 61px; height: 61px; border-radius: 18px; }
  .mock-channel-row { margin-top: 14px; }
  .install-wizard-actions { position: sticky; z-index: 30; bottom: 0; min-height: 72px; padding: 10px 11px calc(10px + env(safe-area-inset-bottom)); grid-template-columns: 93px 1fr 148px; gap: 7px; background: rgba(2,8,6,.96); backdrop-filter: blur(13px); }
  .install-step-prev, .install-step-next { min-height: 48px; padding: 7px 10px; gap: 6px; font-size: 13px; }
  .install-safe-note { display: none; }
}

@media (max-width: 370px) {
  .install-guide-trigger { width: 248px; grid-template-columns: 47px minmax(0, 1fr) 31px; }
  .install-trigger-app { width: 47px; height: 47px; }
  .install-trigger-copy strong { font-size: 13px; }
  .install-wizard-status { gap: 8px; }
  .install-step-dots button { width: 32px; height: 32px; }
  .install-step-dots button:not(:last-child) { margin-right: 10px; }
  .install-step-dots button:not(:last-child)::after { width: 10px; }
  .install-guide-head-v2 h2 { font-size: 20px; }
  .install-guide-head-v2 p { font-size: 12px; }
  .install-wizard-actions { grid-template-columns: 86px 1fr 140px; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .topbar { min-height: 130px; }
  .install-guide-trigger { top: 9px; }
  .install-guide-dialog-v2 { max-height: 98vh; max-height: 98dvh; }
}

@media (prefers-reduced-motion: reduce) {
  .match-centre.score-bump .match-score span,
  .install-guide-trigger::before, .tap-callout,
  .install-guide-panel-v2[data-current-step] .ios-address,
  .install-guide-panel-v2[data-current-step] .share-target,
  .install-guide-panel-v2[data-current-step] .home-screen-target,
  .install-guide-panel-v2[data-current-step] .add-target,
  .install-guide-panel-v2[data-current-step] .mock-chrome-address,
  .install-guide-panel-v2[data-current-step] .chrome-dots,
  .install-guide-panel-v2[data-current-step] .install-target { animation: none !important; }
}

/* Compact install entry placed immediately to the right of the KurdView logo. */
.topbar {
  min-height: 140px;
  gap: 15px;
  direction: rtl;
}

.install-guide-trigger {
  position: relative;
  top: auto;
  right: auto;
  width: 178px;
  min-height: 50px;
  flex: 0 0 178px;
  padding: 5px 7px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  border-radius: 14px;
  transform: none;
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 11px 25px rgba(0,0,0,.34), 0 0 20px rgba(19,168,103,.12);
}

.install-guide-trigger:hover { transform: translateY(-2px); }
.install-guide-trigger:active { transform: scale(.98); }
.install-trigger-ribbon, .install-trigger-app { display: none; }
.install-trigger-copy { min-width: 0; gap: 0; }
.install-trigger-copy small {
  color: #fff;
  font-size: 9.5px;
  line-height: 1.35;
}
.install-trigger-copy strong {
  color: #fff;
  font-size: 11.25px;
  line-height: 1.4;
  white-space: normal;
}
.install-trigger-action { width: 34px; height: 34px; border-radius: 10px; }
.install-trigger-action svg { width: 19px; height: 19px; }

@media (max-width: 850px) {
  .topbar { min-height: 126px; padding-bottom: 0; align-items: center; gap: 10px; }
  .install-guide-trigger { top: auto; right: auto; width: 172px; flex-basis: 172px; transform: none; }
  .install-guide-trigger:hover { transform: translateY(-2px); }
  .install-guide-trigger:active { transform: scale(.98); }
  .brand-logo { width: min(40vw, 225px); }
}

@media (max-width: 580px) {
  .topbar { min-height: 112px; padding-bottom: 0; align-items: center; gap: 8px; }
  .brand-logo { width: min(42vw, 158px); }
  .install-guide-trigger {
    top: auto;
    right: auto;
    width: 166px;
    min-height: 48px;
    flex-basis: 166px;
    padding: 5px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
    border-radius: 13px;
  }
  .install-trigger-copy small { font-size: 9px; }
  .install-trigger-copy strong { font-size: 10.75px; }
  .install-trigger-action { width: 32px; height: 32px; border-radius: 9px; }
  .install-trigger-action svg { width: 18px; height: 18px; }
}

@media (max-width: 370px) {
  .topbar { gap: 6px; }
  .brand-logo { width: 142px; }
  .install-guide-trigger { width: 158px; flex-basis: 158px; grid-template-columns: 31px minmax(0, 1fr); gap: 6px; }
  .install-trigger-copy strong { font-size: 10.25px; }
  .install-trigger-action { width: 31px; height: 31px; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .topbar { min-height: 96px; padding-bottom: 0; align-items: center; }
  .install-guide-trigger { top: auto; transform: none; }
  .install-guide-trigger:hover { transform: translateY(-2px); }
  .install-guide-trigger:active { transform: scale(.98); }
}

@media (max-width: 370px) {
  .apple-event-meta, .apple-event-zone { max-width: calc(100% - 110px); }
}

/* Approved artwork rendered as vector geometry and the site's native font at every pixel density. */
.ad-frame.ad-premium { width: 98%; margin-inline: auto; display: block; min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.ad-frame.ad-premium[hidden] { display: none; }
.ad-premium::before, .ad-premium::after { display: none; }
.premium-ad-link { display: block; width: 100%; overflow: hidden; color: inherit; text-decoration: none; border-radius: 2.904% / 9.585%; -webkit-tap-highlight-color: rgba(214,185,113,.14); }
.premium-ad-link:focus-visible { outline: 2px solid #d6b971; outline-offset: -3px; }
.premium-ad-art { direction: ltr; display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 1274 / 386; }
.premium-ad-vector { overflow: hidden; }
.premium-ad-vector text { font-family: "Noto Sans Arabic", sans-serif; }
.premium-ad-vector .premium-ad-drift { animation: premium-ad-drift 12s ease-in-out infinite; }
.premium-ad-vector .premium-ad-sheen { animation: premium-ad-sheen 12s linear infinite; }
@keyframes premium-ad-drift {
  0%, 50%, 100% { transform: translate(0, 0); }
  25% { transform: translate(25px, 10px); }
  75% { transform: translate(-25px, -10px); }
}
@keyframes premium-ad-sheen {
  from { transform: translateX(0); }
  to { transform: translateX(880px); }
}
@media (prefers-reduced-motion: reduce) {
  .premium-ad-vector .premium-ad-drift, .premium-ad-vector .premium-ad-sheen { animation: none; }
  .premium-ad-vector .premium-ad-sheen { display: none; }
}

.sports-view-tab span { white-space: normal; line-height: 1.6; }
.sports-view-tab svg { flex-shrink: 0; }

.fixture-day-label { margin: 14px 0 0; color: #f7d675; text-align: center; font-size: 1rem; font-weight: 800; line-height: 1.7; }

.competition-logo[src$="logo-laliga.png"] { width: 80px; height: 28px; }

.competition-chip .competition-logo { margin: 0; flex-shrink: 0; }

.competition-logo[src$="logo-serie-a.svg"] { width: 42px; height: 52px; padding: 4px; background: #fff; border-radius: 6px; opacity: 1; }

.channel-search-bar { display:flex; align-items:center; gap:12px; width:min(1180px,calc(100% - 32px)); margin:4px auto 20px; padding:10px 16px; border:1px solid rgba(231,188,59,.35); border-radius:18px; background:#071810; }
.channel-search-bar:focus-within { border-color:#e9c552; box-shadow:0 0 0 3px #e9c55220; }
.channel-search-bar label { display:flex; color:#e9c552; flex-shrink:0; }
.channel-search-bar svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; }
.channel-search-bar input { width:100%; min-width:0; min-height:32px; background:transparent; border:0; outline:0; color:#fff; font:inherit; font-size:16px; }
.channel-search-bar input::placeholder { color:#aabbb0; opacity:1; }
.category-dock { grid-template-columns:repeat(6,minmax(0,1fr)); }
@media(max-width:480px) { .category-dock { gap:2px; padding:5px; } .category-tab { min-width:0; padding-inline:2px; font-size:12px; } }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Completed games retain their dates, teams and final results. */
#replay-grid [data-replay-action] { display: none !important; }
.sports-switch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sports-view-tab { min-width: 0; white-space: normal; }
@media(max-width:600px) { .sports-view-tab { font-size: 12px; padding: 10px 4px; } .sports-view-tab svg { width: 18px; flex-shrink: 0; } }

/* The sports selector now has two focused views: all sports and Arabic sports. */
.sports-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.category-tab > span:last-child { white-space: normal; line-height: 1.5; }

/* Separate film library entry on the private preview. */
.category-dock { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.movie-dock-link {
  min-width: 0; min-height: 72px; padding: 8px 3px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 1px solid rgba(226,182,96,.24); border-radius: 17px;
  color: #f6dfae; background: rgba(142,92,24,.13);
  font-size: 13px; font-weight: 800; text-align: center; line-height: 1.35;
  text-decoration: none;
}
.movie-dock-link .category-icon { width: 33px; height: 33px; background: rgba(234,181,91,.13); }
.movie-dock-link:hover, .movie-dock-link:focus-visible { color: #fff; background: rgba(171,113,36,.3); outline: 2px solid #f0c675; }
@media (max-width: 580px) {
  .category-dock { gap: 2px; padding: 5px; }
  .movie-dock-link { min-height: 68px; padding: 5px 1px; font-size: 11px; }
  .movie-dock-link .category-icon { width: 27px; height: 27px; }
  .movie-dock-link .category-icon svg { width: 18px; height: 18px; }
}
.fixture-day-tag { margin: 0; padding: 8px 16px 0; color: #ead28b; font-size: 13px; font-weight: 700; }
.match-of-week { border-color: #d7b85d; box-shadow: 0 0 0 1px #d7b85d44; }
.match-highlight { padding: 12px 8px 16px; text-align: center; background: none; color: #f5f7f3; border: 0; }
.match-highlight strong { display: block; font-size: clamp(18px,4vw,22px); font-weight: 750; line-height: 1.6; }
.match-highlight small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: #aabbb1; line-height: 1.7; }

.channel-access-badge{display:inline-block;align-self:flex-start;width:fit-content;padding:3px 10px;border-radius:20px;font:700 12px/1.6 "Noto Sans Arabic",sans-serif;letter-spacing:.5px;color:#f8d47b;border:1px solid #b49143;background:#302810;margin-top:6px}.channel-access-badge.free{font-family:inherit;letter-spacing:0;color:#b7f2ce;border-color:#32644b;background:#102d1e}.channel-card[aria-busy="true"]{opacity:.65;cursor:progress}

.plus-home-welcome{margin:16px auto;padding:20px;text-align:center;border:1px solid #b99b54;border-radius:20px;background:linear-gradient(120deg,#153222,#243c26);color:#f8d878}.plus-home-welcome strong{display:block;font-size:clamp(24px,5vw,36px);line-height:1.8}.plus-home-welcome a{color:#efdfb1;font-size:14px}

.arsenal-poster{position:absolute;inset:0;z-index:4;background:#050908;overflow:hidden;pointer-events:none;user-select:none;-webkit-user-select:none}
.arsenal-poster[hidden]{display:none}
.arsenal-poster>img:first-child{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;transform:none}
.arsenal-poster .poster-brand{position:absolute;bottom:12px;left:12px;width:100px;height:auto;max-width:23%;filter:drop-shadow(0 2px 5px #000)}
.player-shell:has(.arsenal-poster:not([hidden]))>.player-watermark{visibility:hidden}
.player-shell:has(.arsenal-poster:not([hidden])) .idle-placeholder,.player-shell:has(.arsenal-poster:not([hidden])) .stream-message:not(.is-error):not(.needs-gesture){visibility:hidden}
.kv-plus-logo{display:block;width:230px;max-width:100%;height:auto;margin:0 auto}

.player-shell:has(.arsenal-poster:not([hidden])) .stream-message.is-error{z-index:6}

[data-access-badge] .kv-plus-badge-logo{display:block;width:180px;max-width:100%;height:auto}
.channel-access-badge.plus{padding:0 5px;background:transparent;border:0}
.channel-access-badge .kv-plus-badge-logo{display:block;width:100px;max-width:100%;height:auto}

.match-showcase{position:relative}
.match-showcase>[data-access-badge]:has(.kv-plus-badge-logo){position:absolute;top:10px;right:12px;z-index:2;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;line-height:0}
.match-showcase>[data-access-badge] .kv-plus-badge-logo{width:112px}
.match-showcase:has(>[data-access-badge] .kv-plus-badge-logo){padding-top:48px}

img.kv-plus-badge-logo{object-fit:contain;aspect-ratio:3/1;max-width:100%;border:0}
.channel-access-badge img.kv-plus-badge-logo{width:100px;height:34px;min-height:0;max-height:34px}
.match-showcase [data-access-badge] img.kv-plus-badge-logo{width:112px;height:38px;min-height:0;max-height:38px}
.match-showcase > .match-free-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 4px 0 0;
  padding: 3px 10px;
  border: 1px solid rgba(227,185,112,.42);
  border-radius: 999px;
  background: rgba(212,160,77,.1);
  color: #e8c894;
  font: 700 11px/1.65 "Noto Sans Arabic", sans-serif;
  box-shadow: none;
}
.plus-logo-fallback{display:inline-block;font:700 13px/1.5 system-ui,sans-serif;color:#f8d47b;white-space:nowrap}

.profile-top{display:flex;justify-content:flex-start;padding:8px 16px}.profile-top a{display:flex;align-items:center;gap:8px;color:#f6d878;text-decoration:none;border:1px solid #536140;border-radius:22px;padding:6px 14px;min-height:44px;font-size:14px}.profile-top img{width:32px;height:32px;object-fit:cover;border-radius:50%}.profile-top span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-top a{border-radius:999px;padding:5px 14px 5px 6px;gap:10px;background:#122a1e}.profile-nav-picture{position:relative;display:grid;place-items:center;flex:none;width:36px;height:36px!important;max-width:36px!important;border-radius:50%;background:#294c36;color:#e3c879;overflow:hidden}.profile-nav-picture svg{width:22px;height:22px}.profile-nav-picture img{position:absolute;inset:0;width:36px;height:36px;object-fit:cover;border-radius:50%}

.ad-premium .premium-ad-link{position:relative;width:100%;aspect-ratio:1274/386;overflow:hidden;isolation:isolate;background:#08180f;border:0;border-radius:2.904% / 9.585%}.ad-premium .premium-ad-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.ad-premium .premium-ad-art{position:relative;z-index:1;display:block;width:100%;height:auto;pointer-events:none}

.stream-message.needs-gesture{visibility:visible!important;z-index:7;cursor:pointer;background:rgba(0,0,0,.55)}
.stream-message.needs-gesture .stream-spinner{display:none}
.stream-message.needs-gesture:focus-visible{outline:3px solid #f4cd71;outline-offset:-4px}

/* Compact home surface: keep account access and channel search in one calm toolbar. */
.topbar { display: none !important; }
.home-toolbar {
  position: relative;
  top: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 20px;
  padding: 12px 0 10px;
  border-top: 1px solid transparent;
  background: linear-gradient(180deg, rgba(4, 13, 10, .98) 0%, rgba(4, 13, 10, .88) 78%, rgba(4, 13, 10, 0) 100%);
  transform: none;
}
.home-toolbar.is-toolbar-hidden,
.home-toolbar.is-toolbar-visible { transform: none; opacity: 1; pointer-events: auto; }
.home-toolbar::before {
  position: absolute;
  top: 0;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19,168,103,.55), rgba(246,188,39,.65), rgba(237,38,50,.55), transparent);
  box-shadow: 0 0 18px rgba(246,188,39,.16);
  content: "";
}
.profile-top {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}
.profile-top::before { display: none; }
.profile-top a { font-size: 15px; }
.channel-search-bar { flex: 1 1 auto; width: auto; margin: 0; }
main { margin-top: 12px; margin-bottom: 20px; }
body { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
footer { display: none !important; }
.category-dock {
  position: fixed !important;
  z-index: 60;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: auto;
  margin: 0;
  transform: translate3d(0,0,0);
  background: rgba(4,13,10,.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.055);
}

@media (max-width: 580px) {
  html { scroll-padding-top: 12px; }
  .home-toolbar {
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: calc(100% - 24px);
    margin: 0 auto 12px;
    padding: calc(8px + env(safe-area-inset-top)) 0 10px;
  }
  .home-toolbar.is-toolbar-hidden {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
  }
  .home-toolbar::before { right: 4%; left: 4%; }
  .profile-top { width: 100%; justify-content: flex-start; }
  .profile-top a { min-width: 118px; min-height: 46px; justify-content: center; padding-right: 10px; }
  .channel-search-bar { width: 100%; min-width: 0; min-height: 50px; }
  .watch-stage, .channels-section { scroll-margin-top: 12px; }
  .category-dock { right: max(12px, env(safe-area-inset-right)); left: max(12px, env(safe-area-inset-left)); }
}

@media (max-width: 360px) {
  .home-toolbar { gap: 6px; }
  .profile-top a { min-width: 112px; gap: 6px; padding-right: 8px; font-size: 13px; }
  .profile-nav-picture, .profile-nav-picture img { width: 32px; height: 32px !important; }
  .channel-search-bar { padding-inline: 10px; }
  .channel-search-bar svg { width: 21px; height: 21px; }
}

/* Compact account and search row, in the normal page scroll. */
.profile-nav-label{display:flex;align-items:center;justify-content:center;gap:4px;max-width:100%;min-width:0}
.profile-plus-mark{color:#f0cb58;font-size:20px;font-weight:900;line-height:1;flex-shrink:0;text-shadow:0 0 10px #e4b43c45}
.profile-plus-mark[hidden]{display:none}
.plus-days-banner{font-size:clamp(14px,3.7vw,20px);padding:12px 18px;line-height:1.8}
.home-toolbar{display:flex;align-items:center;gap:16px;position:relative;top:auto}
.home-toolbar .profile-top{flex:0 0 84px;width:84px;padding:0 0 0 14px;border-left:1px solid rgba(211,190,129,.22)}
.home-toolbar .profile-top a{display:flex;flex-direction:column;gap:5px;width:100%;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:13px;line-height:1.5}
.home-toolbar .profile-nav-picture{width:44px;height:44px!important;max-width:44px!important;border:1px solid #c3a657;background:#172e22;box-shadow:0 0 0 3px rgba(195,166,87,.07)}
.home-toolbar .profile-nav-picture img{width:100%;height:100%!important;object-fit:cover}
.home-toolbar .profile-nav-name{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#eadcae}
.home-toolbar .channel-search-bar{flex:1;min-width:0;width:auto;min-height:48px;border-radius:999px;padding:8px 14px;border-color:rgba(187,182,152,.25);background:#0c1d15}
.home-toolbar .channel-search-bar input{font-size:16px}
@media(max-width:580px){.home-toolbar{gap:12px}.home-toolbar .profile-top{flex-basis:78px;width:78px;padding-left:12px}.home-toolbar .channel-search-bar{gap:8px;padding-inline:12px}}

/* Keep the complete background and its rounded edges within the ad frame. */
#standard-ad-frame .premium-ad-link{contain:paint;clip-path:inset(0 round 2.904% / 9.585%)}
#standard-ad-frame .premium-ad-video{max-width:100%;max-height:100%;object-fit:cover;border-radius:inherit;overflow:hidden}

#standard-ad-frame{position:relative}

/* Fill the dock using only visible entries, including the film link. */
.category-dock { display: flex; align-items: stretch; gap: 5px; }
.category-dock > .category-tab, .category-dock > .movie-dock-link {
  flex: 1 1 0; min-width: 0; margin: 0; flex-direction: column;
  gap: 4px; padding: 7px 2px; min-height: 70px; text-align: center;
}
.category-dock > [hidden] { display: none !important; }
.category-dock .movie-dock-link svg { fill: none; }
.category-dock .category-icon { width: 31px; height: 31px; }
.category-dock .category-icon svg { width: 20px; height: 20px; }
.category-dock > a { font-size: 12px; }
@media(max-width:580px) {
  .category-dock { left: max(7px, env(safe-area-inset-left)); right: max(7px, env(safe-area-inset-right)); padding: 5px; gap: 2px; }
  .category-dock > .category-tab, .category-dock > .movie-dock-link { font-size: 12px; min-height: 67px; border-radius: 13px; }
  .category-dock .category-icon { width: 28px; height: 28px; }
}

/* The selected two-way entrance lives at the top; channel categories remain beneath the player. */
body { padding-bottom: env(safe-area-inset-bottom); }
.home-toolbar { margin-bottom: 7px; flex-wrap: wrap; }
.home-switch-brand { display: inline-flex; align-items: center; width: 170px; height: 54px; flex: none; }
.home-switch-brand img { display: block; width: 100%; height: auto; object-fit: contain; }
.home-switch-brand:focus-visible { outline: 2px solid #f7d287; outline-offset: 4px; border-radius: 8px; }
.media-switch { display: flex; direction: rtl; width: min(1180px,calc(100% - 32px)); margin: 3px auto 24px; padding: 5px; border: 1px solid rgba(234,200,141,.34); border-radius: 999px; background: #151d19; box-shadow: 0 14px 36px #0006; }
.media-switch-choice { flex: 1; min-width: 0; min-height: 60px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; color: #f4f1e9; text-decoration: none; font-size: clamp(14px,2.2vw,20px); font-weight: 800; line-height: 1.5; text-align: center; }
.media-switch-choice svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.media-switch-choice.is-active { color: #1c1b16; background: linear-gradient(105deg,#d4a650,#ffe0a0,#d5a755); box-shadow: 0 4px 20px #d9b56c38, inset 0 1px #fff9; }
.media-switch-choice:not(.is-active):hover { background: #ffffff10; }
.media-switch-choice:focus-visible { outline: 3px solid #fff1c6; outline-offset: 3px; }
.channels-section > .category-dock { position: relative !important; inset: auto !important; z-index: 1; display: flex; flex-wrap: nowrap; overflow-x: auto; width: 100%; max-width: 100%; margin: 0 0 22px; padding: 6px; transform: none; background: rgba(13,29,22,.88); box-shadow: none; scrollbar-width: thin; scroll-snap-type: x proximity; }
.channels-section > .category-dock > .category-tab { flex: 1 0 auto; min-height: 48px; padding: 7px 13px; flex-direction: row; gap: 7px; font-size: 14px; white-space: nowrap; scroll-snap-align: center; }
.channels-section > .category-dock .category-icon { width: 25px; height: 25px; border-radius: 7px; }
.channels-section > .category-dock .category-icon svg { width: 17px; height: 17px; }
@media(max-width:680px) {
  .home-toolbar { width: calc(100% - 24px); display: flex; gap: 6px 10px; padding-top: calc(8px + env(safe-area-inset-top)); margin-bottom: 6px; }
  .home-switch-brand { width: 145px; height: 45px; flex: 1 1 auto; justify-content: flex-start; }
  .home-switch-brand img { width: min(145px,100%); }
  .home-toolbar .profile-top { order: 1; flex: 0 0 78px; width: 78px; }
  .home-toolbar .channel-search-bar { order: 2; flex: 1 1 100%; }
  .media-switch { width: calc(100% - 24px); margin-bottom: 14px; }
  .media-switch-choice { min-height: 54px; gap: 6px; padding: 7px 5px; font-size: clamp(13px,3.5vw,17px); }
  .media-switch-choice svg { width: 19px; height: 19px; }
  .channels-section > .category-dock > .category-tab { min-height: 46px; font-size: 13px; }
}

.channel-trial{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;margin:10px 0;border:1px solid #b99a6c80;border-radius:13px;background:#241c21;color:#f8e4c8;font-size:14px;line-height:1.5}
.channel-trial[hidden]{display:none}
.channel-trial strong{font:700 19px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;color:#f0c47d;font-variant-numeric:tabular-nums}
.channel-trial a{margin-inline-start:auto;color:#24151b;background:#e8bd79;padding:6px 12px;border-radius:9px;text-decoration:none;font-weight:700}

/* Direct install on Galaxy when the browser offers its native PWA prompt. */
.galaxy-install-now{display:block;width:calc(100% - 26px);min-height:52px;margin:0 auto 12px;padding:10px 18px;border:1px solid #ffdd8b;border-radius:14px;background:linear-gradient(105deg,#d4a650,#ffe0a0,#d5a755);color:#191c17;font:800 16px/1.4 "Noto Sans Arabic",system-ui,sans-serif;cursor:pointer;box-shadow:0 7px 20px #0005}
.galaxy-install-now[hidden]{display:none}
.galaxy-install-now:focus-visible{outline:3px solid #fff;outline-offset:3px}
