:root{--rm-red:#e31c3e;--rm-deep:#070506;--rm-panel:#0b0708;--rm-line:#39141b;--rm-muted:#927d81}.location-page{min-height:100vh;background:radial-gradient(circle at 75% 30%,rgba(126,0,20,.14),transparent 30%),#050405}.location-main{max-width:1500px;margin:0 auto;padding:150px 5vw 50px}.location-intro{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:28px}.location-intro h1{font:800 clamp(46px,7vw,94px)/.9 Cinzel;margin:18px 0}.location-intro h1 em{font-style:normal;color:var(--rm-red);text-shadow:0 0 30px rgba(227,28,62,.2)}.location-intro p{max-width:700px;color:#9f9092;line-height:1.8;font-size:13px}.location-status{min-width:240px;border:1px solid var(--rm-line);background:rgba(12,7,8,.82);padding:17px;display:flex;gap:13px;align-items:center}.location-status>span{width:8px;height:8px;border-radius:50%;background:var(--rm-red);box-shadow:0 0 15px var(--rm-red)}.location-status b{display:block;font:700 12px Cinzel}.location-status small{display:block;color:#806e72;font-size:7px;letter-spacing:2px;margin-top:5px}.location-card{border:1px solid #4a171f;background:#090607;box-shadow:0 25px 80px rgba(0,0,0,.45),0 0 45px rgba(120,0,20,.08);overflow:hidden}.map-header{height:64px;padding:0 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #321219;background:linear-gradient(90deg,#0d0709,#080506)}.map-header>div:first-child{display:flex;align-items:center;gap:11px}.map-dot{width:11px;height:11px;border-radius:50%;background:var(--rm-red);box-shadow:0 0 18px rgba(227,28,62,.65)}.map-header small{display:block;color:#8d777b;font-size:7px;letter-spacing:3px}.map-header b{display:block;font:700 10px Cinzel;margin-top:4px}.map-coords{font-size:7px;color:#8e777b;letter-spacing:1px}.map-wrap{position:relative;background:#121314;display:flex;justify-content:center;overflow:hidden}.map-wrap img{display:block;width:min(100%,980px);height:auto;max-height:calc(100vh - 300px);object-fit:contain;object-position:center;filter:contrast(1.04) brightness(.92)}.map-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at center,transparent 45%,rgba(0,0,0,.36) 100%),linear-gradient(180deg,rgba(0,0,0,.04),rgba(120,0,20,.08))}.map-corner{position:absolute;color:#e52243;font:700 9px Cinzel;letter-spacing:2px;text-shadow:0 0 12px rgba(230,25,60,.35);z-index:3}.map-corner span{color:#756468;font:6px 'Noto Sans';letter-spacing:2px}.top-left{left:22px;top:20px}.bottom-right{right:22px;bottom:20px;text-align:right}.map-footer{height:42px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-top:1px solid #321219;color:#745e62;font-size:7px;letter-spacing:2px}.map-footer span:first-child{color:#d51b3b}.map-footer span:last-child{color:#8c777a}@media(max-width:800px){.location-main{padding:120px 4vw 35px}.location-intro{display:block}.location-status{margin-top:20px}.map-header{height:auto;padding:14px;display:block}.map-coords{margin-top:10px}.map-wrap img{width:100%;max-height:none}.map-footer{height:auto;display:grid;gap:8px;padding:13px}.top-left,.bottom-right{font-size:7px}}

/* V61.2 — interactive map viewer */
.location-card.map-interactive { position: relative; }
.map-toolbar {
  min-height: 54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:9px 14px;
  border-bottom:1px solid #321219;
  background:linear-gradient(90deg,#0d0709,#0a0507);
}
.map-toolbar-copy { display:flex; align-items:center; gap:10px; }
.map-toolbar-copy b { display:block; font:700 10px Cinzel; color:#fff3f4; letter-spacing:1.5px; }
.map-toolbar-copy small { display:block; color:#8e777b; font-size:8px; letter-spacing:1.5px; margin-top:3px; }
.map-controls { display:flex; align-items:center; gap:6px; }
.map-control {
  width:34px; height:34px; border:1px solid #5b1b28; border-radius:9px;
  background:rgba(20,8,11,.9); color:#fff4f5; cursor:pointer;
  font:700 15px/1 'Noto Sans'; transition:.18s ease;
  box-shadow:inset 0 0 18px rgba(227,28,62,.05);
}
.map-control:hover { border-color:#ed294c; color:#fff; box-shadow:0 0 18px rgba(227,28,62,.18); transform:translateY(-1px); }
.map-zoom-value { min-width:48px; text-align:center; color:#bba5a9; font-size:8px; letter-spacing:1px; }
.map-wrap.map-viewport {
  height:min(72vh, 760px);
  min-height:460px;
  display:block;
  position:relative;
  overflow:hidden;
  cursor:grab;
  touch-action:none;
  background:#0b0a0b;
}
.map-wrap.map-viewport.is-dragging { cursor:grabbing; }
.map-viewport .map-image {
  position:absolute;
  left:0; top:0;
  width:100%; max-width:none; height:100%; max-height:none;
  object-fit:contain;
  transform-origin:0 0;
  will-change:transform;
  user-select:none;
  -webkit-user-drag:none;
  filter:contrast(1.04) brightness(.92);
}
.map-viewport .map-vignette { z-index:2; }
.map-hint {
  position:absolute; z-index:4; left:50%; bottom:16px; transform:translateX(-50%);
  padding:8px 13px; border:1px solid rgba(255,36,79,.28); border-radius:999px;
  background:rgba(7,4,5,.78); backdrop-filter:blur(8px);
  color:#bca7aa; font-size:8px; letter-spacing:1.4px; white-space:nowrap;
  pointer-events:none;
}
@media(max-width:800px){
  .map-toolbar { align-items:flex-start; flex-direction:column; }
  .map-controls { width:100%; justify-content:flex-end; }
  .map-wrap.map-viewport { height:62vh; min-height:390px; }
  .map-hint { max-width:90%; text-align:center; }
}


/* V61.3 — right-side neon zoom rail */
.map-zoom-rail{
  position:absolute;
  z-index:8;
  top:50%;
  right:18px;
  transform:translateY(-50%);
  width:48px;
  padding:10px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  border:1px solid rgba(227,28,62,.38);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(15,6,9,.92),rgba(7,4,6,.88));
  box-shadow:0 0 28px rgba(227,28,62,.14), inset 0 0 20px rgba(227,28,62,.035);
  backdrop-filter:blur(10px);
}
.map-rail-button,.map-rail-reset{
  width:31px;height:31px;
  display:grid;place-items:center;
  border:1px solid #5b1b28;
  border-radius:9px;
  background:rgba(20,8,11,.94);
  color:#fff4f5;
  cursor:pointer;
  font:700 16px/1 'Noto Sans';
  transition:.18s ease;
}
.map-rail-button:hover,.map-rail-reset:hover{
  border-color:#ed294c;
  color:#fff;
  box-shadow:0 0 16px rgba(227,28,62,.28);
  transform:translateY(-1px);
}
.map-rail-reset{
  font-size:14px;
  margin-top:1px;
  color:#d7bdc2;
}
.map-zoom-slider{
  -webkit-appearance:slider-vertical;
  appearance:slider-vertical;
  width:7px;
  height:150px;
  padding:0;
  margin:2px 0;
  accent-color:#e31c3e;
  cursor:pointer;
  writing-mode:vertical-lr;
  direction:rtl;
  filter:drop-shadow(0 0 6px rgba(227,28,62,.35));
}
.map-zoom-slider::-webkit-slider-runnable-track{
  width:5px;
  border-radius:999px;
  background:linear-gradient(180deg,#7b1024,#e31c3e,#5b0d1a);
}
.map-zoom-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:16px;height:16px;
  margin-left:-5px;
  border-radius:50%;
  border:2px solid #fff0f2;
  background:#e31c3e;
  box-shadow:0 0 13px rgba(227,28,62,.85);
}
.map-zoom-slider::-moz-range-track{
  width:5px;
  border-radius:999px;
  background:#691020;
}
.map-zoom-slider::-moz-range-thumb{
  width:16px;height:16px;
  border-radius:50%;
  border:2px solid #fff0f2;
  background:#e31c3e;
  box-shadow:0 0 13px rgba(227,28,62,.85);
}
@media(max-width:800px){
  .map-zoom-rail{
    right:10px;
    top:auto;
    bottom:58px;
    transform:none;
    width:44px;
    padding:7px;
  }
  .map-zoom-slider{height:110px}
}

/* V61.4 — reliable map stage zoom/pan */
.map-viewport .map-stage{
  position:absolute;
  left:50%; top:50%;
  width:max-content; height:max-content;
  transform-origin:center center;
  will-change:transform;
  z-index:1;
  user-select:none;
  pointer-events:none;
}
.map-viewport .map-stage .map-image{
  position:relative;
  inset:auto;
  display:block;
  width:auto;
  height:auto;
  max-width:none;
  max-height:none;
  object-fit:initial;
  transform:none !important;
  filter:contrast(1.04) brightness(.92);
}

/* V61.5 — GTA V base map integration */
.map-viewport .map-stage .map-image{
  filter:none !important;
}
.map-viewport .map-vignette{
  background:linear-gradient(180deg,rgba(0,0,0,.015),rgba(0,0,0,.04));
}
.map-marker{
  position:absolute;
  left:59%;
  top:73%;
  z-index:6;
  transform:translate(-50%,-100%);
  pointer-events:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.45));
}
.map-marker span{
  width:17px;height:17px;border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:#e31c3e;
  border:3px solid #fff;
  box-shadow:0 0 0 4px rgba(227,28,62,.22),0 0 22px rgba(227,28,62,.9);
}
.map-marker span:after{
  content:"";display:block;width:5px;height:5px;border-radius:50%;
  background:#fff;position:absolute;left:3px;top:3px;
}
.map-marker b{
  padding:5px 8px;border:1px solid rgba(227,28,62,.5);border-radius:5px;
  background:rgba(8,5,6,.88);color:#fff;font:700 7px Cinzel;letter-spacing:1px;
  white-space:nowrap;text-shadow:0 0 8px rgba(255,255,255,.2);
}
@media(max-width:800px){
  .map-marker{left:59%;top:73%;}
  .map-marker b{font-size:6px}
}

/* V61.6 — clean Google Maps-style viewport */
.location-card.map-interactive{overflow:hidden}
.map-toolbar{position:relative;z-index:20}
.map-wrap.map-viewport{
  height:min(78vh,820px);
  min-height:520px;
  display:block;
  position:relative;
  overflow:hidden;
  cursor:grab;
  touch-action:none;
  background:#0a0a0b;
  isolation:isolate;
}
.map-wrap.map-viewport.is-dragging{cursor:grabbing}
.map-viewport .map-stage{
  pointer-events:none;
  transform-origin:center center;
}
.map-viewport .map-stage .map-image{
  display:block;
  width:auto;
  height:auto;
  max-width:none;
  max-height:none;
  object-fit:initial;
  transform:none!important;
  filter:none!important;
  user-select:none;
  -webkit-user-drag:none;
}
.map-viewport .map-marker{
  pointer-events:none;
}
.map-zoom-rail{z-index:30}
@media(max-width:800px){
  .map-wrap.map-viewport{height:70vh;min-height:430px}
  .map-toolbar{padding:10px 12px}
}

/* V62 — tile based map engine */
.map-viewport .map-stage{
  position:absolute;
  left:50%; top:50%;
  width:735px; height:752px;
  transform-origin:center center;
  will-change:transform;
  z-index:1;
  pointer-events:none;
}
.map-tile-layer,.map-marker-layer{
  position:absolute;
  left:0; top:0;
  transform-origin:0 0;
  will-change:transform;
}
.map-tile-layer{z-index:1}
.map-tile{
  position:absolute;
  width:256px;height:256px;
  display:block;
  max-width:none!important;
  max-height:none!important;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}
.map-marker-layer{z-index:6;pointer-events:none}
.map-marker-layer .map-marker{
  left:433px!important;
  top:549px!important;
  transform:translate(-50%,-100%);
}
.map-viewport{background:#0a0a0b!important;}
.map-viewport .map-vignette{z-index:8;pointer-events:none}

/* V63 — stable GTA V map viewer: one high-resolution source, Google-Maps-like navigation */
.map-wrap.map-viewport{
  height:min(78vh,820px);
  min-height:520px;
  position:relative;
  overflow:hidden;
  display:block;
  background:#08090a!important;
  cursor:grab;
  touch-action:none;
  isolation:isolate;
}
.map-wrap.map-viewport.is-dragging{cursor:grabbing}
.map-viewport .map-stage{
  position:absolute;
  left:50%;
  top:50%;
  width:5880px;
  height:6016px;
  transform-origin:center center;
  will-change:transform;
  z-index:2;
  user-select:none;
  pointer-events:none;
}
.map-viewport .map-stage .map-image{
  position:absolute;
  inset:0;
  display:block;
  width:5880px;
  height:6016px;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill;
  transform:none!important;
  filter:none!important;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
}
.map-viewport .map-marker-layer{
  position:absolute;
  left:0;
  top:0;
  width:5880px;
  height:6016px;
  z-index:5;
  pointer-events:none;
}
.map-viewport .map-marker-layer .map-marker{
  position:absolute;
  margin:0;
  pointer-events:none;
}
.map-zoom-rail{z-index:40}
@media(max-width:800px){
  .map-wrap.map-viewport{height:70vh;min-height:430px}
  .map-zoom-rail{right:10px;bottom:58px;top:auto;transform:none}
}

/* V63.1 — premium framed map panel */
.location-card.map-interactive{
  position:relative;
  border:1px solid rgba(185,28,55,.48);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(20,8,11,.98),rgba(7,5,6,.99));
  box-shadow:
    0 34px 90px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 0 55px rgba(155,0,28,.11);
  overflow:hidden;
}
.location-card.map-interactive::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:24px;
  box-shadow:inset 0 0 55px rgba(116,0,20,.08);
  z-index:50;
}
.location-card.map-interactive::after{
  content:"";
  position:absolute;
  top:0;left:8%;right:8%;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,72,102,.8),transparent);
  opacity:.7;
  pointer-events:none;
  z-index:60;
}
.map-toolbar{
  min-height:68px;
  padding:12px 16px;
  border-bottom:1px solid rgba(119,30,46,.48);
  background:
    radial-gradient(circle at 10% 50%,rgba(227,28,62,.08),transparent 26%),
    linear-gradient(180deg,rgba(24,10,13,.98),rgba(11,6,8,.98));
  position:relative;
  z-index:10;
}
.map-toolbar-copy{
  padding:8px 12px;
  border:1px solid rgba(121,36,51,.32);
  border-radius:13px;
  background:rgba(255,255,255,.018);
  box-shadow:inset 0 0 24px rgba(227,28,62,.025);
}
.map-toolbar-copy .map-dot{
  width:9px;height:9px;flex:0 0 9px;
  box-shadow:0 0 8px rgba(227,28,62,.9),0 0 18px rgba(227,28,62,.38);
}
.map-toolbar-copy b{font-size:9px;letter-spacing:2px;text-shadow:0 0 12px rgba(255,255,255,.08)}
.map-toolbar-copy small{font-size:7px;letter-spacing:1.15px;color:#8f797d}
.map-controls{padding:4px;border:1px solid rgba(125,36,53,.35);border-radius:14px;background:rgba(0,0,0,.2)}
.map-control{
  width:35px;height:35px;border-radius:10px;
  border-color:rgba(130,40,57,.55);
  background:linear-gradient(180deg,rgba(35,12,17,.95),rgba(15,7,10,.95));
  box-shadow:inset 0 0 18px rgba(227,28,62,.045),0 4px 14px rgba(0,0,0,.25);
}
.map-control:hover{transform:translateY(-1px) scale(1.025)}
.map-zoom-value{font-size:8px;color:#d7c5c8;min-width:52px}
.map-wrap.map-viewport{
  margin:14px;
  width:calc(100% - 28px);
  height:min(72vh,760px);
  min-height:500px;
  border:1px solid rgba(125,38,54,.42);
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 45%,rgba(75,9,18,.09),transparent 48%),
    #08090a!important;
  box-shadow:
    0 18px 50px rgba(0,0,0,.48),
    inset 0 0 0 1px rgba(255,255,255,.025),
    inset 0 0 60px rgba(0,0,0,.32);
}
.map-wrap.map-viewport::before{
  content:"";
  position:absolute;inset:0;z-index:20;pointer-events:none;
  border-radius:18px;
  box-shadow:inset 0 0 45px rgba(0,0,0,.28),inset 0 -55px 75px rgba(0,0,0,.12);
}
.map-wrap.map-viewport::after{
  content:"GTA V  •  SEE CITY  •  RED MOON PUB";
  position:absolute;left:18px;bottom:15px;z-index:31;pointer-events:none;
  padding:7px 10px;border:1px solid rgba(135,39,56,.35);border-radius:8px;
  background:rgba(8,5,6,.72);backdrop-filter:blur(8px);
  color:rgba(255,236,239,.68);font:600 7px/1 'Noto Sans';letter-spacing:1.7px;
  box-shadow:0 6px 20px rgba(0,0,0,.28);
}
.map-zoom-rail{
  right:16px!important;
  top:16px!important;
  bottom:16px!important;
  transform:none!important;
  padding:7px!important;
  border:1px solid rgba(130,39,55,.46)!important;
  border-radius:16px!important;
  background:rgba(10,6,8,.78)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.4),inset 0 0 24px rgba(227,28,62,.035)!important;
  backdrop-filter:blur(12px);
}
.map-rail-button,.map-rail-reset{
  border-color:rgba(137,42,59,.5)!important;
  background:linear-gradient(180deg,rgba(34,12,17,.96),rgba(13,7,9,.96))!important;
  border-radius:10px!important;
  box-shadow:0 5px 15px rgba(0,0,0,.25),inset 0 0 15px rgba(227,28,62,.04)!important;
}
.map-rail-button:hover,.map-rail-reset:hover{border-color:#ec3151!important;box-shadow:0 0 16px rgba(227,28,62,.18)!important}
.map-zoom-slider{accent-color:#e31c3e}
.map-marker b{
  border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(9,5,7,.88)!important;
  box-shadow:0 7px 22px rgba(0,0,0,.4),0 0 20px rgba(227,28,62,.12)!important;
  backdrop-filter:blur(7px);
}
@media(max-width:800px){
  .location-card.map-interactive{border-radius:18px}
  .map-toolbar{padding:10px;gap:10px}
  .map-toolbar-copy{padding:7px 9px}
  .map-toolbar-copy small{max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .map-controls{flex:0 0 auto}
  .map-wrap.map-viewport{margin:10px;width:calc(100% - 20px);height:68vh;min-height:430px;border-radius:15px}
  .map-wrap.map-viewport::after{left:12px;bottom:12px;font-size:6px;letter-spacing:1.25px}
  .map-zoom-rail{right:10px!important;top:10px!important;bottom:10px!important}
}

/* V63.2 — harden the map layer and provide a visible load fallback */
.map-wrap.map-viewport { isolation:isolate; }
.map-viewport .map-stage { z-index:5 !important; pointer-events:none !important; }
.map-viewport .map-stage .map-image {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:fill !important;
  opacity:1 !important;
  visibility:visible !important;
  filter:none !important;
}
.map-viewport .map-marker-layer { z-index:6 !important; }
.map-viewport::before { z-index:10 !important; }
.map-zoom-rail { z-index:30 !important; }
.map-load-message {
  position:absolute; inset:0; z-index:50; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:8px; text-align:center;
  color:#fff; background:#08090a; font-family:'Noto Sans',sans-serif;
}
.map-load-message strong { font:700 14px Cinzel; letter-spacing:1px; }
.map-load-message span { color:#a89298; font-size:10px; letter-spacing:.8px; }
