/* GTV Stream Map V1.0 – exclusively scoped styles. Shared site header/footer untouched. */
.sm-public{color:#1c2437;background:#fff;font-family:'DM Sans',system-ui,sans-serif;min-height:70vh}
.sm-public *{box-sizing:border-box}.sm-public button{font:inherit}.sm-public .sm-eyebrow{font-size:11px;font-weight:850;letter-spacing:.16em;color:#a98bf6;text-transform:uppercase}
/* V1.1: cinematic Linz + Earth IRL hero, all text remains accessible HTML */
.sm-hero{position:relative;isolation:isolate;min-height:472px;overflow:hidden;color:#fff;background:#090821 url('/Modules/stream-map/hero-stream-map.webp?v=2') center center/cover no-repeat}
.sm-hero:before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(5,5,24,.36) 0%,rgba(7,6,30,.22) 42%,transparent 78%),linear-gradient(0deg,rgba(8,6,26,.35),transparent 45%)}
.sm-hero:after{content:'';position:absolute;z-index:-1;inset:auto 0 0;height:3px;background:linear-gradient(90deg,#7630d0,#bb60f6,#3b7de5,#7630d0);box-shadow:0 -3px 22px #bc66ffb0}
.sm-hero-inner{position:relative;z-index:1;max-width:1240px;margin:auto;padding:55px 24px 57px}
.sm-hero-script{font:700 33px/1.05 'Caveat',cursive;transform:rotate(-3deg);transform-origin:left center;color:#d89aff;margin:0 0 16px;text-shadow:0 0 20px #9639ed8c;max-width:550px}
.sm-hero .sm-eyebrow{color:#ceafff;font-size:11px;letter-spacing:.21em}
.sm-hero .sm-eyebrow span{color:#735c9c}
.sm-hero h1{font:900 clamp(58px,7.1vw,95px)/.96 'Outfit',sans-serif;letter-spacing:-.065em;margin:19px 0 9px;max-width:720px;text-shadow:0 5px 33px #080618c4}
.sm-hero h1 em{font-style:normal;color:#b675ff;background:linear-gradient(105deg,#e2b8ff,#b76dff 48%,#8c53fa);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.sm-hero h2{font:800 clamp(17px,2vw,22px)/1.3 'Outfit',sans-serif;margin:0 0 7px;color:white;max-width:640px}
.sm-hero-lead{max-width:550px;font-size:14px;line-height:1.58;color:#f0e8ff;margin:0 0 18px;text-shadow:0 2px 8px #08061f}
.sm-hero-cta{display:inline-flex;gap:16px;align-items:center;text-decoration:none!important;padding:12px 17px;border-radius:10px;color:white!important;font:800 13px 'Outfit',sans-serif;background:linear-gradient(110deg,#6e29e9,#9c44ef);box-shadow:0 6px 28px #8b35f367;border:1px solid #d4aaff66;transition:transform .2s,box-shadow .2s}
.sm-hero-cta:hover,.sm-hero-cta:focus-visible{transform:translateY(-2px);box-shadow:0 10px 37px #9e4af9a0}
.sm-hero-cta span{font-size:19px;line-height:0}
.sm-hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.sm-hero-tags span{padding:8px 11px;border:1px solid #cdafff40;border-radius:999px;color:#eddbff;font-size:10px;font-weight:850;letter-spacing:.075em;background:#0e0a2b77;backdrop-filter:blur(4px)}
.sm-hero-shimmer{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle 2px at 59% 20%,#fff 20%,transparent 100%),radial-gradient(circle 2px at 77% 31%,#e3a7ff 20%,transparent 100%),radial-gradient(circle 1px at 49% 60%,#fff 20%,transparent 100%);filter:drop-shadow(0 0 12px #f4d8ff);animation:sm-sparkle 6s ease-in-out infinite alternate}
.sm-world-wrap{max-width:1180px;margin:0 auto;padding:45px 24px 90px}.sm-section-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.sm-section-intro h2,.sm-list-top h2{font:800 28px/1.18 'Outfit',sans-serif;letter-spacing:-.035em;margin:5px 0 8px}.sm-section-intro p{color:#667085;font-size:14px;margin:0}.sm-count{text-align:right;min-width:110px}.sm-count strong{display:block;font:800 42px/1 'Outfit',sans-serif;color:#7839dc}.sm-count span{font-size:10px;letter-spacing:.12em;color:#8d86a2;font-weight:800}
/* V1.1 immersive space arena, visual effects only – marker logic remains unchanged */
.sm-globe-panel{position:relative;overflow:hidden;height:min(74vw,730px);min-height:440px;border-radius:26px;isolation:isolate;background:radial-gradient(ellipse at 51% 46%,#252252 0,#121532 30%,#090e2b 49%,#040719 88%);box-shadow:0 24px 65px #190e4580,0 0 0 1px #aa68ff50,inset 0 0 70px #5934e030;border:1px solid #4b3386}
.sm-globe-panel:before{content:'';position:absolute;inset:-15%;pointer-events:none;background:radial-gradient(ellipse 30% 40% at 50% 57%,#9776ff25,transparent 80%),radial-gradient(circle at 80% 20%,#5036b02b,transparent 25%);filter:blur(22px)}
.sm-globe-panel:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;box-shadow:inset 0 0 80px 22px #02041673;border-radius:inherit}
.sm-globe-panel canvas{position:absolute;width:100%;height:100%;inset:0;display:block;cursor:grab;touch-action:none;z-index:1;filter:drop-shadow(0 0 18px #556cff85) drop-shadow(0 0 42px #9a4bff44)}
.sm-globe-panel canvas:active{cursor:grabbing}
.sm-stars{position:absolute;z-index:0;inset:0;pointer-events:none;opacity:.94;background-image:radial-gradient(1.5px 1.5px at 8% 14%,#fff 99%,transparent),radial-gradient(1px 1px at 12% 79%,#a9aeff 99%,transparent),radial-gradient(1px 1px at 22% 34%,#fff 99%,transparent),radial-gradient(2px 2px at 78% 12%,#fff 99%,transparent),radial-gradient(1.5px 1.5px at 84% 54%,#c5a6ff 99%,transparent),radial-gradient(1px 1px at 51% 15%,#fff 99%,transparent),radial-gradient(2px 2px at 94% 84%,#d9baff 99%,transparent),radial-gradient(1px 1px at 16% 92%,#fff 99%,transparent),radial-gradient(2px 2px at 31% 66%,#aecfff 99%,transparent),radial-gradient(1px 1px at 46% 78%,#fff 99%,transparent),radial-gradient(1px 1px at 92% 27%,#fff 99%,transparent),radial-gradient(1px 1px at 62% 90%,#fff 99%,transparent);background-size:100% 100%;animation:sm-sparkle 5.5s ease-in-out infinite alternate}
.sm-stars:before,.sm-stars:after{content:'';position:absolute;inset:0;background-image:radial-gradient(1px 1px at 10% 34%,#bcc5ff 80%,transparent),radial-gradient(1px 1px at 23% 50%,#fff 80%,transparent),radial-gradient(1px 1px at 35% 13%,#d1bfff 80%,transparent),radial-gradient(2px 2px at 87% 65%,#fff 80%,transparent),radial-gradient(1px 1px at 74% 82%,#fff 80%,transparent),radial-gradient(1px 1px at 56% 52%,#e1cbff 80%,transparent);background-size:51% 53%;animation:sm-sparkle 7s ease-in-out infinite alternate-reverse}
.sm-stars:after{background-size:42% 49%;opacity:.45;transform:rotate(7deg) scale(1.2)}
.sm-orbit,.sm-globe-halo{position:absolute;pointer-events:none;left:50%;top:50%;transform:translate(-50%,-50%);width:min(63vw,685px);height:min(63vw,685px);max-width:90%;max-height:93%;border-radius:50%;z-index:0}
.sm-orbit{box-shadow:0 0 18px 4px #717dff5b,0 0 65px 15px #6555ff75,0 0 150px 50px #a046ff2f;opacity:.8}
.sm-globe-halo{background:radial-gradient(circle at 54% 40%,transparent 50%,rgba(112,103,255,.27) 65%,transparent 78%);filter:blur(15px);animation:sm-halo 8s ease-in-out infinite alternate}
.sm-globe-label{position:absolute;z-index:3;left:22px;top:24px;font-size:10px;font-weight:800;letter-spacing:.15em;color:#c4caff;background:#090a289c;border:1px solid #b9a0ff3d;border-radius:999px;padding:9px 13px;pointer-events:none}
.sm-live-dot{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;background:#b274ff;border-radius:50%;box-shadow:0 0 13px #b274ff}.sm-globe-label-sep{color:#755aa4;margin:0 6px}
@keyframes sm-sparkle{from{opacity:.45}to{opacity:1}}@keyframes sm-halo{from{opacity:.53;transform:translate(-50%,-50%) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1.05)}}
.sm-pins{position:absolute;inset:0;pointer-events:none;z-index:4}.sm-pin{position:absolute;transform:translate(-50%,-50%);width:17px;height:17px;border-radius:50%;border:3px solid #fff;background:#ac61ff;box-shadow:0 0 0 5px #ad65ff56,0 0 22px 8px #a35cffc9;pointer-events:auto;cursor:pointer;z-index:4;animation:sm-pulse 2.5s ease-in-out infinite}.sm-pin:hover,.sm-pin:focus-visible,.sm-pin.active{width:21px;height:21px;background:#d29cff;outline:2px solid white;outline-offset:4px}.sm-pin[hidden]{display:none!important}@keyframes sm-pulse{0%,100%{box-shadow:0 0 0 4px #a35aff60,0 0 18px 7px #a35aff94}50%{box-shadow:0 0 0 9px #a35aff23,0 0 28px 11px #a35affad}}
.sm-globe-help{z-index:5;position:absolute;bottom:19px;left:22px;color:#c6d2f3;font-size:12px;letter-spacing:.02em;pointer-events:none}.sm-globe-help span{margin:0 5px;color:#747ea0}.sm-globe-controls{z-index:5;position:absolute;right:20px;bottom:20px;display:grid;gap:7px}.sm-globe-controls button{border:1px solid #9b95d752;border-radius:9px;background:#161a42cc;color:white;width:38px;height:38px;font-size:24px;cursor:pointer}.sm-globe-controls button:hover{background:#543386}.sm-globe-msg{z-index:5;position:absolute;top:20px;left:20px;right:20px;max-width:460px;padding:11px 15px;border:1px solid #8b73ed;background:#121c3f;color:white;border-radius:10px;font-size:13px}
.sm-detail{position:relative;display:grid;grid-template-columns:minmax(0,300px) 1fr;min-height:140px;gap:0;background:white;margin-top:20px;border:1px solid #e4ddf7;border-radius:18px;box-shadow:0 12px 24px #37267112;overflow:hidden}.sm-detail[hidden]{display:none}.sm-detail img{width:100%;height:100%;max-height:290px;object-fit:cover}.sm-detail-info{padding:24px 48px 22px 25px}.sm-detail h3{font:800 27px/1.2 'Outfit',sans-serif;margin:7px 0}.sm-detail-meta{font-size:12px;color:#8156d8;font-weight:750}.sm-detail-description{color:#586172;white-space:pre-wrap;line-height:1.7;font-size:14px;overflow-wrap:anywhere}.sm-detail #sm-detail-close{position:absolute;right:15px;top:10px;border:0;background:#f1eef8;color:#593c95;cursor:pointer;border-radius:50%;width:29px;height:29px;font-size:23px}
.sm-list-top{display:flex;align-items:center;justify-content:space-between;margin:45px 0 18px}.sm-list-top span{color:#76718e;font-size:13px;font-weight:750}.sm-locations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.sm-location-card{display:flex;align-items:center;gap:13px;padding:12px;text-align:left;color:#232334;background:#fff;border:1px solid #e9e4f1;border-radius:14px;cursor:pointer;min-width:0;box-shadow:0 4px 15px #3f217b0b}.sm-location-card:hover,.sm-location-card:focus-visible{border-color:#a870ed;box-shadow:0 9px 24px #5632a525}.sm-location-card img,.sm-location-fallback{display:grid;place-items:center;flex:0 0 68px;width:68px;height:60px;object-fit:cover;border-radius:10px;background:linear-gradient(135deg,#36225c,#8c5cdb);color:white;font-size:30px}.sm-location-info{min-width:0}.sm-location-info strong{display:block;line-height:1.3;font-size:14px}.sm-location-info small{display:block;color:#7d7791;margin-top:3px;font-size:12px}.sm-location-arrow{margin-left:auto;color:#a66aea;font-size:18px}.sm-empty,.sm-alert{padding:25px;border:1px dashed #c9b1e9;border-radius:15px;background:#fbf9ff;color:#62567c}.sm-empty strong{display:block;color:#433063}.sm-empty p{margin:7px 0 0;font-size:14px}
@media(max-width:760px){.sm-hero{min-height:455px;background-position:61% center}.sm-hero-inner{padding:50px 20px 45px}.sm-world-wrap{padding:30px 14px 65px}.sm-globe-panel{min-height:390px;height:85vw;border-radius:16px}.sm-globe-help{font-size:10px;left:12px;bottom:15px}.sm-globe-controls{right:12px;bottom:12px}.sm-locations{grid-template-columns:1fr 1fr}.sm-detail{grid-template-columns:1fr}.sm-detail img{max-height:225px}.sm-detail-info{padding:18px 40px 20px 20px}}
@media(max-width:520px){.sm-locations{grid-template-columns:1fr}.sm-section-intro h2{font-size:24px}.sm-count strong{font-size:33px}.sm-globe-panel{min-height:345px}.sm-hero h1{font-size:56px}.sm-hero-script{font-size:27px}.sm-hero-lead{font-size:13px}.sm-globe-label{font-size:9px;max-width:70%}.sm-hero h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.sm-pin,.sm-stars,.sm-stars:before,.sm-stars:after,.sm-globe-halo,.sm-hero-shimmer{animation:none}}
.sm-detail.sm-noimage{grid-template-columns:1fr}
/* V1.2 – compact hero, satellite-style Earth, natural sunlight and star field. */
.sm-hero{min-height:328px;background-position:center 48%}
.sm-hero-inner{padding:25px 24px 23px}
.sm-hero-script{font-size:27px;margin-bottom:7px}
.sm-hero h1{font-size:clamp(48px,5.1vw,70px);margin:9px 0 5px;line-height:.94}
.sm-hero h2{font-size:clamp(15px,1.7vw,19px);margin-bottom:5px}
.sm-hero-lead{font-size:12px;line-height:1.46;max-width:480px;margin-bottom:10px}
.sm-hero-cta{padding:9px 14px;font-size:12px}
.sm-hero-tags{margin-top:10px;gap:7px}.sm-hero-tags span{font-size:9px;padding:6px 9px}
.sm-globe-panel{background:radial-gradient(ellipse at 48% 52%,#101827 0,#070b15 37%,#010207 85%);box-shadow:0 18px 50px #060a1fb0,0 0 0 1px #454c7485,inset 0 0 46px #19204045}
.sm-globe-panel:before{background:radial-gradient(ellipse at 52% 49%,#18245063,transparent 51%);filter:blur(28px)}
.sm-globe-panel canvas{filter:drop-shadow(0 0 12px #4d8bc78a) drop-shadow(0 0 26px #3b68b64e)}
.sm-orbit{box-shadow:0 0 17px 2px #497ab15e,0 0 48px 14px #385a962a;opacity:.53}
.sm-globe-halo{background:radial-gradient(circle at 33% 40%,transparent 60%,#eab96c16 72%,transparent 82%);opacity:.7}
@media(max-width:760px){.sm-hero{min-height:350px;background-position:59% center}.sm-hero-inner{padding:31px 20px 27px}.sm-hero h1{font-size:clamp(42px,8vw,59px)}.sm-globe-panel{height:78vw;min-height:345px}}
@media(max-width:520px){.sm-hero{min-height:348px;background-position:60% center}.sm-hero-script{font-size:25px}.sm-hero h1{font-size:50px}.sm-hero-lead{max-width:300px}.sm-hero-tags{max-width:310px}}

/* V1.3 – hybrid city zoom, marker-attached detail cards, no changes to approved banner. */
.sm-city-map{position:absolute;inset:0;z-index:2;overflow:hidden;background:#111b33;touch-action:none}
.sm-city-map[hidden]{display:none!important}
.sm-city-tiles{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.sm-city-tile{position:absolute;max-width:none;max-height:none;user-select:none;-webkit-user-drag:none;pointer-events:none}
.sm-city-interact{position:absolute;inset:0;cursor:grab;touch-action:none;outline-offset:-5px}
.sm-city-interact:active{cursor:grabbing}
.sm-city-attribution{position:absolute;z-index:7;right:74px;bottom:12px;background:#fffdf2ec;padding:3px 6px;border-radius:4px;font-size:11px;line-height:1.35;pointer-events:auto}
.sm-city-attribution a{color:#162a53;text-decoration:underline}
.sm-globe-panel.sm-city-mode canvas,.sm-globe-panel.sm-city-mode .sm-stars,.sm-globe-panel.sm-city-mode .sm-orbit,.sm-globe-panel.sm-city-mode .sm-globe-halo{visibility:hidden;pointer-events:none}
.sm-globe-panel.sm-city-mode .sm-globe-help{background:#101b3bcc;padding:5px 8px;border-radius:7px;bottom:18px}
.sm-globe-panel.sm-city-mode .sm-globe-label{background:#171d43e8}
.sm-globe-panel.sm-city-mode:after{pointer-events:none;opacity:.2}
.sm-pins{z-index:6}
.sm-globe-controls{z-index:9}
.sm-globe-help{z-index:7}
/* Popup belongs to selected pin and stays inside the map viewport. */
.sm-detail,.sm-detail.sm-noimage{position:absolute;z-index:12;display:block;left:0;top:0;transform:none;box-sizing:border-box;width:min(340px,calc(100% - 22px));min-height:0;margin:0;max-height:min(410px,calc(100% - 24px));overflow:auto;border:1px solid #b18ef79c;border-radius:16px;background:linear-gradient(150deg,#191839f5,#0b142bef);color:#f7f3ff;box-shadow:0 15px 55px #000b,0 0 25px #9958ff65;pointer-events:auto}
.sm-detail[hidden]{display:none!important}
.sm-detail img{display:block;width:100%;height:125px;max-height:125px;object-fit:cover}
.sm-detail img[hidden]{display:none!important}
.sm-detail-info{padding:16px 20px 18px}
.sm-detail .sm-eyebrow{color:#b8a0ff;font-size:9px}
.sm-detail h3{color:white;font-size:22px;margin:5px 25px 6px 0;line-height:1.2}
.sm-detail-meta{color:#cfb2ff;font-size:11px;margin:0 0 9px}
.sm-detail-description{font-size:13px;line-height:1.55;color:#ece9f5;margin:0}
.sm-detail #sm-detail-close{position:absolute;z-index:3;margin:0;right:9px;top:9px;width:28px;height:28px;background:#e9dff7;color:#311957}
.sm-pin{z-index:6}
.sm-pin.active{z-index:8}
@media(max-width:760px){.sm-detail,.sm-detail.sm-noimage{width:min(285px,calc(100% - 18px));max-height:72%;border-radius:12px}.sm-detail-info{padding:12px 15px 15px}.sm-detail img{height:100px;max-height:100px}.sm-detail h3{font-size:19px}.sm-detail-description{font-size:12px}.sm-city-attribution{right:59px;bottom:10px;font-size:9px}.sm-globe-panel.sm-city-mode .sm-globe-help{font-size:9px;max-width:52%}}
@media(prefers-reduced-motion:reduce){.sm-detail{scroll-behavior:auto}}

/* V1.3.1 — compact pin details + a fine, custom-drawn close icon.
   No template or JavaScript changes; the existing accessible button remains in place. */
.sm-detail{width:min(310px,calc(100% - 22px));border-radius:14px;box-shadow:0 14px 38px #0009,0 0 17px #8e4fee36}
.sm-detail.sm-noimage{width:min(260px,calc(100% - 22px))}
.sm-detail-info{padding:15px 17px 16px}
.sm-detail .sm-eyebrow{font-size:9px;letter-spacing:.13em}
.sm-detail h3{font-size:20px;line-height:1.2;margin:5px 27px 5px 0}
.sm-detail-meta{margin:0 0 7px;font-size:11px}
.sm-detail-description{font-size:13px;line-height:1.5;margin:0}
.sm-detail #sm-detail-close{
    appearance:none;position:absolute;top:9px;right:9px;z-index:3;
    display:block;width:26px;height:26px;min-width:26px;min-height:26px;
    padding:0;margin:0;border:1px solid transparent;border-radius:8px;
    background:transparent;color:#e2d8ff;
    font-size:0;line-height:0;cursor:pointer;
    box-shadow:none;transition:background-color .16s,border-color .16s,color .16s;
}
.sm-detail #sm-detail-close::before,.sm-detail #sm-detail-close::after{
    content:"";position:absolute;left:50%;top:50%;width:13px;height:1.7px;
    border-radius:2px;background:currentColor;pointer-events:none;
}
.sm-detail #sm-detail-close::before{transform:translate(-50%,-50%) rotate(45deg)}
.sm-detail #sm-detail-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.sm-detail #sm-detail-close:hover{background:#a66af42d;color:#fff;border-color:#bb91ff50}
.sm-detail #sm-detail-close:focus-visible{outline:2px solid #cda5ff;outline-offset:2px}
@media(max-width:760px){
    .sm-detail{width:min(290px,calc(100% - 18px))}
    .sm-detail.sm-noimage{width:min(255px,calc(100% - 18px))}
    .sm-detail-info{padding:13px 15px 15px}
    .sm-detail h3{font-size:19px}
}

/* V1.4 MapLibre replaces the dual engine with one continuous globe-to-street view. */
.sm-maplibre-panel{background:radial-gradient(ellipse at 50% 48%,#121a37 0%,#070e26 48%,#020612 90%)}
.sm-maplibre{position:absolute;inset:0;z-index:3;overflow:hidden;touch-action:none;cursor:grab}
.sm-maplibre:active{cursor:grabbing}
.sm-maplibre .maplibregl-canvas{outline:none}
.sm-maplibre .maplibregl-ctrl-attrib{font:10px/1.3 'DM Sans',sans-serif!important;max-width:calc(100% - 55px);border-radius:7px 0 0 0;background:#0d1129df!important;color:#eee4ff!important}
.sm-maplibre .maplibregl-ctrl-attrib a{color:#d4b2ff!important}
.sm-maplibre .maplibregl-ctrl-attrib-button{filter:invert(1)}
.sm-maplibre .maplibregl-ctrl-bottom-right{right:10px;bottom:8px;z-index:5}
.sm-maplibre .maplibregl-ctrl-attrib.maplibregl-compact{min-height:21px}
.sm-maplibre-panel .sm-globe-controls{z-index:7;pointer-events:auto}
.sm-maplibre-panel .sm-globe-help{z-index:6;pointer-events:none;bottom:16px;max-width:72%;color:#d5cef2;background:#080c25a8;border-radius:8px;padding:5px 8px}
.sm-maplibre-panel .sm-globe-label{z-index:6;pointer-events:none;background:#080d27c5;border-radius:7px}
.sm-maplibre-panel .sm-stars,.sm-maplibre-panel .sm-globe-halo{pointer-events:none;z-index:1}
.sm-maplibre-panel .sm-globe-msg{z-index:11;pointer-events:none}
.sm-maplibre .sm-map-marker{appearance:none;display:block;position:relative;border:0;border-radius:50%;width:20px;height:20px;padding:0;cursor:pointer;background:radial-gradient(circle at 40% 30%,#fff,#efc5ff 29%,#a854ff 58%,#5f23b5 100%);box-shadow:0 0 0 2px #ffffffad,0 0 0 5px #a15cff40,0 0 22px 8px #aa65ffd9;transition:filter .16s,transform .16s}
.sm-maplibre .sm-map-marker:after{content:'';position:absolute;inset:-7px;border:2px solid #c893ff9e;border-radius:50%;animation:sm-map-pulse 2.5s ease-out infinite;pointer-events:none}
.sm-maplibre .sm-map-marker:hover,.sm-maplibre .sm-map-marker:focus-visible{filter:brightness(1.22);transform:scale(1.18);outline:2px solid #fff;outline-offset:4px}
.sm-maplibre .maplibregl-marker-covered{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@keyframes sm-map-pulse{0%{transform:scale(.64);opacity:.9}75%,100%{transform:scale(1.8);opacity:0}}
.sm-maplibre .maplibregl-popup{z-index:12;max-width:calc(100% - 24px)!important}
.sm-maplibre .maplibregl-popup-content{padding:0;background:linear-gradient(145deg,#181535f9,#0b1530f7);border-radius:14px;border:1px solid #bc90f6a3;box-shadow:0 15px 50px #000b,0 0 26px #9752e34d;color:#f7f3ff;overflow:hidden;width:min(295px,calc(100vw - 76px))}
.sm-maplibre .maplibregl-popup-tip{border-top-color:#151633f5;border-bottom-color:#151633f5}
.sm-maplibre .maplibregl-popup-close-button{top:7px;right:7px;width:28px;height:28px;border:1px solid #a06bdb41;border-radius:8px;background:#131632bf;color:#f1e7ff;font:400 20px/26px system-ui,sans-serif;z-index:2}
.sm-maplibre .maplibregl-popup-close-button:hover{background:#8045d1;color:#fff}
.sm-map-popup-inner{padding:15px 17px 17px;max-height:290px;overflow:auto}
.sm-map-popup-inner img{display:block;width:calc(100% + 34px);margin:-15px -17px 12px;max-height:140px;object-fit:cover}
.sm-map-popup-inner .sm-popup-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:.16em;color:#bca2ff;margin-bottom:7px}
.sm-map-popup-inner h3{font:800 20px/1.2 'Outfit',sans-serif;margin:0 25px 5px 0;color:#fff;overflow-wrap:anywhere}
.sm-map-popup-inner .sm-popup-meta{font-size:11px;margin:0 0 9px;color:#d6b7ff}
.sm-map-popup-inner .sm-popup-copy{white-space:pre-wrap;overflow-wrap:anywhere;color:#eeebfa;font-size:13px;line-height:1.5;margin:0}
@media(max-width:760px){.sm-maplibre-panel .sm-globe-help{max-width:62%;font-size:9px}.sm-maplibre .sm-map-marker{width:17px;height:17px}.sm-maplibre .maplibregl-ctrl-bottom-right{right:4px;bottom:4px}.sm-maplibre .maplibregl-popup-content{width:min(265px,calc(100vw - 58px))}}
@media(prefers-reduced-motion:reduce){.sm-maplibre .sm-map-marker:after{animation:none;opacity:.6}}

/* Override legacy full-panel canvas rules; keep MapLibre marker and popup interactive. */
.sm-maplibre-panel .sm-maplibre .maplibregl-canvas{z-index:0;filter:none;box-shadow:none;cursor:grab}
.sm-maplibre-panel .sm-maplibre .maplibregl-marker{z-index:5}
.sm-maplibre-panel .sm-maplibre .maplibregl-popup{z-index:10}

/* V1.4.1 – precision globe styling: GPU circle layers replace HTML markers. */
.sm-maplibre-panel{background:radial-gradient(ellipse at 51% 48%,#1b2443 0%,#0a1027 46%,#040716 93%);box-shadow:0 22px 58px #15133a4d,0 0 0 1px #9270e280,inset 0 0 60px #343d8b33}
.sm-maplibre-panel .sm-globe-halo{opacity:.32;filter:blur(36px);pointer-events:none}
.sm-maplibre-panel .sm-maplibre{z-index:3}
.sm-maplibre-panel .sm-maplibre .maplibregl-canvas{filter:none!important}
.sm-maplibre-panel .sm-globe-label{background:#080b21b5;border:1px solid #9d87e84d;border-radius:9px;letter-spacing:.11em}
.sm-maplibre-panel .sm-globe-controls button{background:#141a36db;border:1px solid #7867b56e;box-shadow:0 3px 12px #0308184a;transition:background .15s,transform .15s}
.sm-maplibre-panel .sm-globe-controls button:hover{background:#55349b;transform:translateY(-1px)}
.sm-maplibre .maplibregl-popup-close-button{font-size:0!important;background:transparent;border-color:transparent;box-shadow:none;position:absolute}
.sm-maplibre .maplibregl-popup-close-button:before,.sm-maplibre .maplibregl-popup-close-button:after{content:'';position:absolute;width:13px;height:1.7px;background:#e8dcff;top:50%;left:50%;border-radius:2px;pointer-events:none}
.sm-maplibre .maplibregl-popup-close-button:before{transform:translate(-50%,-50%) rotate(45deg)}
.sm-maplibre .maplibregl-popup-close-button:after{transform:translate(-50%,-50%) rotate(-45deg)}
.sm-maplibre .maplibregl-popup-close-button:hover{background:#8340bb45;border-color:#d3adff6b}
.sm-maplibre .maplibregl-popup-close-button:focus-visible{outline:2px solid #c7a3ff;outline-offset:2px}
@media(max-width:760px){.sm-maplibre-panel .sm-globe-label{left:12px;top:12px;padding:8px 10px;font-size:9px}.sm-maplibre-panel .sm-globe-controls{right:12px;bottom:12px}}


/* V1.4.2 – better place readability: active cards, clusters, clearer labels */
.sm-location-card.is-active{border-color:#8248df;box-shadow:0 10px 28px rgba(86,50,165,.22);background:linear-gradient(180deg,#fff,#faf6ff)}
.sm-location-card.is-active .sm-location-info strong{color:#5e28b8}
.sm-location-card.is-active .sm-location-arrow{color:#5e28b8;transform:translateX(1px)}
.sm-maplibre .maplibregl-popup-content{width:min(305px,calc(100vw - 76px))}
.sm-map-popup-inner h3{font-size:21px}
.sm-maplibre-panel .sm-globe-help{backdrop-filter:blur(4px)}
.sm-maplibre .maplibregl-canvas-container.maplibregl-interactive,.sm-maplibre .maplibregl-canvas-container.maplibregl-interactive:active{cursor:grab}

/* V1.4.4 – accessible selection when several streams share nearly the same coordinates. */
.sm-maplibre .sm-cluster-selection{padding:14px 15px 15px;max-height:320px}
.sm-maplibre .sm-cluster-selection h3{font-size:16px;line-height:1.35;margin:0 27px 10px 0}
.sm-cluster-selection-list{display:flex;flex-direction:column;gap:5px;max-height:230px;overflow-y:auto}
.sm-cluster-selection-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;border:1px solid #aa89e94a;border-radius:9px;background:#33234d99;color:#fff;padding:10px 11px;text-align:left;cursor:pointer;font:inherit}
.sm-cluster-selection-item:hover,.sm-cluster-selection-item:focus-visible{background:#6940a8c9;border-color:#cbb0ff;outline:none}
.sm-cluster-selection-item strong{font:700 13px/1.3 'Outfit',sans-serif;overflow-wrap:anywhere}
.sm-cluster-selection-item small{font-size:11px;color:#ddcef4}


/* V1.5 – premium globe lighting and cinematic day/night presentation */
.sm-globe-panel{box-shadow:0 22px 64px rgba(4,10,28,.62),0 0 0 1px rgba(127,109,205,.42),inset 0 0 52px rgba(91,118,255,.11)}
.sm-maplibre{position:absolute;inset:0;z-index:1}
.sm-celestial-overlay{position:absolute;inset:0;z-index:3;pointer-events:none;mix-blend-mode:normal;transition:opacity .28s ease}
.sm-celestial-overlay.is-hidden{opacity:0}
.sm-celestial-night,.sm-celestial-citylights{position:absolute;inset:0;pointer-events:none;transition:opacity .25s ease}
.sm-celestial-citylights{mix-blend-mode:screen;filter:blur(10px) saturate(1.15)}
.sm-celestial-sun{position:absolute;width:220px;height:220px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(255,251,222,.96) 0,rgba(255,227,149,.74) 16%,rgba(255,190,92,.28) 40%,rgba(255,167,78,.12) 58%,rgba(255,167,78,0) 72%);filter:blur(3px) drop-shadow(0 0 16px rgba(255,210,110,.42)) drop-shadow(0 0 36px rgba(255,183,76,.30));opacity:.88}
.sm-celestial-terminator{position:absolute;height:3px;border-radius:999px;background:linear-gradient(90deg,rgba(255,218,151,0) 0%,rgba(255,218,151,.55) 14%,rgba(255,255,255,.92) 48%,rgba(121,154,255,.56) 84%,rgba(121,154,255,0) 100%);box-shadow:0 0 12px rgba(255,230,184,.45),0 0 22px rgba(109,136,255,.22)}
.sm-celestial-badge{position:absolute;top:16px;right:18px;display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:rgba(7,11,25,.54);border:1px solid rgba(189,170,255,.24);backdrop-filter:blur(9px);box-shadow:0 8px 22px rgba(4,10,24,.24);color:#eef1ff;font:700 11px/1 'Outfit',sans-serif;letter-spacing:.09em;text-transform:uppercase}
.sm-celestial-badge-sun{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:radial-gradient(circle,#fff3cb 0,#ffd87d 55%,#f19f42 100%);color:#4f2c00;font-size:12px;box-shadow:0 0 16px rgba(255,210,95,.45)}
.sm-celestial-badge-text{opacity:.95}
.sm-map-popup .maplibregl-popup-content{background:linear-gradient(180deg,rgba(17,20,40,.96),rgba(10,14,28,.96));border:1px solid rgba(171,144,255,.25);box-shadow:0 18px 48px rgba(5,8,20,.42)}
.sm-location-card.is-active{border-color:#7f58dd;background:linear-gradient(180deg,#fff,#faf6ff);box-shadow:0 10px 28px rgba(86,50,165,.24)}
.sm-location-card:hover,.sm-location-card:focus-visible{transform:translateY(-1px);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
@media(max-width:760px){.sm-celestial-badge{top:12px;right:12px;padding:7px 9px}.sm-celestial-badge-text{font-size:10px}.sm-celestial-sun{width:170px;height:170px}}


/* V4 – ONLY banner geometry. Approved coastal/signpost background is unchanged.
   Consolidated to avoid conflicting historical rules that enlarged the hero. */
.sm-public .sm-hero{
  position:relative !important;
  box-sizing:border-box !important;
  aspect-ratio:auto !important;
  width:100% !important;
  height:330px !important;
  min-height:330px !important;
  max-height:330px !important;
  overflow:hidden !important;
  isolation:isolate;
  background:#0b0a19 url('/Modules/stream-map/hero-stream-map-clean.webp?v=1') center center / 100% 100% no-repeat !important;
}
.sm-public .sm-hero:before{
  content:'' !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  background:linear-gradient(90deg,rgba(5,6,22,.99) 0%,rgba(5,6,22,.97) 29%,rgba(5,6,22,.92) 37%,rgba(5,6,22,.60) 46%,rgba(5,6,22,0) 58%) !important;
}
.sm-public .sm-hero:after,.sm-public .sm-hero-shimmer{display:none !important}
.sm-public .sm-hero-inner{
  box-sizing:border-box !important;
  position:relative !important;
  z-index:1 !important;
  inset:auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:0 !important;
  height:100% !important;
  max-height:100% !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:12px 22px 12px clamp(26px,5.8vw,122px) !important;
  overflow:visible !important;
}
.sm-public .sm-hero-inner > *{
  box-sizing:border-box !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  clip:auto !important;
  white-space:normal !important;
  flex-shrink:0;
}
.sm-public .sm-hero .sm-hero-script{
  font:700 clamp(22px,1.8vw,27px)/1.04 'Caveat',cursive !important;
  color:#d49cff !important;
  margin:0 0 5px !important;
  transform:rotate(-2deg) !important;
}
.sm-public .sm-hero .sm-eyebrow{
  font-size:10px !important;
  line-height:1.2 !important;
  color:#c9b5ef !important;
  margin:0 0 8px !important;
  letter-spacing:.18em !important;
}
.sm-public .sm-hero h1{
  font:900 clamp(47px,4.2vw,61px)/.96 'Outfit',sans-serif !important;
  margin:0 0 5px !important;
  max-width:720px !important;
  text-shadow:0 4px 22px #03030cd1 !important;
}
.sm-public .sm-hero h2{
  font:800 clamp(16px,1.4vw,19px)/1.18 'Outfit',sans-serif !important;
  margin:0 0 6px !important;
  max-width:680px !important;
}
.sm-public .sm-hero .sm-hero-lead{
  font-size:12px !important;
  line-height:1.35 !important;
  max-width:545px !important;
  margin:0 0 11px !important;
  text-shadow:0 2px 10px #000b !important;
}
.sm-public .sm-hero .sm-hero-cta{
  display:inline-flex !important;
  position:static !important;
  align-items:center !important;
  justify-content:center !important;
  gap:15px !important;
  width:auto !important;
  height:auto !important;
  min-height:38px !important;
  padding:8px 14px !important;
  margin:0 !important;
  background:linear-gradient(110deg,#6e29e9,#9c44ef) !important;
  border:1px solid #d4aaff66 !important;
  border-radius:10px !important;
  color:#fff !important;
  text-shadow:none !important;
  box-shadow:0 6px 24px #8b35f35c !important;
  font:800 12px/1.15 'Outfit',sans-serif !important;
  text-decoration:none !important;
  opacity:1 !important;
  cursor:pointer;
}
.sm-public .sm-hero .sm-hero-cta span{display:inline !important;font-size:18px !important;line-height:1 !important}
.sm-public .sm-hero .sm-hero-cta:hover{background:linear-gradient(110deg,#8240ee,#a755f5) !important;transform:translateY(-1px)}
.sm-public .sm-hero .sm-hero-cta:focus-visible{outline:3px solid #fff !important;outline-offset:2px}
.sm-public .sm-hero .sm-hero-tags{display:flex !important;flex-wrap:wrap !important;gap:7px !important;margin:9px 0 0 !important;max-width:600px !important}
.sm-public .sm-hero .sm-hero-tags span{display:inline-block !important;padding:5px 8px !important;font-size:9px !important;line-height:1.2 !important}
@media(min-width:761px) and (max-width:1050px){
  .sm-public .sm-hero{height:348px !important;min-height:348px !important;max-height:348px !important}
  .sm-public .sm-hero-inner{padding-left:30px !important}
  .sm-public .sm-hero h1{font-size:50px !important}
  .sm-public .sm-hero h2{max-width:480px !important;font-size:17px !important}
  .sm-public .sm-hero .sm-hero-lead{max-width:420px !important}
}
@media(max-width:760px){
  .sm-public .sm-hero{
    height:auto !important;min-height:0 !important;max-height:none !important;
    background-position:67% center !important;background-size:cover !important;
  }
  .sm-public .sm-hero-inner{
    height:auto !important;min-height:0 !important;max-height:none !important;
    padding:24px 20px 25px !important;justify-content:flex-start !important;
  }
  .sm-public .sm-hero h1{font-size:clamp(43px,8vw,56px) !important}
  .sm-public .sm-hero h2{font-size:16px !important;max-width:360px !important}
  .sm-public .sm-hero .sm-hero-lead{max-width:340px !important;font-size:12px !important}
}
@media(max-width:420px){
  .sm-public .sm-hero .sm-hero-script{font-size:23px !important}
  .sm-public .sm-hero h1{font-size:43px !important}
  .sm-public .sm-hero-inner{padding:22px 16px 22px !important}
  .sm-public .sm-hero .sm-hero-tags span{font-size:8px !important;padding:5px 7px !important}
}
