/* ══════════════════════════════════════════════════
   IPTV PLAYER  — Full TV-Optimized UI
   S.M.TAREQ
══════════════════════════════════════════════════ */
:root {
  --acc:    #ff0000;
  --acc2:   #ff4444;
  --live:   #00e676;
  --dead:   #ff5252;
  --bg:     #000;
  --glass:  rgba(0,0,0,0.72);
  --glass2: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.09);
  --text:   #f0f4ff;
  --muted:  rgba(255,255,255,0.45);
  --dim:    rgba(255,255,255,0.2);
}

/* ── LAUNCH ─────────────────────────────────────── */
.launch {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  animation: fadein .4s ease;
}
.launch-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, rgba(255,0,0,.12) 0%, transparent 70%);
}
.launch-center {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; text-align: center; padding: 24px;
}
.launch-icon {
  width: 80px; height: 80px; border-radius: 22px;
  background: linear-gradient(135deg,#ff000022,#ff444422);
  border: 1px solid rgba(255,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--acc); margin-bottom: 4px;
  box-shadow: 0 0 40px rgba(255,0,0,.2);
}
.launch-title {
  font-size: clamp(32px,6vw,52px);
  font-weight: 700; letter-spacing: -1px; color: #fff;
}
.launch-title span { color: var(--acc); }
.launch-sub { font-size: 13px; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; margin-top: -6px; }
.launch-btn {
  margin-top: 10px;
  display: flex; align-items: center; gap: 10px;
  padding: 16px 44px; border-radius: 50px; border: none;
  background: var(--acc); color: #000;
  font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700;
  cursor: pointer; letter-spacing: .3px;
  box-shadow: 0 0 0 0 rgba(255,0,0,.5);
  animation: pulse-btn 2s ease-in-out infinite;
  transition: transform .15s;
}
.launch-btn:hover { transform: scale(1.04); }
.launch-btn:active { transform: scale(.97); }
@keyframes pulse-btn {
  0%,100%{box-shadow:0 0 0 0 rgba(255,0,0,.45)}
  50%{box-shadow:0 0 0 16px rgba(255,0,0,0)}
}
.launch-note { font-size: 11.5px; color: var(--dim); letter-spacing: .8px; }
.launch-disclaimer {
  font-size: 10.5px; color: rgba(255,255,255,.25); line-height: 1.7;
  max-width: 300px; text-align: center; padding: 0 12px;
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 12px; margin-top: 4px;
}
.launch.out { animation: fadeout .35s ease forwards; }
@keyframes fadein  { from{opacity:0;transform:scale(.96)} }
@keyframes fadeout { to{opacity:0;transform:scale(1.03)} }

/* ── MODAL ──────────────────────────────────────── */
.modal-wrap {
  position: fixed; inset: 0; z-index: 8888;
  background: rgba(0,0,0,.82); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadein .2s ease;
}
.modal-box {
  background: #0d0f14; border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 28px 28px 24px;
  max-width: 460px; width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: slideup .25s cubic-bezier(.16,1,.3,1);
}
@keyframes slideup { from{transform:translateY(18px);opacity:0} }
.modal-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 15px; font-weight: 600; color: var(--text);
}
.modal-ico {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,0,0,.1); border: 1px solid rgba(255,0,0,.25);
  color: var(--acc); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.modal-text { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.modal-ok {
  width: 100%; padding: 13px; border-radius: 11px; border: none;
  background: var(--acc); color: #000;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: opacity .15s;
}
.modal-ok:hover { opacity: .9; }
.modal-ok:focus { outline: 3px solid var(--acc); outline-offset: 3px; }

/* ── APP SHELL ──────────────────────────────────── */
.app {
  position: fixed; inset: 0;
  background: #000; overflow: hidden;
}
video {
  width: 100%; height: 100%;
  object-fit: contain; display: block; background: #000;
  /* Kill ALL native browser video UI */
  -webkit-media-controls: none !important;
}
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-enclosure { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }
video::-webkit-media-controls-play-button { display: none !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; }
video::-webkit-media-controls-overlay-play-button { display: none !important; }
video::--webkit-media-controls-fullscreen-button { display: none !important; }
video::-webkit-media-controls-timeline { display: none !important; }
video::-webkit-media-controls-current-time-display { display: none !important; }
video::-webkit-media-controls-time-remaining-display { display: none !important; }
video::-webkit-media-controls-mute-button { display: none !important; }
video::-webkit-media-controls-volume-slider { display: none !important; }
video::-moz-media-controls { display: none !important; }
/* Prevent text selection and touch callouts on the player */
.app { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ── LOAD / ERROR ───────────────────────────────── */
.load-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  background: rgba(0,0,0,.6);
}
.load-spinner {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.07);
  border-top-color: var(--acc);
  animation: spin .7s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }
.load-text { font-size: 14px; color: var(--muted); }

.err-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(0,0,0,.65);
}
.err-icon { font-size: 36px; opacity: .6; }
.err-text { font-size: 15px; color: var(--muted); }
.retry-btn {
  padding: 9px 24px; border-radius: 30px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07); color: #fff;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .15s;
}
.retry-btn:hover { background: rgba(255,255,255,.14); }

/* ── OSD ────────────────────────────────────────── */
.osd {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
}
.osd.show { opacity: 1; pointer-events: all; }

/* Top gradient */
.osd::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, rgba(0,0,0,.85), transparent);
  pointer-events: none;
}
/* Bottom gradient */
.osd::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 340px;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 60%, transparent);
  pointer-events: none;
}

/* ── TOP BAR ──────────────────────────────────── */
.osd-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 28px 0;
}
.osd-brand {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  color: var(--acc); text-transform: uppercase; flex-shrink: 0;
}
.brand-logo {
  display: flex; align-items: center; justify-content: center;
}
.brand-t-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255,0,0,0.15);
  border: 1.5px solid rgba(255,40,40,0.5);
  box-shadow: 0 0 8px rgba(255,0,0,0.4), inset 0 0 8px rgba(255,0,0,0.1);
  animation: t-box-pulse 2s ease-in-out infinite;
}
.brand-t-letter {
  font-family: "Inter", sans-serif;
  font-weight: 900; font-size: 17px;
  color: #ff3333;
  text-shadow:
    0 0 4px #ff3333,
    0 0 10px #ff3333,
    0 0 20px #ff0000,
    0 0 40px #ff0000;
  animation: t-glow-pulse 2s ease-in-out infinite;
  line-height: 1;
  letter-spacing: 0;
}
@keyframes t-box-pulse {
  0%,100% {
    box-shadow: 0 0 8px rgba(255,0,0,0.4), inset 0 0 8px rgba(255,0,0,0.1);
    border-color: rgba(255,40,40,0.5);
  }
  50% {
    box-shadow: 0 0 18px rgba(255,0,0,0.9), 0 0 35px rgba(255,0,0,0.4), inset 0 0 12px rgba(255,0,0,0.2);
    border-color: rgba(255,60,60,0.9);
  }
}
@keyframes t-glow-pulse {
  0%,100% {
    text-shadow: 0 0 4px #ff3333, 0 0 10px #ff3333, 0 0 20px #ff0000;
    color: #ff3333;
  }
  50% {
    text-shadow: 0 0 6px #ff5555, 0 0 16px #ff3333, 0 0 30px #ff0000, 0 0 50px #ff000088;
    color: #ff6666;
  }
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.osd-ch-info {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
  background: rgba(0,0,0,.5); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 16px;
}
.osd-num {
  font-size: 22px; font-weight: 700; color: var(--acc);
  font-variant-numeric: tabular-nums; flex-shrink: 0; min-width: 38px;
}
.osd-ch-detail { display: flex; flex-direction: column; min-width: 0; }
.osd-chname {
  font-size: 15px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.osd-chcat {
  font-size: 11px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-top: 1px;
}

.osd-top-right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.osd-status {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  background: rgba(0,230,118,.12); border: 1px solid rgba(0,230,118,.3);
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  color: var(--live); text-transform: uppercase;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 6px var(--live);
  animation: blink 1.4s infinite;
}
.osd-status.offline { background: rgba(255,82,82,.1); border-color: rgba(255,82,82,.3); color: var(--dead); }
.osd-status.offline .status-dot { background: var(--dead); box-shadow: 0 0 6px var(--dead); animation: none; }

.osd-clock {
  font-size: 20px; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums; letter-spacing: 1px;
}
.icon-btn {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.08); border: 1px solid var(--border);
  color: var(--muted); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s, color .15s;
}
.icon-btn:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ── MIDDLE CONTROLS ──────────────────────────── */
.osd-mid {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 32px;
  padding: 0 28px;
}
.ctrl-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,0,0,.5); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s;
}
.ctrl-btn:hover { background: rgba(255,255,255,.12); color: #fff; transform: scale(1.06); }
.ctrl-btn:active { transform: scale(.94); }
.ctrl-play {
  width: 68px; height: 68px;
  background: rgba(255,0,0,.15);
  border-color: rgba(255,0,0,.4); color: var(--acc);
}
.ctrl-play:hover { background: rgba(255,0,0,.25); color: #fff; }

/* ── BOTTOM PANEL ─────────────────────────────── */
.osd-bottom {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
  padding: 0 0 10px;
}

/* Search row */
.search-row {
  display: flex; align-items: center; gap: 12px; padding: 0 24px;
}
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 30px;
  padding: 9px 16px; flex: 1; max-width: 340px;
  transition: border-color .2s, background .2s;
}
.search-box:focus-within {
  border-color: rgba(255,0,0,.5);
  background: rgba(255,0,0,.06);
}
.search-box svg { color: var(--muted); flex-shrink: 0; }
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: 'Inter', sans-serif;
  font-size: 13.5px;
}
.search-box input::placeholder { color: var(--dim); }
.search-clear {
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 13px; padding: 0 2px;
}
.search-clear:hover { color: #fff; }
.stats-bar { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.stat {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; letter-spacing: .5px;
}
.stat.live  { color: var(--live);  background: rgba(0,230,118,.1);  border: 1px solid rgba(0,230,118,.2); }
.stat.dead  { color: var(--dead);  background: rgba(255,82,82,.1);  border: 1px solid rgba(255,82,82,.2); }
.stat.total { color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--border); }

/* Category tabs */
.cat-scroll { padding: 0 24px; overflow: hidden; }
.cat-tabs {
  display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0; height: 32px; padding: 0 16px;
  border-radius: 20px; border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted); font-size: 12.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap; display: flex; align-items: center;
  transition: all .18s; user-select: none;
}
.cat-tab:hover { background: rgba(255,255,255,.09); color: var(--text); border-color: rgba(255,255,255,.18); }
.cat-tab.active {
  background: var(--acc); color: #000; border-color: var(--acc);
  font-weight: 600; box-shadow: 0 0 16px rgba(255,0,0,.3);
}
.cat-tab.hl { outline: 2px solid var(--acc); outline-offset: 2px; }

/* Channel strip */
.strip-wrap {
  position: relative; overflow: hidden;
}
.strip-wrap::before,
.strip-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40px;
  z-index: 1; pointer-events: none;
}
.strip-wrap::before { left: 0; background: linear-gradient(to right,rgba(0,0,0,.9),transparent); }
.strip-wrap::after  { right: 0; background: linear-gradient(to left,rgba(0,0,0,.9),transparent); }

.strip {
  display: flex; gap: 10px; padding: 6px 28px 4px;
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }

/* Channel card */
.ch {
  flex-shrink: 0; width: 100px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  cursor: pointer; user-select: none;
  transition: transform .2s cubic-bezier(.16,1,.3,1);
}
.ch:hover { transform: translateY(-5px); }
.ch.focused { transform: translateY(-10px) scale(1.1); }
.ch.focused .ch-box {
  border-color: var(--acc);
  box-shadow: 0 0 0 2px var(--acc), 0 0 24px rgba(255,0,0,.4);
}
.ch.focused .ch-lbl { color: var(--acc); }
.ch.now .ch-box {
  border-color: var(--live);
  box-shadow: 0 0 0 2px var(--live), 0 0 20px rgba(0,230,118,.35);
}
.ch.now .ch-num { background: var(--live); color: #000; }

/* Card thumbnail */
.ch-box {
  width: 84px; height: 54px; border-radius: 11px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.ch-box img {
  width: 100%; height: 100%; object-fit: contain; padding: 6px;
  border-radius: 8px;
}
.ch-init {
  font-size: 14px; font-weight: 700; color: var(--dim);
  letter-spacing: .5px; text-align: center; padding: 6px;
  line-height: 1.2;
}
.ch-num {
  position: absolute; top: 4px; left: 5px;
  background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.12);
  color: var(--muted); font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 4px; line-height: 1.5;
  font-variant-numeric: tabular-nums; transition: all .15s;
}
.ch-dot {
  position: absolute; top: 5px; right: 5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 1px solid rgba(0,0,0,.4);
}
.ch-dot.live { background: var(--live); box-shadow: 0 0 5px rgba(0,230,118,.7); }
.ch-dot.dead { background: var(--dead); }

.ch-lbl {
  font-size: 10.5px; font-weight: 500; color: var(--muted);
  text-align: center; max-width: 92px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .18s;
}

/* Empty state */
.strip-empty {
  width: 100%; padding: 28px 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--dim);
}
.strip-empty svg { opacity: .3; }
.strip-empty p { font-size: 13px; }

/* Hints */
.hints {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; padding: 2px 24px 4px;
  font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,.2); letter-spacing: .8px; text-transform: uppercase;
}

.disclaimer-bar {
  font-size: 9.5px; color: rgba(255,255,255,.2);
  text-align: center; padding: 2px 28px 0;
  line-height: 1.5; letter-spacing: .2px;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width:640px) {
  .osd-top { padding: 14px 16px 0; gap: 10px; }
  .osd-brand span:last-child { display: none; }
  .osd-clock { font-size: 16px; }
  .osd-num { font-size: 18px; min-width: 30px; }
  .osd-chname { font-size: 13px; }
  .hints { display: none; }
  .stats-bar .stat.total { display: none; }
  .ch { width: 84px; }
  .ch-box { width: 72px; height: 46px; }
  .search-row { padding: 0 16px; }
  .cat-scroll { padding: 0 16px; }
  .strip { padding: 6px 20px 4px; }
  .osd-mid { gap: 20px; }
  .ctrl-btn { width: 44px; height: 44px; }
  .ctrl-play { width: 58px; height: 58px; }
}

/* ══ WORLD CUP 2026 BADGES ════════════════════ */
.ch.wc2026 .ch-box {
  border: 1.5px solid rgba(255, 210, 0, 0.7);
  box-shadow: 0 0 8px rgba(255,210,0,0.3);
}
.ch.wc2026 .ch-lbl {
  color: #ffd200;
}
.wc-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 12px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.8));
  pointer-events: none;
}
.ch-box {
  position: relative;
}

/* ══ VOLUME GESTURE BAR ══════════════════════════════════════ */
#volGestureBar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 44px;
  z-index: 30;
  display: flex; align-items: center; justify-content: center;
  pointer-events: all;
}
#volGestureBar::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 60px;
  border-radius: 0 3px 3px 0;
  background: rgba(255,255,255,0.10);
  transition: background .2s;
}
#volGestureBar.active::before {
  background: rgba(255,255,255,0.30);
}

#volHUD {
  position: fixed;
  left: 52px; top: 50%; transform: translateY(-50%);
  z-index: 31;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 14px 12px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  min-width: 44px;
}
#volHUD.show { opacity: 1; }
#volHUD svg { color: rgba(255,255,255,0.85); }
#volHUD .vol-track {
  width: 6px; height: 80px;
  background: rgba(255,255,255,0.12); border-radius: 3px;
  position: relative; overflow: hidden;
}
#volHUD .vol-fill {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--acc);
  border-radius: 3px;
  transition: height .08s linear;
}
#volHUD .vol-pct {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.7);
  letter-spacing: .5px; font-variant-numeric: tabular-nums;
}

/* ══ YOUTUBE-STYLE GLOWING T ICON ════════════════════════════ */

/* ── Launch screen big icon ── */
.launch-icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 110px !important;
  height: 80px !important;
}
.launch-yt-icon {
  position: relative;
  width: 108px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: yt-launch-pulse 2.4s ease-in-out infinite;
}
.launch-yt-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  filter: drop-shadow(0 0 12px #ff0000cc) drop-shadow(0 0 28px #ff000066);
}
.launch-yt-t {
  position: relative;
  z-index: 2;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -1px;
  text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 14px rgba(255,255,255,0.6),
    0 0 30px rgba(255,200,200,0.5);
  animation: yt-t-glow 2.4s ease-in-out infinite;
}
@keyframes yt-launch-pulse {
  0%,100% { filter: drop-shadow(0 0 18px #ff0000bb) drop-shadow(0 0 40px #ff000044); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 30px #ff0000ff) drop-shadow(0 0 60px #ff000077); transform: scale(1.04); }
}
@keyframes yt-t-glow {
  0%,100% { text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 14px rgba(255,255,255,.5); }
  50%      { text-shadow: 0 0 10px #fff, 0 0 24px rgba(255,220,220,.9), 0 0 44px rgba(255,180,180,.6); }
}

/* ── OSD top-bar small brand icon ── */
.brand-yt-wrap {
  position: relative;
  width: 34px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: yt-brand-pulse 2.6s ease-in-out infinite;
}
.brand-yt-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px #ff0000cc) drop-shadow(0 0 10px #ff000055);
}
.brand-yt-t {
  position: relative;
  z-index: 2;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0;
  text-shadow:
    0 0 4px rgba(255,255,255,.95),
    0 0 10px rgba(255,200,200,.7);
  animation: yt-t-glow 2.6s ease-in-out infinite;
}
@keyframes yt-brand-pulse {
  0%,100% { filter: drop-shadow(0 0 5px #ff0000bb) drop-shadow(0 0 14px #ff000033); }
  50%      { filter: drop-shadow(0 0 9px #ff0000ff) drop-shadow(0 0 22px #ff000066); }
}
