/* King — tema de Radio Télé King (periódico digital + radio y TV en vivo). Tokens sobre las variables --w-* de Webs. */
:root {
  --kx-blue: var(--w-primary, #0a52b8);
  --kx-orange: var(--w-accent, #ed8202);
  --kx-purple: #6e128e;
  --kx-ink: var(--w-text, #141a2b);
  --kx-muted: var(--w-muted, #5d6579);
  --kx-line: var(--w-border, #e4e8f1);
  --kx-soft: var(--w-surface, #f4f6fb);
  --kx-bg: var(--w-bg, #fff);
  --kx-red: #e5262b;
  --kx-grad: linear-gradient(120deg, #004fb8 0%, #273ba6 45%, #4a299b 75%, #691a92 100%);
  --kx-grad-dark: linear-gradient(120deg, #0b1d4d 0%, #1d1a5c 55%, #3a1257 100%);
  --kx-r: var(--w-radius, 14px);
  --kx-r-sm: calc(var(--kx-r) * .6);
  --kx-shadow: 0 1px 2px rgba(16, 24, 48, .06), 0 8px 24px -12px rgba(16, 24, 48, .18);
  --kx-shadow-lg: 0 24px 60px -20px rgba(16, 24, 48, .35);
  --kx-head: var(--w-font-heading, "Montserrat", system-ui, sans-serif);
  --kx-body: var(--w-font-body, "Inter", system-ui, sans-serif);
  --kx-max: var(--w-container, 1240px);
  --kx-player-h: 76px;
  --kx-tab-h: 0px;
  --kx-safe-b: env(safe-area-inset-bottom, 0px);
  --kx-header-h: 74px;
}
@media (max-width: 899px) {
  :root { --kx-player-h: 64px; --kx-tab-h: calc(60px + var(--kx-safe-b)); --kx-header-h: 58px; }
}

/* ── Base ── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.theme-king { margin: 0; background: var(--kx-bg); color: var(--kx-ink); font-family: var(--kx-body); font-size: var(--w-font-size, 16px); line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.theme-king { padding-bottom: calc(var(--kx-tab-h)); }
body.theme-king.kx-has-player { padding-bottom: calc(var(--kx-player-h) + var(--kx-tab-h)); }
.theme-king h1, .theme-king h2, .theme-king h3, .theme-king h4 { font-family: var(--kx-head); color: var(--kx-ink); letter-spacing: -.015em; line-height: 1.18; }
.theme-king a { color: inherit; text-decoration: none; }
.theme-king img { max-width: 100%; display: block; }
.theme-king :where(button) { font: inherit; color: inherit; }
.kx-container { width: 100%; max-width: var(--kx-max); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.kx-flex { flex: 1 1 auto; }
.kx-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 8px; }
.kx-skip:focus { left: 8px; }
.kx-main { min-height: 50vh; padding-bottom: 48px; }
.theme-king :focus-visible { outline: 2px solid var(--kx-blue); outline-offset: 2px; }
.kx-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--kx-grad); z-index: 1000; opacity: 0; transition: width .3s ease, opacity .3s; }
.kx-loading .kx-progress { opacity: 1; width: 70%; transition: width 8s cubic-bezier(.1, .7, .2, 1); }
.kx-main { transition: opacity .18s ease; }
.kx-loading .kx-main { opacity: .55; }

/* ── Botones comunes ── */
.kx-icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; font-size: 21px; color: var(--kx-ink); transition: background .15s; }
.kx-icon-btn:hover { background: var(--kx-soft); }
.kx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.kx-btn:active { transform: scale(.97); }
.kx-btn-primary { background: var(--kx-blue); color: #fff; box-shadow: 0 8px 20px -10px var(--kx-blue); }
.kx-btn-primary:hover { background: #0846a0; }
.kx-btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.kx-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.kx-badge-live { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--kx-body); letter-spacing: .08em; color: var(--kx-red); text-transform: uppercase; white-space: nowrap; }
.kx-badge-live.is-light { color: #fff; background: rgba(255, 255, 255, .14); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.kx-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kx-red); box-shadow: 0 0 0 0 rgba(229, 38, 43, .6); animation: kx-pulse 1.6s infinite; flex: none; }
.is-light .kx-live-dot { background: #ff4d52; }
@keyframes kx-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 38, 43, .55); } 70% { box-shadow: 0 0 0 8px rgba(229, 38, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 38, 43, 0); } }

/* Ecualizador (animado solo cuando la radio suena) */
.kx-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.kx-eq i { width: 3px; height: 30%; background: currentColor; border-radius: 2px; }
.kx-radio-playing .kx-eq i { animation: kx-eq 1s ease-in-out infinite; }
.kx-radio-playing .kx-eq i:nth-child(2) { animation-delay: -.4s; }
.kx-radio-playing .kx-eq i:nth-child(3) { animation-delay: -.2s; }
.kx-radio-playing .kx-eq i:nth-child(4) { animation-delay: -.7s; }
@keyframes kx-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* Botón de play redondo (radio). Iconos según el estado global en <html>. */
.kx-play { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--kx-grad); font-size: 20px; box-shadow: 0 10px 24px -10px rgba(58, 52, 161, .9); transition: transform .15s; }
.kx-play:hover { transform: scale(1.05); }
.kx-play:active { transform: scale(.94); }
.kx-play-xl { width: 76px; height: 76px; font-size: 30px; }
.kx-play.is-light { background: #fff; color: #273ba6; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.kx-play .kx-i-pause, .kx-radio-playing .kx-play .kx-i-play { display: none; }
.kx-radio-playing .kx-play .kx-i-pause { display: inline-block; }
.kx-spin { position: absolute; inset: -4px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--kx-orange); opacity: 0; }
.kx-radio-loading .kx-spin { opacity: 1; animation: kx-rot .8s linear infinite; }
@keyframes kx-rot { to { transform: rotate(360deg); } }

/* ── Cabecera ── */
.kx-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--kx-line); }
.kx-topbar { background: var(--kx-soft); font-size: 13px; color: var(--kx-muted); border-bottom: 1px solid var(--kx-line); }
.kx-topbar-in { display: flex; align-items: center; gap: 18px; height: 34px; }
.kx-today { text-transform: capitalize; font-weight: 500; }
.kx-topbar a:hover { color: var(--kx-blue); }
.kx-topbar-social { display: inline-flex; gap: 12px; font-size: 16px; }
.kx-header-in { display: flex; align-items: center; gap: 22px; height: var(--kx-header-h); }
.kx-brand img { height: var(--w-logo-height, 46px); width: auto; }
.kx-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: center; overflow: hidden; }
.kx-nav a { position: relative; padding: 9px 12px; border-radius: 999px; font: 600 14.5px/1 var(--kx-body); color: #2b3349; white-space: nowrap; transition: background .15s, color .15s; }
.kx-nav a:hover { background: var(--kx-soft); color: var(--kx-blue); }
.kx-nav a.is-active { color: var(--kx-blue); background: rgba(10, 82, 184, .08); }
.kx-nav a i { margin-right: 6px; }
.kx-actions { display: flex; align-items: center; gap: 8px; }
.kx-pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; cursor: pointer; font: 700 13px/1 var(--kx-body); white-space: nowrap; transition: transform .15s, box-shadow .2s; }
.kx-pill:active { transform: scale(.96); }
.kx-pill-tv { background: var(--kx-soft); color: var(--kx-ink); border: 1px solid var(--kx-line); }
.kx-pill-tv i { color: var(--kx-red); font-size: 17px; }
.kx-pill-tv:hover { border-color: #cfd6e6; }
.kx-pill-live { background: var(--kx-grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(58, 52, 161, .9); }
.kx-pill-live .kx-eq { display: none; color: #fff; }
.kx-pill-live .kx-i-play { font-size: 16px; }
.kx-radio-playing .kx-pill-live .kx-eq { display: inline-flex; }
.kx-radio-playing .kx-pill-live .kx-i-play { display: none; }
.kx-pill-txt { display: grid; gap: 2px; text-align: left; }
.kx-pill-txt b { font-size: 12px; letter-spacing: .06em; }
.kx-pill-txt small { font-size: 11px; font-weight: 500; opacity: .85; }
.kx-chips-nav { display: none; }

/* Cinta de titulares */
.kx-ticker { border-top: 1px solid var(--kx-line); background: #fff; }
.kx-ticker-in { display: flex; align-items: center; gap: 14px; height: 40px; overflow: hidden; }
.kx-ticker-label { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 6px; background: var(--kx-orange); color: #fff; font: 800 11.5px/1 var(--kx-body); text-transform: uppercase; letter-spacing: .06em; }
.kx-ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent); }
.kx-ticker-run { display: inline-flex; gap: 0; white-space: nowrap; animation: kx-marquee 70s linear infinite; }
.kx-ticker-track:hover .kx-ticker-run { animation-play-state: paused; }
.kx-ticker-run a, .kx-ticker-run span { font-size: 14px; font-weight: 500; color: #2b3349; padding: 0 22px; position: relative; }
.kx-ticker-run a::before, .kx-ticker-run span::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--kx-orange); }
.kx-ticker-run a:hover { color: var(--kx-blue); }
.kx-ticker-run .is-urgent { color: var(--kx-red); font-weight: 700; }
@keyframes kx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Búsqueda y cajón */
.kx-search[hidden], .kx-drawer[hidden], .kx-sheet[hidden] { display: none !important; }
.kx-search { position: fixed; inset: 0; z-index: 120; background: rgba(13, 21, 48, .35); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 0; animation: kx-fade .18s ease; }
.kx-search-box { width: min(680px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--kx-shadow-lg); padding: 10px; animation: kx-pop .22s cubic-bezier(.2, .9, .3, 1.2); }
.kx-search form { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 14px; }
.kx-search form > i { font-size: 22px; color: var(--kx-muted); }
.kx-search input { flex: 1; border: 0; outline: 0; font: 500 19px/1.3 var(--kx-body); padding: 12px 0; background: transparent; color: var(--kx-ink); }
.kx-search-hint { margin: 0; padding: 4px 18px 10px; color: var(--kx-muted); font-size: 13px; }
@keyframes kx-fade { from { opacity: 0; } }
@keyframes kx-pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

.kx-drawer { position: fixed; inset: 0; z-index: 130; background: rgba(13, 21, 48, .4); animation: kx-fade .2s ease; }
.kx-drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column; padding: 16px 16px calc(16px + var(--kx-safe-b)); box-sizing: border-box; overflow-y: auto; animation: kx-slide .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes kx-slide { from { transform: translateX(100%); } }
.kx-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; border-bottom: 1px solid var(--kx-line); }
.kx-drawer-head img { height: 32px; width: auto; }
.kx-drawer-nav { display: flex; flex-direction: column; padding: 10px 0; }
.kx-drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px; font: 600 17px/1.2 var(--kx-head); border-bottom: 1px solid var(--kx-soft); }
.kx-drawer-nav a i { color: #b3bacb; font-size: 16px; }
.kx-drawer-nav a.is-active { color: var(--kx-blue); }
.kx-drawer-nav a.is-child { padding-left: 22px; font-size: 15px; font-weight: 500; }
.kx-drawer-nav a.is-small { font: 500 14px/1.2 var(--kx-body); color: var(--kx-muted); border: 0; padding: 9px 8px; }
.kx-drawer-nav a.is-small i { display: none; }
.kx-install { margin: 8px 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; border: 0; background: var(--kx-grad); color: #fff; font-weight: 700; cursor: pointer; }
.kx-install[hidden] { display: none; }
.kx-drawer-social { display: flex; gap: 10px; padding-top: 12px; margin-top: auto; }
.kx-drawer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--kx-soft); font-size: 20px; }

/* ── Tarjetas de noticias ── */
.kx-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kx-card-media { display: block; position: relative; overflow: hidden; border-radius: var(--kx-r); background: var(--kx-soft); aspect-ratio: 16 / 10; }
.kx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.kx-card:hover .kx-card-media img { transform: scale(1.04); }
.kx-ph { display: grid; place-items: center; height: 100%; color: #b7bfd2; font-size: 34px; background: linear-gradient(135deg, #eef1f8, #e3e8f4); }
.kx-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--kx-muted); }
.kx-card-meta time { white-space: nowrap; }
.kx-kicker { font: 800 11.5px/1 var(--kx-body); text-transform: uppercase; letter-spacing: .07em; color: var(--kx-cat, var(--kx-blue)); }
.kx-kicker + time::before { content: "·"; margin-right: 8px; color: #b3bacb; }
.kx-card-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.28; }
.kx-card-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.kx-card:hover .kx-card-title a { background-size: 100% 1.5px; }
.kx-card-text { margin: 0; color: var(--kx-muted); font-size: 15px; }
.kx-card-body { display: flex; flex-direction: column; gap: 8px; }
.kx-card-row { flex-direction: row; align-items: flex-start; gap: 14px; }
.kx-card-row .kx-card-media { width: 120px; flex: none; aspect-ratio: 4 / 3; border-radius: var(--kx-r-sm); }
.kx-card-row .kx-card-title { font-size: 15.5px; }
.kx-card-wide .kx-card-title { font-size: 23px; }
.kx-tag-une { display: inline-flex; padding: 4px 8px; border-radius: 5px; background: var(--kx-red); color: #fff; font: 800 10.5px/1 var(--kx-body); text-transform: uppercase; letter-spacing: .08em; }

/* Colores por rubrique */
.kx-cat-international { --kx-cat: #0a52b8; }
.kx-cat-economie { --kx-cat: #0d8a5b; }
.kx-cat-culture { --kx-cat: #7b2cbf; }
.kx-cat-societe { --kx-cat: #0b8193; }
.kx-cat-sport { --kx-cat: #e0760a; }
.kx-cat-politique { --kx-cat: #c62835; }
.kx-cat-haiti { --kx-cat: #1d3fa6; }

/* ── Portada ── */
.kx-home { padding-top: 26px; }
.kx-hero { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.kx-lead { position: relative; border-radius: calc(var(--kx-r) + 4px); overflow: hidden; background: #0d1530; min-height: 440px; display: flex; align-items: flex-end; box-shadow: var(--kx-shadow); }
.kx-lead-media { position: absolute; inset: 0; }
.kx-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.kx-lead:hover .kx-lead-media img { transform: scale(1.03); }
.kx-lead-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 30, 0) 30%, rgba(8, 12, 30, .55) 60%, rgba(8, 12, 30, .92) 100%); }
.kx-lead-body { position: relative; padding: 30px 32px 30px; color: #fff; pointer-events: none; }
.kx-lead-body a { pointer-events: auto; }
.kx-lead-body .kx-card-meta { color: rgba(255, 255, 255, .85); }
.kx-lead-body .kx-kicker { color: #fff; background: rgba(255, 255, 255, .16); padding: 4px 8px; border-radius: 5px; backdrop-filter: blur(4px); }
.kx-lead-title { margin: 12px 0 10px; font-size: clamp(25px, 2.7vw, 36px); line-height: 1.12; font-weight: 800; color: #fff !important; text-wrap: balance; }
.kx-lead-body p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 16px; max-width: 62ch; }
.kx-hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.kx-hero-live { position: sticky; top: calc(var(--kx-header-h) + 120px); }

/* Bloques «en direct» */
.kx-live { display: flex; flex-direction: column; gap: 14px; }
.kx-live-tv { background: #0d1530; border-radius: calc(var(--kx-r) + 4px); padding: 14px; color: #fff; box-shadow: var(--kx-shadow-lg); }
.kx-live-head { display: flex; align-items: center; gap: 10px; margin: 2px 4px 12px; }
.kx-live-head h2 { margin: 0; font-size: 17px; color: #fff !important; flex: 1; }
.kx-live-head .kx-badge-live { color: #ff5a5f; }
.kx-live-more { font-size: 12.5px; color: rgba(255, 255, 255, .75); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.kx-live-more:hover { color: #fff; }
.kx-tv-slot { position: relative; aspect-ratio: 16 / 9; border-radius: var(--kx-r-sm); overflow: hidden; background: #000; }
.kx-tv-slot-xl { border-radius: var(--kx-r); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.kx-tv-teaser { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--kx-r-sm); background: rgba(255, 255, 255, .08); font-weight: 600; }
.kx-tv-teaser:hover { background: rgba(255, 255, 255, .14); }
.kx-tv-teaser-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--kx-red); }
.kx-live-radio { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: calc(var(--kx-r) + 4px); background: #fff; border: 1px solid var(--kx-line); box-shadow: var(--kx-shadow); }
.kx-live-radio.is-boxed { margin-bottom: 18px; }
.kx-live-radio-art { position: relative; width: 58px; height: 58px; flex: none; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--kx-line); }
.kx-live-radio-art img { width: 100%; height: 100%; object-fit: contain; }
.kx-live-radio-art .kx-eq { position: absolute; right: 4px; bottom: 4px; color: var(--kx-orange); opacity: 0; }
.kx-radio-playing .kx-live-radio-art .kx-eq { opacity: 1; }
.kx-live-radio-txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.kx-live-radio-name { font: 800 16px/1.2 var(--kx-head); }
.kx-live-radio-name em { font-style: normal; color: var(--kx-orange); }
.kx-live-radio-np { font-size: 13px; color: var(--kx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Secciones */
.kx-section { margin-top: 48px; }
.kx-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--kx-ink); }
.kx-section-head h2 { margin: 0; font-size: 23px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.kx-section-head a { font-size: 14px; font-weight: 600; color: var(--kx-blue); display: inline-flex; align-items: center; gap: 4px; }
.kx-rubrique .kx-section-head { border-bottom-color: var(--kx-cat, var(--kx-ink)); }
.kx-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--kx-cat, var(--kx-blue)); }
.kx-grid { display: grid; gap: 26px; }
.kx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kx-rubrique-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.kx-rubrique-list { display: flex; flex-direction: column; gap: 18px; }
.kx-rubrique-list .kx-card + .kx-card { padding-top: 18px; border-top: 1px solid var(--kx-line); }
.kx-stack { display: flex; flex-direction: column; gap: 16px; }

/* Banda de radio */
.kx-radioband { position: relative; overflow: hidden; margin-top: 56px; display: flex; align-items: center; gap: 32px; padding: 34px 40px; border-radius: calc(var(--kx-r) + 8px); background: var(--kx-grad); color: #fff; box-shadow: 0 30px 60px -30px rgba(58, 52, 161, .8); }
.kx-radioband::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 130, 2, .55), transparent 65%); pointer-events: none; }
.kx-radioband-art { position: relative; width: 120px; height: 120px; flex: none; display: grid; place-items: center; }
.kx-radioband-art img { position: relative; width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); }
.kx-radioband-txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.kx-radioband h2 { margin: 12px 0 6px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #fff !important; }
.kx-radioband h2 span { color: #ffb257; }
.kx-radioband-np { margin: 0; display: flex; align-items: center; gap: 8px; opacity: .92; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kx-radioband-cta { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }

/* Anillos animados (arte de la radio) */
.kx-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.kx-rings i { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); opacity: 0; }
.kx-radio-playing .kx-rings i { animation: kx-ring 2.4s ease-out infinite; }
.kx-radio-playing .kx-rings i:nth-child(2) { animation-delay: .8s; }
.kx-radio-playing .kx-rings i:nth-child(3) { animation-delay: 1.6s; }
@keyframes kx-ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* ── Reproductor de TV (persistente) ── */
#kx-persist { position: relative; z-index: 60; }
.kx-tv { position: relative; width: 100%; height: 100%; background: #000; color: #fff; overflow: hidden; }
.kx-tv.is-parked { display: none; }
.kx-tv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.kx-tv-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(120% 90% at 50% 30%, #23317a 0%, #121845 55%, #070a1f 100%); z-index: 2; }
.kx-tv[data-poster="1"] .kx-tv-cover { background: rgba(5, 8, 25, .35); }
.kx-tv-cover-logo { width: 34%; max-width: 220px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .5)); background: #fff; padding: 8px 12px; border-radius: 12px; }
.kx-tv-bigplay { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer; background: var(--kx-red); color: #fff; font-size: 30px; box-shadow: 0 0 0 10px rgba(229, 38, 43, .22), 0 18px 40px -12px rgba(0, 0, 0, .7); transition: transform .15s; }
.kx-tv-bigplay:hover { transform: scale(1.07); }
.kx-tv-cover-label { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--kx-body); letter-spacing: .06em; text-transform: uppercase; }
.kx-tv[data-state="playing"] .kx-tv-cover, .kx-tv[data-state="paused"] .kx-tv-cover, .kx-tv[data-state="loading"] .kx-tv-cover { display: none; }
.kx-tv-spinner { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .2); border-top-color: #fff; animation: kx-rot .8s linear infinite; display: none; z-index: 3; }
.kx-tv[data-state="loading"] .kx-tv-spinner { display: block; }
.kx-tv-error { position: absolute; inset: 0; z-index: 4; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #0b0f24; text-align: center; padding: 20px; font-size: 14px; }
.kx-tv-error i { font-size: 34px; color: #ff6b6f; }
.kx-tv-error button { border: 0; border-radius: 999px; padding: 9px 18px; background: #fff; color: #111; font-weight: 700; cursor: pointer; }
.kx-tv[data-state="error"] .kx-tv-error { display: flex; }
.kx-tv-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 26px 10px 8px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75)); opacity: 0; transition: opacity .25s; }
.kx-tv[data-state="playing"]:hover .kx-tv-bar, .kx-tv[data-state="paused"] .kx-tv-bar, .kx-tv.show-bar .kx-tv-bar { opacity: 1; }
.kx-tv-bar button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 19px; cursor: pointer; }
.kx-tv-bar button:hover { background: rgba(255, 255, 255, .15); }
.kx-tv-bar .kx-badge-live { color: #fff; background: var(--kx-red); padding: 5px 8px; border-radius: 5px; }
.kx-tv-bar .kx-badge-live .kx-live-dot { background: #fff; animation: none; width: 6px; height: 6px; }
.kx-tv-title { font-weight: 700; font-size: 14px; margin-left: 6px; }
.kx-tv .kx-i-play, .kx-tv[data-state="paused"] .kx-i-pause { display: none; }
.kx-tv[data-state="paused"] .kx-i-play { display: inline-block; }
.kx-tv .kx-i-muted, .kx-tv.is-muted .kx-i-unmuted { display: none; }
.kx-tv.is-muted .kx-i-muted { display: inline-block; }
.kx-tv-minibar { display: none; }
/* Mini reproductor flotante al navegar con la TV encendida */
.kx-tv.is-mini { position: fixed; right: 18px; bottom: calc(var(--kx-player-h) + var(--kx-tab-h) + 16px); width: 340px; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); z-index: 70; animation: kx-pop .25s ease; }
.kx-tv.is-mini .kx-tv-minibar { display: flex; position: absolute; top: 6px; right: 6px; z-index: 5; gap: 6px; }
.kx-tv.is-mini .kx-tv-minibar a, .kx-tv.is-mini .kx-tv-minibar button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px; cursor: pointer; backdrop-filter: blur(6px); }
.kx-tv.is-mini .kx-tv-title, .kx-tv.is-mini .kx-tv-pipbtn { display: none; }
.kx-tv.is-mini .kx-tv-bar { padding-top: 16px; }

/* Página de TV */
.kx-tv-page { margin-top: 0; }
.kx-tv-stage { background: radial-gradient(120% 120% at 20% 0%, #1a2463 0%, #0d1530 45%, #090d21 100%); color: #fff; padding: 28px 0 34px; }
.kx-tv-stage-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.kx-tv-stage-head h1 { margin: 0; font-size: 28px; font-weight: 800; color: #fff !important; }
.kx-tv-stage-head .kx-badge-live { color: #fff; background: var(--kx-red); padding: 6px 10px; border-radius: 6px; }
.kx-tv-stage-head .kx-live-dot { background: #fff; }
.kx-tv-about { max-width: 820px; margin: 18px 0 0; color: rgba(255, 255, 255, .8); font-size: 16px; }
.kx-tv-stage .kx-tv-slot-xl { max-width: 100%; }

/* ── Página de radio ── */
.kx-radio-page { padding-top: 26px; }
.kx-station { position: relative; overflow: hidden; display: flex; align-items: center; gap: 40px; padding: 40px; border-radius: calc(var(--kx-r) + 10px); background: var(--kx-grad); color: #fff; box-shadow: 0 30px 70px -30px rgba(58, 52, 161, .85); }
.kx-station::after { content: ""; position: absolute; left: -100px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 130, 2, .45), transparent 65%); pointer-events: none; }
.kx-station-art { position: relative; width: 260px; height: 260px; flex: none; display: grid; place-items: center; z-index: 1; }
.kx-station-art img { position: relative; width: 230px; height: 230px; object-fit: contain; background: #fff; border-radius: 50%; padding: 26px; box-sizing: border-box; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); }
.kx-radio-playing .kx-station-art img { animation: kx-breathe 3s ease-in-out infinite; }
@keyframes kx-breathe { 50% { transform: scale(1.03); } }
.kx-station-body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.kx-station h1 { margin: 14px 0 6px; font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; color: #fff !important; line-height: 1.02; }
.kx-station h1 span { color: #ffb257; }
.kx-station-city { margin: 0 0 18px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.kx-station-np { display: inline-grid; gap: 3px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); max-width: 100%; box-sizing: border-box; }
.kx-station-np small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; font-weight: 700; }
.kx-station-np strong { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kx-station-show { margin: 10px 0 0; opacity: .9; font-weight: 600; }
.kx-station-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.kx-station-hint { font-size: 14px; opacity: .8; max-width: 280px; }
.kx-two { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 32px; align-items: start; }
.kx-box { background: #fff; border: 1px solid var(--kx-line); border-radius: calc(var(--kx-r) + 4px); padding: 22px; box-shadow: var(--kx-shadow); margin-bottom: 18px; }
.kx-box-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.kx-lead-p { margin: 0; font-size: 16.5px; color: #2b3349; }
.kx-listen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kx-listen div { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: var(--kx-soft); }
.kx-listen i { font-size: 24px; color: var(--kx-blue); }
.kx-listen span { font-size: 13.5px; color: var(--kx-muted); }
.kx-schedule { display: flex; flex-direction: column; }
.kx-sched-day { margin: 14px 0 6px; font: 800 12px/1 var(--kx-body); text-transform: uppercase; letter-spacing: .08em; color: var(--kx-muted); }
.kx-sched-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-radius: 10px; align-items: center; }
.kx-sched-row:nth-child(even) { background: var(--kx-soft); }
.kx-sched-row b { font-weight: 700; }
.kx-sched-row small { display: block; color: var(--kx-muted); }
.kx-sched-row.is-now { background: rgba(229, 38, 43, .07); box-shadow: inset 3px 0 0 var(--kx-red); }
.kx-sched-time { font-variant-numeric: tabular-nums; font-weight: 600; color: #2b3349; }
.kx-rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.kx-rank li { counter-increment: r; border-top: 1px solid var(--kx-line); }
.kx-rank li:first-child { border-top: 0; }
.kx-rank a { display: grid; grid-template-columns: 34px 1fr; gap: 2px 8px; padding: 12px 0; }
.kx-rank a::before { content: counter(r); grid-row: span 2; font: 800 24px/1 var(--kx-head); color: #cfd6e6; }
.kx-rank span { font-weight: 600; font-size: 15px; line-height: 1.3; }
.kx-rank a:hover span { color: var(--kx-blue); }
.kx-rank small { color: var(--kx-muted); font-size: 12.5px; }

/* ── Entrada ── */
.kx-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; padding-top: 30px; align-items: start; }
.kx-post-main .w-container, .kx-post-main .w-narrow { max-width: none; padding: 0; margin: 0; }
.kx-aside { position: sticky; top: calc(var(--kx-header-h) + 92px); display: flex; flex-direction: column; gap: 18px; }
.kx-aside .kx-box { margin: 0; }
.theme-king .w-article-head .w-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--kx-muted); margin: 0 0 12px; }
.theme-king .w-article-head .w-meta a { font: 800 12px/1 var(--kx-body); text-transform: uppercase; letter-spacing: .07em; color: var(--kx-blue); }
.theme-king .w-article-head h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; margin: 0 0 14px; line-height: 1.1; text-wrap: balance; }
.theme-king .w-lead { font-size: 19px; color: #3a425a; line-height: 1.5; margin: 0 0 22px; }
.theme-king .w-article-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: calc(var(--kx-r) + 4px); margin: 0 0 26px; }
.kx-share { display: flex; align-items: center; gap: 8px; margin: -8px 0 22px; flex-wrap: wrap; }
.kx-share span { font-size: 13px; color: var(--kx-muted); font-weight: 600; margin-right: 4px; }
.kx-share a, .kx-share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--kx-line); background: #fff; font-size: 18px; cursor: pointer; }
.kx-share a:hover, .kx-share button:hover { border-color: var(--kx-blue); color: var(--kx-blue); }
.theme-king .w-prose, .kx-prose { font-size: 18px; line-height: 1.75; color: #232a3d; }
.theme-king .w-prose p { margin: 0 0 1.15em; }
.theme-king .w-prose h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.theme-king .w-prose a { color: var(--kx-blue); text-decoration: underline; text-underline-offset: 3px; }
.theme-king .w-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--kx-orange); font-size: 21px; font-style: italic; color: #2b3349; }
.theme-king .w-prose img { border-radius: var(--kx-r); }
.theme-king .w-back { margin: 30px 0 0; }
.theme-king .w-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--kx-blue); }
.theme-king .w-related { padding: 0; max-width: none; margin-top: 44px; }
.theme-king .w-related h2 { font-size: 22px; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--kx-ink); }
.theme-king .w-related .w-grid { gap: 22px; }
.kx-post-main .w-related .w-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Listados del blog (vistas de Webs) */
.theme-king .w-pagehead, .kx-pagehead { padding: 30px 0 8px; margin: 0; text-align: left; }
.theme-king .w-pagehead h1, .kx-pagehead h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0 0 8px; }
.theme-king .w-pagehead p, .kx-pagehead p { color: var(--kx-muted); margin: 0; font-size: 17px; max-width: 70ch; }
.theme-king .w-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; margin: 18px 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--kx-line); }
.theme-king .w-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-king .w-chip { padding: 8px 14px; border-radius: 999px; background: var(--kx-soft); border: 1px solid var(--kx-line); font-weight: 600; font-size: 14px; color: #2b3349; }
.theme-king .w-chip:hover { border-color: #c7cfe2; }
.theme-king .w-chip.is-current { background: var(--kx-ink); color: #fff; border-color: var(--kx-ink); }
.theme-king .w-search { display: flex; align-items: center; background: var(--kx-soft); border: 1px solid var(--kx-line); border-radius: 999px; padding: 0 6px 0 16px; min-width: 260px; }
.theme-king .w-search input { border: 0; background: transparent; outline: 0; padding: 10px 0; flex: 1; font: inherit; min-width: 0; }
.theme-king .w-search button { border: 0; background: transparent; font-size: 18px; width: 36px; height: 36px; cursor: pointer; }
.theme-king .w-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.theme-king .w-card { background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; display: flex; flex-direction: column; gap: 12px; }
.theme-king .w-card:hover { transform: none; box-shadow: none; }
.theme-king .w-card-media { border-radius: var(--kx-r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--kx-soft); display: block; }
.theme-king .w-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.theme-king .w-card:hover .w-card-media img { transform: scale(1.04); }
.theme-king .w-card-body { padding: 0; display: flex; flex-direction: column; gap: 8px; }
.theme-king .w-meta { font-size: 12.5px; color: var(--kx-muted); margin: 0; }
.theme-king .w-card-body .w-meta a { font: 800 11.5px/1 var(--kx-body); text-transform: uppercase; letter-spacing: .07em; color: var(--kx-blue); }
.theme-king .w-card-title { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.28; }
.theme-king .w-card-title a:hover { color: var(--kx-blue); }
.theme-king .w-card-text { color: var(--kx-muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-king .w-more { display: none; }
.theme-king .w-pager { display: flex; gap: 6px; justify-content: center; margin: 40px 0 0; flex-wrap: wrap; }
.theme-king .w-pager-link { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--kx-line); font-weight: 600; box-sizing: border-box; }
.theme-king .w-pager-link.is-current { background: var(--kx-ink); color: #fff; border-color: var(--kx-ink); }
.theme-king .w-empty, .kx-empty { text-align: center; padding: 60px 20px; color: var(--kx-muted); background: var(--kx-soft); border-radius: var(--kx-r); }
.kx-empty i { font-size: 40px; }
.theme-king .w-notice { padding: 12px 16px; border-radius: 12px; background: #fff7e8; border: 1px solid #ffd79a; margin: 16px 0; }

/* Páginas genéricas, avisos y contacto */
.kx-page { padding-top: 30px; }
.kx-article-page { max-width: 820px; }
.kx-article-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0 0 20px; }
.kx-flash { padding-top: 16px; }
.kx-notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.kx-notice.is-ok { background: #e9f8f0; color: #0b6b43; border: 1px solid #b6e7cd; }
.kx-notice.is-bad { background: #fdecec; color: #a5232a; border: 1px solid #f6c0c3; }
.kx-contact .kx-two { margin-top: 18px; }
.kx-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.kx-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: #2b3349; }
.kx-form .is-full { grid-column: 1 / -1; }
.kx-form input, .kx-form select, .kx-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--kx-line); background: var(--kx-soft); color: var(--kx-ink); outline: 0; transition: border-color .15s, box-shadow .15s, background .15s; }
.kx-form input:focus, .kx-form select:focus, .kx-form textarea:focus { border-color: var(--kx-blue); background: #fff; box-shadow: 0 0 0 4px rgba(10, 82, 184, .12); }
.kx-contact-info ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.kx-contact-info li { display: flex; gap: 12px; align-items: flex-start; }
.kx-contact-info li > i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(10, 82, 184, .08); color: var(--kx-blue); font-size: 19px; }
.kx-contact-info small { display: block; color: var(--kx-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kx-contact-info a { color: var(--kx-blue); }

/* ── Pie ── */
.kx-footer { background: var(--w-footer-bg, #0d1530); color: var(--w-footer-text, #d9def0); padding: 56px 0 26px; margin-top: 40px; }
.kx-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.kx-footer-logo { width: 180px; background: #fff; padding: 10px 14px; border-radius: 14px; box-sizing: content-box; }
.kx-footer-brand p { margin: 16px 0 0; font-size: 14.5px; opacity: .8; max-width: 38ch; }
.kx-footer h3 { color: #fff !important; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 16px; }
.kx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.kx-footer li { display: flex; gap: 8px; align-items: flex-start; }
.kx-footer li i { margin-top: 3px; opacity: .7; }
.kx-footer a:hover { color: #fff; }
.kx-social { display: flex; gap: 8px; margin-top: 18px; }
.kx-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 19px; transition: background .15s; }
.kx-social a:hover { background: var(--kx-orange); color: #fff; }
.kx-social.is-dark a { background: var(--kx-soft); color: var(--kx-ink); }
.kx-copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; opacity: .7; }

/* ── Reproductor fijo de radio ── */
.kx-player { position: fixed; left: 0; right: 0; bottom: var(--kx-tab-h); z-index: 80; height: var(--kx-player-h); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border-top: 1px solid var(--kx-line); box-shadow: 0 -10px 30px -18px rgba(16, 24, 48, .35); }
.kx-player::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--kx-grad); opacity: .9; }
.kx-player-in { max-width: var(--kx-max); margin: 0 auto; height: 100%; padding: 0 20px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; }
.kx-player-info { display: flex; align-items: center; gap: 12px; min-width: 0; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; }
.kx-art { position: relative; width: 50px; height: 50px; flex: none; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--kx-line); }
.kx-art img { width: 100%; height: 100%; object-fit: contain; }
.kx-art .kx-eq { position: absolute; inset: auto 0 0 0; height: 100%; justify-content: center; align-items: flex-end; padding-bottom: 6px; background: linear-gradient(180deg, transparent 40%, rgba(13, 21, 48, .55)); color: #fff; opacity: 0; transition: opacity .2s; }
.kx-radio-playing .kx-art .kx-eq { opacity: 1; }
.kx-art .kx-eq i { width: 3px; }
.kx-player-txt { display: grid; gap: 3px; min-width: 0; }
.kx-player-name { display: flex; align-items: center; gap: 8px; font: 800 15px/1.2 var(--kx-head); white-space: nowrap; }
.kx-player-name em { font-style: normal; color: var(--kx-orange); }
.kx-np { position: relative; overflow: hidden; white-space: nowrap; font-size: 13px; color: var(--kx-muted); mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.kx-np-run { display: inline-block; }
.kx-np.is-long .kx-np-run { animation: kx-np 16s linear infinite; padding-right: 40px; }
@keyframes kx-np { 0%, 12% { transform: translateX(0); } 88%, 100% { transform: translateX(var(--kx-np-shift, -50%)); } }
.kx-player-ctrl { display: flex; justify-content: center; }
.kx-player-ctrl .kx-play { width: 52px; height: 52px; font-size: 22px; }
.kx-player-side { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.kx-vol { display: inline-flex; align-items: center; gap: 8px; color: var(--kx-muted); font-size: 19px; }
.kx-vol input { width: 110px; accent-color: var(--kx-blue); }
.kx-player-tv { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--kx-soft); border: 1px solid var(--kx-line); font-weight: 700; font-size: 13px; }
.kx-player-tv i { color: var(--kx-red); }
.kx-player-expand { display: none; }

/* Hoja «en directo» (pantalla completa en móvil, panel en escritorio) */
.kx-sheet { position: fixed; inset: 0; z-index: 140; background: rgba(13, 21, 48, .45); display: flex; align-items: flex-end; justify-content: center; animation: kx-fade .2s ease; }
.kx-sheet-panel { position: relative; width: min(460px, 100%); max-height: 100%; overflow-y: auto; box-sizing: border-box; padding: 18px 26px calc(28px + var(--kx-safe-b)); border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #ffffff 0%, #f3f5fc 100%); text-align: center; animation: kx-up .32s cubic-bezier(.2, .9, .3, 1); }
@keyframes kx-up { from { transform: translateY(100%); } }
.kx-sheet-grab { display: block; margin: 0 auto 8px; border: 0; background: transparent; font-size: 26px; color: var(--kx-muted); cursor: pointer; }
.kx-sheet-art { position: relative; width: min(74vw, 290px); aspect-ratio: 1; margin: 6px auto 22px; display: grid; place-items: center; }
.kx-sheet-art .kx-rings i { border-color: rgba(58, 52, 161, .35); }
.kx-sheet-art img { position: relative; width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 34px; padding: 30px; box-sizing: border-box; box-shadow: 0 30px 60px -24px rgba(58, 52, 161, .6); }
.kx-sheet-meta h2 { margin: 10px 0 6px; font-size: 26px; font-weight: 800; }
.kx-sheet-meta h2 span { color: var(--kx-orange); }
.kx-sheet-np { margin: 0; color: var(--kx-muted); font-size: 15px; min-height: 1.4em; }
.kx-sheet-show { margin: 6px 0 0; font-weight: 600; font-size: 14px; color: var(--kx-blue); }
.kx-sheet-ctrl { margin: 22px 0 14px; }
.kx-vol-wide { display: flex; width: 100%; margin: 0 auto 18px; }
.kx-vol-wide input { flex: 1; width: auto; }
.kx-sheet-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kx-sheet-links a, .kx-sheet-links button { display: grid; gap: 4px; justify-items: center; padding: 12px 6px; border-radius: 14px; background: #fff; border: 1px solid var(--kx-line); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.kx-sheet-links i { font-size: 22px; color: var(--kx-blue); }

/* Barra de pestañas (solo móvil) */
.kx-tabbar { display: none; }

/* ── Responsive ── */
@media (max-width: 1180px) {
  .kx-hero { grid-template-columns: minmax(0, 1fr) 340px; }
  .kx-nav a { padding: 9px 9px; font-size: 14px; }
  .kx-pill-tv span { display: none; }
  .kx-pill-tv { padding: 0 12px; }
}
@media (max-width: 1023px) {
  .kx-nav { display: none; }
  .kx-header-in { justify-content: space-between; }
  .kx-hero { grid-template-columns: 1fr; }
  .kx-hero-live { position: static; order: -1; }
  .kx-live { display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch; }
  .kx-live-radio { align-self: end; }
  .kx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kx-two, .kx-post-layout { grid-template-columns: 1fr; }
  .kx-aside { position: static; }
  .kx-footer-cols { grid-template-columns: 1fr 1fr; }
  .kx-chips-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
  .kx-chips-nav::-webkit-scrollbar { display: none; }
  .kx-chips-nav a { flex: none; padding: 7px 13px; border-radius: 999px; background: var(--kx-soft); font-weight: 600; font-size: 13.5px; color: #2b3349; border: 1px solid var(--kx-line); }
  .kx-chips-nav a.is-active { background: var(--kx-ink); color: #fff; border-color: var(--kx-ink); }
}
@media (max-width: 899px) {
  .kx-container { padding: 0 16px; }
  .kx-topbar { display: none; }
  .kx-brand img { height: 38px; }
  .kx-pill-tv, .kx-pill-txt small { display: none; }
  .kx-pill-live { height: 38px; padding: 0 13px 0 11px; }
  .kx-ticker-in { height: 36px; }
  .kx-ticker-label { padding: 4px 8px; font-size: 10.5px; }
  .kx-ticker-run a, .kx-ticker-run span { font-size: 13px; }
  .kx-home, .kx-radio-page { padding-top: 16px; }
  .kx-live { grid-template-columns: 1fr; }
  .kx-live-tv { padding: 10px; border-radius: 18px; }
  .kx-live-head { margin: 2px 4px 10px; }
  .kx-lead { min-height: 380px; border-radius: 18px; }
  .kx-lead-body { padding: 22px 20px; }
  .kx-hero-pair { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
  .kx-hero-pair .kx-card-title { font-size: 15.5px; }
  .kx-section { margin-top: 34px; }
  .kx-section-head h2 { font-size: 20px; }
  .kx-scroll-mobile { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .kx-scroll-mobile::-webkit-scrollbar { display: none; }
  .kx-scroll-mobile > .kx-card { flex: 0 0 74%; scroll-snap-align: start; }
  .kx-rubrique-grid { grid-template-columns: 1fr; gap: 18px; }
  .kx-card-wide .kx-card-title { font-size: 20px; }
  .kx-card-row .kx-card-media { width: 104px; }
  .kx-grid-2 { grid-template-columns: 1fr; }
  .kx-radioband { flex-direction: column; text-align: center; padding: 30px 22px; gap: 16px; margin-top: 40px; }
  .kx-radioband-np { justify-content: center; }
  .kx-radioband-cta { flex-direction: column; }
  .kx-station { flex-direction: column; text-align: center; padding: 30px 20px; gap: 16px; }
  .kx-station-art { width: 200px; height: 200px; }
  .kx-station-art img { width: 180px; height: 180px; }
  .kx-station-city { justify-content: center; }
  .kx-station-ctrl { flex-direction: column; }
  .kx-station-hint { text-align: center; }
  .kx-listen { grid-template-columns: 1fr; }
  .kx-tv-stage { padding: 16px 0 22px; }
  .kx-tv-stage .kx-container { padding: 0; }
  .kx-tv-stage-head, .kx-tv-about { padding: 0 16px; }
  .kx-tv-slot-xl { border-radius: 0; }
  .kx-tv.is-mini { right: 10px; width: 56vw; bottom: calc(var(--kx-player-h) + var(--kx-tab-h) + 10px); }
  .theme-king .w-grid-3, .kx-post-main .w-related .w-grid-3 { grid-template-columns: 1fr; gap: 26px; }
  .theme-king .w-toolbar { flex-direction: column; align-items: stretch; }
  .theme-king .w-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .theme-king .w-chip { flex: none; }
  .theme-king .w-search { min-width: 0; }
  .theme-king .w-prose, .kx-prose { font-size: 17px; }
  .theme-king .w-article-cover { border-radius: 16px; margin-bottom: 20px; }
  .kx-post-layout { padding-top: 18px; gap: 30px; }
  .kx-form { grid-template-columns: 1fr; }
  .kx-footer { padding: 40px 0 22px; }
  .kx-footer-cols { grid-template-columns: 1fr; gap: 26px; }

  /* Reproductor compacto tipo app */
  .kx-player { left: 8px; right: 8px; bottom: calc(var(--kx-tab-h) + 6px); height: calc(var(--kx-player-h) - 6px); border-radius: 16px; border: 1px solid var(--kx-line); overflow: hidden; box-shadow: 0 12px 30px -12px rgba(16, 24, 48, .45); }
  .kx-player::before { top: auto; bottom: 0; height: 2px; }
  .kx-player-in { grid-template-columns: minmax(0, 1fr) auto; padding: 0 8px 0 8px; gap: 10px; }
  .kx-art { width: 42px; height: 42px; border-radius: 10px; }
  .kx-player-name { font-size: 14px; }
  .kx-player-name .kx-badge-live { display: none; }
  .kx-player-side { display: none; }
  .kx-player-ctrl .kx-play { width: 44px; height: 44px; font-size: 19px; }
  body.theme-king.kx-has-player { padding-bottom: calc(var(--kx-player-h) + var(--kx-tab-h) + 6px); }

  .kx-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: var(--kx-tab-h); padding-bottom: var(--kx-safe-b); box-sizing: border-box; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border-top: 1px solid var(--kx-line); }
  .kx-tabbar a, .kx-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: #7a8297; font-size: 10.5px; font-weight: 600; cursor: pointer; padding: 0; }
  .kx-tabbar i { font-size: 23px; }
  .kx-tabbar .ph-fill, .kx-tabbar .is-active .ph { display: none; }
  .kx-tabbar .is-active .ph-fill { display: inline-block; }
  .kx-tabbar .is-active { color: var(--kx-blue); }
  .kx-tab-orb { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -18px; border-radius: 50%; background: var(--kx-grad); color: #fff; box-shadow: 0 8px 18px -6px rgba(58, 52, 161, .8), 0 0 0 4px #fff; }
  .kx-tabbar .kx-tab-orb i { display: inline-block !important; font-size: 22px; }
  .kx-radio-playing .kx-tab-orb { animation: kx-orb 2s ease-in-out infinite; }
  @keyframes kx-orb { 50% { box-shadow: 0 8px 18px -6px rgba(58, 52, 161, .8), 0 0 0 4px #fff, 0 0 0 9px rgba(237, 130, 2, .25); } }
}
@media (min-width: 900px) {
  .kx-sheet { align-items: center; }
  .kx-sheet-panel { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .kx-ticker-run, .kx-np.is-long .kx-np-run { animation: none; }
  .theme-king * { transition: none !important; }
}
@media print { .kx-player, .kx-tabbar, #kx-persist, .kx-ticker, .kx-aside { display: none !important; } }
.kx-scrolled .kx-header { box-shadow: 0 8px 24px -16px rgba(16, 24, 48, .35); }
.kx-muted { color: var(--kx-muted); }

@media (max-width: 899px) {
  .kx-header { transition: transform .28s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
  .kx-hide-head .kx-header { transform: translateY(-100%); }
  .kx-lock .kx-header, .kx-lock.kx-hide-head .kx-header { transform: none; }
}
@media (min-width: 900px) {
  .kx-tv-stage .kx-tv-slot-xl { width: min(100%, calc((100vh - 300px) * 16 / 9)); margin: 0 auto; }
  .kx-tv-stage .kx-tv-about { text-align: center; margin-left: auto; margin-right: auto; }
}
/* Barra de filtros del blog: nada más ancho que la pantalla */
.theme-king .w-toolbar, .theme-king .w-toolbar > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.theme-king .w-search input { min-width: 0; width: 100%; }
@media (max-width: 899px) {
  .theme-king .w-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); }
  .theme-king .w-chips { max-width: none; }
  .theme-king .w-search { width: 100%; }
}
/* Logos horizontales */
.kx-brand img { height: var(--w-logo-height, 46px); width: auto; max-width: 240px; }
.kx-footer-logo { width: 230px; height: auto; background: none; padding: 0; border-radius: 0; }
@media (max-width: 899px) { .kx-brand img { height: 32px; max-width: 170px; } }
.kx-header-in > .kx-nav { min-width: 0; }
.kx-header-in > .kx-actions { flex: none; }
.kx-header-in > .kx-brand { flex: none; }
.kx-nav { justify-content: flex-start; }
.kx-pill-tv { display: none !important; }
.kx-brand img { height: 40px; }
@media (max-width: 400px) {
  .kx-header-in { gap: 8px; }
  .kx-brand img { max-width: 138px; height: auto; }
  .kx-pill-live { padding: 0 11px 0 10px; }
  .kx-actions { gap: 2px; }
}
.kx-brand { display: block; line-height: 0; }
.kx-brand img { max-width: none; }
@media (max-width: 899px) { .kx-brand img { height: 32px; width: auto; } }
@media (max-width: 400px) { .kx-brand img { height: 27px; width: auto; } }
/* Logos definitivos: texto en la cabecera, principal (versión clara) en el pie */
.kx-brand img { height: 46px; width: auto; }
.kx-footer-logo { width: 210px; height: auto; }
@media (max-width: 899px) { .kx-brand img { height: 36px; } }
@media (max-width: 400px) { .kx-brand img { height: 32px; } }
