@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #040912;
  --bg-glow: #0f2442;
  --panel: #0b1524;
  --panel-2: #122238;
  --line: rgba(180, 202, 226, 0.15);
  --gold: #f5b935;
  --gold-border: rgba(245, 185, 53, 0.48);
  --text: #f4f7fb;
  --muted: #94a7be;
  --blue: #1d66ed;
  --blue-light: #60a5fa;
  --red: #e63946;
  --green: #10b981;
  --amber: #f59e0b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% -10%, var(--bg-glow) 0%, var(--bg) 65%);
  color: var(--text);
  font-family: 'Hind Siliguri', 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

button, a {
  font: inherit;
  color: inherit;
}

/* ==================== ১. স্টিকি হেডার ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px clamp(14px, 4vw, 44px);
  background: rgba(4, 9, 18, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 185, 53, 0.24);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}

.brand-logo-wrap {
  width: 46px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6));
}

.crest-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1 {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy p {
  color: var(--gold);
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(230, 57, 70, 0.16);
  border: 1px solid rgba(230, 57, 70, 0.42);
  border-radius: 999px;
  color: #ff7585;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-live.is-onair {
  background: rgba(29, 102, 237, 0.18);
  border-color: rgba(96, 165, 250, 0.42);
  color: #93c5fd;
}

.header-live.is-onair .pulse-dot {
  background: var(--blue-light);
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.22);
}

.header-live.is-offline {
  background: rgba(148, 167, 190, 0.12);
  border-color: rgba(148, 167, 190, 0.3);
  color: var(--muted);
}

.header-live.is-offline .pulse-dot {
  background: var(--muted);
  box-shadow: none;
  animation: none;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.25);
  animation: pulse 1.5s infinite;
}

/* ==================== ২. সমন্বিত টিভি ফ্রেম ও ফুলস্ক্রিন ফিক্স ==================== */
.page-wrap {
  width: min(1040px, 100% - 24px);
  margin: 14px auto 24px;
  flex: 1;
}

.player-section {
  width: 100%;
}

.player-frame {
  width: 100%;
  background: #000;
  border: 1.5px solid rgba(245, 185, 53, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.7), 0 0 35px rgba(29, 102, 237, 0.14);
  user-select: none;
  -webkit-user-select: none;
}

.tv-unit {
  container-type: inline-size;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #040912;
}

.player-frame:fullscreen,
.player-frame:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  border: none;
  border-radius: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-frame:fullscreen .tv-unit,
.player-frame:-webkit-full-screen .tv-unit {
  width: 100vw;
  height: 100vh;
  max-width: 177.78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player-frame:fullscreen .video-stage,
.player-frame:-webkit-full-screen .video-stage {
  flex: 1;
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

#liveVideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.embed-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: #000;
  overflow: hidden;
  pointer-events: none;
}

.embed-container.allow-interaction {
  pointer-events: auto;
}

.embed-scale-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.embed-container iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block;
}

.touch-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  background: transparent;
}

/* ==================== ৩. ফিক্সড কোণার ব্রডকাস্ট প্লেট (কোনো লেখা কাটবে না) ==================== */

.broadcast-top-left {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  width: 23cqw;
  max-width: 210px;
  min-width: 135px;
  padding: 0.8cqw 1.1cqw;
  background: linear-gradient(135deg, #040b17 0%, #0d2244 92%);
  border-right: 1.5px solid var(--gold-border);
  border-bottom: 1.5px solid var(--gold-border);
  border-bottom-right-radius: 1.1cqw;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.3cqw;
}

.tl-main-row {
  display: flex;
  align-items: center;
  gap: 0.5cqw;
}

.tl-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4cqw;
  padding: 0.18cqw 0.6cqw;
  border-radius: 0.35cqw;
  background: var(--red);
  color: #fff;
  font-size: clamp(0.5rem, 1.25cqw, 0.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.tl-live-pill.is-recorded {
  background: var(--blue);
}

.tl-live-pill .pulse-dot {
  width: 0.55cqw;
  height: 0.55cqw;
  background: #fff;
  box-shadow: none;
}

.tl-mode-pill {
  padding: 0.15cqw 0.55cqw;
  border-radius: 0.35cqw;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--gold);
  font-size: clamp(0.48rem, 1.15cqw, 0.7rem);
  font-weight: 700;
  line-height: 1.2;
}

.tl-sub-bar {
  color: #ffffff;
  font-size: clamp(0.5rem, 1.18cqw, 0.74rem);
  font-weight: 700;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.2cqw;
  line-height: 1.2;
}

.tl-date-bar {
  color: var(--gold);
  font-size: clamp(0.46rem, 1.05cqw, 0.68rem);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.15;
}

/* ডান কোণার লোগো প্লেট ও লাইভ ঘড়ি (ফন্ট সাইজ ও ফ্লেক্স নিখুঁত করা হয়েছে) */
.broadcast-top-right {
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  width: 24cqw;
  max-width: 220px;
  min-width: 140px;
  padding: 0.75cqw 1.1cqw 0.65cqw;
  background: linear-gradient(225deg, #040b17 0%, #0d2244 94%);
  border-left: 1.5px solid var(--gold-border);
  border-bottom: 1.5px solid var(--gold-border);
  border-bottom-left-radius: 1.1cqw;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.4cqw;
}

.tr-badge-box {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
}

.tr-crest-svg {
  width: 3.8cqw;
  height: 4cqw;
  min-width: 24px;
  min-height: 25px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.tr-badge-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.12;
}

.tr-badge-text strong {
  color: #fff;
  font-size: clamp(0.56rem, 1.4cqw, 0.88rem);
  font-weight: 700;
  white-space: nowrap;
}

.tr-badge-text span {
  color: var(--gold);
  font-size: clamp(0.42rem, 0.95cqw, 0.62rem);
  font-weight: 800;
  letter-spacing: 0.03cqw;
  white-space: nowrap;
}

.tr-clock-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45cqw;
  padding: 0.2cqw 0.5cqw;
  border-radius: 0.35cqw;
  background: rgba(3, 8, 18, 0.82);
  border: 1px solid rgba(245, 185, 53, 0.38);
  line-height: 1.15;
}

.clock-dot {
  width: 0.5cqw;
  height: 0.5cqw;
  min-width: 5px;
  min-height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
  animation: pulse 1.2s infinite;
}

.clock-label {
  color: #93c5fd;
  font-size: clamp(0.44rem, 0.98cqw, 0.64rem);
  font-weight: 700;
}

#liveClockTopRight {
  color: #ffffff;
  font-size: clamp(0.48rem, 1.08cqw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.02cqw;
  white-space: nowrap;
}

/* ==================== ৪. ভিডিওর নিচে সংযুক্ত ব্রডকাস্ট ডেক ==================== */
.broadcast-lower-deck {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #040a14;
  border-top: 1.5px solid var(--gold-border);
  flex-shrink: 0;
}

.in-player-ticker {
  height: clamp(26px, 4.2cqw, 36px);
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, #091931 0%, #0d2547 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.ipt-brand-shield {
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 clamp(8px, 1.5cqw, 14px);
  background: linear-gradient(135deg, #1d66ed, #103c96);
  border-right: 1.5px solid var(--gold);
  color: #fff;
  font-size: clamp(0.64rem, 1.55cqw, 0.84rem);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.45);
}

.ipt-crest {
  width: clamp(15px, 2.4cqw, 22px);
  height: clamp(16px, 2.5cqw, 24px);
  flex-shrink: 0;
}

.ipt-window {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ipt-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding-left: 12px;
  color: #f8fafc;
  font-size: clamp(0.68rem, 1.65cqw, 0.88rem);
  font-weight: 600;
  animation: seamlessTicker 28s linear infinite;
}

.ipt-track .sep {
  padding: 0 14px;
  color: var(--gold);
  font-weight: 800;
}

.in-player-ticker:hover .ipt-track {
  animation-play-state: paused;
}

.ipt-time-box {
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 clamp(8px, 1.5cqw, 14px);
  background: linear-gradient(135deg, #061224, #0a1e3c);
  border-left: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: clamp(0.64rem, 1.5cqw, 0.82rem);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.45);
}

.ipt-time-Dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1s infinite;
}

.player-controls {
  height: clamp(32px, 4.8cqw, 42px);
  padding: 0 clamp(8px, 1.8cqw, 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #040912;
}

.control-main,
.control-extra {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4cqw, 12px);
}

.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 3.8cqw, 32px);
  height: clamp(26px, 3.8cqw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.control-btn:hover {
  background: var(--blue);
  border-color: var(--gold);
}

.control-btn svg {
  width: clamp(14px, 2.2cqw, 18px);
  height: clamp(14px, 2.2cqw, 18px);
  fill: currentColor;
  display: block;
}

#playButton .icon-pause { display: none; }
#playButton.is-playing .icon-play { display: none; }
#playButton.is-playing .icon-pause { display: block; }

#muteButton .icon-unmuted { display: none; }
#muteButton.is-unmuted .icon-muted { display: none; }
#muteButton.is-unmuted .icon-unmuted { display: block; }

.control-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(0.62rem, 1.45cqw, 0.76rem);
  font-weight: 800;
  color: #ff7585;
}

.control-live.is-onair {
  color: #93c5fd;
}

.control-live.is-onair .pulse-dot {
  background: var(--blue-light);
  box-shadow: none;
}

.control-live .pulse-dot {
  width: 6px;
  height: 6px;
}

.control-center-brand {
  color: var(--gold);
  font-size: clamp(0.6rem, 1.45cqw, 0.78rem);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quality-badge {
  padding: 2px 6px;
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  font: 800 clamp(0.55rem, 1.3cqw, 0.66rem)/1 'Segoe UI', sans-serif;
  background: rgba(245, 185, 53, 0.12);
  color: var(--gold);
}

/* ==================== ৫. ভাসমান সাউন্ড বাটন ও পর্দা ==================== */
.unmute-prompt {
  position: absolute;
  z-index: 7;
  bottom: 2.2cqw;
  right: 1.8cqw;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  background: rgba(5, 13, 26, 0.94);
  color: #fff;
  font-size: clamp(0.62rem, 1.5cqw, 0.8rem);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
}

.unmute-prompt:hover {
  background: var(--blue);
}

.unmute-prompt svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.player-message {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  background: radial-gradient(circle at center, rgba(15, 36, 66, 0.98) 0%, rgba(4, 9, 18, 1) 100%);
  text-align: center;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.player-message.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.overlay-crest {
  width: clamp(40px, 8.5cqw, 70px);
  height: clamp(42px, 9cqw, 74px);
  margin-bottom: 2px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.player-message strong {
  font-size: clamp(0.88rem, 2.1cqw, 1.2rem);
  color: #fff;
}

.player-message span {
  color: var(--muted);
  font-size: clamp(0.7rem, 1.6cqw, 0.88rem);
  max-width: 380px;
}

.message-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.pause-play-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(29, 102, 237, 0.5);
}

.pause-play-circle svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 2px;
}

.retry-button {
  margin-top: 6px;
  padding: 6px 15px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==================== ৬. স্ট্যাটাস বার ও কার্ড ==================== */
.stream-meta-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 0 2px;
}

.stream-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 0;
}

.stream-status #statusText {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--amber);
}

.stream-status.is-live .status-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.stream-status.is-error .status-dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
}

.source-info-wrap {
  position: relative;
  flex-shrink: 0;
}

.source-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.source-info-btn:hover {
  border-color: var(--gold-border);
  color: #fff;
}

.source-info-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--blue-light);
}

.source-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 35;
  width: min(290px, 88vw);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--gold-border);
  background: rgba(8, 16, 29, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  font-size: 0.82rem;
}

.popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
}

.popover-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.popover-body p {
  margin-bottom: 4px;
  color: var(--muted);
}

.popover-body p strong {
  color: #fff;
}

.popover-note {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 0.75rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

.info-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(11, 21, 36, 0.96), rgba(18, 34, 56, 0.9));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(29, 102, 237, 0.16);
  border: 1px solid var(--gold-border);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.card-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.card-kicker {
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 600;
}

.info-card h2 {
  font-size: 1.12rem;
  font-weight: 700;
}

.info-card > p {
  color: #b8c7da;
  font-size: 0.9rem;
  line-height: 1.72;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(4, 9, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  font-size: 0.86rem;
}

.contact-item:hover {
  border-color: var(--gold-border);
  background: rgba(29, 102, 237, 0.12);
}

.contact-label {
  color: var(--muted);
}

.contact-val {
  color: #e2edfb;
  font-weight: 600;
  overflow-wrap: anywhere;
}

footer {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 18, 0.9);
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-separator {
  color: var(--gold);
}

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

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

@keyframes seamlessTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .site-header {
    padding: 8px 12px;
  }

  .brand-logo-wrap {
    width: 38px;
    height: 40px;
  }

  .header-live {
    padding: 5px 10px;
    font-size: 0.68rem;
  }

  .page-wrap {
    width: calc(100% - 18px);
    margin: 10px auto 18px;
  }

  .control-center-brand {
    display: none;
  }

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

/* ==================== মোবাইল ও পেজ লেআউট স্থিতিশীলতা ==================== */
body {
  min-height: 100svh;
}
.page-wrap {
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .page-wrap {
    width: calc(100% - 12px);
    margin: 8px auto 16px;
  }
  .player-frame {
    border-radius: 8px;
  }
  .info-grid {
    gap: 10px;
  }
}


/* ================================================================
   HUMAN RIGHTS TV — PREMIUM EDITORIAL REDESIGN 2026
   Fresh visual system: midnight navy, emerald, ivory and restrained gold.
   Existing player IDs and JavaScript hooks remain unchanged.
   ================================================================ */
:root{--bg:#050a12;--bg-glow:#112a35;--panel:#0b1520;--panel-2:#101f2d;--line:rgba(189,213,218,.14);--gold:#e8bd68;--gold-border:rgba(232,189,104,.4);--text:#f4f5f2;--muted:#a6b4bd;--blue:#0e766e;--blue-light:#5de0c2;--green:#27c49a}
body{background:#050a12;background-image:radial-gradient(ellipse at 8% 0%,rgba(14,118,110,.16),transparent 34%),radial-gradient(ellipse at 92% 18%,rgba(192,145,62,.08),transparent 26%),linear-gradient(180deg,#070d16 0%,#050a12 58%,#08111b 100%)}
.site-header{padding:13px clamp(16px,4vw,56px);background:rgba(5,10,18,.92);border-bottom:1px solid rgba(232,189,104,.28);box-shadow:0 10px 40px #0005}
.brand-logo-wrap{width:52px;height:54px}.brand-copy h1{letter-spacing:-.35px}.brand-copy p{color:#e8bd68;letter-spacing:.25px}.header-live{background:rgba(39,196,154,.1);border-color:rgba(39,196,154,.34);color:#73e5c6}.header-live.is-onair .pulse-dot{background:#46d8b1;box-shadow:0 0 0 4px #27c49a25}
.page-wrap{width:min(1120px,100% - 32px);margin:24px auto 42px}
.channel-hero{position:relative;isolation:isolate;min-height:360px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);align-items:center;overflow:hidden;padding:clamp(26px,5vw,58px) clamp(22px,5vw,58px) 58px;margin:4px 0 27px;border:1px solid rgba(232,189,104,.25);border-radius:22px;background:linear-gradient(118deg,rgba(13,29,39,.98) 0%,rgba(7,17,27,.98) 54%,rgba(8,31,35,.96) 100%);box-shadow:0 24px 70px #0004,inset 0 1px #ffffff0a}
.channel-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 0 58%,rgba(18,114,103,.1)),repeating-linear-gradient(135deg,transparent 0 39px,rgba(255,255,255,.018) 40px,transparent 41px 80px);pointer-events:none}
.hero-copy{position:relative;z-index:2;max-width:620px}.hero-eyebrow{display:flex;align-items:center;gap:9px;color:#9bd8c9;font:700 10px/1.5 system-ui,sans-serif;letter-spacing:1.7px}.hero-live-dot{width:7px;height:7px;border-radius:50%;background:#38d6a6;box-shadow:0 0 0 5px #38d6a61b}.hero-overline{margin-top:26px;color:#e8bd68;font-size:14px;font-weight:600;letter-spacing:.5px}.hero-copy h2{margin-top:8px;font-size:clamp(2rem,5vw,3.6rem);line-height:1.2;letter-spacing:-1.1px;font-weight:700;color:#f5f5ef}.hero-copy h2 span{color:#83d7c0}.hero-copy h2 em{font-style:normal;color:#e8bd68}.hero-description{max-width:530px;margin-top:16px;color:#aebdc5;font-size:clamp(.9rem,1.6vw,1.02rem);line-height:1.9}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}.hero-actions a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 17px;border-radius:10px;font-size:.9rem;font-weight:700;transition:transform .2s,background .2s}.hero-actions a:hover{transform:translateY(-2px)}.hero-primary{color:#061410!important;background:linear-gradient(135deg,#f2d38e,#d7a94f);box-shadow:0 8px 24px #d7a94f24}.hero-play{font-size:.8rem}.hero-secondary{border:1px solid #ffffff25;color:#e5ece9!important;background:#ffffff05}.hero-secondary span{color:#e8bd68}.hero-values{display:flex;align-items:center;gap:15px;margin-top:29px;color:#d8e0dd;font-size:.82rem}.hero-values b{color:#e8bd68;font:700 .67rem system-ui,sans-serif;margin-right:5px}.hero-values i{width:3px;height:3px;border-radius:50%;background:#66857f}
.hero-art{position:relative;display:grid;place-items:center;min-height:260px;align-self:stretch}.art-glow{position:absolute;width:210px;height:210px;border-radius:50%;background:#0c89752a;filter:blur(30px)}.art-ring{position:absolute;aspect-ratio:1;border:1px solid rgba(232,189,104,.26);border-radius:50%;transform:rotate(-25deg)}.ring-a{width:245px;border-style:dashed;animation:orbitSpin 48s linear infinite}.ring-b{width:190px;border-color:#65d6bc35;border-width:1px;box-shadow:0 0 45px #1ca88a0a,inset 0 0 35px #1ca88a0a}.hero-emblem{position:relative;width:clamp(130px,17vw,180px);height:auto;filter:drop-shadow(0 16px 25px #0008)}.art-orbit-label{position:absolute;font:700 9px system-ui,sans-serif;letter-spacing:2px;color:#d8c18b}.label-top{top:23px;right:6%}.label-bottom{bottom:26px;left:2%}.art-side-line{position:absolute;right:0;top:18%;height:64%;width:1px;background:linear-gradient(transparent,#e8bd6860,transparent)}.hero-bottom-line{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;border-top:1px solid #ffffff12;background:#02070c45;color:#81969c;font-size:.72rem}.hero-bottom-line span:first-child{color:#e8bd68;font-weight:700}.hero-bottom-line b{color:#8be0c7;margin-left:5px}.orbit-one,.orbit-two{position:absolute;border:1px solid #ffffff06;border-radius:50%;pointer-events:none}.orbit-one{width:380px;height:380px;right:-160px;top:-220px}.orbit-two{width:270px;height:270px;left:-200px;bottom:-180px}
@keyframes orbitSpin{to{transform:rotate(335deg)}}
.section-kicker{display:flex;align-items:center;gap:11px;margin:0 0 13px;padding:0 4px;color:#e8eee9;font-weight:700;font-size:.95rem}.kicker-index{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d4ad5c66;border-radius:8px;color:#e8bd68;font:700 .72rem system-ui,sans-serif;background:#e8bd680b}.section-kicker>i{height:1px;flex:1;background:linear-gradient(90deg,#d2ad5b5c,transparent)}.kicker-note{font-size:.75rem;font-weight:400;color:#81939e}
.player-frame{border:1px solid rgba(232,189,104,.44)!important;border-radius:16px!important;box-shadow:0 22px 60px #0008,0 0 0 5px #ffffff03!important;overflow:hidden}.tv-unit{border-radius:15px!important}.video-stage{background:radial-gradient(circle at 50% 45%,#112b34,#020509 70%)!important}.broadcast-top-left,.broadcast-top-right{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.broadcast-top-left{border-color:#d8b45e66!important;background:linear-gradient(130deg,#071525f2,#0b1727e8)!important;border-radius:0 0 10px 0!important}.broadcast-top-right{border-color:#d8b45e66!important;background:#07111deF!important;border-radius:0 0 0 10px!important}.ipt-brand-shield{background:linear-gradient(120deg,#0e625c,#124e51)!important;border-right:1px solid #e8bd6870!important}.in-player-ticker{border-top:1px solid #e8bd6845!important;background:#07111c!important}.ipt-time-box{background:#0a1b27!important;color:#e8bd68!important}.player-controls{background:#050d17!important;border-top:1px solid #ffffff10!important}.control-btn{border-color:#ffffff24!important;background:#122131!important}.control-btn:hover{border-color:#e8bd68!important;background:#19302f!important}.quality-badge{border-color:#d3ad5a88!important;color:#f1d48f!important}.stream-meta-bar{padding:12px 4px 18px!important}.stream-status{color:#c1d0d1!important}.source-info-btn{border-color:#ffffff20!important;background:#0e1b2a!important;border-radius:10px!important}.source-info-btn:hover{border-color:#e8bd6877!important}
.info-grid{gap:16px!important;margin-top:8px!important}.info-card{position:relative;overflow:hidden;padding:clamp(20px,3.5vw,32px)!important;border:1px solid rgba(168,200,205,.15)!important;border-radius:17px!important;background:linear-gradient(145deg,rgba(16,31,45,.96),rgba(9,19,30,.96))!important;box-shadow:0 18px 45px #0002,inset 0 1px #ffffff07!important}.info-card:after{content:"";position:absolute;right:-45px;top:-55px;width:145px;height:145px;border:1px solid #e8bd6815;border-radius:50%;box-shadow:0 0 0 17px #e8bd6805,0 0 0 35px #e8bd6803;pointer-events:none}.card-icon{border:1px solid #e8bd6866!important;border-radius:13px!important;background:linear-gradient(145deg,#1c3b3a,#12232d)!important;box-shadow:inset 0 1px #ffffff0b}.card-icon svg{fill:#e8bd68!important}.card-kicker{color:#80d5bd!important;letter-spacing:.3px}.info-card h2{font-size:clamp(1.25rem,2.5vw,1.65rem)!important;letter-spacing:-.3px}.info-card>p{color:#afbdc6!important;line-height:2!important;font-size:1rem!important}.contact-item{border:1px solid #ffffff0c!important;border-radius:11px!important;background:#06101b!important;transition:border-color .2s,transform .2s}.contact-item:hover{border-color:#e8bd6855!important;transform:translateY(-1px)}.contact-label{color:#91a4ae!important}.contact-val{overflow-wrap:anywhere}.info-kicker{margin-top:28px}.footer-inner{border-top:1px solid #e8bd6826!important;color:#85979f!important;padding:20px 12px!important}
@media(max-width:700px){.page-wrap{width:calc(100% - 20px);margin:13px auto 28px}.channel-hero{grid-template-columns:1fr;min-height:0;padding:25px 20px 56px;border-radius:17px;margin-bottom:21px}.hero-copy{max-width:none}.hero-eyebrow{font-size:8px;letter-spacing:1.1px}.hero-overline{margin-top:20px;font-size:13px}.hero-copy h2{font-size:clamp(2rem,9vw,2.75rem);letter-spacing:-.7px}.hero-description{font-size:.9rem;line-height:1.8;margin-top:12px}.hero-actions{margin-top:19px;gap:9px}.hero-actions a{padding:10px 12px;font-size:.82rem}.hero-values{margin-top:20px;gap:10px;font-size:.75rem}.hero-art{position:absolute;right:-58px;top:12px;width:185px;min-height:185px;opacity:.22;pointer-events:none}.hero-emblem{width:115px}.ring-a{width:170px}.ring-b{width:135px}.art-orbit-label,.art-side-line{display:none}.hero-bottom-line{padding:10px 13px;font-size:.62rem}.hero-bottom-line span:nth-child(2){display:none}.section-kicker{font-size:.86rem;margin-bottom:10px}.kicker-note{font-size:.68rem}.player-frame{border-radius:11px!important}.stream-meta-bar{gap:10px}.info-grid{grid-template-columns:1fr!important;gap:13px!important}.info-card{padding:21px!important;border-radius:15px!important}.info-card>p{font-size:.94rem!important}.info-kicker{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.ring-a{animation:none!important}.hero-actions a,.contact-item{transition:none!important}}


/* PREMIUM BROADCAST REFINEMENT — cleaner channel bug, larger readable ticker */
.broadcast-top-left {
  padding: clamp(5px, 0.8cqw, 9px) clamp(7px, 1.1cqw, 12px) !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 38% !important;
  border-radius: 0 0 9px 0 !important;
  background: rgba(3, 10, 20, 0.84) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.broadcast-top-left .tl-main-row { gap: 5px !important; }
.broadcast-top-left .tl-live-pill { font-size: clamp(10px, 1.25cqw, 14px) !important; }
.broadcast-top-left .tl-mode-pill { font-size: clamp(9px, 1.05cqw, 12px) !important; }
.broadcast-top-right {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 5px !important;
  background: rgba(3, 10, 20, 0.48) !important;
  border: 0 !important;
  border-radius: 0 0 0 8px !important;
  box-shadow: none !important;
  opacity: .88;
}
.tr-badge-box { gap: 0 !important; }
.tr-crest-svg { width: clamp(24px, 4cqw, 42px) !important; height: clamp(25px, 4.2cqw, 44px) !important; }
.in-player-ticker {
  height: clamp(44px, 6.2cqw, 58px) !important;
  min-height: 44px;
  background: #07111e !important;
}
.ipt-brand-shield {
  padding: 0 clamp(10px, 1.7cqw, 18px) !important;
  gap: 7px !important;
  background: linear-gradient(135deg, #bd2029, #80151c) !important;
  border-right: 2px solid #efc86a !important;
  font-size: clamp(13px, 1.85cqw, 18px) !important;
  letter-spacing: .01em;
}
.ipt-crest { display: none !important; }
.ipt-track {
  font-size: clamp(15px, 2.15cqw, 21px) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  animation-duration: 48s !important;
  padding-left: 18px !important;
}
.ipt-track .sep { padding: 0 22px !important; color: #efc86a !important; }
.ipt-time-box {
  padding: 0 clamp(9px, 1.6cqw, 16px) !important;
  gap: 7px !important;
  font-size: clamp(12px, 1.65cqw, 16px) !important;
  background: #091523 !important;
  border-left: 1px solid rgba(239, 200, 106, .5) !important;
}
@media (max-width: 520px) {
  .broadcast-top-left { max-width: 34% !important; }
  .broadcast-top-left .tl-mode-pill { display: none !important; }
  .tr-crest-svg { width: 26px !important; height: 28px !important; }
  .ipt-brand-shield { padding: 0 9px !important; font-size: 13px !important; }
  .ipt-track { font-size: 15px !important; animation-duration: 54s !important; }
  .ipt-track .sep { padding: 0 16px !important; }
  .ipt-time-box { padding: 0 8px !important; font-size: 12px !important; }
}
