/* ═════════ Mundos de El Mundo: Miami, Hidalgo, Nuevo León, USA, Canadá, España y Sports ═════════
   Comparten una capa (html[data-mundo]) que cada edición tiñe con sus variables; después va lo propio de cada una.
   Las fotos de adorno son reales (Wikimedia Commons, ver assets/mundos/CREDITOS.txt). */

/* ───────── Capa común ───────── */
html[data-mundo] { --titulo: var(--serif); --titulo-peso: 600; --texto: var(--serif); --vidrio: rgba(255,255,255,.72); --vidrio-osc: rgba(14,20,30,.55);
  --marco: 0 14px 30px -20px rgba(14,27,44,.35), inset 0 0 0 1px rgba(14,27,44,.07);
  --marco-foto: 0 22px 44px -26px rgba(14,27,44,.55); --perfil: radial-gradient(90% 140% at 12% 0%, var(--accent), var(--ink) 72%); }
html[data-mundo] body { background: var(--bg); position: relative; }
html[data-mundo] main, html[data-mundo] .footer { position: relative; z-index: 2; }
/* la barra sigue fija arriba y por encima del contenido, para que el menú More se abra encima */
html[data-mundo] .topbar { position: sticky; z-index: 50; }
html[data-mundo] .lg { background-color: var(--vidrio); }
html[data-mundo] .lg-dark { background-color: var(--vidrio-osc); }
html[data-mundo] .lg-accent, html[data-mundo] .progress { background: var(--boton, var(--accent)); }
html[data-mundo] .lead-panel h1, html[data-mundo] .lead-panel .lead-h, html[data-mundo] .sec-head h2, html[data-mundo] .top-read h2,
html[data-mundo] .brief-head h2, html[data-mundo] .latest-head h2, html[data-mundo] .special-panel h2, html[data-mundo] .nl-form h2,
html[data-mundo] .art-head h1, html[data-mundo] .arch-head h1, html[data-mundo] .prose h2, html[data-mundo] .prose h3,
html[data-mundo] .autor-caja h2, html[data-mundo] .perfil h1 { font-family: var(--titulo); font-weight: var(--titulo-peso); letter-spacing: -.012em; }
html[data-mundo] .card h3, html[data-mundo] .feature-panel h3, html[data-mundo] .brief-card h3, html[data-mundo] .row h3, html[data-mundo] .latest-item h3,
html[data-mundo] .rank h3, html[data-mundo] .mini h3, html[data-mundo] .video-main h3 { font-family: var(--texto); font-weight: 600; letter-spacing: -.006em; }
html[data-mundo] .kicker, html[data-mundo] .eyebrow { color: var(--accent-d); letter-spacing: .1em; }
html[data-mundo] .feature-panel .kicker, html[data-mundo] .special-panel .eyebrow { color: rgba(255,255,255,.88); }
html[data-mundo] .rank-n, html[data-mundo] .brief-n { font-family: var(--titulo); font-style: italic; font-weight: 500; color: var(--accent); opacity: 1; }
html[data-mundo] .pill-soft, html[data-mundo] .video-tag { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); letter-spacing: .08em; }
html[data-mundo] .live { background: var(--accent); }
html[data-mundo] .dot-live { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
html[data-mundo] .seg[aria-pressed="true"], html[data-mundo] .card-h:hover h3 { color: var(--accent-d); }
html[data-mundo] :focus-visible { outline-color: color-mix(in srgb, var(--accent) 60%, transparent); }
html[data-mundo] .latest, html[data-mundo] .brief-card, html[data-mundo] .mini, html[data-mundo] .nl-form,
html[data-mundo] .search-box, html[data-mundo] .autor-caja { box-shadow: var(--marco); }
/* la publicidad lleva el mismo marco del mundo (barras y estrellas en USA, rojo en Canadá, cal en Sports...) y su color en los puntos */
html[data-mundo] .publi-card, html[data-mundo] .lado-publi, html[data-mundo] .revista { box-shadow: var(--marco); }
html[data-mundo] .publi-puntos button[aria-current] { background: var(--accent); }
html[data-mundo] .lead, html[data-mundo] .feature, html[data-mundo] .special, html[data-mundo] .newsletter,
html[data-mundo] .video-main .video-thumb, html[data-mundo] .art-figure img { box-shadow: var(--marco-foto); }
html[data-mundo] .lead-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
html[data-mundo] .card-firma .avatar, html[data-mundo] .columna-autor .avatar { background: var(--ink); color: #fff; }
html[data-mundo] .footer-card { color: #fff; --logo-tinta: #fff; --logo-acento: var(--logo-acento-pie, #fff); background: var(--pie-arte, none) var(--pie-arte-pos, center) no-repeat, var(--pie); min-height: 196px; position: relative; }
html[data-mundo] .footer-card .footer-desc, html[data-mundo] .footer-card a { color: rgba(255,255,255,.78); }
html[data-mundo] .footer-card strong { color: #fff; }
html[data-mundo] .footer-cols a:hover { color: #fff; }
html[data-mundo] .perfil { background: var(--perfil); box-shadow: var(--marco-foto); }
html[data-mundo] .perfil .eyebrow { color: rgba(255,255,255,.85); }
html[data-mundo] .topbar .nav, html[data-mundo].is-scrolled .topbar .nav { background-color: var(--nav-fondo, rgba(255,255,255,.84)); box-shadow: var(--nav-marco, 0 12px 30px -18px rgba(14,27,44,.3), inset 0 0 0 1px rgba(14,27,44,.06)); }
html[data-mundo] .tabbar-pill { background-color: var(--nav-fondo, rgba(255,255,255,.84)); box-shadow: var(--nav-marco, 0 12px 30px -18px rgba(14,27,44,.3), inset 0 0 0 1px rgba(14,27,44,.06)); }
.ed-esquina, .ed-banda, .ed-banda2 { display: none; }
#briefing { position: relative; isolation: isolate; }
#briefing .brief-head, #briefing .brief-grid { position: relative; z-index: 3; }
/* paisaje: foto real del lugar a la derecha del briefing, se funde con el fondo; si hay varias se turnan despacio */
.ed-paisaje { position: absolute; z-index: 1; right: -60px; top: 8px; width: 980px; height: 372px; pointer-events: none; }
/* el paisaje sale un poco a la derecha a propósito: que no abra desplazamiento horizontal en pantallas medianas (clip no rompe la barra fija) */
html:has(.ed-paisaje) { overflow-x: clip; }
.ed-paisaje figure { position: absolute; inset: 0; margin: 0; }
.ed-paisaje i { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 21%, #000 37%), linear-gradient(180deg, transparent 0, #000 22%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 21%, #000 37%), linear-gradient(180deg, transparent 0, #000 22%, #000 84%, transparent 100%); mask-composite: intersect; }
.ed-paisaje figcaption small { display: block; margin-top: 4px; font-size: 9.5px; font-weight: 500; letter-spacing: .02em; opacity: .8; }
.ed-paisaje figcaption { position: absolute; right: 60px; top: 274px; z-index: 4; padding: 6px 12px; border-radius: 12px; text-align: right; font: 600 11px/1 Inter, system-ui, sans-serif; letter-spacing: .05em; color: #fff; background: rgba(14,27,44,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* turno limpio: la foto que se va se desvanece primero y la nueva entra cuando aquella ya casi no está, nunca dos encimadas.
   Cada foto se queda unos 11 s (lo lleva app.js; sin JS se queda la primera) */
.ed-paisaje.rota figure { opacity: 0; transition: opacity 1.2s ease-in; }
.ed-paisaje.rota figure.on, .ed-paisaje.rota:not(.vivo) figure:first-child { opacity: 1; transition: opacity 1.6s ease-out 1.1s; }
#briefing:has(.ed-paisaje) .brief-head { min-height: 236px; }
/* con paisajes (que llevan su crédito) las franjas de fotos viejas ya no salen, para no encimarse */
#briefing:has(.ed-paisaje) .ed-banda, #briefing:has(.ed-paisaje) .ed-banda2 { display: none !important; }
#briefing:has(.ed-paisaje) .brief-card { background-color: rgba(255,255,255,.93); }
@media (prefers-reduced-motion: reduce) { .ed-paisaje.rota figure, .ed-paisaje.rota figure.on { transition: none; } }

/* pareja: dos secciones lado a lado */
.pareja { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pareja-cuerpo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.pareja .feature { min-height: 300px; border-radius: 24px; }
.pareja .feature-panel { padding: 16px 18px; border-radius: 18px; }
.pareja .feature-panel h3 { font-size: 19px; line-height: 1.22; margin: 6px 0 0; }
.pareja-lista { display: flex; flex-direction: column; gap: 14px; }
.pareja-lista .row { align-items: flex-start; gap: 12px; padding: 0; border: 0; }
.pareja-lista .row img { width: 86px; height: 62px; border-radius: 10px; }
.pareja-lista .row h3 { font-size: 14px; line-height: 1.26; margin: 3px 0 0; }
.pareja-lista .row .meta { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--accent-d); }
@media (max-width: 991.98px) { .pareja { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 575.98px) { .pareja-cuerpo { grid-template-columns: 1fr; } }

/* selector con ocho ediciones: se desliza de lado si no cabe */

/* ───────── Familia de Miami, Hidalgo y Nuevo León: tarjetas limpias, trazo junto a cada título ───────── */
html[data-ed="miami"], html[data-ed="hidalgo"], html[data-ed="nuevoleon"] { --vidrio: rgba(255,255,255,.82); }
html[data-ed="miami"] .sec-head, html[data-ed="hidalgo"] .sec-head, html[data-ed="nuevoleon"] .sec-head { position: relative; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); margin-bottom: 26px; }
html[data-ed="miami"] .sec-head::after, html[data-ed="nuevoleon"] .sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 96px; height: 3px; border-radius: 2px; background: var(--accent); }
html[data-ed="miami"] .sec-head h2, html[data-ed="hidalgo"] .sec-head h2, html[data-ed="nuevoleon"] .sec-head h2,
html[data-ed="miami"] .brief-head h2, html[data-ed="hidalgo"] .brief-head h2, html[data-ed="nuevoleon"] .brief-head h2,
html[data-ed="miami"] .top-read h2, html[data-ed="hidalgo"] .top-read h2, html[data-ed="nuevoleon"] .top-read h2 { display: inline-flex; align-items: center; gap: 14px; }
html[data-ed="miami"] .sec-head h2::after, html[data-ed="hidalgo"] .sec-head h2::after,
html[data-ed="miami"] .brief-head h2::after, html[data-ed="hidalgo"] .brief-head h2::after,
html[data-ed="miami"] .top-read h2::after, html[data-ed="hidalgo"] .top-read h2::after { content: ""; flex: none; width: 60px; height: 9px; background: var(--accent); -webkit-mask: url("mundos/trazo.svg") center / 100% 100% no-repeat; mask: url("mundos/trazo.svg") center / 100% 100% no-repeat; }
html[data-ed="nuevoleon"] .sec-head h2::after, html[data-ed="nuevoleon"] .brief-head h2::after, html[data-ed="nuevoleon"] .top-read h2::after { content: ""; flex: none; width: 62px; height: 3px; border-radius: 2px; background: var(--accent); }
html[data-ed="miami"] .sec-head a, html[data-ed="hidalgo"] .sec-head a, html[data-ed="nuevoleon"] .sec-head a { color: var(--ink); font-size: 13px; }
html[data-ed="miami"] #briefing .brief-card, html[data-ed="hidalgo"] #briefing .brief-card, html[data-ed="nuevoleon"] #briefing .brief-card { background-color: rgba(255,255,255,.94); }
html[data-ed="miami"] .eyebrow, html[data-ed="hidalgo"] .eyebrow, html[data-ed="nuevoleon"] .eyebrow { color: var(--muted); }
html[data-ed="miami"] .nav-links a[aria-current="page"], html[data-ed="hidalgo"] .nav-links a[aria-current="page"], html[data-ed="nuevoleon"] .nav-links a[aria-current="page"] { color: #fff; background: var(--pill); box-shadow: 0 2px 8px -2px rgba(0,0,0,.35); }
html[data-ed="miami"] .tab[aria-current="page"], html[data-ed="hidalgo"] .tab[aria-current="page"], html[data-ed="nuevoleon"] .tab[aria-current="page"] { color: #fff; background: var(--pill); box-shadow: none; }
html[data-ed="miami"] .ed-esquina, html[data-ed="hidalgo"] .ed-esquina, html[data-ed="nuevoleon"] .ed-esquina,
html[data-ed="miami"] .ed-banda, html[data-ed="hidalgo"] .ed-banda, html[data-ed="nuevoleon"] .ed-banda,
html[data-ed="miami"] .ed-banda2, html[data-ed="hidalgo"] .ed-banda2 { display: block; position: absolute; pointer-events: none; }
html[data-ed="miami"] .ed-esquina, html[data-ed="hidalgo"] .ed-esquina, html[data-ed="nuevoleon"] .ed-esquina { top: 0; z-index: 1; }

/* ───────── Miami: coral y verde agua, palmas y atardecer en la bahía ───────── */
html[data-ed="miami"] { --bg: #FBF7F0; --ink: #0E1B2C; --muted: #5A6573; --read: #14202E; --accent: #EE5A47; --accent-d: #C9402F; --pill: #0E1B2C;
  --titulo: "Playfair Display", Georgia, serif; --titulo-peso: 700; --texto: "Source Serif 4", Georgia, serif; --vidrio-osc: rgba(14,27,44,.55);
  --logo-acento: #EE5A47; --logo-acento-pie: #FF7B68; --pie: #0D2233; --pie-arte: url("mundos/miami-pie.svg"); --pie-arte-pos: left 360px bottom 12px / 430px 127px; --boton: linear-gradient(180deg, #F0705F, #C9402F); }
/* esquina: hojas de palmera en verde agua que cuelgan desde arriba a la derecha, con un brillo de atardecer muy suave */
html[data-ed="miami"] .ed-esquina { right: 0; width: 400px; height: 260px; background: radial-gradient(55% 60% at 94% 4%, rgba(255,176,158,.32), rgba(255,206,190,.14) 50%, transparent 78%); }
html[data-ed="miami"] .ed-esquina::after { content: ""; position: absolute; inset: 0; background: url("mundos/miami-palma-esquina.svg") right top / 400px 261px no-repeat; filter: drop-shadow(0 6px 10px rgba(22,94,104,.12)); }
html[data-ed="miami"] .ed-banda { z-index: 1; right: 40px; top: 30px; width: 820px; height: 250px; background: url("mundos/miami-atardecer.webp") right 34% / auto 300px no-repeat; mix-blend-mode: multiply; opacity: .9; filter: saturate(.8) brightness(1.62) contrast(.58) hue-rotate(-12deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, rgba(0,0,0,.4) 22%, #000 46%, #000 80%, transparent 99%), linear-gradient(180deg, transparent 0, #000 40%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 2%, rgba(0,0,0,.4) 22%, #000 46%, #000 80%, transparent 99%), linear-gradient(180deg, transparent 0, #000 40%, #000 84%, transparent 100%); mask-composite: intersect; }
/* la ciudad va sola, sin palmera: la palmera vive en la esquina */
html[data-ed="miami"] .ed-banda2 { display: none; }
/* olas del mar bajo el menú, palmita antes de las secciones y azulejo de playa muy tenue en todo el fondo */
html[data-ed="miami"] .topbar .nav-orla { height: 6px; bottom: 4px; background: url("mundos/miami-ola.svg") 0 50% / 24px 6px repeat-x; opacity: .55; }
html[data-ed="miami"] .topbar .nav-links::before { width: 16px; height: 16px; background: url("mundos/miami-palmita.svg") center / contain no-repeat; opacity: .9; }
html[data-ed="miami"] body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .09; background: url("mundos/miami-fondo.svg") 0 0 / 180px 180px repeat; }
html[data-ed="miami"] .ed-glider[data-ed="miami"], .ed-glider[data-ed="miami"] { background: linear-gradient(180deg, #1F7480, #165E68); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -10px #165E68, 0 0 30px -6px rgba(238,90,71,.4); }

/* ───────── Hidalgo: verde de bosque, bordado tenango, Prismas Basálticos y El Chico ───────── */
html[data-ed="hidalgo"] { --bg: #F8F5EE; --ink: #16251F; --muted: #56635C; --read: #1B2B24; --accent: #1E6B4A; --accent-d: #14533A; --pill: #1E5C40;
  --titulo: Newsreader, Georgia, serif; --titulo-peso: 500; --texto: "Source Serif 4", Georgia, serif; --vidrio-osc: rgba(18,38,30,.55);
  --logo-acento: #1E6B4A; --logo-acento-pie: #8FD3AE; --pie: #173F31; --pie-arte: url("mundos/hidalgo-pie.svg"); --pie-arte-pos: left 380px bottom 12px / 470px 102px; --boton: linear-gradient(180deg, #2A7D58, #14533A); }
html[data-ed="hidalgo"] .ed-esquina { right: 0; width: 420px; height: 150px; }
html[data-ed="hidalgo"] .ed-esquina::before { content: ""; position: absolute; right: 70px; top: 24px; width: 330px; height: 110px; background: url("mundos/hidalgo-penas.webp") 0 -52px / 330px auto no-repeat; filter: grayscale(1) sepia(1) hue-rotate(118deg) saturate(.85) brightness(1.42) contrast(.62);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 75%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 75%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%); mask-composite: intersect; }
html[data-ed="hidalgo"] .ed-esquina::after { content: ""; position: absolute; right: 0; top: 0; width: 240px; height: 150px; background: url("mundos/hidalgo-tenango.webp") -50px -14px / 420px auto no-repeat; mix-blend-mode: multiply; filter: brightness(1.22) contrast(1.35) saturate(1.15);
  -webkit-mask-image: radial-gradient(120% 120% at 100% 0, #000 45%, transparent 82%); mask-image: radial-gradient(120% 120% at 100% 0, #000 45%, transparent 82%); }
html[data-ed="hidalgo"] .ed-banda { z-index: 1; right: 360px; top: 52px; width: 520px; height: 190px; background: url("mundos/hidalgo-chico.webp") -150px -11px / 820px auto no-repeat; mix-blend-mode: multiply; filter: saturate(.45) brightness(1.22) contrast(.82) hue-rotate(-12deg);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0, #000 40%, rgba(0,0,0,.6) 70%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 40%, #000 80%, transparent 100%), linear-gradient(180deg, transparent 0, #000 40%, rgba(0,0,0,.6) 70%, transparent 100%); mask-composite: intersect; }
html[data-ed="hidalgo"] .ed-banda2 { z-index: 1; right: -20px; top: 8px; width: 520px; height: 250px; background: url("mundos/hidalgo-prismas.webp") -72px -64px / 650px auto no-repeat; mix-blend-mode: multiply; filter: saturate(1.05) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 26%, #000 72%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 26%, #000 72%, transparent 100%); mask-composite: intersect; }
html[data-ed="hidalgo"] #briefing .brief-card { min-height: 0; padding: 22px 26px; gap: 8px; }
html[data-ed="hidalgo"] #briefing .brief-card h3 { font-size: 19px; }
html[data-ed="hidalgo"] .footer-card::before { content: ""; position: absolute; left: 350px; top: 34px; bottom: 34px; width: 1px; background: rgba(255,255,255,.28); }
.ed-glider[data-ed="hidalgo"] { background: linear-gradient(180deg, #2A7D58, #1E5C40); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -10px #1E5C40; }

/* ───────── Nuevo León: acero, curvas de nivel y el Cerro de la Silla ───────── */
html[data-ed="nuevoleon"] { --bg: #F5F3EF; --ink: #1E2329; --muted: #5D646C; --read: #22272D; --accent: #D9602A; --accent-d: #B34A1C; --pill: #1E2329;
  --titulo: "Playfair Display", Georgia, serif; --titulo-peso: 700; --texto: "Source Serif 4", Georgia, serif; --vidrio-osc: rgba(24,28,34,.55);
  --logo-acento: #D9602A; --logo-acento-pie: #F0803F; --pie: #22262C; --pie-arte: url("mundos/nuevoleon-pie.svg"); --pie-arte-pos: left 330px bottom 10px / 480px 111px; --boton: linear-gradient(180deg, #E5733D, #B34A1C); }
html[data-ed="nuevoleon"] body::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2800px; z-index: 0; pointer-events: none; opacity: .55;
  background: url("mundos/nuevoleon-curvas.svg") right -40px top -10px / 440px 230px no-repeat, url("mundos/nuevoleon-curvas.svg") left -160px top 1000px / 460px 240px no-repeat, url("mundos/nuevoleon-curvas.svg") right -130px top 1900px / 460px 240px no-repeat; }
html[data-ed="nuevoleon"] .ed-esquina { left: 0; width: 380px; height: 320px; background: url("mundos/nuevoleon-vigas.svg") left top / 100% 100% no-repeat; filter: drop-shadow(3px 4px 6px rgba(20,24,30,.28)); }
html[data-ed="nuevoleon"] .ed-banda { z-index: 1; right: -30px; top: 24px; width: 860px; height: 262px; background: url("mundos/nuevoleon-cerro.webp") 103px -9px / 799px auto no-repeat; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.2) brightness(1.28);
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.45) 24%, #000 46%), linear-gradient(180deg, transparent 0, #000 30%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.45) 24%, #000 46%), linear-gradient(180deg, transparent 0, #000 30%, #000 84%, transparent 100%); mask-composite: intersect; }
html[data-ed="nuevoleon"] .dateline::after { content: ""; flex: none; width: 150px; height: 30px; margin-left: auto; background: url("mundos/nuevoleon-cerrito.svg") center / contain no-repeat; }
@media (min-width: 768px) { html[data-ed="nuevoleon"] .dateline { padding-left: 190px; } } /* la fecha empieza donde termina el acero */
html[data-ed="nuevoleon"] .latest-head .dot-live { width: 3px; height: 22px; border-radius: 2px; box-shadow: none; }
html[data-ed="nuevoleon"] .lead-panel h1::after { content: ""; display: inline-block; width: 66px; height: 3px; margin-left: 16px; vertical-align: middle; background: var(--accent); border-radius: 2px; }
.ed-glider[data-ed="nuevoleon"] { background: linear-gradient(180deg, #353B43, #1E2329); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 24px -10px #1E2329, 0 0 26px -6px rgba(217,96,42,.45); }

/* ───────── USA: estrellas, franjas, la Estatua de la Libertad y la Campana ───────── */
html[data-ed="usa"] { --bg: #FBFAF6; --ink: #14213D; --muted: #525B72; --read: #14213D; --accent: #B22234; --accent-d: #B22234; --azul: #3C3B6E;
  --vidrio-osc: rgba(20,33,61,.6); --logo-acento: #B22234; --logo-acento-pie: #F0606F; --boton: linear-gradient(180deg, #4A4986, #2E2D5A);
  --marco: 0 14px 34px -16px rgba(20,33,61,.3), inset 0 0 0 2px #3C3B6E, inset 0 0 0 5px rgba(255,255,255,.6), inset 0 0 0 6px #B22234;
  --marco-foto: 0 0 0 3px #3C3B6E, 0 0 0 7px var(--bg), 0 0 0 9px #B22234, 0 22px 40px -18px rgba(20,33,61,.45);
  --pie: linear-gradient(160deg, #3C3B6E, #1E1D45); --perfil: radial-gradient(90% 140% at 12% 0%, #4A4986, #1E1D45 72%);
  --nav-fondo: rgba(255,255,255,.8); --nav-marco: 0 14px 36px -14px rgba(20,33,61,.3), inset 0 1px 0 #fff, inset 0 0 0 1.5px #3C3B6E, inset 0 0 0 4px rgba(255,255,255,.7), inset 0 0 0 5px #B22234; }
html[data-ed="usa"] body { padding-top: 26px; }
html[data-ed="usa"] body::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("mundos/usa-estrellas-fondo.svg") 0 0 / 46px 46px repeat; }
/* la bandera arriba, a todo lo ancho: cantón con estrellas y franjas */
html[data-ed="usa"] .ed-esquina { display: block; position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 3; pointer-events: none; background: repeating-linear-gradient(180deg, #B22234 0 3.71px, #FFFFFF 3.71px 7.43px); }
html[data-ed="usa"] .ed-esquina::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 300px; background: url("mundos/usa-estrella-blanca.svg") 6px 3px / 20px 20px repeat-x, #3C3B6E; }
html[data-ed="usa"] .topbar .nav-orla { height: 9px; bottom: 4px; background: url("mundos/usa-estrella.svg") 0 0 / 15px 9px repeat-x; opacity: .7; }
html[data-ed="usa"] .topbar .nav-links::before { width: 16px; height: 16px; background: url("mundos/usa-estrella-roja.svg") center / contain no-repeat; margin: 0 6px 0 2px; }
html[data-ed="usa"] .topbar .nav-links a { position: relative; }
html[data-ed="usa"] .topbar .nav-links a[aria-current="page"] { color: #B22234; background: none; box-shadow: none; font-weight: 650; }
html[data-ed="usa"] .topbar .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; background: currentColor; }
html[data-ed="usa"] .sec-head { position: relative; border-bottom: 0; margin-bottom: 36px; }
html[data-ed="usa"] .sec-head h2 { display: flex; align-items: center; gap: 12px; }
html[data-ed="usa"] .sec-head h2::before { content: ""; width: 62px; height: 40px; flex: none; background: url("mundos/usa-aguila.svg") center / contain no-repeat; }
html[data-ed="usa"] .sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: repeating-linear-gradient(180deg, #B22234 0 2px, #fff 2px 4px); box-shadow: inset 0 0 0 .5px rgba(178,34,52,.25); }
html[data-ed="usa"] .sec-head::before { content: ""; position: absolute; left: 0; bottom: -14px; width: 118px; height: 14px; z-index: 1; background: url("mundos/usa-estrella-blanca.svg") 3px 2px / 10px 10px repeat-x, #3C3B6E; }
html[data-ed="usa"] .sec-head a { position: relative; }
html[data-ed="usa"] .rank-n, html[data-ed="usa"] .brief-n { color: #3C3B6E; }
html[data-ed="usa"] .feature-panel .kicker { color: #F7D6DA; }
html[data-ed="usa"] .latest { background-image: url("mundos/usa-estatua.svg"); background-repeat: no-repeat; background-size: auto 122px; background-position: right 18px top 12px; }
html[data-ed="usa"] .latest-item:first-of-type { padding-right: 62px; }
html[data-ed="usa"] .brief-card { background-image: url("mundos/usa-campana.svg"); background-repeat: no-repeat; background-size: 62px auto; background-position: right 16px bottom 12px; }
html[data-ed="usa"] .pill-soft { color: #B22234; background: rgba(178,34,52,.08); box-shadow: inset 0 0 0 1px rgba(178,34,52,.25); }
html[data-ed="usa"] .footer-card { background: url("mundos/usa-estatua-pie.svg") left 400px bottom -3px / auto 214px no-repeat, url("mundos/usa-estrellas-pie.svg") 0 0 / 54px 54px repeat, linear-gradient(160deg, #3C3B6E, #1E1D45); box-shadow: 0 0 0 3px #B22234, 0 0 0 7px var(--bg), 0 0 0 9px #3C3B6E; }
html[data-ed="usa"] .card-firma .avatar { background: #3C3B6E; }
html[data-ed="usa"] .byline .avatar { background: #B22234; color: #fff; }
html[data-ed="usa"] .tab[aria-current="page"] { color: #B22234; background: rgba(255,255,255,.95); box-shadow: inset 0 0 0 1px rgba(178,34,52,.4); }
.ed-glider[data-ed="usa"] { background: linear-gradient(180deg, #4A4986, #2E2D5A); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px #B22234, 0 8px 26px -6px rgba(60,59,110,.7); }

/* ───────── Canadá: hoja de maple, alce, nieve y bosque ───────── */
html[data-ed="canada"] { --bg: #FBFCFD; --ink: #1D2730; --muted: #55636E; --read: #1D2730; --accent: #C8102E; --accent-d: #A50D26;
  --vidrio: rgba(255,255,255,.78); --vidrio-osc: rgba(29,39,48,.4); --logo-acento: #C8102E; --logo-acento-pie: #FFD9DE; --boton: linear-gradient(180deg, #D92A3F, #A50D26);
  --marco: 0 14px 34px -16px rgba(29,39,48,.28), inset 0 0 0 2px #C8102E, inset 0 0 0 5px rgba(255,255,255,.7), inset 0 0 0 6px #B9CBD8;
  --marco-foto: 0 0 0 3px #C8102E, 0 0 0 7px var(--bg), 0 0 0 8.5px #B9CBD8, 0 22px 40px -18px rgba(29,39,48,.42);
  --pie: linear-gradient(180deg, #B00E28, #8E0C1E); --perfil: radial-gradient(90% 140% at 12% 0%, #D92A3F, #6E0A18 72%);
  --nav-fondo: rgba(255,255,255,.86); --nav-marco: 0 14px 36px -14px rgba(29,39,48,.28), inset 0 1px 0 #fff, inset 0 0 0 1.5px #C8102E, inset 0 0 0 4px rgba(255,255,255,.8), inset 0 0 0 5px #B9CBD8; }
html[data-ed="canada"] body::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url("mundos/canada-copo-fondo.svg") 0 0 / 84px 84px repeat; }
html[data-ed="canada"] .topbar .nav-orla { height: 9px; bottom: 4px; background: url("mundos/canada-hoja.svg") 0 0 / 15px 9px repeat-x; opacity: .55; }
html[data-ed="canada"] .topbar .nav-links::before { width: 18px; height: 18px; background: url("mundos/canada-hoja.svg") center / contain no-repeat; margin: 0 6px 0 2px; }
html[data-ed="canada"] .topbar .nav-links a { position: relative; }
html[data-ed="canada"] .topbar .nav-links a[aria-current="page"] { color: #C8102E; background: none; box-shadow: none; font-weight: 650; }
html[data-ed="canada"] .topbar .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; background: currentColor; }
html[data-ed="canada"] .sec-head { position: relative; border-bottom: 0; margin-bottom: 34px; }
html[data-ed="canada"] .sec-head h2 { display: flex; align-items: center; gap: 10px; }
html[data-ed="canada"] .sec-head h2::before { content: ""; width: 34px; height: 34px; flex: none; background: url("mundos/canada-hoja.svg") center / contain no-repeat; }
/* separador: línea con los colores de la bandera (rojo, blanco, rojo), sin la bandera */
html[data-ed="canada"] .sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #C8102E 0 25%, #fff 25% 75%, #C8102E 75%); box-shadow: inset 0 0 0 1px rgba(200,16,46,.45); }
html[data-ed="canada"] .feature-panel .kicker { color: #FFD9DE; }
html[data-ed="canada"] .latest { background-image: url("mundos/canada-alce.svg"); background-repeat: no-repeat; background-size: 112px auto; background-position: right 12px top 12px; }
html[data-ed="canada"] .latest-head { min-height: 62px; }
html[data-ed="canada"] .brief-card { background-image: url("mundos/canada-copo.svg"); background-repeat: no-repeat; background-size: 54px; background-position: right 16px bottom 12px; }
html[data-ed="canada"] .columna { background-image: url("mundos/canada-pino.svg"); background-size: auto 66px; }
html[data-ed="canada"] .pill-soft { color: #A50D26; background: rgba(200,16,46,.07); box-shadow: inset 0 0 0 1px rgba(200,16,46,.25); }
html[data-ed="canada"] .footer-card { background: url("mundos/canada-alce-claro.svg") left 520px bottom 8px / auto 86px no-repeat, url("mundos/canada-bosque.svg") left 10px bottom / 300px 50px no-repeat, url("mundos/canada-bosque.svg") left 300px bottom / 300px 50px no-repeat, url("mundos/canada-bosque.svg") left 590px bottom / 300px 50px no-repeat, url("mundos/canada-montanas.svg") left 20px bottom / 860px 112px no-repeat, linear-gradient(180deg, #B00E28, #8E0C1E); box-shadow: 0 0 0 3px #C8102E, 0 0 0 7px var(--bg), 0 0 0 8.5px #B9CBD8; }
html[data-ed="canada"] .card-firma .avatar { background: #C8102E; }
html[data-ed="canada"] .byline .avatar { background: #fff; color: #A50D26; }
html[data-ed="canada"] .tab[aria-current="page"] { color: #C8102E; background: rgba(255,255,255,.95); box-shadow: inset 0 0 0 1px rgba(200,16,46,.4); }
.ed-glider[data-ed="canada"] { background: linear-gradient(180deg, #D92A3F, #A50D26); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 26px -6px rgba(200,16,46,.65); }

/* ───────── España: rojo y gualda, lunares, abanico, toro y la Sagrada Familia ───────── */
html[data-ed="espana"] { --bg: #FFF9EC; --ink: #2B1510; --muted: #6B5048; --read: #2B1510; --accent: #AA151B; --accent-d: #8E1116; --oro: #AA151B; --oro-l: #F1BF00;
  --vidrio: rgba(255,251,240,.66); --vidrio-osc: rgba(70,10,14,.55); --logo-acento: #AA151B; --logo-acento-pie: #F1BF00; --boton: linear-gradient(180deg, #C8232A, #8E1116);
  --marco: 0 14px 34px -16px rgba(110,11,16,.3), inset 0 0 0 1.5px #AA151B, inset 0 0 0 5px rgba(255,255,255,.5), inset 0 0 0 6px #F1BF00;
  --marco-foto: 0 0 0 2px #AA151B, 0 0 0 6px var(--bg), 0 0 0 7px #F1BF00, 0 22px 40px -18px rgba(110,11,16,.45);
  --pie: linear-gradient(160deg, #AA151B, #6E0B10); --perfil: radial-gradient(90% 140% at 12% 0%, #C8232A, #5E0A0E 72%);
  --nav-fondo: rgba(255,250,236,.72); --nav-marco: 0 14px 36px -14px rgba(110,11,16,.3), inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1.5px rgba(170,21,27,.7), inset 0 0 0 4px rgba(255,250,236,.6), inset 0 0 0 5px rgba(241,191,0,.85); }
html[data-ed="espana"] body { background-image: radial-gradient(rgba(170,21,27,.06) 2.4px, transparent 2.6px); background-size: 34px 34px; }
html[data-ed="espana"] body::before { content: ""; position: fixed; inset: -10vh -10vw; z-index: -1; pointer-events: none; background: radial-gradient(46% 40% at 4% 0%, rgba(241,191,0,.26), transparent 70%), radial-gradient(44% 40% at 96% 6%, rgba(200,16,46,.13), transparent 70%), radial-gradient(50% 44% at 90% 96%, rgba(241,191,0,.2), transparent 70%), radial-gradient(46% 40% at 6% 96%, rgba(200,16,46,.1), transparent 70%); }
html[data-ed="espana"] .topbar .nav-orla { height: 7px; bottom: 5px; background: radial-gradient(circle, #AA151B 2.1px, transparent 2.5px) 0 50% / 13px 7px repeat-x; opacity: .85; }
html[data-ed="espana"] .topbar .nav-links::before { width: 24px; height: 15px; background: url("mundos/espana-abanico.svg") center / contain no-repeat; }
html[data-ed="espana"] .topbar .nav-links a { position: relative; }
html[data-ed="espana"] .topbar .nav-links a:hover, html[data-ed="espana"] .topbar .nav-links a[aria-current="page"] { color: #AA151B; background: none; box-shadow: none; }
html[data-ed="espana"] .topbar .nav-links a[aria-current="page"] { font-weight: 650; }
html[data-ed="espana"] .topbar .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: currentColor; }
html[data-ed="espana"] .sec-head { position: relative; border-bottom: 3px solid #AA151B; margin-bottom: 34px; }
html[data-ed="espana"] .sec-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 3px; background: #F1BF00; }
html[data-ed="espana"] .sec-head h2, html[data-ed="espana"] .top-read h2 { display: flex; align-items: center; gap: 10px; }
html[data-ed="espana"] .sec-head h2::before, html[data-ed="espana"] .top-read h2::before { content: ""; width: 54px; height: 34px; flex: none; background: url("mundos/espana-toro.svg") center / contain no-repeat; }
html[data-ed="espana"] .eyebrow, html[data-ed="espana"] .kicker { color: #AA151B; }
html[data-ed="espana"] .brief-n, html[data-ed="espana"] .rank-n { color: #C8982A; }
html[data-ed="espana"] .feature-panel .kicker { color: #FBE39A; }
html[data-ed="espana"] .brief-card { background-image: url("mundos/espana-abanico.svg"); background-repeat: no-repeat; background-size: 74px auto; background-position: right 14px bottom 12px; }
html[data-ed="espana"] .latest { background-image: url("mundos/espana-flamenca.svg"); background-repeat: no-repeat; background-size: auto 104px; background-position: right 12px top 10px; }
html[data-ed="espana"] .latest-item:first-child { padding-right: 56px; }
html[data-ed="espana"] .pill-soft { color: #8E1116; background: rgba(170,21,27,.08); box-shadow: none; }
html[data-ed="espana"] .footer-card { background: url("mundos/espana-sagrada.svg") left 360px bottom -2px / auto 200px no-repeat, linear-gradient(160deg, #AA151B, #6E0B10); box-shadow: 0 0 0 2px #AA151B, 0 0 0 6px var(--bg), 0 0 0 7.5px #F1BF00; }
html[data-ed="espana"] .card-firma .avatar { background: #AA151B; }
html[data-ed="espana"] .byline .avatar { background: #F1BF00; color: #5E0A0E; }
html[data-ed="espana"] .tab[aria-current="page"] { color: #AA151B; background: rgba(255,251,240,.95); box-shadow: inset 0 0 0 1px rgba(170,21,27,.4); }
.ed-glider[data-ed="espana"] { background: linear-gradient(180deg, #C8232A, #8E1116); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(241,191,0,.8), 0 8px 26px -6px rgba(170,21,27,.7), 0 0 30px -4px rgba(241,191,0,.5); }

/* ───────── Sports: sobrio y editorial, como las grandes mesas deportivas. Tinta casi negra, el azul marino del logo
   y un solo acento: rojo de marcador. Sin adornos de cancha: la emoción la ponen las fotos de campeones ───────── */
html[data-ed="sports"] { --bg: #F4F4F2; --ink: #0C1420; --muted: #5A6371; --read: #141C28; --accent: #D71A28; --accent-d: #A8121E; --pill: #0C1420; --marino: #00274F;
  --titulo: "Barlow Condensed", "Arial Narrow", sans-serif; --titulo-peso: 700; --texto: Barlow, Inter, system-ui, sans-serif;
  --vidrio: rgba(255,255,255,.92); --vidrio-osc: rgba(8,14,24,.62); --logo-acento: #D71A28; --logo-acento-pie: #FF4D5A; --boton: linear-gradient(180deg, #E5262F, #B3121E);
  --marco: 0 16px 34px -22px rgba(12,20,32,.45), inset 0 0 0 1px rgba(12,20,32,.08);
  --pie: linear-gradient(180deg, #0B1C30, #050B14); --pie-arte: none;
  --perfil: linear-gradient(135deg, #00274F 0%, #0C1420 72%); }
/* esquina: apenas el resplandor de una torre de luz de estadio */
html[data-ed="sports"] .ed-esquina { display: block; position: absolute; pointer-events: none; z-index: 0; top: 0; right: 0; width: 620px; height: 360px; background: radial-gradient(60% 70% at 100% 0, rgba(0,39,79,.11), rgba(0,39,79,.04) 45%, transparent 72%); }
/* barra: secciones en mayúsculas condensadas y un hilo rojo de marcador */
html[data-ed="sports"] .topbar .nav-orla { height: 2px; bottom: 4px; background: linear-gradient(90deg, transparent, rgba(215,26,40,.55) 25%, rgba(215,26,40,.55) 75%, transparent); }
html[data-ed="sports"] .topbar .nav-links::before { display: none; }
html[data-ed="sports"] .topbar .nav-links a { font-family: var(--titulo); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .035em; }
html[data-ed="sports"] .logo-mx { height: calc(var(--lf) * 1.56); } /* lleva SPORTS abajo: más alto para que "el mund" mida como en los otros mundos */
/* títulos de sección: mayúsculas condensadas sobre una línea negra con un tramo rojo */
html[data-ed="sports"] .sec-head { position: relative; border-bottom: 2px solid var(--ink); margin-bottom: 28px; padding-bottom: 8px; }
html[data-ed="sports"] .sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 6px; background: var(--accent); }
html[data-ed="sports"] .sec-head h2, html[data-ed="sports"] .top-read h2, html[data-ed="sports"] .brief-head h2 { text-transform: uppercase; letter-spacing: .01em; }
html[data-ed="sports"] .sec-head a { color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
html[data-ed="sports"] .sec-head a:hover { color: var(--accent); }
html[data-ed="sports"] .lead-panel h1, html[data-ed="sports"] .lead-panel .lead-h { letter-spacing: 0; }
html[data-ed="sports"] .chip-dark { background: var(--ink); color: #fff; letter-spacing: .1em; }
html[data-ed="sports"] .kicker, html[data-ed="sports"] .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; }
html[data-ed="sports"] .feature-panel .kicker { color: #FF5A66; }
/* números del briefing y de lo más leído: grandes, condensados y en rojo, como en un marcador */
html[data-ed="sports"] .rank-n, html[data-ed="sports"] .brief-n { font-family: var(--titulo); font-style: normal; font-weight: 700; color: var(--accent); }
html[data-ed="sports"] .brief-n { font-size: 46px; line-height: .9; }
html[data-ed="sports"] .latest-head .dot-live { background: var(--accent); box-shadow: 0 0 0 4px rgba(215,26,40,.16); }
html[data-ed="sports"] .pill-soft { color: var(--accent-d); background: rgba(215,26,40,.06); box-shadow: inset 0 0 0 1px rgba(215,26,40,.24); }
html[data-ed="sports"] .card-firma .avatar { background: var(--marino); }
html[data-ed="sports"] .byline .avatar { background: var(--ink); color: #fff; }
html[data-ed="sports"] .footer-card { box-shadow: inset 0 3px 0 var(--accent), 0 24px 50px -30px rgba(5,11,20,.6); }
.ed-glider[data-ed="sports"] { background: linear-gradient(180deg, #0F3460, #00274F); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 26px -8px rgba(0,39,79,.7), 0 0 26px -8px rgba(215,26,40,.45); }
@media (max-width: 767.98px) { html[data-ed="sports"] .ed-esquina { width: 300px; height: 200px; } html[data-ed="sports"] .brief-n { font-size: 38px; } }

/* ───────── Muestras del selector y portal de cada mundo ───────── */
.ed-sw-sports { background: linear-gradient(135deg, #D71A28 50%, #00274F 50%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ed-portal[data-ed="sports"] { color: #fff; --logo-tinta: #fff; --logo-acento: #FF4D5A; background: radial-gradient(70% 60% at 50% 40%, #0F3460, #050B14 80%); }
.ed-portal[data-ed="sports"]::before { background: linear-gradient(90deg, transparent, rgba(215,26,40,.5), transparent) 50% 100% / 100% 2px no-repeat; opacity: 1; }
.ed-portal[data-ed="sports"] em { color: #FF8A93; opacity: 1; }
.ed-sw-miami { background: linear-gradient(135deg, #EE5A47 50%, #165E68 50%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ed-sw-hidalgo { background: radial-gradient(circle at 50% 50%, #F2A0B4 0 22%, transparent 24%), #1E6B4A; }
.ed-sw-nuevoleon { background: linear-gradient(135deg, #8E949B 0 45%, #D9602A 45%); }
.ed-sw-usa { background: linear-gradient(90deg, #3C3B6E 45%, transparent 45%), repeating-linear-gradient(180deg, #B22234 0 3px, #fff 3px 6px); }
.ed-sw-canada { background: url("mundos/canada-hoja.svg") center / 11px no-repeat, linear-gradient(90deg, #C8102E 25%, #fff 25% 75%, #C8102E 75%); }
.ed-sw-espana { background: linear-gradient(180deg, #AA151B 25%, #F1BF00 25% 75%, #AA151B 75%); }
.ed-portal[data-ed="miami"] { color: #fff; --logo-tinta: #fff; --logo-acento: #FF7B68; background: radial-gradient(70% 60% at 50% 40%, #1F7480, #0D2233 78%); }
.ed-portal[data-ed="miami"]::before { background: url("mundos/patron-miami.svg") 0 0 / 64px 64px repeat; opacity: .12; }
.ed-portal[data-ed="miami"] em { color: #FFB4A6; opacity: 1; letter-spacing: normal; text-transform: none; font-size: 16px; }
.ed-portal[data-ed="hidalgo"] { color: #fff; --logo-tinta: #fff; --logo-acento: #8FD3AE; background: radial-gradient(70% 60% at 50% 40%, #2A7D58, #173F31 78%); }
.ed-portal[data-ed="hidalgo"]::before { background: url("mundos/patron-hidalgo.svg") 0 0 / 96px 96px repeat; opacity: .11; }
.ed-portal[data-ed="hidalgo"] em { color: #CDEBDC; opacity: 1; }
.ed-portal[data-ed="nuevoleon"] { color: #fff; --logo-tinta: #fff; --logo-acento: #F0803F; background: radial-gradient(70% 60% at 50% 40%, #3A4048, #1E2329 78%); }
.ed-portal[data-ed="nuevoleon"]::before { background: url("mundos/patron-nuevoleon.svg") 0 0 / 30px 30px repeat, linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); opacity: .13; }
.ed-portal[data-ed="nuevoleon"] em { color: #F6B28C; opacity: 1; }
.ed-portal[data-ed="usa"] { color: #fff; --logo-tinta: #fff; --logo-acento: #F0606F; background: radial-gradient(70% 60% at 50% 40%, #4A4986, #1E1D45 78%); }
.ed-portal[data-ed="usa"]::before { background: url("mundos/usa-estrellas-pie.svg") 0 0 / 54px 54px repeat; opacity: 1; }
.ed-portal[data-ed="canada"] { color: #fff; --logo-tinta: #fff; --logo-acento: #FFD9DE; background: radial-gradient(70% 60% at 50% 40%, #D92A3F, #8E0C1E 78%); }
.ed-portal[data-ed="espana"] { color: #fff; --logo-tinta: #fff; --logo-acento: #F1BF00; background: radial-gradient(70% 60% at 50% 40%, #C8232A, #6E0B10 78%); }
.ed-portal[data-ed="canada"]::before { background: url("mundos/patron-canada.svg") 0 0 / 120px 120px repeat; opacity: .12; }
.ed-portal[data-ed="espana"]::before { background: url("mundos/patron-espana.svg") 0 0 / 56px 56px repeat; opacity: .13; }
.ed-portal[data-ed="espana"] em { color: #FBE39A; opacity: 1; }

/* La fecha y la tira quedan encima de los adornos de la esquina */
html[data-mundo] .dateline { position: relative; z-index: 2; }
/* Tablet y laptop chica: los adornos de la esquina bajan de tamaño para no taparse con la barra ni con el logo */
@media (min-width: 768px) and (max-width: 1199.98px) {
  html[data-ed="miami"] .ed-esquina { width: 290px; height: 190px; }
  html[data-ed="miami"] .ed-esquina::after { background-size: 290px 189px; }
  html[data-ed="hidalgo"] .ed-esquina { width: 220px; height: 130px; }
  html[data-ed="hidalgo"] .ed-esquina::before { display: none; }
  html[data-ed="hidalgo"] .ed-esquina::after { width: 200px; height: 125px; background-size: 350px auto; background-position: -42px -12px; }
  html[data-ed="nuevoleon"] .ed-esquina { width: 250px; height: 210px; }
  html[data-ed="nuevoleon"] .dateline { padding-left: 120px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) { .ed-paisaje { right: -24px; width: calc(100% + 24px); } }
@media (max-width: 767.98px) {
  html[data-ed="miami"] .ed-esquina { width: 170px; height: 112px; opacity: .75; }
  html[data-ed="miami"] .ed-esquina::after { background-size: 170px 111px; }
  html[data-ed="hidalgo"] .ed-esquina { width: 170px; height: 100px; }
  html[data-ed="hidalgo"] .ed-esquina::before { display: none; }
  html[data-ed="nuevoleon"] .ed-esquina { width: 125px; height: 107px; opacity: .8; }
  .ed-paisaje { right: -16px; width: 100%; height: 230px; opacity: .55; }
  .ed-paisaje figcaption { display: none; }
  html[data-mundo] .ed-banda, html[data-mundo] .ed-banda2, html[data-ed="nuevoleon"] .dateline::after, html[data-ed="hidalgo"] .footer-card::before { display: none; }
  html[data-mundo] .footer-card { background-image: none; }
  html[data-mundo] .footer-card { background: var(--pie); }
}

/* Canadá: el panel sobre la foto principal es vidrio más claro; una sombra suave mantiene el texto legible */
html[data-ed="canada"] .feature-panel { -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(.92); backdrop-filter: blur(16px) saturate(160%) brightness(.92); }
html[data-ed="canada"] .feature-panel h3, html[data-ed="canada"] .feature-panel p { text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* la pastilla de Edición se lee siempre, aunque detrás haya adornos de la esquina */
html[data-mundo] .ed-abre { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: .92; }

/* ───────── Vidrio líquido en la barra de los nueve mundos ─────────
   la barra casi no lleva fondo: deja ver lo que pasa detrás, con reflejo arriba, filo de luz y un tinte apenas perceptible del mundo */
html[data-ed] { --vt1: rgba(255,255,255,.06); --vt2: rgba(255,255,255,.02); --vrim: rgba(14,27,44,.12); --vink: var(--ink, #0E1B2C); }
html[data-ed] .topbar .nav,
html[data-ed].is-scrolled .topbar .nav,
html[data-ed] .tabbar-pill {
  background-color: transparent !important;
  background-image:
    radial-gradient(120% 140% at 12% -40%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,var(--va1,.26)), rgba(255,255,255,var(--va2,.06)) 60%, rgba(255,255,255,var(--va3,.14))),
    linear-gradient(90deg, var(--vt1), var(--vt2)) !important;
  -webkit-backdrop-filter: blur(var(--vblur,9px)) saturate(175%) brightness(1.08) !important;
  backdrop-filter: blur(var(--vblur,9px)) saturate(175%) brightness(1.08) !important;
  box-shadow: 0 22px 44px -22px rgba(10,20,40,.38), 0 2px 8px -3px rgba(10,20,40,.12), inset 0 1.5px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(255,255,255,.45), inset 0 -14px 24px -18px rgba(255,255,255,.7), inset 0 0 0 1px var(--vrim) !important;
}
html[data-ed] .topbar .nav.lg::before,
html[data-ed] .tabbar-pill.lg::before { padding: 1.2px; background: linear-gradient(115deg, #fff, rgba(255,255,255,.15) 22%, rgba(255,255,255,0) 48%, rgba(255,255,255,.25) 70%, #fff 92%) !important; }
/* sección actual y pestaña activa: gota de vidrio en lugar de pastilla sólida */
html[data-ed] .topbar .nav-links a[aria-current="page"],
html[data-ed] .tabbar-pill .tab[aria-current="page"] {
  color: var(--vink) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.28)) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(255,255,255,.5), 0 4px 12px -6px rgba(10,20,40,.35), inset 0 0 0 1px var(--vrim) !important;
  -webkit-backdrop-filter: blur(6px) saturate(180%); backdrop-filter: blur(6px) saturate(180%);
}
html[data-ed] .topbar .nav-links a[aria-current="page"]::after { display: none !important; }
html[data-ed] .topbar .nav-links a:hover { background: rgba(255,255,255,.35); }
html[data-ed] .topbar .nav-buscar,
html[data-ed] .topbar .nav-actions .lg { background: rgba(255,255,255,.22) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.35) !important; }
/* cristal blanco con un toque pastel del color de cada mundo (nunca el color completo), filo y color de la sección actual; la orla queda como un hilo */
html[data-ed="mx"]        { --vt1: rgba(248,224,160,.15); --vt2: rgba(255,251,238,.06); --vrim: rgba(184,134,47,.26); --vink: #6B4E17; }
html[data-ed="puebla"]    { --vt1: rgba(150,175,232,.13); --vt2: rgba(242,246,255,.05); --vrim: rgba(31,63,154,.24); --vink: #1F3F9A; }
html[data-ed="miami"]     { --vt1: rgba(255,255,255,.10); --vt2: rgba(255,248,245,.05); --vrim: rgba(255,255,255,.55); --vink: #C9402F; --va1: .12; --va2: .02; --va3: .10; --vblur: 6px; }
html[data-ed="hidalgo"]   { --vt1: rgba(170,215,190,.13); --vt2: rgba(245,252,248,.05); --vrim: rgba(30,107,74,.22); --vink: #1E6B4A; }
html[data-ed="nuevoleon"] { --vt1: rgba(255,196,160,.15); --vt2: rgba(255,246,238,.06); --vrim: rgba(217,96,42,.24); --vink: #B34A1C; }
html[data-ed="usa"]       { --vt1: rgba(200,208,240,.13); --vt2: rgba(255,232,235,.06); --vrim: rgba(60,59,110,.24); --vink: #B22234; }
html[data-ed="canada"]    { --vt1: rgba(228,238,247,.16); --vt2: rgba(255,234,236,.06); --vrim: rgba(200,16,46,.20); --vink: #C8102E; }
html[data-ed="espana"]    { --vt1: rgba(252,228,160,.15); --vt2: rgba(255,238,230,.06); --vrim: rgba(170,21,27,.24); --vink: #AA151B; }
html[data-ed="sports"]    { --vt1: rgba(226,231,240,.14); --vt2: rgba(255,238,240,.05); --vrim: rgba(12,20,32,.18); --vink: #D71A28; }
html[data-ed="mx"] .topbar .nav-orla, html[data-ed="canada"] .topbar .nav-orla { opacity: .42; }
html[data-ed="puebla"] .topbar .nav-orla, html[data-ed="usa"] .topbar .nav-orla, html[data-ed="espana"] .topbar .nav-orla { opacity: .5; }
/* con "Reducir transparencia" del sistema la barra vuelve a ser sólida */
@media (prefers-reduced-transparency: reduce) {
  html[data-ed] .topbar .nav, html[data-ed].is-scrolled .topbar .nav, html[data-ed] .tabbar-pill { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
/* sobre fotos oscuras las letras y el logo llevan un halo claro, así se leen sin volver opaca la barra */
html[data-ed] .topbar .nav-links a, html[data-ed] .topbar .nav-mas, html[data-ed] .tabbar-pill .tab { text-shadow: 0 0 2px rgba(255,255,255,.95), 0 0 10px rgba(255,255,255,.9); }
html[data-ed] .topbar .logo, html[data-ed] .topbar .nav-actions svg { filter: drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 0 7px rgba(255,255,255,.85)); }

/* ───────── Miami: atardecer morado (lila, rosa y un toque durazno), tenue y de noticiero ─────────
   Va al final para mandar sobre lo anterior de Miami. Fondo lavanda muy claro, tarjetas blancas y texto oscuro; el color vive
   en el cielo de arriba, la esquina de palmeras, los acentos, el vidrio de las notas, los detalles Art Déco de las secciones y el pie. */
html[data-ed="miami"] {
  --bg: #EFE8F7; --ink: #1E1A2E; --muted: #615A72; --read: #221D33;
  --accent: #8A3FB8; --accent-d: #6A2C96; --pill: #2C2342;
  --sol: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 28 18%22%3E%3Cg stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22%3E%3Cline x1=%225.50%22 y1=%2217.00%22 x2=%220.50%22 y2=%2217.00%22/%3E%3Cline x1=%226.15%22 y1=%2213.75%22 x2=%221.53%22 y2=%2211.83%22/%3E%3Cline x1=%227.99%22 y1=%2210.99%22 x2=%224.45%22 y2=%227.45%22/%3E%3Cline x1=%2210.75%22 y1=%229.15%22 x2=%228.83%22 y2=%224.53%22/%3E%3Cline x1=%2214.00%22 y1=%228.50%22 x2=%2214.00%22 y2=%223.50%22/%3E%3Cline x1=%2217.25%22 y1=%229.15%22 x2=%2219.17%22 y2=%224.53%22/%3E%3Cline x1=%2220.01%22 y1=%2210.99%22 x2=%2223.55%22 y2=%227.45%22/%3E%3Cline x1=%2221.85%22 y1=%2213.75%22 x2=%2226.47%22 y2=%2211.83%22/%3E%3Cline x1=%2222.50%22 y1=%2217.00%22 x2=%2227.50%22 y2=%2217.00%22/%3E%3C/g%3E%3Cpath d=%22M7.5 17a6.5 6.5 0 0 1 13 0z%22/%3E%3C/svg%3E");
  --logo-acento: #A548D0; --logo-acento-pie: #D9A2F5;
  --vidrio-osc: rgba(44,35,66,.55);
  --boton: linear-gradient(180deg, #9A4BD0, #6A2C96);
  --pie: linear-gradient(180deg, #261D45 0%, #3A2766 55%, #5A2F72 100%);
  --perfil: linear-gradient(135deg, #6B5B9A 0%, #B83C6E 60%, #E58E78 100%);
  /* vidrio de la barra: blanco con un rubor rosado apenas visible */
  --vt1: rgba(255,240,246,.12); --vt2: rgba(255,236,226,.06); --vrim: rgba(255,255,255,.6); --vink: #7A35AE; --va1: .12; --va2: .03; --va3: .10; --vblur: 7px;
}
/* cielo: arriba un degradado de atardecer morado que se pierde en el fondo */
html[data-ed="miami"] body { background:
  linear-gradient(180deg, rgba(104,72,196,.44) 0, rgba(150,88,200,.32) 200px, rgba(206,104,170,.20) 420px, rgba(240,160,140,.10) 620px, rgba(241,234,246,0) 900px) no-repeat,
  radial-gradient(50% 45% at 0% 50%, rgba(110,76,200,.22), transparent 70%) fixed,
  radial-gradient(45% 40% at 100% 88%, rgba(160,80,200,.15), transparent 70%) fixed,
  radial-gradient(40% 30% at 100% 20%, rgba(217,85,127,.09), transparent 70%) fixed,
  var(--bg); }
/* el azulejo de playa del fondo, ahora en morado */
html[data-ed="miami"] body::before { opacity: .10; filter: hue-rotate(110deg) saturate(1); }
/* esquina: las palmeras en silueta, color ciruela suave, sobre un brillo de sol rosa-durazno */
html[data-ed="miami"] .ed-esquina { width: 440px; height: 290px; background: radial-gradient(60% 64% at 90% 8%, rgba(247,190,150,.42), rgba(231,120,158,.16) 46%, transparent 76%); }
html[data-ed="miami"] .ed-esquina::after { filter: none; background: rgba(84,52,130,.55);
  -webkit-mask: url("mundos/miami-palma-esquina.svg") right top / 440px 287px no-repeat; mask: url("mundos/miami-palma-esquina.svg") right top / 440px 287px no-repeat; }
/* la foto de la bahía del briefing, entonada hacia el atardecer */
html[data-ed="miami"] .ed-banda { filter: saturate(.75) brightness(1.6) contrast(.58) hue-rotate(-32deg); }
/* olas bajo el menú con el degradado del atardecer */
html[data-ed="miami"] .topbar .nav-orla { opacity: .6; background: linear-gradient(90deg, #7A5BD8, #B45CC8 50%, #E7789E);
  -webkit-mask: url("mundos/miami-ola.svg") 0 50% / 24px 6px repeat-x; mask: url("mundos/miami-ola.svg") 0 50% / 24px 6px repeat-x; }
html[data-ed="miami"] .topbar .nav-links::before { background: #8A3FB8; -webkit-mask: url("mundos/miami-palmita.svg") center / contain no-repeat; mask: url("mundos/miami-palmita.svg") center / contain no-repeat; opacity: .85; }
/* títulos de sección: la rayita de abajo es el horizonte del atardecer */
html[data-ed="miami"] .sec-head::after { height: 3px; background: linear-gradient(90deg, #8E7CC3, #D9557F 55%, #F2A97E); }
html[data-ed="miami"] .sec-head h2::after, html[data-ed="miami"] .brief-head h2::after, html[data-ed="miami"] .top-read h2::after { background: linear-gradient(90deg, #D9557F, #F2A97E); }
/* pies de foto del briefing en ciruela translúcido */
html[data-ed="miami"] .ed-paisaje figcaption { background: rgba(44,35,66,.55); }
html[data-ed="miami"] .latest-head .dot-live { background: #D9557F; box-shadow: 0 0 0 4px rgba(217,85,127,.16); }
html[data-ed="miami"] .pill-soft { color: #8F2D57; background: rgba(184,60,110,.06); box-shadow: inset 0 0 0 1px rgba(184,60,110,.22); }
/* pie: anochecer en la bahía, con un hilo de sol en el horizonte; la ciudad en rosa durazno */
html[data-ed="miami"] .footer-card { box-shadow: inset 0 3px 0 0 rgba(242,169,126,.75), 0 24px 50px -30px rgba(44,35,66,.6); }
html[data-ed="miami"] .footer-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 55% at 70% 100%, rgba(242,169,126,.28), rgba(217,85,127,.12) 45%, transparent 75%); }
.ed-glider[data-ed="miami"] { background: linear-gradient(180deg, #6B5B9A, #4A3B70); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -10px #4A3B70, 0 0 30px -6px rgba(217,85,127,.45); }
.ed-portal[data-ed="miami"] { --logo-acento: #F59AB4; background: radial-gradient(70% 60% at 50% 70%, #8A4A78, #3B2A55 55%, #221A35 85%); }
.ed-portal[data-ed="miami"] em { color: #F7C2A0; }
.ed-sw-miami { background: linear-gradient(135deg, #D9557F 50%, #6B5B9A 50%); }
@media (max-width: 1199.98px) { html[data-ed="miami"] .ed-esquina { width: 300px; height: 200px; } html[data-ed="miami"] .ed-esquina::after { -webkit-mask-size: 300px 196px; mask-size: 300px 196px; } }
@media (max-width: 767.98px) { html[data-ed="miami"] .ed-esquina { width: 180px; height: 120px; } html[data-ed="miami"] .ed-esquina::after { -webkit-mask-size: 180px 117px; mask-size: 180px 117px; } }
/* fotos del briefing: un velo de atardecer muy leve encima (lila arriba, durazno abajo); la foto sigue siendo la foto */
html[data-ed="miami"] .ed-paisaje i::after { content: ""; position: absolute; inset: 0; mix-blend-mode: soft-light;
  background: linear-gradient(180deg, rgba(142,124,195,.95) 0%, rgba(231,120,158,.8) 50%, rgba(246,180,138,.9) 100%); }
/* vidrio líquido de las notas (carrusel de arriba y destacadas): ciruela translúcido con un rubor rosa-durazno abajo
   y el filo de luz en lila y durazno; el texto sigue blanco y legible */
html[data-ed="miami"] .lg-dark { background-color: transparent;
  background-image: linear-gradient(160deg, rgba(66,44,140,.54) 0%, rgba(98,48,140,.48) 55%, rgba(150,58,130,.44) 100%);
  box-shadow: 0 18px 40px -16px rgba(44,30,70,.55), 0 0 40px -14px rgba(217,85,127,.35), inset 0 1px 0 rgba(255,236,246,.45), inset 0 -14px 26px -18px rgba(246,170,128,.45); }
html[data-ed="miami"] .lg-dark::before { background: linear-gradient(140deg, rgba(214,196,255,.9), rgba(255,255,255,.08) 30%, rgba(255,255,255,0) 55%, rgba(246,180,138,.45) 82%, rgba(255,190,214,.85)); }
html[data-ed="miami"] .lg-dark::after { background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), rgba(255,200,226,.20), rgba(255,255,255,0) 60%); }
html[data-ed="miami"] .lead-panel .kicker, html[data-ed="miami"] .feature-panel .kicker { color: #E4C8FF; }
/* vidrio claro (tarjetas del briefing y demás): blanco con un velo lavanda apenas visible */
html[data-ed="miami"] .lg:not(.lg-dark):not(.nav):not(.tabbar-pill) { background-color: rgba(253,250,255,.86); }
html[data-ed="miami"] #briefing .brief-card { background-color: rgba(253,249,255,.9); box-shadow: 0 14px 36px -16px rgba(84,52,150,.32), inset 0 1px 0 #fff, inset 0 -12px 22px -16px rgba(168,100,186,.22); }
/* morado en los textos de acento */
html[data-ed="miami"] .kicker, html[data-ed="miami"] .eyebrow { color: var(--accent); }
html[data-ed="miami"] .pill-soft { color: #6A2C96; background: rgba(138,63,184,.07); box-shadow: inset 0 0 0 1px rgba(138,63,184,.24); }
/* secciones con el detalle Art Déco: sol de rayos antes del título y filete doble (tinta y degradado morado–rosa) */
html[data-ed="miami"] .sec-head { border-bottom: 0; padding-bottom: 12px; margin-bottom: 30px; }
html[data-ed="miami"] .sec-head::after { left: 0; right: 0; width: auto; bottom: 0; height: 6px; border-radius: 0;
  background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat, linear-gradient(90deg, #6A4BD8, #B45CC8 45%, #E7789E 75%, rgba(242,169,126,.2)) 0 100% / 100% 1px no-repeat; }
html[data-ed="miami"] .sec-head h2::after, html[data-ed="miami"] .brief-head h2::after, html[data-ed="miami"] .top-read h2::after { display: none; }
html[data-ed="miami"] .sec-head h2::before, html[data-ed="miami"] .top-read h2::before, html[data-ed="miami"] .brief-head h2::before { content: ""; flex: none; width: 30px; height: 19px; align-self: center; margin-top: -4px;
  background: linear-gradient(90deg, #6A4BD8, #C058B8 70%, #E7789E); -webkit-mask: var(--sol) center / contain no-repeat; mask: var(--sol) center / contain no-repeat; }
html[data-ed="miami"] .sec-head a { color: var(--accent); font-weight: 600; }
