* { box-sizing: border-box; }
html, body { margin: 0; background: #0a0e13; }
body {
  font-family: ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  color: #dbe6ee;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 50% 8%, rgba(212, 175, 55, 0.06), transparent 60%),
    radial-gradient(700px 500px at 85% 90%, rgba(53, 208, 165, 0.05), transparent 60%),
    #0a0e13;
}

header {
  border-bottom: 1px solid #1e293b;
  padding: 22px 24px 0;
}
header h1 {
  margin: 0;
  font-size: 28px;
  color: #d4af37;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
}
.h1-sub { color: #40c4b6; font-weight: 500; font-size: 20px; letter-spacing: 0.04em; }
header .sub { margin: 6px 0 16px; font-size: 13px; color: #94a3b8; }

.ornament {
  height: 8px;
  opacity: 0.35;
  background:
    repeating-linear-gradient(90deg,
      #d4af37 0 10px, transparent 10px 16px,
      #35d0a5 16px 22px, transparent 22px 28px),
    linear-gradient(90deg, transparent, #d4af37, transparent);
  background-size: 100% 4px, 100% 1px;
  background-position: bottom, top;
  background-repeat: repeat-x, no-repeat;
}

.layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .layout { grid-template-columns: repeat(12, 1fr); }
  .wheel-card { grid-column: span 7; }
  .energia-card { grid-column: span 5; }
  .consulta-card, .portadores-card, .larga-card { grid-column: span 4; }
  .span2 { grid-column: span 12; }
  .portadores-card .cargadores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  background: linear-gradient(180deg, #0e1520, #0c1219);
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.card h2 {
  margin: 0 0 12px;
  font-size: 17px;
  color: #40c4b6;
  letter-spacing: 0.03em;
}
.col { display: flex; flex-direction: column; gap: 24px; }

#gear svg {
  width: 100%;
  height: auto;
  display: block;
  touch-action: none;
  user-select: none;
  filter: drop-shadow(0 0 34px rgba(212, 175, 55, 0.07));
}
.ring-band { transition: filter 0.18s ease; }
.ring-band.hover { filter: brightness(1.5) saturate(1.15); }
.zoomrow { margin-top: 6px; }
.zoomrow .btn { min-width: 52px; font-weight: 600; }

.mapa { margin: 18px 0 14px; text-align: left; }
.mapa summary {
  cursor: pointer;
  color: #d4af37;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  text-align: center;
  transition: background 0.15s;
}
.mapa summary:hover { background: rgba(212, 175, 55, 0.06); }
.mapa-nota { color: #8aa0b4; font-size: 13px; text-align: center; margin: 12px 0; }
.mapa-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.mapa h3 { color: #40c4b6; font-size: 14px; margin: 10px 0 6px; }
.mapa-tabla { width: 100%; border-collapse: collapse; font-size: 12.5px; color: #c9d6e2; }
.mapa-tabla td { padding: 3px 8px 3px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
.mapa-tabla td:first-child { white-space: nowrap; }
.mapa-sep { color: #d4af37; font-size: 11.5px; letter-spacing: 0.06em; padding-top: 8px !important; }

.btnrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.btn {
  background: #16202c;
  border: 1px solid #334155;
  color: #dbe6ee;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover { background: #1d2c3c; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-oro {
  background: #3a2f10;
  border-color: #d4af37;
  color: #d4af37;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.15);
}
.btn-oro:hover { background: #4a3d14; }

.legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: #94a3b8;
}
@media (min-width: 768px) { .legend { grid-template-columns: repeat(5, 1fr); } }
.legend i {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -1px;
}
.hint { font-size: 11.5px; color: #64748b; text-align: center; margin: 10px 0 0; line-height: 1.5; }

.ref { font-size: 13px; color: #94a3b8; margin: 0 0 6px; }
.ref em { color: #475569; font-style: normal; }
.following { font-size: 11px; color: #35d0a5; margin: 0 0 8px; }
.warning { font-size: 11px; color: #b35757; margin: 0 0 8px; }

.energia-big { text-align: center; padding: 8px 0 2px; }
.energia-big .num { font-size: 44px; font-weight: 700; color: #d4af37; text-shadow: 0 0 18px rgba(212, 175, 55, 0.3); }
.energia-big .sign { font-size: 44px; font-weight: 700; color: #35d0a5; text-shadow: 0 0 18px rgba(53, 208, 165, 0.25); }
.energia-big .mean { color: #cbd5e1; margin-top: 8px; }
.energia-nem { text-align: center; padding: 14px 0; }
.energia-nem .t { font-size: 24px; font-weight: 700; color: #e0a0a0; }
.energia-nem .d { color: #cbd5e1; margin-top: 6px; }
.energia-nem .y { color: #d4af37; margin-top: 8px; }

.fluye {
  font-size: 12px;
  color: #8aa0b4;
  text-align: center;
  margin: 8px 0 0;
  border-top: 1px dashed #1e293b;
  padding-top: 8px;
}
.fluye b { color: #d4af37; }

.grid2 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 16px;
  font-size: 13.5px;
  margin-top: 12px;
}
.grid2 .k { color: #94a3b8; }
.grid2 .oro { color: #d4af37; }

.yearinfo {
  border-top: 1px solid #1e293b;
  margin-top: 14px;
  padding-top: 10px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

.cargadores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cargador {
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  background: #0a1017;
  transition: all 0.2s;
}
.cargador.activo {
  border-color: #d4af37;
  background: #17130a;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
  transform: translateY(-2px);
}
.cargador .ordinal { font-size: 10px; color: #64748b; }
.cargador .nombre { font-size: 14px; font-weight: 700; margin: 3px 0; }
.cargador .signif { font-size: 11px; color: #94a3b8; }
.cargador .mom { font-size: 11px; margin-top: 5px; color: #cbd5e1; }
.cargador .hora { font-size: 10.5px; color: #64748b; }

.queryrow { display: flex; gap: 8px; }
.queryrow input {
  flex: 1;
  background: #0a0e13;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #dbe6ee;
  color-scheme: dark;
}

.firenow {
  margin: 12px 0 0;
  text-align: center;
  color: #d4af37;
  font-weight: 600;
  font-size: 13.5px;
}

.grid3 { display: grid; gap: 18px; grid-template-columns: 1fr; font-size: 13.5px; }
@media (min-width: 768px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.grid3 h3 { margin: 0 0 8px; font-size: 14.5px; color: #e2e8f0; }
.grid3 p { margin: 3px 0; }
.grid3 .dim { color: #94a3b8; }

.patrones { margin: 0; padding-left: 20px; font-size: 13.5px; color: #cbd5e1; }
.patrones li { margin-bottom: 6px; }
.oro { color: #d4af37; }

footer {
  border-top: 1px solid #1e293b;
  padding: 0 24px 16px;
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
}
footer .ornament { margin-bottom: 14px; }

.sol-mapa { overflow: hidden }
.sol-nota {
  background: rgba(212, 175, 55, 0.07); border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px; padding: 12px 16px; font-size: 13.5px; line-height: 1.65; color: #d8dce2;
}
.sol-crumb {
  margin: 14px 0 4px; font-size: 12.5px; color: #8aa0b4; letter-spacing: 0.3px;
  padding: 8px 12px; border-left: 3px solid #d4af37; background: rgba(255,255,255,0.02); border-radius: 0 8px 8px 0;
}
.sol-eras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px }
@media (max-width: 980px) { .sol-eras { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 620px) { .sol-eras { grid-template-columns: 1fr } }
.sol-era {
  border: 1px solid #243141; border-top: 3px solid var(--reg, #d4af37); border-radius: 10px;
  padding: 12px 13px; cursor: pointer; background: #0e1621; transition: background .2s, transform .15s;
}
.sol-era:hover { background: #111c29; transform: translateY(-1px) }
.sol-era.cur { box-shadow: 0 0 0 1px rgba(212,175,55,.35), 0 6px 24px rgba(212,175,55,.08) }
.sol-era-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px }
.sol-era-code { font-weight: 700; font-size: 13px; color: #e8ecf0; letter-spacing: .4px }
.sol-era-estado { font-size: 9.5px; letter-spacing: 1.2px; color: #7c8ea0 }
.sol-era.cur .sol-era-estado { color: #d4af37; animation: solPulse 2.4s ease-in-out infinite }
.sol-era-nom { font-size: 11.5px; color: #a9b8c6; margin-top: 5px }
.sol-era-rango { font-size: 10.5px; color: #6c7d8e; margin-top: 2px }
.sol-subs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px }
.sol-sub {
  position: relative; height: 26px; border-radius: 5px; overflow: hidden; cursor: pointer;
  border: 1px solid #243141; display: block;
}
.sol-sub i { position: absolute; top: 0; bottom: 0 }
.sb-luz { left: 0; width: 59.09%; background: linear-gradient(180deg, rgba(212,175,55,.34), rgba(212,175,55,.16)) }
.sb-osc { right: 0; width: 40.91%; background: linear-gradient(180deg, rgba(38,50,74,.9), rgba(16,22,34,.9)) }
.sol-sub span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 9px; letter-spacing: .8px; color: #c3cfdb; font-weight: 600;
}
.sol-sub.cur { border-color: #d4af37; box-shadow: 0 0 10px rgba(212,175,55,.25) }
.sol-sub.open { outline: 1px dashed rgba(212,175,55,.5); outline-offset: 2px }
.sol-subdet {
  grid-column: 1 / -1; border: 1px solid #243141; border-radius: 10px; margin-top: 2px;
  padding: 12px 14px; background: #0c131d;
}
.sol-subdet.cur { border-color: rgba(212,175,55,.4) }
.sol-subdet-head { font-size: 12.5px; color: #c3cfdb; margin-bottom: 10px }
.atados { display: grid; grid-template-columns: repeat(22, 1fr); gap: 3px; margin-top: 26px }
@media (max-width: 980px) { .atados { grid-template-columns: repeat(11, 1fr) } }
.atado {
  position: relative; height: 44px; border-radius: 4px; border: 1px solid #223041;
  display: flex; align-items: flex-end; justify-content: center; overflow: visible;
}
.atado span { font-size: 8px; color: #77879a; padding-bottom: 3px; pointer-events: none }
.atado.luz { background: linear-gradient(180deg, rgba(212,175,55,.22), rgba(212,175,55,.08)) }
.atado.osc { background: linear-gradient(180deg, rgba(30,40,60,.85), rgba(12,17,26,.85)) }
.atado.cur { border-color: #d4af37 }
.atado.cur b {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(212,175,55,.55), rgba(212,175,55,.25));
}
.mk { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px }
.mk-aqui {
  top: -22px; font-size: 8px; letter-spacing: 1px; color: #0a0e13; background: #d4af37;
  padding: 2px 6px; border-radius: 4px; white-space: nowrap; font-weight: 700; animation: solPulse 2.4s ease-in-out infinite;
}
.atados-leyenda { display: flex; gap: 18px; margin-top: 12px; font-size: 11px; color: #8aa0b4 }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px }
.sw-luz { background: rgba(212,175,55,.4) } .sw-osc { background: #1a2436 }
.sol-grinberg { font-size: 12px; color: #9fb0c0; line-height: 1.6; margin: 10px 0 0; border-top: 1px dashed #243141; padding-top: 10px }
.sol-fuego-tit { margin: 20px 0 10px; font-size: 13px; color: #d4af37; letter-spacing: .5px }
.sol-fuego { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px }
@media (max-width: 980px) { .sol-fuego { grid-template-columns: repeat(6, 1fr) } }
@media (max-width: 620px) { .sol-fuego { grid-template-columns: repeat(4, 1fr) } }
.fuego-cell {
  position: relative; border-radius: 7px; border: 1px solid #243141; padding: 8px 6px 7px;
  font-size: 11.5px; font-weight: 700; color: #c3cfdb; text-align: center; background: #0e1621;
}
.fuego-cell small { display: block; font-size: 8.5px; font-weight: 400; color: #77879a; margin-top: 4px; line-height: 1.35 }
.fuego-cell.lit { border-color: #d4af37; background: linear-gradient(180deg, rgba(212,175,55,.22), rgba(212,175,55,.06)); color: #e8d9a8 }
.fuego-cell.dim { opacity: .55 }
.fuego-cell.next { border-color: #d4af37; box-shadow: 0 0 14px rgba(212,175,55,.3); animation: solPulse 2.4s ease-in-out infinite; color: #e8d9a8 }
.mk-hoy { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 8.5px; color: #35d0a5; font-style: normal; white-space: nowrap }
@keyframes solPulse { 0%, 100% { opacity: 1 } 50% { opacity: .55 } }

#sol-eras { display: flex; flex-direction: column; gap: 14px; margin-top: 14px }
.sol-compass {
  display: grid; gap: 14px; align-items: stretch;
  grid-template-columns: 1fr minmax(220px, 290px) 1fr;
  grid-template-areas: "tl sol tr" "bl sol br";
}
.pos-tl { grid-area: tl } .pos-tr { grid-area: tr }
.pos-bl { grid-area: bl } .pos-br { grid-area: br }

.sol-sol { grid-area: sol; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; text-align: center }
.sol-disco {
  position: relative; width: 186px; height: 186px; border-radius: 50%; padding: 12px;
  background: conic-gradient(#4b4b57 0 25%, #d4af37 0 50%, #3f6db3 0 75%, #b35757 0 100%);
  box-shadow: 0 0 34px rgba(212, 175, 55, .22), 0 0 90px rgba(212, 175, 55, .08);
}
.sol-disco::after {
  content: ''; position: absolute; inset: -9px; border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, .35);
  animation: solGiro 90s linear infinite;
}
@keyframes solGiro { to { transform: rotate(360deg) } }
.sol-disco-in {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #f4d876, #c9a24b 55%, #8a6d2a);
  box-shadow: inset 0 0 18px rgba(60, 40, 5, .55);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.sol-disco-emoji { font-size: 46px; line-height: 1 }
.sol-disco-v { font-weight: 800; letter-spacing: 3px; color: #3a2c08; font-size: 15px; margin-top: 4px }
.sol-sol-cap { font-size: 12px; color: #c3cfdb } .sol-sol-cap b { color: #d4af37 }
.sol-sol-rango { font-size: 10.5px; color: #6c7d8e }

.sol-cuad {
  background: #0d1622; border: 1px solid #1c2836; border-top: 3px solid var(--reg, #c9a24b);
  border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px;
  transition: background .2s;
}
.sol-cuad:hover { background: #111c29 }
.sol-cuad.cur { box-shadow: 0 0 0 1px rgba(212, 175, 55, .35), 0 6px 24px rgba(212, 175, 55, .08) }
.sol-cuad-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px }
.sol-cuad-code { font-weight: 700; font-size: 13.5px; color: #e8ecf0; letter-spacing: .4px }
.sol-cuad-estado { font-size: 9.5px; letter-spacing: 1.2px; color: #7c8ea0 }
.sol-cuad.cur .sol-cuad-estado { color: #d4af37; animation: solPulse 2.4s ease-in-out infinite }
.sol-cuad-nom { font-size: 11.5px; color: #a9b8c6 }
.sol-cuad-dir { font-size: 9px; color: #6c7d8e; letter-spacing: 1px; text-transform: uppercase }
.sol-cuad-tot { font-size: 10.5px; color: #6c7d8e } .sol-cuad-tot b { color: #c9a24b }
.sol-cuad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 6px }

.sol-bloque {
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(201, 162, 75, .16);
  border-radius: 9px; padding: 8px 9px 7px; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  transition: background .2s, transform .2s;
}
.sol-bloque:hover { background: rgba(255, 255, 255, .07); transform: translateY(-1px) }
.sol-bloque.cur { border-color: #d4af37; box-shadow: 0 0 12px rgba(212, 175, 55, .25) }
.sol-bloque.open { outline: 1px dashed rgba(212, 175, 55, .5); outline-offset: 2px }
.sb-name { font-size: 12px; font-weight: 600; color: #dfe7ee }
.sb-anios { display: flex; align-items: baseline; gap: 5px }
.sb-anios b { font-size: 24px; color: #ffe9a8; line-height: 1.05 }
.sb-anios small { font-size: 9px; color: #a9b8c6 }
.sb-bar { position: relative; display: flex; height: 6px; border-radius: 3px; overflow: hidden }
.sb-bar .sb-luz { width: 59.09%; background: linear-gradient(90deg, #d4af37, #c9a24b) }
.sb-bar .sb-osc { flex: 1; background: #2a3442 }
.sb-prog { position: absolute; left: 0; top: 0; bottom: 0; background: #ffe9a8; box-shadow: 0 0 8px rgba(255, 233, 168, .8) }
.sb-rango { font-size: 9.5px; color: #6c7d8e }

@media (max-width: 1080px) {
  .sol-compass { grid-template-columns: 1fr 1fr; grid-template-areas: "sol sol" "br tl" "bl tr" }
}
@media (max-width: 620px) {
  .sol-compass { grid-template-columns: 1fr; grid-template-areas: "sol" "br" "tl" "bl" "tr" }
}


::selection { background: rgba(212, 175, 55, .35); color: #fff }
html { scrollbar-color: #33475f #0a0e13 }
::-webkit-scrollbar { width: 10px; height: 10px }
::-webkit-scrollbar-track { background: #0a0e13 }
::-webkit-scrollbar-thumb { background: #223041; border-radius: 5px; border: 2px solid #0a0e13 }
::-webkit-scrollbar-thumb:hover { background: #33475f }

:focus-visible { outline: 2px solid #d4af37; outline-offset: 2px; border-radius: 6px }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}

.card h2 { display: flex; align-items: center; gap: 10px }
.card h2::before {
  content: ''; width: 22px; height: 14px; flex: none; background: #d4af37; opacity: .8;
  clip-path: polygon(0 100%, 0 62%, 22% 62%, 22% 30%, 44% 30%, 44% 0, 100% 0, 100% 30%, 78% 30%, 78% 62%, 100% 62%, 100% 100%);
}
.sol-fuego-tit { display: flex; align-items: center; gap: 9px }
.sol-fuego-tit::before {
  content: ''; width: 16px; height: 10px; flex: none; background: #b35757; opacity: .8;
  clip-path: polygon(0 100%, 0 55%, 33% 55%, 33% 0, 66% 0, 66% 55%, 100% 55%, 100% 100%);
}

.following { display: flex; align-items: center; gap: 7px }
.following[style*="none"] { display: none }
.following .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #35d0a5; flex: none;
  box-shadow: 0 0 8px rgba(53, 208, 165, .8); animation: solPulse 1.8s ease-in-out infinite;
}

.dia-linea { margin-top: 14px; border-top: 1px dashed #1e293b; padding-top: 12px }
.dl-barra {
  position: relative; display: flex; height: 26px; border-radius: 7px;
  overflow: hidden; border: 1px solid #1e293b;
}
.dl-seg {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; letter-spacing: .3px; color: #77879a;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 4px;
}
.dl-seg + .dl-seg { border-left: 1px solid rgba(10, 14, 19, .85) }
.dl-seg.s0 { background: #141c2a }
.dl-seg.s1 { background: #2c2616 }
.dl-seg.s2 { background: #3a2f10 }
.dl-seg.s3 { background: #251d2e }
.dl-seg.on { color: #ffe9a8; font-weight: 700; box-shadow: inset 0 0 0 1.5px #d4af37 }
.dl-aguja { position: absolute; top: -2px; bottom: -2px; width: 2px; background: #ffe9a8; box-shadow: 0 0 8px rgba(255, 233, 168, .9) }
.dl-aguja::before {
  content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: #ffe9a8;
}
.dl-horas { display: flex; justify-content: space-between; font-size: 9px; color: #64748b; margin-top: 6px }
.dl-horas .md { color: #d4af37; font-weight: 700 }
.dl-cap { font-size: 10px; color: #64748b; text-align: center; margin: 6px 0 0; line-height: 1.45 }
.dl-cap b { color: #a9b8c6 }
@media (max-width: 560px) { .dl-seg { font-size: 8.5px; padding: 0 2px } }

.btn-mini { font-size: 11.5px; padding: 5px 10px; border-radius: 7px; color: #94a3b8 }
.btn-mini.copiado { border-color: #3aa886; color: #7fe0a8; box-shadow: 0 0 12px rgba(58, 168, 134, .25) }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px }
.chip {
  background: #101a26; border: 1px solid #243141; color: #a9b8c6;
  border-radius: 999px; padding: 4px 11px; font-size: 11px; cursor: pointer;
  transition: border-color .15s, color .15s, transform .1s;
}
.chip:hover { border-color: #d4af37; color: #e8d9a8; transform: translateY(-1px) }

#p-larga span:not(.k) { display: flex; flex-direction: column; gap: 2px }
.barra-mini { display: block; height: 4px; border-radius: 2px; background: #1a2436; overflow: hidden; max-width: 240px; margin-top: 3px }
.barra-mini b { display: block; height: 100%; background: linear-gradient(90deg, #d4af37, #c9a24b); border-radius: 2px }

.cielo-emoji { font-size: 22px; margin-right: 2px }

.atados { grid-template-columns: repeat(22, minmax(0, 1fr)) }
@media (max-width: 980px) { .atados { grid-template-columns: repeat(11, minmax(0, 1fr)) } }
.atado { min-width: 0 }
.atado span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.sol-fuego { grid-template-columns: repeat(11, minmax(0, 1fr)) }
@media (max-width: 980px) { .sol-fuego { grid-template-columns: repeat(6, minmax(0, 1fr)) } }
@media (max-width: 620px) { .sol-fuego { grid-template-columns: repeat(4, minmax(0, 1fr)) } }
.fuego-cell { min-width: 0 }
.cargadores { grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 560px) { .cargadores { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.sol-crumb { overflow-wrap: anywhere }
.sol-cuad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }

.mapa { overflow-x: auto; max-width: 100% }
.mapa-tabla td { overflow-wrap: anywhere }

.dl-barra { height: 30px }
.dl-celda {
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 600; letter-spacing: .2px;
  overflow: hidden; min-width: 0; flex: none;
}
.dl-celda + .dl-celda { border-left: 1px solid rgba(10, 14, 19, .8) }
.dl-celda.som { background: #151f2e; color: #5d7fa8 }
.dl-celda.luz { background: linear-gradient(180deg, #d4af37, #b58f2e); color: #3a2c08 }
.dl-celda.sup-i { background: linear-gradient(90deg, #151f2e 0%, #3a3550 30%, #d4af37 100%); color: #ffe9a8 }
.dl-celda.sup-f { background: linear-gradient(90deg, #b58f2e 0%, #3a3550 70%, #151f2e 100%); color: #ffe9a8 }
.dl-celda.ext { outline: 1px dashed rgba(93, 127, 168, .55); outline-offset: -2px }
.dl-celda.on { box-shadow: inset 0 0 0 2px #ffe9a8, 0 0 10px rgba(255, 233, 168, .35); z-index: 1 }
.dl-celda.som.on, .dl-celda.ext.on { color: #cfe3ff }
.dl-leyenda { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 7px; font-size: 9.5px; color: #64748b }
.sw2 { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px }
.sw2-luz { background: #d4af37 }
.sw2-som { background: #151f2e; border: 1px solid #33475f }
.sw2-sup { background: linear-gradient(90deg, #151f2e, #d4af37) }
@media (max-width: 640px) { .dl-celda { font-size: 0 } .dl-celda.on { font-size: 8px } }
