:root {
  --tv-bg: #070b12;
  --tv-panel: rgba(15, 22, 34, 0.94);
  --tv-panel-soft: rgba(21, 31, 47, 0.82);
  --tv-border: rgba(255, 255, 255, 0.12);
  --tv-text: #f5f8fb;
  --tv-muted: #aebac9;
  --tv-accent: #4fd1d9;
  --tv-accent-strong: #8af4f7;
  --tv-warm: #ff8a5c;
  --tv-focus: #ffe66d;
  --tv-safe-x: clamp(28px, 4vw, 76px);
  --tv-safe-y: clamp(20px, 3vh, 44px);
  color-scheme: dark;
}

html,
body.style-3 {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
}

body.style-3 {
  margin: 0;
  padding: 0;
  display: block;
  color: var(--tv-text);
  background:
    radial-gradient(70vw 70vh at 82% 12%, rgba(31, 106, 119, 0.2), transparent 70%),
    radial-gradient(52vw 70vh at 4% 100%, rgba(116, 55, 40, 0.18), transparent 72%),
    var(--tv-bg);
  font-family: "Manrope", system-ui, sans-serif;
}

body.style-3::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  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: 72px 72px;
}

.style-3 button,
.style-3 a {
  font: inherit;
}

.style-3 button,
.style-3 a,
.style-3 [tabindex] {
  outline: none;
}

.style-3 button:focus-visible,
.style-3 a:focus-visible,
.style-3 [tabindex]:focus-visible {
  outline: 5px solid var(--tv-focus);
  outline-offset: 4px;
  box-shadow: 0 0 0 9px rgba(255, 230, 109, 0.18), 0 18px 45px rgba(0, 0, 0, 0.38);
  transform: scale(1.025);
  z-index: 5;
}

.tv-skip-link {
  position: fixed;
  left: var(--tv-safe-x);
  top: -100px;
  z-index: 100;
  padding: 14px 22px;
  border-radius: 12px;
  color: #071016;
  background: var(--tv-focus);
  font-weight: 800;
}

.tv-skip-link:focus { top: var(--tv-safe-y); }

.tv-app {
  position: relative;
  z-index: 1;
  height: 100vh;
  padding: var(--tv-safe-y) var(--tv-safe-x);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(12px, 1.7vh, 22px);
}

.tv-header {
  min-height: clamp(54px, 7vh, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tv-brand,
.tv-header-status,
.tv-station-option,
.tv-station-copy,
.tv-news-ticker,
.tv-program-strip,
.tv-news-header,
.tv-news-header-actions,
.tv-news-footer,
.tv-news-detail-actions {
  display: flex;
  align-items: center;
}

.tv-brand { gap: 16px; }
.tv-brand img { width: clamp(48px, 4.6vw, 76px); height: clamp(48px, 4.6vw, 76px); object-fit: contain; }
.tv-brand > div { display: grid; gap: 1px; }
.tv-brand-name { font-family: "Space Grotesk", sans-serif; font-size: clamp(26px, 2.2vw, 40px); font-weight: 700; letter-spacing: .08em; }
.tv-brand-mode { color: var(--tv-accent); font-size: clamp(14px, 1.1vw, 19px); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.tv-header-status { gap: clamp(14px, 2vw, 30px); color: var(--tv-muted); font-size: clamp(17px, 1.25vw, 23px); }
.tv-live-indicator { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .1em; font-size: .82em; font-weight: 800; }
.tv-live-indicator > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5b5b; box-shadow: 0 0 18px rgba(255, 91, 91, .8); }
.tv-clock { min-width: 5ch; color: var(--tv-text); font-family: "Space Grotesk", sans-serif; font-size: 1.35em; font-weight: 700; }
.tv-home-link { padding: 12px 18px; border: 1px solid var(--tv-border); border-radius: 12px; color: var(--tv-text); background: rgba(255,255,255,.06); text-decoration: none; }

.tv-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(290px, 27vw) minmax(0, 1fr);
  gap: clamp(18px, 2.3vw, 38px);
}

.tv-stations,
.tv-player {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--tv-border);
  border-radius: clamp(20px, 2vw, 32px);
  background: var(--tv-panel);
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
}

.tv-stations {
  padding: clamp(12px, 1.35vw, 22px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.2vh, 16px);
}

.tv-stations h1 { margin: 0; font-size: clamp(20px, 1.45vw, 27px); letter-spacing: .01em; }
.tv-station-list { min-height: 0; display: grid; grid-template-rows: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1.15vh, 16px); }

.tv-station-option {
  position: relative;
  width: 100%;
  min-height: 0;
  gap: clamp(9px, .85vw, 14px);
  padding: clamp(5px, .55vw, 8px);
  border: 1px solid rgba(255,255,255,.055);
  border-radius: clamp(11px, 1vw, 16px);
  color: var(--tv-text);
  background: rgba(255,255,255,.035);
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.tv-station-option[aria-selected="true"] {
  border-color: rgba(79, 209, 217, .7);
  background: linear-gradient(90deg, rgba(79, 209, 217, .2), rgba(79, 209, 217, .06));
}

.tv-station-option[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tv-accent-strong);
  box-shadow: 0 0 14px rgba(79,209,217,.8);
}

.tv-station-logo {
  width: clamp(44px, 3.5vw, 58px);
  height: clamp(44px, 3.5vw, 58px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,.9);
}

.tv-station-logo img { width: 100%; height: 100%; object-fit: contain; }
.tv-station-option--radio101 .tv-station-logo { padding: 5px; background: #111820; }
.tv-station-copy { min-width: 0; flex: 1; align-items: flex-start; flex-direction: column; gap: 1px; }
.tv-station-copy strong { max-width: calc(100% - 18px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(16px, 1.08vw, 20px); }
.tv-station-copy span { width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tv-muted); font-size: clamp(11px, .76vw, 14px); }
.tv-remote-hint { margin: 0; color: var(--tv-muted); font-size: clamp(10px, .7vw, 13px); text-align: center; }

.tv-player { padding: clamp(18px, 2vw, 34px); overflow: hidden; }
.tv-active-slot { width: 100%; height: 100%; min-height: 0; }

.style-3 .tv-player-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(230px, 43%) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "cover header"
    "cover now"
    "cover controls";
  column-gap: clamp(22px, 2.5vw, 46px);
  row-gap: clamp(14px, 1.8vh, 26px);
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.style-3 .tv-player-card .header { grid-area: header; align-self: end; justify-content: flex-start; flex-wrap: wrap; gap: 12px 18px; }
.style-3 .tv-player-card .title-radio { width: 100%; color: var(--tv-text); font-size: clamp(36px, 3.7vw, 70px); line-height: 1; letter-spacing: -.035em; }
.tv-on-air { padding: 7px 12px; border-radius: 999px; color: #081216; background: var(--tv-accent); font-size: clamp(12px, .8vw, 15px); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.style-3 .tv-player-card .cover-wrap { grid-area: cover; width: 100%; align-self: center; }
.style-3 .tv-player-card .cover-image { width: 100%; max-height: 100%; aspect-ratio: 1; border-radius: clamp(18px, 2vw, 30px); object-fit: cover; background: #151d29; box-shadow: 0 26px 70px rgba(0,0,0,.42); }
.style-3 .tv-player-card[data-id="radio101"] .cover-image { object-fit: contain; padding: 6%; background: #111820; }

.style-3 .tv-player-card .now-playing { grid-area: now; min-height: 0; align-self: center; color: var(--tv-muted); }
.style-3 .tv-player-card .now-playing .text { margin: 0; display: grid; gap: 8px; }
.style-3 .tv-player-card .np-label { color: var(--tv-accent); font-size: clamp(15px, 1vw, 19px); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.style-3 .tv-player-card .np-track { color: var(--tv-text); font-size: clamp(25px, 2.4vw, 46px); line-height: 1.16; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.style-3 .tv-player-card .last-updated { margin-top: 12px; color: var(--tv-muted); font-size: clamp(12px, .8vw, 15px); }
.style-3 .tv-player-card .links { display: none; }

.style-3 .tv-controls {
  grid-area: controls;
  display: grid;
  grid-template-columns: repeat(5, minmax(64px, auto));
  gap: clamp(10px, 1vw, 17px);
  align-items: center;
}

.style-3 .play-button,
.style-3 .stop-button,
.tv-action-button,
.tv-volume-button {
  min-width: clamp(64px, 5vw, 88px);
  height: clamp(62px, 6.5vh, 86px);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: clamp(14px, 1.3vw, 20px);
  color: var(--tv-text);
  background: rgba(255,255,255,.085);
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}

.style-3 .play-button { color: #061316; background: var(--tv-accent); }
.style-3 .stop-button { color: #fff; background: rgba(255, 91, 91, .2); }
.tv-action-button { padding: 0 clamp(15px, 1.3vw, 24px); font-size: clamp(15px, 1.1vw, 21px); }
.tv-volume { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(100px, 1fr) auto auto; gap: 14px; align-items: center; }
.tv-volume .volume-slider { min-width: 0; height: 14px; accent-color: var(--tv-accent); pointer-events: none; }
.tv-volume-value { min-width: 4ch; color: var(--tv-muted); font-size: clamp(16px, 1.1vw, 20px); font-weight: 800; text-align: center; }
.tv-volume-button { min-width: clamp(54px, 4vw, 70px); height: clamp(50px, 5vh, 68px); }

.style-3 .tv-player-card .recent { display: none; }
.style-3 .tv-player-card.tv-recent-open .recent {
  position: absolute;
  z-index: 20;
  inset: 4%;
  display: block;
  margin: 0;
  padding: clamp(24px, 2.5vw, 44px);
  overflow: auto;
  border: 2px solid rgba(79,209,217,.35);
  border-radius: 24px;
  color: var(--tv-muted);
  background: rgba(7, 11, 18, .98);
  box-shadow: 0 35px 90px rgba(0,0,0,.65);
  font-size: clamp(18px, 1.35vw, 25px);
}
.style-3 .tv-player-card.tv-recent-open .recent::before { content: "Nedavno emitirano"; display: block; margin-bottom: 22px; color: var(--tv-text); font-size: 1.4em; font-weight: 800; }
.style-3 .tv-player-card.tv-recent-open .recent ul { display: grid; gap: 14px; }
.style-3 .tv-player-card.tv-recent-open .recent li { padding-bottom: 12px; border-bottom: 1px solid var(--tv-border); }
.style-3 .archive-open,
.style-3 .recent-filter { display: none; }

.tv-news-ticker {
  min-height: clamp(48px, 6vh, 68px);
  gap: clamp(14px, 1.5vw, 26px);
  padding: 0 clamp(16px, 1.7vw, 30px);
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  background: var(--tv-panel-soft);
  overflow: hidden;
}
.tv-news-ticker-label { flex: 0 0 auto; color: var(--tv-accent); font-size: clamp(13px, .9vw, 17px); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.tv-news-ticker-window { min-width: 0; flex: 1; overflow: hidden; }
.tv-news-ticker-window span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tv-text); font-size: clamp(16px, 1.2vw, 22px); font-weight: 700; }
.tv-news-ticker-window span.is-scrolling {
  width: max-content;
  min-width: 100%;
  padding-left: 100%;
  overflow: visible;
  text-overflow: clip;
  animation: tv-news-scroll var(--tv-news-scroll-duration, 45s) linear infinite;
  will-change: transform;
}
@keyframes tv-news-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
.tv-news-ticker-hint { flex: 0 0 auto; color: var(--tv-muted); font-size: clamp(12px, .8vw, 15px); }

.tv-program-strip {
  width: 100%;
  min-height: clamp(64px, 8vh, 88px);
  gap: clamp(14px, 1.5vw, 26px);
  padding: clamp(8px, 1vh, 13px) clamp(16px, 1.7vw, 30px);
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  color: var(--tv-text);
  background: linear-gradient(90deg, rgba(255,138,92,.11), rgba(21,31,47,.82));
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.tv-program-strip-label { flex: 0 0 auto; color: var(--tv-warm); font-size: clamp(13px, .9vw, 17px); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.tv-program-strip-list { min-width: 0; flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1vw, 18px); opacity: 1; transition: opacity .28s ease; }
.tv-program-strip.is-changing .tv-program-strip-list { opacity: 0; }
.tv-program-strip-item { min-width: 0; padding-left: clamp(9px, .8vw, 15px); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; border-left: 2px solid rgba(255,138,92,.45); }
.tv-program-strip-item strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tv-warm); font-size: clamp(11px, .78vw, 15px); }
.tv-program-strip-item > span { grid-column: 1 / -1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(13px, 1vw, 18px); font-weight: 700; }
.tv-program-strip-item time { grid-column: 2; grid-row: 1; color: var(--tv-muted); font-size: clamp(10px, .72vw, 14px); font-weight: 700; }
.tv-program-strip-loading { color: var(--tv-muted); font-weight: 700; }
.tv-program-strip-hint { flex: 0 0 auto; color: var(--tv-muted); font-size: clamp(12px, .8vw, 15px); }

.tv-program-layer {
  position: fixed;
  z-index: 55;
  inset: var(--tv-safe-y) var(--tv-safe-x);
  padding: clamp(22px, 2.4vw, 42px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(14px, 1.7vh, 24px);
  border: 1px solid var(--tv-border);
  border-radius: clamp(24px, 2.3vw, 38px);
  color: var(--tv-text);
  background: rgba(7, 11, 18, .99);
  box-shadow: 0 45px 120px rgba(0,0,0,.75);
  transition: opacity .18s ease, visibility .18s ease;
}
.tv-program-layer.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.tv-program-header, .tv-program-header-actions, .tv-program-footer { display: flex; align-items: center; }
.tv-program-header { justify-content: space-between; gap: 24px; }
.tv-program-header h2 { margin: 5px 0 0; font-size: clamp(34px, 3vw, 58px); }
.tv-program-header p { margin: 7px 0 0; color: var(--tv-muted); font-size: clamp(14px, 1vw, 19px); }
.tv-program-header-actions { gap: 14px; }
.tv-program-header-actions button, .tv-program-groups button {
  min-height: clamp(50px, 5.5vh, 70px);
  padding: 0 clamp(18px, 1.5vw, 28px);
  border: 1px solid var(--tv-border);
  border-radius: 14px;
  color: var(--tv-text);
  background: rgba(255,255,255,.08);
  font-size: clamp(14px, 1vw, 19px);
  font-weight: 800;
  cursor: pointer;
}
.tv-program-groups { min-width: 0; display: flex; gap: 12px; overflow-x: auto; padding: 5px; scrollbar-width: thin; }
.tv-program-groups button[aria-pressed="true"] { color: #17110e; border-color: var(--tv-warm); background: var(--tv-warm); }
.tv-program-grid { min-height: 0; overflow-y: auto; padding: 6px 12px 16px 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: clamp(14px, 1.5vw, 24px); scrollbar-color: var(--tv-warm) rgba(255,255,255,.08); }
.tv-program-channel { min-width: 0; padding: clamp(18px, 1.6vw, 28px); display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--tv-border); border-radius: 20px; color: var(--tv-text); background: var(--tv-panel-soft); text-align: left; cursor: pointer; }
.tv-program-channel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tv-program-channel-top strong { color: var(--tv-warm); font-size: clamp(17px, 1.25vw, 24px); }
.tv-program-channel-state { color: var(--tv-accent); font-size: clamp(11px, .72vw, 14px); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tv-program-channel-state.is-stale { color: var(--tv-focus); }
.tv-program-channel-title { font-size: clamp(21px, 1.6vw, 31px); line-height: 1.16; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-program-channel-time { color: var(--tv-muted); font-size: clamp(13px, .9vw, 17px); font-weight: 700; }
.tv-program-progress { height: 6px; margin-top: auto; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.tv-program-progress > span { height: 100%; display: block; border-radius: inherit; background: var(--tv-warm); }
.tv-program-next { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tv-muted); font-size: clamp(12px, .82vw, 16px); }
.tv-program-next b { margin-right: 6px; color: var(--tv-text); }
.tv-program-message { grid-column: 1 / -1; align-self: center; color: var(--tv-muted); font-size: clamp(20px, 1.5vw, 28px); text-align: center; }
.tv-program-footer { justify-content: space-between; gap: 24px; color: var(--tv-muted); font-size: clamp(12px, .85vw, 16px); }
.tv-program-layer.is-loading .tv-program-grid { opacity: .58; }

.tv-news-layer,
.tv-news-detail {
  position: fixed;
  z-index: 50;
  inset: var(--tv-safe-y) var(--tv-safe-x);
  padding: clamp(22px, 2.4vw, 42px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--tv-border);
  border-radius: clamp(24px, 2.3vw, 38px);
  color: var(--tv-text);
  background: rgba(7, 11, 18, .985);
  box-shadow: 0 45px 120px rgba(0,0,0,.75);
  transition: opacity .18s ease, visibility .18s ease;
}

.tv-news-layer.is-open,
.tv-news-detail.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.tv-news-layer { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: clamp(18px, 2vh, 28px); }
.tv-news-header { justify-content: space-between; gap: 24px; }
.tv-kicker { color: var(--tv-accent); font-size: clamp(13px, .9vw, 17px); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.tv-news-header h2 { margin: 5px 0 0; color: var(--tv-text); font-size: clamp(34px, 3vw, 58px); }
.tv-news-header p { margin: 7px 0 0; color: var(--tv-muted); font-size: clamp(14px, 1vw, 19px); }
.tv-news-header-actions { gap: 14px; }
.style-3 .news-tag,
.style-3 .news-refresh,
.tv-news-close,
.style-3 .news-more,
.tv-news-detail-actions a,
.tv-news-detail-actions button {
  min-height: clamp(54px, 6vh, 76px);
  padding: 0 clamp(18px, 1.6vw, 30px);
  border: 1px solid var(--tv-border);
  border-radius: 15px;
  color: var(--tv-text);
  background: rgba(255,255,255,.08);
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.style-3 .news-tag { display: none; }
.style-3 .news-refresh { color: var(--tv-accent-strong); }

.style-3 .tv-news-grid {
  min-height: 0;
  overflow-y: auto;
  padding: 6px 12px 16px 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(180px, 27vh, 290px), auto);
  gap: clamp(16px, 1.7vw, 28px);
  scrollbar-width: thin;
  scrollbar-color: var(--tv-accent) rgba(255,255,255,.08);
}

.style-3 .news-card { min-width: 0; border: 1px solid var(--tv-border); border-radius: 20px; overflow: hidden; background: var(--tv-panel-soft); }
.style-3 .news-card--feature { grid-column: auto; }
.style-3 .news-card-link { height: 100%; min-width: 0; display: grid; grid-template-columns: minmax(150px, 38%) minmax(0, 1fr); color: var(--tv-text); text-decoration: none; }
.style-3 .news-media { min-height: 100%; background: linear-gradient(135deg, var(--news-accent-soft, rgba(79,209,217,.16)), rgba(255,255,255,.025)), var(--news-image); background-size: cover; background-position: center; }
.style-3 .tv-news-layer:not(.is-open) .news-media { background-image: none !important; }
.style-3 .news-media-badge { display: none; }
.style-3 .news-card-body { min-width: 0; padding: clamp(16px, 1.5vw, 26px); display: flex; flex-direction: column; gap: 10px; }
.style-3 .news-card-top { display: flex; justify-content: space-between; gap: 12px; color: var(--tv-muted); font-size: clamp(12px, .78vw, 15px); }
.style-3 .news-source { color: var(--tv-accent); font-weight: 800; }
.style-3 .news-headline { margin: 0; color: var(--tv-text); font-size: clamp(19px, 1.45vw, 28px); line-height: 1.18; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.style-3 .news-summary { margin: 0; color: var(--tv-muted); font-size: clamp(13px, .9vw, 17px); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.style-3 .news-card-foot { margin-top: auto; display: flex; gap: 12px; align-items: center; color: var(--tv-muted); font-size: clamp(11px, .72vw, 14px); }
.style-3 .news-chip { color: var(--tv-accent); }
.style-3 .news-clicks { display: none; }
.style-3 .news-link { margin-left: auto; font-weight: 800; }
.style-3 .news-fallback { grid-column: 1 / -1; display: grid; place-content: center; text-align: center; color: var(--tv-muted); }
.style-3 .news-fallback h3 { margin: 0; color: var(--tv-text); font-size: clamp(24px, 2vw, 38px); }
.style-3 .news-section.is-loading .tv-news-grid { opacity: .7; }
.tv-news-footer { justify-content: space-between; gap: 24px; color: var(--tv-muted); font-size: clamp(13px, .9vw, 17px); }

.tv-news-detail { z-index: 60; display: grid; place-items: center; }
.tv-news-detail-card { width: min(1560px, 100%); display: grid; grid-template-columns: minmax(230px, 28vw) minmax(0, 1fr) auto; gap: clamp(28px, 3vw, 58px); align-items: center; }
.tv-news-detail-media { min-width: 0; }
.tv-news-detail-media img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; border-radius: 24px; box-shadow: 0 28px 70px rgba(0,0,0,.45); }
.tv-news-detail-copy { min-width: 0; }
.tv-news-detail-meta { color: var(--tv-accent); font-size: clamp(15px, 1.1vw, 21px); font-weight: 800; }
.tv-news-detail h2 { margin: 16px 0 22px; color: var(--tv-text); font-size: clamp(38px, 4vw, 76px); line-height: 1.04; }
.tv-news-detail p { max-width: 60ch; margin: 0; color: var(--tv-muted); font-size: clamp(20px, 1.55vw, 30px); line-height: 1.48; }
.tv-news-detail-actions { margin-top: clamp(28px, 3vh, 46px); gap: 18px; }
.tv-news-detail-actions a { display: inline-flex; align-items: center; color: #061316; background: var(--tv-accent); }
.tv-news-detail-qr { display: grid; justify-items: center; gap: 14px; color: var(--tv-muted); font-size: clamp(14px, 1vw, 18px); }
.tv-news-detail-qr img { width: clamp(210px, 18vw, 330px); aspect-ratio: 1; padding: 12px; border-radius: 20px; background: #fff; }

@media (max-width: 1180px), (max-height: 760px) {
  :root { --tv-safe-x: 28px; --tv-safe-y: 20px; }
  .tv-app { gap: 10px; }
  .tv-layout { grid-template-columns: minmax(260px, 30vw) minmax(0, 1fr); gap: 18px; }
  .tv-stations, .tv-player { border-radius: 20px; }
  .tv-stations { padding: 9px 11px; gap: 10px; }
  .tv-stations h1 { font-size: 18px; }
  .tv-station-list { gap: 7px; }
  .tv-station-option { gap: 8px; padding: 2px 5px; }
  .tv-station-logo { width: 34px; height: 34px; border-radius: 8px; }
  .tv-station-copy strong { font-size: 14px; }
  .tv-station-copy span { font-size: 10px; }
  .tv-remote-hint { font-size: 9px; }
  .style-3 .tv-player-card { grid-template-columns: minmax(190px, 38%) minmax(0, 1fr); column-gap: 22px; row-gap: 10px; }
  .style-3 .tv-player-card .title-radio { font-size: clamp(30px, 3.5vw, 48px); }
  .style-3 .tv-player-card .np-track { font-size: clamp(22px, 2.4vw, 34px); -webkit-line-clamp: 2; }
  .style-3 .play-button, .style-3 .stop-button, .tv-action-button { height: 58px; min-width: 58px; }
  .tv-volume-button { height: 46px; }
  .tv-news-ticker { min-height: 46px; }
  .tv-program-strip { min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
  .tv-program-strip-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-program-strip-item:nth-child(n+3) { display: none; }
  .tv-program-strip-hint { display: none; }
  .tv-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); }
  .style-3 .tv-news-grid { grid-auto-rows: minmax(190px, auto); }
  .tv-news-detail-card { grid-template-columns: minmax(0, 1fr) auto; }
  .tv-news-detail-media { display: none; }
}

@media (max-width: 850px) {
  html, body.style-3 { overflow: auto; height: auto; min-height: 100%; }
  .tv-app { min-height: 100vh; height: auto; grid-template-rows: auto auto auto auto; }
  .tv-layout { grid-template-columns: 1fr; }
  .tv-station-list { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-player { min-height: 620px; }
  .tv-news-ticker-hint { display: none; }
  .tv-news-layer, .tv-news-detail, .tv-program-layer { inset: 14px; }
  .tv-program-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .style-3 *, .style-3 *::before, .style-3 *::after { transition: none !important; animation: none !important; }
}
