/* Atlas de Huellas — Javier & Amis | scoped, no external services */
.jav-atlas, .jav-atlas * { box-sizing: border-box; }
.jav-atlas { --a-mint:#5ee0d3; --a-pink:#ff61ad; --a-text:#f3f8ff; --a-muted:#9aaec4; --a-border:rgba(204,226,248,.13); position:relative; overflow:hidden; isolation:isolate; padding:clamp(26px,4vw,54px) clamp(16px,4.2vw,58px) 28px; border:1px solid rgba(86,220,210,.24); border-radius:20px; background:radial-gradient(ellipse at 76% -7%,rgba(54,195,194,.16),transparent 39%), radial-gradient(ellipse at 7% 87%,rgba(177,62,156,.13),transparent 34%),linear-gradient(132deg,#080f21,#0b1a2c 58%,#0b1427); color:var(--a-text); box-shadow:0 24px 75px rgba(3,12,25,.15); text-align:left; font-family:inherit; }
.jav-atlas:before { content:""; position:absolute; top:0;left:0;right:0;height:2px; background:linear-gradient(90deg,transparent,var(--a-mint),var(--a-pink),transparent); opacity:.8; }
.jav-atlas__aurora { position:absolute;z-index:0;top:-150px;right:-160px;width:360px;height:360px;border-radius:50%;box-shadow:0 0 140px 100px rgba(65,218,202,.06);pointer-events:none; }
.jav-atlas__content { position:relative;z-index:1;max-width:1240px;margin:0 auto; }
.jav-atlas__header { display:flex;justify-content:space-between;gap:24px;align-items:end;margin:0 0 25px; }
.jav-atlas__eyebrow { display:flex;align-items:center;gap:10px;font-size:10px !important;letter-spacing:.2em;line-height:1.5;color:var(--a-mint) !important;font-weight:800;margin:0 0 12px !important; }
.jav-atlas__pulse {width:7px;height:7px;flex:none;border-radius:50%;background:var(--a-mint);box-shadow:0 0 0 5px rgba(94,224,211,.1),0 0 15px rgba(94,224,211,.5)}
.jav-atlas__star {color:var(--a-pink);font-size:15px;}
.jav-atlas h2 { font-family:inherit !important;color:var(--a-text) !important;font-weight:800 !important; font-size:clamp(24px,3vw,39px) !important;line-height:1.15 !important;letter-spacing:-.035em !important;margin:0 0 10px !important; padding:0 !important; }
.jav-atlas h2 em { font-family:Georgia,serif;font-weight:400;color:var(--a-mint); }
.jav-atlas__lead { font-size:13px !important;color:var(--a-muted) !important;line-height:1.65 !important;margin:0 !important; }
.jav-atlas__filters { display:flex;flex:none;gap:4px;padding:5px;border:1px solid var(--a-border);border-radius:11px;background:rgba(255,255,255,.04); }
.jav-atlas button.jav-atlas__filter { display:inline-block;appearance:none;cursor:pointer;border:0 !important;border-radius:7px !important;box-shadow:none !important;color:#aebdd3 !important;background:transparent !important;padding:10px 13px !important;font-family:inherit;font-size:12px !important;font-weight:800 !important;letter-spacing:0;white-space:nowrap;line-height:1.2;transition:background .18s,color .18s; }
.jav-atlas button.jav-atlas__filter:hover {background:rgba(110,229,216,.13) !important;color:#fff !important;}
.jav-atlas button.jav-atlas__filter.is-active { color:#081925 !important;background:var(--a-mint) !important; }
.jav-atlas button:focus-visible {outline:2px solid var(--a-pink);outline-offset:2px;}
.jav-atlas__metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px; }
.jav-atlas__metric {border:1px solid var(--a-border);background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.017));border-radius:12px;padding:18px 20px;min-width:0; }
.jav-atlas__metric span {display:block;font-size:10px;letter-spacing:.13em;font-weight:800;color:#a5b8ce;}
.jav-atlas__metric strong {display:block;font-size:clamp(24px,3vw,35px);font-weight:850;line-height:1.4;letter-spacing:-.035em;white-space:nowrap;color:#f8fcff;}
.jav-atlas__metric:nth-child(2) strong {color:var(--a-mint);}
.jav-atlas__metric:nth-child(3) strong {color:var(--a-pink);}
.jav-atlas__layout {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.82fr);gap:16px;align-items:stretch; }
.jav-atlas__map-card, .jav-atlas__ranking { min-width:0;border-radius:14px;background:rgba(4,13,30,.32);border:1px solid var(--a-border);padding:18px; }
.jav-atlas__section-head {display:flex;align-items:center;gap:9px;font-size:14px;font-weight:800;color:#f2f9ff;margin-bottom:10px;}
.jav-atlas__section-icon {color:var(--a-mint);font-size:20px;line-height:1;}
.jav-atlas__section-icon--pink {color:var(--a-pink);}
.jav-atlas__section-hint {margin-left:auto;color:#819bb4;font-size:10px;font-weight:600;white-space:nowrap;}
.jav-atlas__map-frame {position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,rgba(64,178,197,.055),transparent 68%);border-radius:8px;touch-action:pan-y;}
.jav-atlas__world {display:block;width:100%;height:auto;max-height:470px;}
.jav-atlas__graticule {fill:none;stroke:rgba(157,200,233,.08);stroke-width:1;pointer-events:none;}
.jav-atlas__land {fill:#243b50;stroke:rgba(161,200,220,.26);stroke-width:.7;vector-effect:non-scaling-stroke;cursor:default;transition:fill .18s,stroke .18s,filter .18s;}
.jav-atlas__land[data-intensity="1"] {fill:#335e72;cursor:pointer;}
.jav-atlas__land[data-intensity="2"] {fill:#2f9196;cursor:pointer;}
.jav-atlas__land[data-intensity="3"] {fill:#56c6bd;cursor:pointer;}
.jav-atlas__land[data-intensity="4"] {fill:#8af9dd;cursor:pointer;}
.jav-atlas__land:is(:hover,:focus-visible).is-selected,.jav-atlas__land.is-selected {stroke:#ff73b5;stroke-width:2;filter:drop-shadow(0 0 3px rgba(255,97,173,.5));}
.jav-atlas__land[data-intensity]:not([data-intensity="0"]):hover {stroke:#ff73b5;stroke-width:1.7;filter:brightness(1.13);}
.jav-atlas__tooltip {position:absolute;z-index:3;transform:translate(-50%,-100%);pointer-events:none;max-width:250px;white-space:nowrap;border:1px solid rgba(117,234,221,.34);border-radius:7px;padding:8px 10px;background:#10273b;color:#f0faff;box-shadow:0 12px 34px #0006;font-size:11px;font-weight:750;}
.jav-atlas__tooltip[hidden] {display:none;}
.jav-atlas__selection {text-align:center;min-height:22px;color:#b2c7d9;font-size:11px;font-weight:650;margin:3px 0 9px;}
.jav-atlas__map-key {display:flex;justify-content:center;gap:13px;flex-wrap:wrap;color:#8ea5b9;font-size:10px;}
.jav-atlas__map-key span {display:inline-flex;align-items:center;gap:5px;}
.jav-atlas__key-dot {display:inline-block;width:8px;height:8px;border-radius:50%;}
.jav-atlas__key-dot--quiet {background:#243b50;}
.jav-atlas__key-dot--mid {background:#2f9196;}
.jav-atlas__key-dot--high {background:#8af9dd;}
.jav-atlas__rank-list {margin:13px 0 0 !important;padding:0 !important;list-style:none !important;display:grid;gap:5px;}
.jav-atlas__rank-list li {position:relative;display:flex;align-items:center;gap:9px;min-width:0;margin:0 !important;padding:10px 5px 12px !important;border-radius:8px;list-style:none !important;border-bottom:1px solid rgba(195,219,244,.065);color:#d6e6f3;font-size:12px;cursor:pointer;}
.jav-atlas__rank-list li:hover,.jav-atlas__rank-list li.is-selected {background:rgba(96,224,211,.09);}
.jav-atlas__rank-num {font-size:10px;font-variant-numeric:tabular-nums;flex:0 0 15px;color:#7c94ad;font-weight:800;}
.jav-atlas__flag {font-size:18px;line-height:1;flex:0 0 23px;}
.jav-atlas__rank-name {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.jav-atlas__rank-list strong {color:#f8fdff;font-size:13px;font-variant-numeric:tabular-nums;}
.jav-atlas__rank-bar {position:absolute;bottom:0;left:0;height:2px;max-width:100%;background:linear-gradient(90deg,var(--a-mint),var(--a-pink));border-radius:4px;opacity:.75;}
.jav-atlas__rank-list li.jav-atlas__empty {color:#a1b2c5;line-height:1.6;font-size:12px;padding:16px 2px !important;cursor:default;}
.jav-atlas.is-loading .jav-atlas__metric {opacity:.7;}
.jav-admin__atlas-note {display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;background:#fff;border:1px solid #e1eaf0;border-radius:13px;margin-bottom:22px;}
.jav-admin__atlas-note strong {font-size:15px;}
.jav-admin__atlas-note p {margin:7px 0 0;color:#64748b;line-height:1.5;}
.jav-admin__atlas-note code {font-size:13px;background:#eaf8f6;color:#087f79;padding:4px 7px;border-radius:6px;}
.jav-admin__atlas-note .button {flex:none;}
.jav-admin--atlas {max-width:1450px;}
@media(max-width:980px) {.jav-atlas__layout {grid-template-columns:1fr;} .jav-atlas__ranking {min-height:auto;} .jav-atlas__rank-list {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;} .jav-atlas__header {flex-wrap:wrap;} }
@media(max-width:680px) {.jav-atlas {padding:26px 13px 18px;border-radius:12px;} .jav-atlas__header {gap:14px;} .jav-atlas__eyebrow {font-size:9px !important;letter-spacing:.1em;} .jav-atlas__filters {width:100%;} .jav-atlas button.jav-atlas__filter {flex:1;padding:10px 8px !important;} .jav-atlas__metrics {grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;} .jav-atlas__metric {padding:12px 9px;} .jav-atlas__metric span {font-size:8px;letter-spacing:0;} .jav-atlas__metric strong {font-size:23px;} .jav-atlas__map-card,.jav-atlas__ranking {padding:11px;} .jav-atlas__rank-list {grid-template-columns:1fr;} .jav-atlas__footer {flex-wrap:wrap;} .jav-admin__atlas-note {flex-direction:column;align-items:stretch;} }
@media(prefers-reduced-motion:reduce) {.jav-atlas * {transition:none !important;} }

.jav-atlas__all {margin:18px 0 0;border:1px solid var(--a-border);background:rgba(4,13,30,.27);border-radius:11px;padding:0 16px;}
.jav-atlas__all summary {display:flex;align-items:center;gap:9px;color:#bfe2e3;cursor:pointer;padding:14px 0;font-size:12px;font-weight:800;list-style:none;}
.jav-atlas__all summary::-webkit-details-marker {display:none;}
.jav-atlas__all summary span[data-atlas-country-count] {font-size:10px;color:#091a27;background:var(--a-mint);border-radius:20px;padding:2px 7px;}
.jav-atlas__caret {margin-left:auto;color:var(--a-mint);font-size:19px;}
.jav-atlas__all[open] .jav-atlas__caret {transform:rotate(180deg);}
.jav-atlas__all-inner {max-height:290px;overflow:auto;padding-bottom:12px;}
.jav-atlas__all table {width:100%;border-collapse:collapse;color:#cdddec;font-size:12px;background:transparent;}
.jav-atlas__all th {color:#86a8bb;text-align:left;font-size:10px;letter-spacing:.08em;}
.jav-atlas__all th:last-child, .jav-atlas__all td:last-child {text-align:right;}
.jav-atlas__all th, .jav-atlas__all td {padding:8px;border-bottom:1px solid rgba(255,255,255,.07);background:transparent;}

/* 1.4.1: tabla del desplegable aislada del estilo global del tema Muusico. */
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table {
  width:100% !important;
  border-collapse:collapse !important;
  background:#0b1b2c !important;
  background-image:none !important;
  color:#e2effb !important;
  --bs-table-bg:transparent;
  --bs-table-striped-bg:transparent;
  --bs-table-accent-bg:transparent;
}
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table thead,
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tbody {
  background:transparent !important;
  color:inherit !important;
}
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tr,
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tr:nth-child(odd),
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tr:nth-child(even) {
  background:transparent !important;
  background-image:none !important;
  color:#e2effb !important;
  --bs-table-accent-bg:transparent;
}
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table th,
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table td,
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tr:nth-child(odd) td,
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tr:nth-child(even) td {
  padding:12px 13px !important;
  border:0 !important;
  border-bottom:1px solid rgba(160,201,229,.12) !important;
  box-shadow:none !important;
  background-color:transparent !important;
  background-image:none !important;
  color:#e2effb !important;
  font-size:12px !important;
  line-height:1.5 !important;
  text-shadow:none !important;
}
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table th {
  color:#88c4c9 !important;
  font-size:11px !important;
  letter-spacing:.07em;
  font-weight:800 !important;
}
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tbody tr:nth-child(even) {
  background-color:rgba(84,198,190,.07) !important;
}
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table tbody tr:hover {
  background-color:rgba(84,198,190,.13) !important;
}
.jav-atlas .jav-atlas__all .jav-atlas__all-inner table td:last-child {
  color:#67eadb !important;
  font-variant-numeric:tabular-nums;
  font-weight:800 !important;
  text-align:right !important;
}


/* 1.4.2: evita que Edge/Chrome dibujen el rectángulo blanco de foco
   alrededor de la caja delimitadora del país (especialmente EE. UU.).
   El foco de teclado conserva un halo sobre la silueta real. */
.jav-atlas .jav-atlas__world .jav-atlas__land,
.jav-atlas .jav-atlas__world .jav-atlas__land:focus,
.jav-atlas .jav-atlas__world .jav-atlas__land:focus-visible {
  outline:none !important;
  outline-offset:0 !important;
  box-shadow:none !important;
  -webkit-tap-highlight-color:transparent;
}
.jav-atlas .jav-atlas__world .jav-atlas__land:focus-visible {
  stroke:#ff73b5 !important;
  stroke-width:2 !important;
  filter:drop-shadow(0 0 4px rgba(255,97,173,.7));
}
