/* Colombia 3D — lámina sobre el campo de marca (azul #071b3f), HUD sobre el globo.
   Amarillo: acción y selección. Rojo: solo lo vivo y las alertas. */
body.c3d {
  --tablero: #071b3f; --tablero-2: #0c2a5e; --espacio: #03081a;
  --amarillo: #FCD116; --rojo: #CE1126;
  --hud: rgba(7,27,63,.82); --hud-borde: rgba(255,255,255,.14); --hud-filete: rgba(255,255,255,.08);
  --t1: #ffffff; --t2: #c9d3e6; --t3: #9fb0cf;
  background: var(--espacio); color: var(--t1); height: 100dvh;
}
.c3d :focus-visible { outline: 2.5px solid #6fb0ff; outline-offset: 2px; }

/* ---------------------------------------------------------------- cabecera sobre el campo azul */
.c3d #top { background: var(--tablero); border-bottom: 1px solid var(--hud-borde); color: var(--t1); gap: 12px; min-width: 0; }
.c3d .brand { flex: none; }
.c3d .bt b { white-space: nowrap; }
.c3d .twins { max-width: min(34vw, 560px); min-width: 0; flex: 0 1 auto; }
.c3d .pulse { max-width: 300px; flex: 0 1 auto; min-width: 0; }
.c3d .clockbox { flex: none; }
.c3d .clockbox small { white-space: nowrap; }
.c3d .tag { flex: none; }
.c3d .bt small { color: var(--t3); }
.c3d .twins { background: rgba(255,255,255,.07); }
.c3d .twins a { color: var(--t2); }
.c3d .twins a:hover { background: rgba(255,255,255,.12); }
.c3d .twins a[aria-current] { background: var(--amarillo); color: var(--tablero); }
.c3d .tag { color: var(--t3); border-color: rgba(255,255,255,.25); }
.c3d .pulse { background: rgba(255,255,255,.06); border-color: var(--hud-borde); color: var(--t2); }
.c3d .dot { background: var(--rojo); }
.c3d .pulse.off .dot { background: var(--t3); }
.c3d .clockbox small { color: var(--t3); }
.modos { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; flex: none; }
.modos button { border: 0; background: none; color: var(--t2); font: 700 13.5px var(--f-cond); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.modos button:hover { background: rgba(255,255,255,.1); }
.modos button[aria-checked="true"] { background: var(--amarillo); color: var(--tablero); }

/* ---------------------------------------------------------------- escena */
#escena { position: relative; min-height: 0; overflow: hidden; display: block;
  background: radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.55), transparent 60%), radial-gradient(1px 1px at 72% 14%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 78%, rgba(255,255,255,.5), transparent 60%), radial-gradient(1px 1px at 88% 64%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 22% 58%, rgba(255,255,255,.35), transparent 60%), radial-gradient(1.2px 1.2px at 58% 38%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 92% 88%, rgba(255,255,255,.4), transparent 60%), radial-gradient(1px 1px at 6% 90%, rgba(255,255,255,.35), transparent 60%),
    var(--espacio); }
#escena[data-modo="noche"] { background-color: #000208; }
#escena[data-modo="termico"] { background-color: #05010d; }
#map { position: absolute; inset: 0; }
.c3d .maplibregl-canvas { outline: none; }

.hud { background: var(--hud); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--hud-borde); border-radius: 10px; color: var(--t1); }
.hud h2 { margin: 0 0 6px; font: 700 12.5px var(--f-cond); color: var(--t3); letter-spacing: .06em; text-transform: uppercase; }
.enlace { background: none; border: 0; padding: 0; color: var(--amarillo); font: 600 13px var(--f-cond); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* llegada */
#llegada { position: absolute; left: 50%; bottom: max(40px, 7vh); transform: translateX(-50%); width: min(720px, calc(100% - 32px)); text-align: center; z-index: 6; transition: opacity .6s, transform .6s; }
#llegada h1 { font: 800 clamp(34px, 5.2vw, 64px)/.96 var(--f-cond); margin: 0; letter-spacing: -.015em; text-shadow: 0 4px 30px rgba(0,0,0,.65); text-wrap: balance; }
#llegada h1 span { color: var(--amarillo); }
#llegada p { color: var(--t2); font-size: 17px; max-width: 56ch; margin: 12px auto 0; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
#llegada small { display: block; margin-top: 12px; font: 600 14px var(--f-cond); color: var(--t3); font-variant-numeric: tabular-nums; min-height: 1.3em; }
.btn-amarillo { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; margin-top: 18px; border: 0; border-radius: 6px; background: var(--amarillo); color: var(--tablero); font: 700 18px var(--f-cond); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(252,209,22,.6); }
.btn-amarillo:hover { background: #ffdc3d; transform: translateY(-1px); }
.btn-amarillo:disabled { opacity: .6; cursor: progress; }
#escena.dentro #llegada { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; visibility: hidden; transition: opacity .5s, transform .5s, visibility 0s .5s; }

/* paneles HUD */
#capas, #ahora { position: absolute; top: 14px; z-index: 4; padding: 10px 12px 10px; max-height: calc(100% - 64px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; transition: opacity .5s, transform .5s; }
#capas { left: 14px; width: 262px; }
#ahora { right: 14px; width: 292px; }
#escena:not(.dentro) #capas, #escena:not(.dentro) #ahora, #escena:not(.dentro) #pie { opacity: 0; pointer-events: none; visibility: hidden; }
#escena:not(.dentro) #capas { transform: translateX(-10px); }
#escena:not(.dentro) #ahora { transform: translateX(10px); }

#capas-lista { list-style: none; margin: 0; padding: 0; }
#capas-lista li { border-bottom: 1px solid var(--hud-filete); }
#capas-lista li:last-child { border-bottom: 0; }
#capas-lista label { display: grid; grid-template-columns: 16px 1fr auto; gap: 2px 8px; align-items: center; padding: 6px 0; cursor: pointer; }
#capas-lista input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#capas-lista .sw { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
#capas-lista .sw.cuad { border-radius: 2px; }
#capas-lista .n { font: 600 14.5px var(--f-cond); }
#capas-lista b { font: 700 16px var(--f-cond); font-variant-numeric: tabular-nums; text-align: right; }
#capas-lista small { grid-column: 2 / 4; font: 500 11.5px/1.3 var(--f-ui); color: var(--t3); }
#capas-lista input:not(:checked) + label { opacity: .45; }
#capas-lista input:not(:checked) + label .sw { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--t3); }
#capas-lista input:focus-visible + label { outline: 2.5px solid #6fb0ff; outline-offset: 1px; border-radius: 4px; }
#capas-lista li.fuera label { opacity: .4; }
#capas-lista li.fuera small::after { content: ' · no se ve en este modo'; }
#capas-lista .info { grid-column: 2 / 4; justify-self: start; }
.pie-capas { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nota-modo { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--hud-borde); font-size: 11.5px; line-height: 1.35; color: var(--t3); }
/* modo noche: luces de 2016 o la imagen de anoche */
.noche-sel { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--hud-borde); }
.noche-sel[hidden] { display: none; }
.noche-sel + .nota-modo { border-top: 0; margin-top: 6px; padding-top: 0; }
.noche-sel button { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: var(--t2); font: 700 13px/1.15 var(--f-cond); padding: 6px 6px; cursor: pointer; min-height: 34px; }
.noche-sel button:first-child { border-radius: 6px 0 0 6px; } .noche-sel button:last-child { border-radius: 0 6px 6px 0; }
.noche-sel button:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.noche-sel button[aria-checked="true"] { background: var(--amarillo); color: var(--tablero); border-color: var(--amarillo); }
.noche-sel button:disabled { opacity: .5; cursor: progress; }
.relieve { display: flex; align-items: center; gap: 7px; margin: 8px 0 6px; padding-top: 8px; border-top: 1px solid var(--hud-borde); font: 600 13.5px var(--f-cond); color: var(--t2); cursor: pointer; }
.relieve input { accent-color: var(--amarillo); margin: 0; }
.relieve small { font: 500 11.5px var(--f-ui); color: var(--t3); }

/* ahora sobre Colombia */
#ahora h3 { margin: 12px 0 2px; font: 700 12px var(--f-cond); color: var(--t3); letter-spacing: .05em; text-transform: uppercase; }
#ahora h3:first-child { margin-top: 2px; }
#ahora ul { list-style: none; margin: 0; padding: 0; }
#ahora li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--hud-filete); cursor: pointer; border-radius: 4px; }
#ahora li:hover, #ahora li:focus-visible { background: rgba(255,255,255,.06); }
#ahora li b { font: 700 14.5px/1.15 var(--f-cond); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ahora li small { display: block; color: var(--t3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ahora li .v { font: 700 13px var(--f-cond); color: var(--t2); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
#ahora li .v.am { color: var(--amarillo); }
#ahora .nota, .vacio { font-size: 12px; color: var(--t3); margin: 4px 0 0; }
#ahora li.sin { cursor: default; }
#ahora li.sin:hover { background: none; }

/* ficha */
.c3d #ficha { left: auto; right: 320px; top: 14px; bottom: auto; width: min(380px, calc(100% - 640px)); min-width: 300px; max-height: calc(100% - 64px); background: rgba(7,27,63,.92); border: 1px solid var(--hud-borde); color: var(--t1); box-shadow: 0 20px 50px rgba(0,0,0,.55); padding: 14px 16px 12px; }
.c3d #ficha { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; overscroll-behavior: contain; }
.c3d #ficha.ancha { width: min(560px, calc(100% - 640px)); }
.c3d #ficha h3 { font: 800 21px/1.1 var(--f-cond); margin: 0 30px 3px 0; }
.c3d #ficha .s { color: var(--t3); font-size: 13px; }
.c3d #ficha .x { background: rgba(255,255,255,.1); color: var(--t1); }
.c3d #ficha .kv { font-size: 13.5px; }
.c3d #ficha .kv dt { color: var(--t3); }
.c3d #ficha .kv dd { color: var(--t1); font-variant-numeric: tabular-nums; }
.c3d #ficha .desc { color: var(--t2); }
.c3d #ficha a { color: var(--amarillo); }
.c3d #ficha .fuente { font-size: 12px; color: var(--t3); border-top: 1px solid var(--hud-filete); padding-top: 8px; margin-top: 10px; }
.c3d #ficha .est { display: inline-block; font: 700 11.5px var(--f-cond); letter-spacing: .04em; padding: 2px 7px; border-radius: 3px; background: rgba(255,255,255,.1); color: var(--t2); margin: 6px 6px 0 0; }
.c3d #ficha .est.vivo { background: var(--rojo); color: #fff; }
.c3d #ficha .est.calc { background: rgba(252,209,22,.16); color: var(--amarillo); }
.c3d #ficha .acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.c3d #ficha .acciones button, .c3d #ficha .acciones a { height: 38px; padding: 0 14px; border-radius: 6px; font: 700 15px var(--f-cond); display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.c3d #ficha .acciones .pri { background: var(--amarillo); color: var(--tablero); border: 0; }
.c3d #ficha .acciones .sec { background: transparent; color: var(--t1); border: 1px solid rgba(255,255,255,.3); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; margin: 10px 0 6px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cam-lista { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cam-lista button { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: var(--t2); font: 700 12.5px var(--f-cond); padding: 4px 9px; border-radius: 4px; cursor: pointer; }
.cam-lista button[aria-current] { background: var(--amarillo); color: var(--tablero); border-color: var(--amarillo); }
.fuentes-l { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; }
.fuentes-l li { padding: 7px 0; border-bottom: 1px solid var(--hud-filete); }
.fuentes-l b { font: 700 14px var(--f-cond); }
.fuentes-l small { display: block; color: var(--t3); font-size: 12px; }
.fuentes-l .err { color: #ff9d8a; }

/* cabina (seguir un avión) */
#cabina { position: absolute; inset: 0; pointer-events: none; z-index: 5; font: 700 14px var(--f-cond); }
#cabina .rumbo { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); color: var(--amarillo); font: 800 19px var(--f-cond); background: rgba(3,8,26,.6); border: 1px solid rgba(252,209,22,.6); padding: 3px 14px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.cinta-vel, .cinta-alt { position: absolute; top: 30%; width: 76px; padding: 10px 0; border: 1px solid rgba(252,209,22,.6); border-radius: 6px; display: grid; justify-items: center; gap: 4px; color: var(--amarillo); background: rgba(3,8,26,.45); }
.cinta-vel { left: 300px; } .cinta-alt { right: 330px; }
.cinta-vel b, .cinta-alt b { font: 800 21px var(--f-cond); background: var(--tablero); padding: 3px 6px; border: 1px solid var(--amarillo); border-radius: 4px; font-variant-numeric: tabular-nums; }
.cinta-vel small, .cinta-alt small { font: 600 11.5px var(--f-cond); color: var(--t2); }
.ficha-cab { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: 340px; pointer-events: auto; background: rgba(7,27,63,.9); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 10px 14px 12px; }
.ficha-cab > b { display: block; font: 800 22px var(--f-cond); }
.ficha-cab > span { color: var(--t2); font: 600 14px var(--f-cond); }
.ficha-cab .fila { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.ficha-cab .fila span { font: 600 12px var(--f-cond); color: var(--t3); }
.ficha-cab .fila em { display: block; font: 800 18px var(--f-cond); color: #fff; font-style: normal; font-variant-numeric: tabular-nums; }
.ficha-cab small { display: block; margin-top: 8px; font: 500 12px var(--f-ui); color: var(--t3); }
.ficha-cab button { margin-top: 10px; height: 36px; padding: 0 14px; border-radius: 6px; border: 0; background: var(--amarillo); color: var(--tablero); font: 700 15px var(--f-cond); cursor: pointer; }
#escena.siguiendo #capas, #escena.siguiendo #ahora { opacity: .0; pointer-events: none; visibility: hidden; }
#escena.siguiendo .cinta-vel { left: 22px; } #escena.siguiendo .cinta-alt { right: 22px; }

/* barra móvil y pie */
#barra { display: none; }
#pie { position: absolute; left: 14px; bottom: 8px; z-index: 3; margin: 0; font: 500 12px var(--f-ui); color: var(--t3); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
#pie b { color: var(--t2); font-weight: 600; }

/* atribución y controles de MapLibre sobre el azul */
.c3d .maplibregl-ctrl-attrib { background: rgba(7,27,63,.78) !important; color: var(--t3); }
.c3d .maplibregl-ctrl-attrib a { color: var(--t2); }
.c3d .maplibregl-ctrl-attrib-button { filter: invert(1) brightness(1.4); background-color: transparent; }
.c3d .maplibregl-ctrl-group { background: rgba(7,27,63,.85); border: 1px solid var(--hud-borde); box-shadow: none; }
.c3d .maplibregl-ctrl-group button + button { border-top-color: var(--hud-borde); }
.c3d .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(1.6); }
.c3d .maplibregl-ctrl-bottom-right { right: 4px; }

/* carga */
.c3d #loading { background: var(--espacio); color: var(--t1); }
.c3d #loading small { color: var(--t3); }
.orbita { width: 84px; height: 84px; }
.orbita circle:first-child { fill: var(--tablero-2); stroke: var(--amarillo); stroke-width: 2; }
.orbita ellipse { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 4 5; }
.orbita .sat { fill: var(--amarillo); transform-origin: 60px 60px; animation: giro 3s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }

/* tooltip */
.c3d #tip { background: rgba(7,27,63,.95); color: var(--t1); border: 1px solid var(--hud-borde); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.c3d #tip .tt { color: var(--t1); }
.c3d #tip small { display: block; color: var(--t3); font-size: 12px; }

@media (prefers-reduced-motion: reduce) { .orbita .sat { animation: none; } }

/* ---------------------------------------------------------------- pantallas medianas */
@media (max-width: 1180px) and (min-width: 901px) {
  .c3d .twins { max-width: 26vw; }
  .c3d .clockbox { display: none; }
  #capas { width: 236px; } #ahora { width: 262px; }
  .c3d #ficha { right: 290px; width: min(360px, calc(100% - 560px)); min-width: 280px; }
  .c3d #ficha.ancha { width: min(480px, calc(100% - 560px)); }
  .cinta-vel { left: 270px; } .cinta-alt { right: 296px; }
}
@media (max-width: 1360px) and (min-width: 901px) { .c3d .pulse { display: none; } }

/* ---------------------------------------------------------------- móvil: paneles en hoja inferior */
@media (max-width: 900px) {
  body.c3d { display: grid; grid-template-rows: auto 1fr; overflow: hidden; height: 100dvh; }
  .c3d #top { flex-wrap: wrap; gap: 6px 8px; padding: 6px 10px; min-height: 0; }
  .c3d .mark.bandera { width: 28px; height: 19px; }
  .c3d .bt small { font-size: 10.5px; } .c3d .bt b { font-size: 18px; }
  .c3d .twins { order: 5; width: 100%; max-width: none; }
  .c3d .twins a { flex: none; padding: 4px 10px; font-size: 12.5px; }
  .c3d .tag, .c3d .pulse, .c3d .clockbox { display: none; }
  .modos button { padding: 5px 9px; font-size: 13px; }
  #escena { height: auto; }
  #llegada { bottom: 26px; }
  #llegada p { font-size: 15px; }
  #capas, #ahora { left: 8px; right: 8px; top: auto; bottom: 62px; width: auto; max-height: 52%; display: none; }
  #escena.dentro #capas.abierta, #escena.dentro #ahora.abierta { display: block; }
  #barra { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 6; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  #escena:not(.dentro) #barra { display: none; }
  #barra button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 8px; border: 1px solid var(--hud-borde); background: var(--hud); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--t1); font: 700 15px var(--f-cond); cursor: pointer; }
  #barra button svg { width: 18px; height: 18px; }
  #barra button[aria-pressed="true"] { background: var(--amarillo); color: var(--tablero); border-color: var(--amarillo); }
  .c3d #ficha, .c3d #ficha.ancha { left: 8px; right: 8px; top: auto; bottom: 62px; width: auto; min-width: 0; max-height: 62%; }
  #pie { display: none; }
  .c3d .maplibregl-ctrl-bottom-right { bottom: 56px; }
  .c3d .maplibregl-ctrl-group { display: none; }
  .cinta-vel, .cinta-alt, #escena.siguiendo .cinta-vel, #escena.siguiendo .cinta-alt { top: 64px; width: 64px; padding: 6px 0; }
  #escena.siguiendo .cinta-vel { left: 8px; } #escena.siguiendo .cinta-alt { right: 8px; }
  .cinta-vel b, .cinta-alt b { font-size: 17px; }
  .ficha-cab { left: 8px; right: 8px; bottom: 62px; transform: none; width: auto; }
  #escena.siguiendo #barra { display: none; }
  #escena.siguiendo .ficha-cab { bottom: 10px; }
}

/* ---------------------------------------------------------------- cámaras públicas (fotos en vivo)
   La foto nunca se agranda más allá de su tamaño original (max-width lo fija el JS con naturalWidth). */
.cam-foto { margin: 10px 0 6px; min-height: 120px; background: #020814; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.cam-foto img { display: block; width: 100%; height: auto; }
.cam-cred { font-size: 13px; }
.nota-cam { margin: 4px 0 0; font-size: 12px; color: var(--t3); }
.cam-lista small { flex-basis: 100%; font: 700 11.5px var(--f-cond); color: var(--t3); letter-spacing: .05em; text-transform: uppercase; }
.cam-lista + .cam-lista { margin-top: 10px; }
.c3d #ficha h4.cam-g { margin: 14px 0 0; font: 700 14px var(--f-cond); color: var(--t1); }
.c3d #ficha .est.vivo { font-variant-numeric: tabular-nums; }
#ahora li.cam-li > span:first-child { min-width: 0; }
#ahora li.cam-li b { display: block; }
#ahora .cam-mas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 6px 0 0; }
/* muro: rejilla de teselas; cada una se pide solo si está en pantalla */
.c3d #ficha.muro { width: min(820px, calc(100% - 640px)); }
.muro-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 10px; }
.tesela { display: grid; grid-template-rows: auto auto; padding: 0; border: 1px solid var(--hud-borde); border-radius: 6px; background: rgba(255,255,255,.04); color: var(--t1); text-align: left; cursor: pointer; overflow: hidden; }
.tesela:hover { border-color: rgba(252,209,22,.6); }
.tesela .marco { aspect-ratio: 16 / 9; background: #020814; display: grid; place-items: center; overflow: hidden; }
.tesela img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tesela .pie { padding: 5px 7px 6px; min-width: 0; }
.tesela .pie b { display: block; font: 700 13px/1.2 var(--f-cond); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tesela .pie small { display: block; font: 500 11.5px var(--f-ui); color: var(--t3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c3d #ficha .est.sello { margin: 3px 4px 0 0; padding: 1px 5px; font-size: 10.5px; }
@media (max-width: 1180px) and (min-width: 901px) { .c3d #ficha.muro { width: min(640px, calc(100% - 560px)); } }
@media (max-width: 900px) {
  .c3d #ficha.muro { left: 8px; right: 8px; width: auto; max-height: 72%; }
  .muro-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}
