/* ==========================================================
   La Mega 98.9 — columna derecha: chat, dólar, últimas noticias y efemérides.
   Usa los mismos colores y letras del tema (lamega.css).
   ========================================================== */

.box__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.box__row .box__title { margin: 0; }
.box__src { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.box__foot { margin: 12px 0 0; font-size: 11.5px; color: var(--muted-2); }
.box__foot:empty { display: none; }
.box[hidden] { display: none; }

/* ---------- Chat en vivo ---------- */
.chat__on { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.chat__on i { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: var(--glow); animation: pulse 1.4s ease-in-out infinite; }
.chat__list {
	list-style: none; margin: 0 -6px; padding: 0 6px;
	height: 260px; overflow-y: auto;
	display: flex; flex-direction: column; gap: 10px;
	scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.chat__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 13.5px; line-height: 1.35; position: relative; }
.chat__list b { font-size: 12.5px; color: var(--neon-text); overflow-wrap: anywhere; }
.chat__list time { grid-row: 1; grid-column: 2; font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.chat__list span { grid-column: 1 / -1; color: var(--text-2); overflow-wrap: anywhere; }
.chat__list .chat__radio { background: rgba(255, 26, 26, .1); border-left: 3px solid var(--neon); padding: 6px 8px; border-radius: 6px; }
.chat__list .chat__radio b { color: #fff; }
.chat__list .chat__empty { display: block; margin: auto 0; text-align: center; color: var(--muted-2); font-size: 13px; }
.chat__list .chat__empty[hidden] { display: none; }
.chat__del { position: absolute; right: 0; bottom: 0; background: none; border: 0; padding: 2px 4px; color: var(--muted-2); font-size: 11px; }
.chat__del:hover { color: var(--neon-text); }
.chat__form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.chat__form input { width: 100%; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: #fff; font: inherit; font-size: 14px; }
.chat__form input:focus { outline: none; border-color: var(--neon); }
.chat__form input[hidden] { display: none; }
.chat__send { display: flex; gap: 6px; }
.chat__send button { flex-shrink: 0; width: 44px; height: 40px; border: 0; border-radius: 8px; background: var(--neon); color: #fff; box-shadow: var(--glow); font-size: 16px; }
.chat__send button:disabled { opacity: .5; }
.chat__hp { position: absolute !important; left: -9999px; width: 1px !important; height: 1px !important; opacity: 0; }
.chat__error { margin: 0; font-size: 12px; font-weight: 700; color: var(--neon-text); }
.chat__error[hidden] { display: none; }
.chat__rules { margin: 0; font-size: 11px; color: var(--muted-2); }
/* Celular y tablet: letra de 16 px en los casilleros para que el iPhone no agrande la pantalla al escribir */
@media (max-width: 1099px) {
	.chat__form input { height: 44px; font-size: 16px; }
	.chat__send button { height: 44px; }
}

/* ---------- Dólar ---------- */
.fx { list-style: none; margin: 0; padding: 0; }
.fx li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fx li:last-child { border-bottom: 0; }
.fx__name { font-size: 14px; font-weight: 700; color: var(--text-2); }
.fx__val { font: 400 19px/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; min-width: 62px; text-align: right; }
.fx__val--hi { color: var(--neon-text); text-shadow: var(--glow-text); }
.fx .fx__wait { display: block; color: var(--muted-2); font-size: 13px; border: 0; }

/* ---------- Últimas noticias ---------- */
.last { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.last li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.last li:first-child { padding-top: 0; }
.last li:last-child { border-bottom: 0; padding-bottom: 0; }
.last time { font-size: 13px; font-weight: 800; color: var(--neon-text); font-variant-numeric: tabular-nums; }
.last small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.last a { font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text-2); }
.last a:hover { color: #fff; }

/* ---------- Efemérides ---------- */
.efe__kicker { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.efe { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.efe:last-child { margin-bottom: 0; }
.efe li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.efe b { font: 400 18px/1.1 var(--display); color: var(--neon-text); }
.efe--day li { display: block; padding-left: 12px; border-left: 3px solid var(--neon); font-weight: 700; color: #fff; }
.efe__wait { margin: 0; color: var(--muted-2); font-size: 13px; }
