/*
Theme Name: PanoramaMotor B · Escenario
Template: panoramamotor
Description: Propuesta B de diseño. Portada tipo plataforma de vídeo: escenario con luz ambiente, carriles deslizables, top 10 con números grandes y colecciones en mosaico. Usa los datos y plantillas del tema A.
Version: 0.1.0
Author: Borococo S.L.
*/

/* ── Tokens B ───────────────────────────────────────────────────────── */
:root {
  --bg: #07070a; --surface: #111116; --panel: #0e0e12;
  --border: rgba(255,255,255,.09); --border-soft: rgba(255,255,255,.06);
  --text: #fff; --text-2: #d2d2d8; --text-3: #a9a9b3; --muted: #8e8e99; --dim: #6f6f7a; --faint: #5a5a64;
  --chip-bg: rgba(255,255,255,.06); --chip-border: rgba(255,255,255,.1);
  --glass: rgba(18,18,24,.62); --glass-b: rgba(255,255,255,.12);
  --glow: rgba(239,158,15,.35);
  --radius: 18px; --max: 1520px;
}
:root[data-theme="light"] {
  --bg: #f3f2ee; --surface: #ffffff; --panel: #ffffff;
  --border: rgba(20,20,16,.1); --border-soft: rgba(20,20,16,.07);
  --text: #121210; --text-2: #34342f; --text-3: #55554e; --muted: #6b6b63; --dim: #85857c; --faint: #a3a39a;
  --chip-bg: rgba(20,20,16,.05); --chip-border: rgba(20,20,16,.1);
  --glass: rgba(255,255,255,.7); --glass-b: rgba(20,20,16,.1);
  --glow: rgba(239,158,15,.25);
}
body { background: var(--bg); }
.btn { border-radius: 999px; padding: 13px 24px; transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn-acc { box-shadow: 0 6px 24px var(--glow); }
.btn-acc:hover { transform: translateY(-1px); box-shadow: 0 10px 32px var(--glow); }
.btn-glass { background: var(--glass); border-color: var(--glass-b); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { border-color: var(--accent); }
.tag { border-radius: 999px; padding: 5px 11px; }
.more { color: var(--text-3); }
.more:hover { color: var(--accent); text-decoration: none; }

/* ── Cabecera flotante de cristal (siempre oscura: el logo es blanco) ── */
.bt { position: fixed; inset: 0 0 auto 0; z-index: 70; background: transparent; border: 0; padding: 12px var(--gutter) 0; transition: padding .25s; }
.bt-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 22px; min-height: 60px; padding: 0 12px 0 22px;
  border-radius: 999px; border: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.bt.scr { padding-top: 8px; }
.bt.scr .bt-in, :root[data-theme="light"] .bt .bt-in { background: rgba(10,10,14,.72); border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.bt .logo img { height: 28px; }
.bt .nav { gap: 6px; margin-right: auto; }
.bt .nav a { color: #c9c9d1; padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.bt .nav a.on { color: #fff; background: rgba(255,255,255,.1); }
.bt .nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.bt .nav a.nav-china { color: #ff6b77; }
.bt .q { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); width: 240px; border-radius: 999px; }
.bt .q input { color: #fff; }
.bt .q input::placeholder { color: #9a9aa4; }
.bt .tg { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); border-radius: 999px; }
.bt .tg button { padding: 7px 9px; color: #b9b9c2; border-radius: 999px; }
.bt .tg button[aria-pressed="true"] { background: #ef9e0f; color: #14140c; }
.bt .canal { border-radius: 999px; padding: 9px 16px; box-shadow: 0 4px 18px rgba(239,158,15,.35); }
body:not(.home) main { padding-top: 96px; }
:root[data-theme="light"] .bt { background: transparent; }

/* ── Escenario ──────────────────────────────────────────────────────── */
.esc { position: relative; overflow: hidden; padding: 112px 0 30px; isolation: isolate; }
.esc-amb { position: absolute; inset: -12%; z-index: -1; }
.esc-amb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.5); opacity: 0;
  transform: scale(1.1); transition: opacity 1.1s ease; }
.esc-amb img.on { opacity: .55; }
:root[data-theme="light"] .esc-amb img.on { opacity: .32; }
.esc::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 70% 10%, transparent 30%, var(--bg) 78%), linear-gradient(to bottom, transparent 55%, var(--bg)); }
.esc-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.esc-media { position: relative; aspect-ratio: 16 / 9; }
.esc-s { position: absolute; inset: 0; opacity: 0; transform: scale(.985); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.esc-s.on { opacity: 1; transform: none; pointer-events: auto; }
.esc-s .ph { height: 100%; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.esc-s .ph .dur { display: none; }
.esc-play { position: absolute; right: 18px; top: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; box-shadow: 0 8px 30px var(--glow); transition: transform .2s; }
.esc-play svg { width: 24px; height: 24px; fill: var(--accent-ink); margin-left: 3px; }
.esc-s:hover .esc-play { transform: scale(1.08); }
.esc-txts { display: grid; }
.esc-t { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.esc-t.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.esc-k { display: flex; gap: 12px; align-items: center; }
.esc-t h1, .esc-t h2 { font-size: clamp(40px, 4.6vw, 74px); font-weight: 800; line-height: .92; margin: 16px 0 14px; text-transform: uppercase; letter-spacing: -.5px; text-wrap: balance; }
.esc-t h1 a, .esc-t h2 a { color: inherit; text-decoration: none; }
.esc-t > p { font-size: 18px; line-height: 1.45; color: var(--text-2); margin: 0 0 20px; max-width: 520px; }
.esc-t .datos { background: transparent; border: 0; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.esc-t .datos div { background: var(--glass); border: 1px solid var(--glass-b); border-radius: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.esc-t .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.esc-tira { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.esc-tira button { all: unset; cursor: pointer; display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center;
  padding: 8px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-b); position: relative; overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s, transform .2s; }
.esc-tira button:hover { transform: translateY(-2px); }
.esc-tira button[aria-selected="true"] { border-color: var(--accent); }
.esc-tira button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.esc-tira img { width: 76px; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 8px; }
.esc-tira span { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.esc-tira i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.esc-tira i b { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--accent); }

/* ── Lema ───────────────────────────────────────────────────────────── */
.lema { padding: 34px 0 10px; }
.lema p { margin: 0 auto; max-width: 1100px; text-align: center; font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; line-height: 1.15; color: var(--text-3); text-wrap: balance; }
.lema b { color: var(--text); font-weight: 700; }
.lema em { font-style: normal; background: linear-gradient(90deg, #ef9e0f, #ffcf66); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Encabezados de bloque ─────────────────────────────────────────── */
.rail-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.rail-h h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 800; text-transform: uppercase; letter-spacing: -.3px; line-height: 1; }
.rail-h-r { display: flex; align-items: center; gap: 10px; }
.rail-b { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; transition: border-color .2s, background .2s; }
.rail-b:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

/* ── Explora ───────────────────────────────────────────────────────── */
.explora { padding-top: 56px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; gap: 8px; align-items: center; padding: 11px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 14.5px; text-decoration: none !important; transition: border-color .2s, transform .2s, background .2s; }
.pill small { font-size: 12px; color: var(--muted); font-weight: 600; }
.pill:hover { border-color: var(--accent); transform: translateY(-2px); }
.pill-p { background: linear-gradient(135deg, rgba(239,158,15,.16), rgba(239,158,15,.04)); border-color: rgba(239,158,15,.35); }
.busca-b { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; padding: 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.busca-b input, .busca-b select { flex: 1 1 160px; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 15px; padding: 10px 16px; outline: none; }
.busca-b select { border-left: 1px solid var(--border); border-radius: 0; }
.busca-b select option { color: #111; }

/* ── Carriles deslizables ──────────────────────────────────────────── */
.rail { padding-top: 60px; }
.rail-c { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail-c::-webkit-scrollbar { display: none; }
.rail-c[hidden] { display: none !important; }
.rail-c > * { scroll-snap-align: start; scroll-margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.bc { flex: 0 0 clamp(250px, 23vw, 340px); display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none !important; position: relative; }
.bc .ph { border-radius: 16px; box-shadow: 0 0 0 1px var(--border); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.bc:hover .ph { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--accent), 0 18px 40px rgba(0,0,0,.4); }
.bc-bd { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; min-width: 0; }
.bc { min-width: 0; }
.bc-bd b { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.05; }
/* Top 10: número enorme a la izquierda, la foto intacta */
.bc-n { flex-basis: clamp(300px, 28vw, 410px); padding-left: 86px; }
.bc-num { position: absolute; left: -4px; top: -18px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800;
  font-size: 170px; line-height: 1; letter-spacing: -10px; color: transparent; -webkit-text-stroke: 3px var(--accent); pointer-events: none;
  text-shadow: 0 0 40px var(--glow); }
.bc-n:hover .bc-num { color: var(--accent); }
.masv .pest { background: var(--surface); border-radius: 999px; }
.masv .pest button { border-radius: 999px; }

/* ── Colecciones en mosaico (las fotos siguen siendo 16:9) ─────────── */
.bento-s { padding-top: 64px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bt-c { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); color: inherit; text-decoration: none !important; transition: border-color .2s, transform .25s; }
.bt-c:hover { border-color: var(--accent); transform: translateY(-3px); }
.bt-xl { grid-column: span 2; grid-row: span 2; }
.bt-c .ph { border-radius: 0; }
.bt-bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bt-bd b { font-size: 24px; font-weight: 800; color: var(--text); text-transform: uppercase; line-height: 1; }
.bt-xl .bt-bd b { font-size: 40px; }
.bt-bd span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.bt-bd small { margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 700; color: var(--accent-text); }

/* ── Desde China con amor ──────────────────────────────────────────── */
.china-b2 { margin-top: 70px; padding: 44px 0 18px;
  background: radial-gradient(90% 120% at 0% 0%, #e0263f 0%, #a40c22 45%, #4a0611 100%); }
.china-b2 .rail-h h2 { color: #fff; }
.china-tt { display: flex; align-items: center; gap: 14px; }
.china-tt svg { width: 34px; height: 34px; fill: #f5b731; filter: drop-shadow(0 0 14px rgba(245,183,49,.6)); }
.china-sub { margin: -8px 0 8px; color: #ffd0d6; font-weight: 600; }
.china-b2 .more { color: #ffe2a6; }
.china-b2 .rail-b { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
/* Tarjetas blancas sobre el rojo: foto, título y datos juntos y legibles. */
.china-b2 .bc { background: #fff; border-radius: 18px; padding: 10px 10px 14px; gap: 10px; box-shadow: 0 10px 30px rgba(40,0,8,.35); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.china-b2 .bc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(40,0,8,.5); }
.china-b2 .bc .ph { border-radius: 12px; box-shadow: none; }
.china-b2 .bc:hover .ph { transform: none; box-shadow: none; }
.china-b2 .bc-bd { padding: 0 4px; }
.china-b2 .bc-bd b { color: #14161a; }
.china-b2 .bc .kick { color: #c8102e; }
.china-b2 .spec { color: #2a2d33; }
.china-b2 .spec small { color: #6b6f78; }
.china-b2 .spec svg { stroke: #c8102e; }

/* ── El sábado ─────────────────────────────────────────────────────── */
.sabado { margin-top: 70px; }
.sabado-in { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: 26px; padding: 40px; position: relative; overflow: hidden; }
.sabado-in::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%); pointer-events: none; }
.sabado-t { position: relative; }
.sabado-t h2 { font-size: clamp(36px, 3.4vw, 54px); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 14px 0 6px; }
.sabado-t > p:not(.meta) { color: var(--text-3); margin: 14px 0 0; }
.sabado-t .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.sabado-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.sabado-l a { display: grid; grid-template-columns: 40px 120px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 14px;
  color: var(--text); text-decoration: none !important; transition: background .2s; }
.sabado-l a:hover { background: var(--chip-bg); }
.sabado-l em { font-style: normal; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 28px; color: var(--accent-text); text-align: center; }
.sabado-l img { width: 120px; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 9px; }
.sabado-l span { font-weight: 600; font-size: 15px; line-height: 1.3; }

/* ── Breves y canal ────────────────────────────────────────────────── */
.final { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; padding-top: 70px; }
.breves-b { display: flex; flex-direction: column; }
.breve-b { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--border-soft); color: inherit; text-decoration: none !important; }
.breve-b b { color: var(--text); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.breve-b:hover b { color: var(--accent-text); }
.yt-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 34px; border-radius: 26px; text-decoration: none !important; color: #fff;
  background: radial-gradient(120% 100% at 100% 0%, #ff3b3b 0%, #b3121b 45%, #3a0508 100%); box-shadow: 0 20px 60px rgba(179,18,27,.35); align-self: start; }
.yt-cta-ic { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.15); display: grid; place-items: center; }
.yt-cta-ic svg { width: 28px; height: 28px; }
.yt-cta b { font-size: 36px; font-weight: 800; text-transform: uppercase; line-height: .95; }
.yt-cta > span:not(.btn):not(.yt-cta-ic) { color: #ffd9db; font-size: 14.5px; line-height: 1.5; }
.yt-cta .btn { margin-top: 6px; }

/* ── Ficha: modo ambiente detrás del vídeo ─────────────────────────── */
.video.amb { position: relative; isolation: isolate; }
.video.amb::before { content: ""; position: absolute; inset: 40px -6% -40px; z-index: -1; background: var(--amb) center / cover;
  filter: blur(80px) saturate(1.5); opacity: .5; border-radius: 50%; }
.yt { border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.yt .play { border-radius: 50%; width: 82px; height: 82px; box-shadow: 0 10px 40px var(--glow); }
.ficha-h h1 { text-transform: uppercase; }
.datos { border-radius: 16px; }
.caja, .comenta { border-radius: 20px; }
.card { border-radius: 16px; }
.chip { border-radius: 999px; }

/* ── Pie ───────────────────────────────────────────────────────────── */
.pie { margin-top: 90px; }

/* ── Pantallas medianas ────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .bt .q { width: 180px; }
  .bt .nav a { padding: 8px 9px; }
}
@media (max-width: 1100px) {
  body:not(.home) main { padding-top: 130px; }
  .esc { padding-top: 140px; }
  .bt-in { flex-wrap: wrap; border-radius: 26px; padding-top: 6px; row-gap: 0; }
  .bt .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 0 8px; flex-wrap: nowrap; }
  .bt .nav::-webkit-scrollbar { display: none; }
  .bt .top-r { margin-left: auto; }
  .esc-in { grid-template-columns: 1fr; gap: 26px; }
  .esc-tira { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sabado-in, .final { grid-template-columns: 1fr; }
}
/* ── Móvil ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .bt { padding: 8px 10px 0; position: fixed; }
  .bt-in { padding: 0 6px 0 14px; min-height: 52px; gap: 8px; background: rgba(10,10,14,.72); border-color: rgba(255,255,255,.1);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; }
  .bt .top-r { display: flex; gap: 6px; margin-left: auto; width: auto; }
  .bt .q { display: none; }
  .bt .canal { display: flex; }
  .bt .canal span { display: none; }
  .bt .nav { grid-column: auto; grid-row: auto; margin: 0; padding: 2px 0 8px; }
  .bt .nav a { font-size: 13.5px; padding: 7px 11px; }
  .bt-in { border-radius: 22px; }
  .bt .canal { padding: 8px 10px; }
  .bt .logo img { height: 22px; }
  body:not(.home) main { padding-top: 116px; }
  .esc { padding-top: 124px; }
  .esc-s .ph { border-radius: 16px; }
  .esc-play { width: 46px; height: 46px; right: 12px; top: 12px; }
  .esc-t > p { font-size: 16px; }
  .esc-t .datos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .esc-t .datos strong { font-size: 21px; }
  .esc-tira { display: flex; margin: 22px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter); gap: 8px; }
  .esc-tira button { flex: 0 0 210px; }
  .busca-b { border-radius: 20px; }
  .busca-b select { border-left: 0; border-top: 1px solid var(--border); }
  .busca-b .btn { flex: 1 1 100%; justify-content: center; }
  .bc { flex-basis: 78vw; }
  .bc-n { flex-basis: 86vw; padding-left: 62px; }
  .bc-num { font-size: 120px; letter-spacing: -7px; top: -10px; -webkit-text-stroke-width: 2px; }
  .bento { grid-template-columns: 1fr; }
  .bt-xl { grid-column: auto; grid-row: auto; }
  .bt-xl .bt-bd b { font-size: 30px; }
  .sabado-in { padding: 24px 18px; border-radius: 20px; }
  .sabado-l a { grid-template-columns: 30px 96px 1fr; gap: 10px; }
  .sabado-l img { width: 96px; }
  .rail-b { display: none; }
  .yt-cta { padding: 26px; }
  .pill { padding: 9px 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .esc-s, .esc-t, .esc-amb img, .bc .ph, .bt-c, .pill { transition: none; }
}

/* ── Menú desplegable (móvil y tableta) ────────────────────────────── */
.menu-b { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.menu-b i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.menu-b[aria-expanded="true"] { background: #ef9e0f; border-color: #ef9e0f; }
.menu-b[aria-expanded="true"] i { background: #14140c; }
.menu-b[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-b[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-b[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-p { max-width: var(--max); margin: 8px auto 0; padding: 18px; border-radius: 24px; background: rgba(10,10,14,.94);
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 24px 60px rgba(0,0,0,.5);
  max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; animation: menuIn .22s cubic-bezier(.2,.7,.2,1); color: #ddd; }
.menu-p[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
.menu-q { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 11px 16px; }
.menu-q svg { width: 17px; height: 17px; stroke: #9a9aa4; flex-shrink: 0; }
.menu-q input { border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; width: 100%; outline: none; }
.menu-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.menu-t { display: block; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #ef9e0f; margin: 4px 0 8px; }
.menu-g > div > .menu-t ~ .menu-t { margin-top: 18px; }
.menu-a { display: block; padding: 9px 0; color: #f0f0f3; font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none !important; }
.menu-a:hover { color: #ef9e0f; }
.menu-a.on { color: #ef9e0f; }
.menu-a.nav-china { color: #ff6b77; }
.menu-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.menu-p .pill { padding: 8px 13px; font-size: 13px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #f0f0f3; }
@media (max-width: 1100px) {
  .menu-b { display: flex; }
  .bt .nav { display: none; }
  .bt-in { flex-wrap: nowrap; border-radius: 999px; padding-top: 0; }
  body:not(.home) main { padding-top: 96px; }
  .esc { padding-top: 104px; }
}
@media (max-width: 640px) {
  .menu-g { grid-template-columns: 1fr; gap: 6px; }
  .menu-p { margin-top: 8px; border-radius: 20px; padding: 14px; max-height: calc(100dvh - 76px); }
  .bt-in { border-radius: 999px; }
  .menu-b { width: 38px; height: 38px; }
  body:not(.home) main { padding-top: 80px; }
  .esc { padding-top: 84px; }
}
html.menu-abierto { overflow: hidden; }
.menu-tg { display: inline-flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px; }
.menu-tg button { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 8px 14px; color: #c9c9d1; border-radius: 999px; }
.menu-tg button svg { width: 14px; height: 14px; }
.menu-tg button[aria-pressed="true"] { background: #ef9e0f; color: #14140c; }
@media (max-width: 640px) {
  .bt .top-r > .tg { display: none; }
  .bt-in { flex-wrap: nowrap; }
}

/* Botón de YouTube en rojo */
.bt .canal { background: #ff0033; color: #fff; box-shadow: 0 4px 18px rgba(255,0,51,.4); }
.bt .canal:hover { background: #e0002d; }

/* Datos de las tarjetas más compactos para que quepan los tres. */
.bc .specs { gap: 0 8px; }
.bc .spec { gap: 3px; font-size: 12px; letter-spacing: -.1px; }
.bc .spec svg { width: 13px; height: 13px; }
.bc .spec small { font-size: 10.5px; }
.china-b2 .bc { padding: 8px 8px 12px; }
.china-b2 .bc-bd { padding: 0 3px; }
.china-b2 .china-tt { margin-bottom: 4px; }
.china-b2 .china-sub { margin: 6px 0 4px; }
.china-b2 > .rail + .rail { margin-top: 26px; }
.china-sub-h .rail-h { margin-top: 18px; }
.china-sub-h h3 { margin: 0; font-size: 26px; color: #fff; text-transform: uppercase; }
.china-b2 > .rail { padding-top: 0; }
.china-tt h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 800; text-transform: uppercase; letter-spacing: -.3px; line-height: 1; color: #fff; margin: 0; }
/* Noticias: en vez de datos, el arranque del primer párrafo. */
.bc-ex { font-size: 13.5px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.china-b2 .bc-ex { color: #4a4e57; }
.esc-tira img { object-fit: cover; }
/* Tira de miniaturas: a todo el ancho bajo foto y texto; en el móvil, justo debajo de la foto. */
.esc-in > .esc-tira { grid-column: 1 / -1; margin-top: -14px; }
@media (max-width: 900px) {
  .esc-media { order: 1; }
  .esc-in > .esc-tira { order: 2; margin-top: -12px; }
  .esc-txts { order: 3; }
}
/* El logo nunca se encoge ni se deforma: si falta sitio, cede el buscador. */
.bt .logo { flex: none; }
.bt .logo img { width: auto; max-width: none; }
.bt .nav { min-width: 0; flex-wrap: nowrap; }
.bt .nav a { white-space: nowrap; }
/* Sin sitio para el buscador: pasa al menú, que incluye la búsqueda. */
@media (max-width: 1480px) and (min-width: 1101px) { .bt .q { display: none; } .menu-b { display: flex; } }
@media (max-width: 1180px) and (min-width: 1101px) { .bt .nav { display: none; } }
@media (max-width: 1300px) and (min-width: 1101px) { .bt .nav a { padding: 8px 7px; font-size: 13.5px; } }
@media (max-width: 900px) { .bt .q { display: none; } }
/* Selector claro/oscuro: siempre junto al botón de YouTube, también en el móvil. */
.bt .top-r { gap: 8px; }
@media (max-width: 640px) {
  .bt .top-r > .tg { display: flex; padding: 2px; }
  .bt .top-r > .tg button { padding: 5px 6px; }
}
@media (max-width: 640px) {
  .bt .top-r { flex-wrap: nowrap; gap: 6px; }
  .bt .logo img { height: 20px; }
}
@media (max-width: 380px) {
  .bt .logo img { height: 16px; }
  .bt-in { padding-left: 12px; }
}
@media (max-width: 340px) { .bt .logo img { height: 15px; } .bt .top-r { gap: 4px; } .bt .top-r > .tg button { padding: 4px 5px; } }
/* Móvil: selector claro/oscuro a la izquierda, logo en el centro, YouTube y menú a la derecha. */
@media (max-width: 640px) {
  .bt-in { position: relative; justify-content: space-between; }
  .bt .top-r { display: contents; }
  .bt .top-r > .tg { order: -1; }
  .bt .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .bt .canal { margin-left: auto; }
}
@media (max-width: 340px) { .bt .logo img { height: 13px; } .bt-in { padding-left: 8px; padding-right: 4px; } }
/* «Lo más visto»: banda propia en ámbar y tarjetas exactamente del mismo alto. */
.masv { margin-top: 60px; padding: 44px 0 30px; background:
  radial-gradient(80% 140% at 100% 0%, rgba(239,158,15,.22) 0%, rgba(239,158,15,.06) 45%, transparent 75%),
  linear-gradient(180deg, var(--panel), var(--bg)); border-top: 1px solid rgba(239,158,15,.25); border-bottom: 1px solid rgba(239,158,15,.18); }
:root[data-theme="light"] .masv { background: radial-gradient(80% 140% at 100% 0%, rgba(239,158,15,.28) 0%, rgba(239,158,15,.08) 45%, transparent 75%), linear-gradient(180deg, #fff8ea, var(--bg)); }
.masv-sub { margin: -8px 0 18px; color: var(--text-2); font-weight: 500; max-width: 640px; }
.masv .bc-n .kick { display: block; min-height: 1.3em; }
.masv .bc-n .bc-bd b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.1em; }
.masv .bc-n .bc-ex { -webkit-line-clamp: 2; min-height: 2.8em; }
/* «Lo más visto» en oscuro: ámbar más presente para que la banda se distinga bien. */
:root:not([data-theme="light"]) .masv { background:
  radial-gradient(70% 120% at 100% 0%, rgba(239,158,15,.42) 0%, rgba(239,158,15,.16) 40%, transparent 72%),
  radial-gradient(60% 90% at 0% 100%, rgba(239,158,15,.18) 0%, transparent 70%),
  linear-gradient(180deg, #1a1408, #0d0b07); border-top-color: rgba(239,158,15,.55); border-bottom-color: rgba(239,158,15,.35); }
/* El resplandor del vídeo sobresale a propósito: que no cree desplazamiento horizontal. */
html, body { overflow-x: clip; }
