/* Atlas 14.3 — official Leonida poster image view, Elario designed brand.
 * Overlay belongs only to GTA VI map canvas. No changes to map engine or site data. */
body[data-start-world="6"] .j143-view-button[hidden]{display:none!important}
body[data-start-world="6"] .j143-view-button{
 display:inline-flex;align-items:center;justify-content:center;
 padding:8px 12px;min-height:36px;border:1px solid #ffda9b;border-radius:10px;
 background:linear-gradient(130deg,#f6c57d,#e5a45f);color:#321b38;
 font:850 12px/1.25 system-ui,sans-serif;cursor:pointer;
}
body[data-start-world="6"] .j143-view-button[aria-pressed="true"]{background:#fff1cf}
body[data-start-world="6"] .j143-view-button:focus-visible,
.j143-official-layer :is(button,input,a):focus-visible{outline:3px solid #ffe6b3;outline-offset:3px}
.j143-official-layer[hidden]{display:none!important}
.j143-official-layer{
 position:absolute;inset:0;z-index:600;display:flex;flex-direction:column;
 min-width:0;min-height:0;overflow:hidden;background:#21152d;color:#fff1fc;
 border:1px solid #d7a976;box-shadow:0 12px 45px #0d071dbf;
}
.j143-toolbar,.j143-foot{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
 background:linear-gradient(100deg,#382046,#241a35);padding:10px 14px;
 border-bottom:1px solid #9c709f;position:relative;z-index:2
}
.j143-toolbar strong{font-size:clamp(14px,1.5vw,20px);color:#ffe1a5;display:block}
.j143-toolbar small{font-size:10px;letter-spacing:.07em;color:#dcc9de}
.j143-actions,.j143-foot>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.j143-actions button,.j143-foot button,.j143-foot a,.j143-upload,.j143-replace,.j143-empty>a,.j143-empty button{
 border:1px solid #ac7eb0;border-radius:8px;background:#412b51;color:#ffdda3;
 padding:7px 10px;font:750 12px/1.4 system-ui,sans-serif;cursor:pointer;text-decoration:none
}
.j143-actions button:hover,.j143-foot a:hover,.j143-foot button:hover{background:#664071}
.j143-stage{flex:1;position:relative;overflow:hidden;min-height:170px;background:#151626;touch-action:none;outline-offset:-4px}
.j143-poster{display:block;width:100%;height:100%;object-fit:contain;transform-origin:center center;
 transition:none;user-select:none;-webkit-user-drag:none;touch-action:none;cursor:grab}
.j143-poster[hidden]{display:none}
.j143-poster:active{cursor:grabbing}
.j143-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;
 justify-content:center;gap:12px;padding:20px;overflow:auto;text-align:center;
 background:radial-gradient(ellipse at center,#4a2d52,#20182f)}
.j143-empty[hidden]{display:none}
.j143-empty strong{color:#ffde9b;font-size:clamp(16px,2vw,24px);line-height:1.25}
.j143-empty p{font-size:13px;line-height:1.5;max-width:540px;margin:0;color:#f0dfea}
.j143-empty>a{color:#fff0ce;background:#5f3d60}
.j143-empty button{background:linear-gradient(115deg,#ffd894,#efae6b);color:#261b2d;border-color:#ffe2a9;font-weight:900;max-width:100%}
.j143-empty button:hover{filter:brightness(1.08)}
.j143-upload{display:block;position:relative;background:#f3bd72;color:#291a35;border-color:#ffdfa9}
.j143-upload input,.j143-replace input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.j143-replace{position:relative}
.j143-foot{border-bottom:0;border-top:1px solid #9c709f;font-size:11px}
.j143-status{flex:1;min-width:170px;color:#e5d2e9}
@media(max-width:700px){
 .j143-toolbar,.j143-foot{padding:8px;gap:7px}
 .j143-actions button{padding:7px}
 .j143-stage{min-height:210px}
 .j143-empty{justify-content:flex-start;gap:8px}
 .j143-empty p{font-size:12px}
 .j143-view-button{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.j143-official-layer *{scroll-behavior:auto!important;transition:none!important}}

/* Optional import fallback stays secondary; players see the one-click map control first. */
.j143-advanced{max-width:min(100%,540px);width:100%;font-size:12px;color:#e7d5eb;
 background:#281f37;border:1px solid #765788;border-radius:9px;padding:7px 10px;
 text-align:left}
.j143-advanced summary{cursor:pointer;color:#ffe0a9;font-weight:750}
.j143-advanced p{margin:8px 0;font-size:12px}
.j143-advanced>a{display:inline-block;color:#ffda9d;padding:7px 0}
.j143-advanced .j143-upload{display:block;max-width:320px;margin:5px 0 2px}
