/* Cruise Ship Tracker — its own identity: slate + amber, system type, the
   flat tabular feel of a marine instrument rather than a travel brochure. */
:root{
  --ink:#0B1622; --panel:#142130; --panel2:#1B2B3D; --line:#26394F;
  --amber:#FFB020; --amber-d:#E09A10; --sky:#38BDF8; --green:#34D399;
  --text:#E8EFF6; --muted:#93A7BC;
  --paper:#F7F9FB; --paper2:#fff; --pline:#E3E9EF; --pink:#17293B; --pmuted:#5B7086;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  --r:10px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--sans);background:var(--paper);color:var(--pink);line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
h1,h2,h3{line-height:1.18;font-weight:650;letter-spacing:-.015em}

/* header */
.hdr{background:var(--ink);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:900}
.hdr-in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:60px}
.brand{display:flex;align-items:center;gap:9px;color:var(--text);font-size:17px;letter-spacing:-.02em}
.brand strong{color:var(--amber);font-weight:700}
.nav{display:flex;align-items:center;gap:4px}
.nav a{color:var(--muted);font-size:14px;font-weight:550;padding:7px 12px;border-radius:7px}
.nav a:hover{color:var(--text);background:rgba(255,255,255,.06)}
.nav a.on{color:var(--text)}
.nav a.cta{background:var(--amber);color:var(--ink);font-weight:700;margin-left:6px}
.nav a.cta:hover{background:var(--amber-d);color:var(--ink)}
@media(max-width:640px){.nav a{padding:7px 8px;font-size:13px}.brand span{display:none}}

/* hero + map */
.hero{background:var(--ink);color:var(--text);padding:30px 0 22px;text-align:center}
.hero h1{font-size:clamp(26px,4.2vw,42px);color:#fff}
.hero p{max-width:720px;margin:10px auto 0;color:var(--muted);font-size:16px}
.stats{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
.stat{background:var(--panel);border:1px solid var(--line);border-radius:999px;padding:6px 15px;font-size:13px;color:var(--muted)}
.stat b{color:var(--amber);font-family:var(--mono);font-size:14px;font-weight:700}
.live{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:7px;box-shadow:0 0 0 3px rgba(52,211,153,.2);animation:pl 2s infinite}
@keyframes pl{50%{box-shadow:0 0 0 6px rgba(52,211,153,.05)}}
.stage{position:relative;background:#0e1a27}
#map{height:clamp(520px,62vh,700px);z-index:0;background:#12222f}
.mpanel{position:absolute;top:12px;right:12px;z-index:500;width:320px;max-height:calc(100% - 24px);display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.4)}
.mpanel-h{padding:11px 12px;border-bottom:1px solid var(--line)}
.mpanel input,.mpanel select{width:100%;background:var(--ink);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:9px 11px;font:550 14px var(--sans);outline:none}
.mpanel input:focus,.mpanel select:focus{border-color:var(--amber)}
.mpanel select{margin-top:7px}
.mcount{font-family:var(--mono);font-size:11px;color:var(--muted);margin-top:8px;letter-spacing:.02em}
.mlist{overflow-y:auto;flex:1 1 auto}
.mrow{display:block;padding:8px 12px;border-top:1px solid var(--line);cursor:pointer}
.mrow:hover{background:var(--panel2)}
.mrow b{display:block;font-size:14px;font-weight:600;color:var(--text)}
.mrow span{font-size:11.5px;color:var(--muted);font-family:var(--mono)}
.mrow.off{opacity:.45}
@media(max-width:860px){.mpanel{position:static;width:auto;max-height:340px;border-radius:0;border-left:0;border-right:0}#map{height:58vh}}
.leaflet-popup-content-wrapper{background:var(--panel);color:var(--text);border-radius:var(--r);border:1px solid var(--line)}
.leaflet-popup-tip{background:var(--panel)}
.leaflet-popup-content{font-family:var(--sans);margin:12px 14px}
.pop b{font-size:15px;color:#fff;display:block}
.pop i{font-style:normal;color:var(--muted);font-size:12px;font-family:var(--mono);display:block;margin:3px 0 7px}
.pop a.pb{display:inline-block;margin-top:8px;background:var(--amber);color:var(--ink);font-weight:700;font-size:12.5px;padding:6px 11px;border-radius:7px}
.leaflet-control-attribution{font-size:9.5px!important;background:rgba(11,22,34,.75)!important;color:#7e93a8!important}
.leaflet-control-attribution a{color:#7e93a8!important}

/* content */
.sec{padding:46px 0 0}
.sec h2{font-size:clamp(21px,2.7vw,30px)}
.sec .lede{color:var(--pmuted);max-width:780px;margin-top:8px;font-size:15.5px}
.crumb{font-size:13px;color:var(--pmuted);padding-top:14px}
.crumb a:hover{text-decoration:underline}.crumb i{opacity:.5;font-style:normal}
.tbl{width:100%;border-collapse:collapse;background:var(--paper2);border:1px solid var(--pline);border-radius:var(--r);overflow:hidden;margin-top:16px}
.tbl th{text-align:left;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--pmuted);padding:11px 14px;border-bottom:1px solid var(--pline);font-weight:700}
.tbl td{padding:11px 14px;border-bottom:1px solid var(--pline);font-size:14.5px;vertical-align:top}
.tbl tr:last-child td{border-bottom:none}
.tbl tr.off td{opacity:.5}
.tbl td.s a,.tbl td.n a{font-weight:600}
.tbl td.n a:hover,.tbl td.s a:hover{text-decoration:underline;color:#0d6efd}
.tbl td.a{font-family:var(--mono);font-size:12px;color:var(--pmuted);white-space:nowrap}
@media(max-width:700px){.tbl td.a,.tbl th.a{display:none}}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px;margin-top:16px}
.grid a{background:var(--paper2);border:1px solid var(--pline);border-radius:var(--r);padding:12px 14px;font-weight:600;font-size:14.5px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.grid a:hover{border-color:var(--amber)}
.grid a em{font-style:normal;font-family:var(--mono);font-size:11.5px;color:var(--pmuted);font-weight:400}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:16px}
.fact{background:var(--paper2);border:1px solid var(--pline);border-radius:var(--r);padding:13px 15px}
.fact span{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--pmuted);font-weight:700}
.fact b{display:block;font-size:17px;margin-top:3px;font-family:var(--mono);letter-spacing:-.02em}
.prose p{margin-top:12px;color:#2c3e52;font-size:15.5px;max-width:800px}
.faq details{background:var(--paper2);border:1px solid var(--pline);border-radius:var(--r);padding:14px 18px;margin-top:9px}
.faq summary{font-weight:600;cursor:pointer;font-size:15px}
.faq p{margin-top:9px;font-size:14.5px;color:#2c3e52}

/* book CTA */
.book{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;background:var(--ink);color:var(--text);border-radius:14px;padding:24px 26px;margin-top:34px}
.book h3{color:#fff;font-size:20px}
.book p{color:var(--muted);margin-top:5px;font-size:14.5px;max-width:560px}
.book-act{text-align:center}
.book-act span{display:block;font-size:12.5px;color:var(--muted);margin-top:8px}
.book-act span a{color:var(--amber)}
.btn{display:inline-block;background:var(--amber);color:var(--ink);font-weight:700;font-size:14.5px;padding:11px 20px;border-radius:9px;border:0;cursor:pointer;font-family:var(--sans)}
.btn:hover{background:var(--amber-d)}

/* find-a-cruise widget */
.fc{background:var(--paper2);border:1px solid var(--pline);border-radius:14px;padding:22px 22px 18px;margin-top:20px;box-shadow:0 1px 3px rgba(16,32,48,.06)}
.fc-head h2{font-size:21px}
.fc-head p{color:var(--pmuted);font-size:14px;margin-top:3px}
.fc-tabs{display:flex;gap:6px;margin:14px 0 4px}
.fc-tabs button{background:var(--paper);border:1px solid var(--pline);color:var(--pmuted);font:650 13.5px var(--sans);padding:7px 16px;border-radius:999px;cursor:pointer}
.fc-tabs button.on{background:var(--ink);border-color:var(--ink);color:#fff}
.fc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:11px;margin-top:12px}
.fc-f{display:flex;flex-direction:column;gap:5px;min-width:0}
.fc-f>span{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--pmuted);font-weight:700}
.fc-f select{width:100%;background:var(--paper);border:1px solid var(--pline);border-radius:9px;padding:10px 11px;font:550 14px var(--sans);color:var(--pink);outline:none}
.fc-f select:focus{border-color:var(--amber)}
.fc-go .btn{width:100%;padding:10px 16px}
.fc-note{font-size:12.5px;color:var(--pmuted);margin-top:13px}
.fc-compact{margin-top:0}
.fc-dark{background:var(--panel);border-color:var(--line)}
.fc-dark .fc-head h2{color:#fff}
.fc-dark .fc-head p,.fc-dark .fc-f>span,.fc-dark .fc-note{color:var(--muted)}
.fc-dark .fc-f select,.fc-dark .fc-tabs button{background:var(--ink);border-color:var(--line);color:var(--text)}
.fc-dark .fc-tabs button.on{background:var(--amber);border-color:var(--amber);color:var(--ink)}

/* footer */
.ftr{background:var(--ink);color:var(--muted);margin-top:56px;padding:40px 0 0;font-size:14px}
.ftr-in{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px;padding-bottom:28px}
@media(max-width:760px){.ftr-in{grid-template-columns:1fr}}
.ftr-brand{color:var(--text);font-size:16px;margin-bottom:8px}
.ftr-brand strong{color:var(--amber)}
.ftr-fine{font-size:12px;opacity:.7;margin-top:10px}
.ftr-col h3{color:var(--text);font-size:12px;letter-spacing:.09em;text-transform:uppercase;margin-bottom:10px}
.ftr-col a{display:block;padding:3px 0}
.ftr-col a:hover{color:var(--amber)}
.ftr-legal{border-top:1px solid var(--line);padding:16px 20px 26px;font-size:12px;opacity:.75}
.ftr-legal p{margin-top:4px}
.ftr-legal a{text-decoration:underline}

/* ============================================================
   v4 — hero ship search, map legend, conversion band, port cards
   ============================================================ */

/* hero: tighter, and built around the one thing most people came to do */
.hero-lede{max-width:640px;margin:8px auto 0;color:var(--muted);font-size:16.5px}
.hsearch{position:relative;max-width:620px;margin:20px auto 0;display:flex;gap:8px}
.hsearch input{flex:1 1 auto;min-width:0;background:var(--panel);border:1px solid var(--line);color:var(--text);
  border-radius:11px;padding:15px 17px;font:550 16px var(--sans);outline:none}
.hsearch input::placeholder{color:#6F859C}
.hsearch input:focus{border-color:var(--amber);box-shadow:0 0 0 3px rgba(255,176,32,.14)}
.hsearch .btn{flex:0 0 auto;padding:15px 22px;border-radius:11px;font-size:15px}
.hsug{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:1200;background:var(--panel);
  border:1px solid var(--line);border-radius:11px;overflow:hidden;box-shadow:0 18px 44px rgba(0,0,0,.5);
  list-style:none;max-height:340px;overflow-y:auto;text-align:left}
.hsug li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;cursor:pointer;border-top:1px solid var(--line)}
.hsug li:first-child{border-top:0}
.hsug li.on,.hsug li:hover{background:var(--panel2)}
.hsug b{font-weight:600;font-size:14.5px;color:var(--text)}
.hsug span{font-size:11.5px;color:var(--muted);font-family:var(--mono);white-space:nowrap}
.hsug .none{display:block;padding:14px 15px;color:var(--muted);font-size:14px;cursor:default}
.hero-alt{margin-top:13px;font-size:14px;color:var(--muted)}
.hero-alt a{color:var(--amber);border-bottom:1px solid rgba(255,176,32,.35);padding-bottom:1px}
.hero-alt a:hover{border-color:var(--amber)}

/* map legend — icons explained at the map, not 800px further down */
.legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;background:var(--ink);
  border-top:1px solid var(--line);padding:9px 20px;font-size:12.5px;color:var(--muted)}
.legend b{display:inline-flex;align-items:center;gap:7px;font-weight:500}
.legend svg{flex:0 0 auto}
.legend .sp{margin-left:auto;font-family:var(--mono);font-size:11.5px;opacity:.8}
@media(max-width:700px){.legend .sp{display:none}}

/* the conversion band: the deliberate next step after "I found my ship" */
.convert{background:linear-gradient(180deg,#0E1B29,#152534);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px 0 38px}
.convert-h{text-align:center;max-width:680px;margin:0 auto 4px}
.convert-h h2{color:#fff;font-size:clamp(22px,2.9vw,31px)}
.convert-h p{color:var(--muted);margin-top:8px;font-size:15.5px}
.trust{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px;margin:16px 0 4px}
.trust span{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.05);
  border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:12.5px;color:var(--muted)}
.trust svg{color:var(--green);flex:0 0 auto}

/* port cards now name their ships instead of hiding them in a title attribute */
.pcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:10px;margin-top:16px}
.pcard{background:var(--paper2);border:1px solid var(--pline);border-radius:var(--r);padding:13px 15px}
.pcard:hover{border-color:var(--amber)}
.pcard-t{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.pcard-t a{font-weight:650;font-size:15px}
.pcard-t a:hover{text-decoration:underline}
.pcard-t em{font-style:normal;font-family:var(--mono);font-size:11px;color:var(--pmuted);white-space:nowrap}
.pcard-s{margin-top:5px;font-size:13px;color:var(--pmuted);line-height:1.5}
.pcard-s a{color:var(--pmuted)}
.pcard-s a:hover{color:var(--pink);text-decoration:underline}

/* ship rows on the map panel get a visible affordance */
.mrow{position:relative;padding-right:30px}
.mrow::after{content:"›";position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#4A6076;font-size:17px;line-height:1}
.mrow:hover::after{color:var(--amber)}

/* popup: track + price, two distinct next steps */
.pop .pb2{display:inline-block;margin-top:8px;margin-left:6px;border:1px solid var(--line);
  color:var(--text)!important;font-weight:600;font-size:12.5px;padding:6px 11px;border-radius:7px}
.pop .pb2:hover{border-color:var(--amber);color:var(--amber)!important}

/* section head with an action on the right */
.sec-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px}
.sec-h a.more{font-size:14px;font-weight:600;color:#0d6efd}
.sec-h a.more:hover{text-decoration:underline}

/* ============================================================
   v5 — hero search carries the ship lookup; the map rail is now
        the cruise finder, and the fleet list moved below the map
   ============================================================ */

/* hero search: this is now the ONLY way to look a ship up, so it gets the weight */
.hero{padding:34px 0 26px}
.hsearch{max-width:700px;margin:24px auto 0}
.hsearch input{padding:18px 20px;font-size:17.5px;border-radius:13px;border-width:2px;background:#0D1B29}
.hsearch input:focus{box-shadow:0 0 0 4px rgba(255,176,32,.18)}
.hsearch .btn{padding:18px 26px;border-radius:13px;font-size:16px}
.hsearch-lbl{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--amber);font-weight:700;margin-bottom:9px}
@media(max-width:560px){
  .hsearch{flex-direction:column}
  .hsearch .btn{width:100%}
  .hsug{top:calc(100% - 56px)}
}

/* the cruise finder now occupies the rail the ship filter used to */
.mwidget{position:absolute;top:14px;right:14px;z-index:500;width:336px;
  max-height:calc(100% - 28px);overflow-y:auto;border-radius:var(--r);
  box-shadow:0 14px 40px rgba(0,0,0,.45)}
.mwidget .fc{margin:0;border-radius:var(--r);padding:16px 16px 14px}
.mwidget .fc-head h2{font-size:18px}
.mwidget .fc-head p{font-size:12.5px;margin-top:2px}
.mwidget .fc-tabs{margin:11px 0 2px}
.mwidget .fc-tabs button{padding:6px 14px;font-size:13px}
/* one column: the rail is 336px, so auto-fit would never give a second anyway */
.mwidget .fc-grid{grid-template-columns:1fr;gap:9px;margin-top:10px}
.mwidget .fc-f>span{font-size:10.5px;letter-spacing:.08em}
.mwidget .fc-f select{padding:9px 10px;font-size:14px;border-radius:8px}
.mwidget .fc-go .btn{width:100%;padding:13px 16px;font-size:15.5px;margin-top:3px}
.mwidget .fc-note{font-size:11.5px;margin-top:10px}
@media(max-width:1000px){
  /* below the map rather than over it, so neither fights the other for room */
  .mwidget{position:static;width:auto;max-height:none;border-radius:0;box-shadow:none}
  .mwidget .fc{border-radius:0;border-left:0;border-right:0;padding:18px 20px}
  .mwidget .fc-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
  #map{height:52vh}
}

/* fleet list, relocated out of the map rail into a real section */
.fleet{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:2px 18px;margin-top:14px}
.fleet a{display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding:8px 2px;border-bottom:1px solid var(--pline);min-width:0}
.fleet a:hover{border-color:var(--amber)}
.fleet a b{font-weight:600;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fleet a em{font-style:normal;font-family:var(--mono);font-size:11px;color:var(--pmuted);white-space:nowrap}
.fleet a.off b,.fleet a.off em{opacity:.45}
.fleet-tools{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.fleet-tools input,.fleet-tools select{background:var(--paper2);border:1px solid var(--pline);
  border-radius:9px;padding:10px 13px;font:550 14.5px var(--sans);color:var(--pink);outline:none;min-width:0}
.fleet-tools input{flex:1 1 240px}
.fleet-tools select{flex:0 1 240px}
.fleet-tools input:focus,.fleet-tools select:focus{border-color:var(--amber)}
.fleet-none{color:var(--pmuted);font-size:14.5px;margin-top:14px}

/* ============================================================
   v6 — hero halved; the map takes the reclaimed height
   ============================================================ */
.hero{padding:20px 0 18px}
.hero h1{font-size:clamp(23px,2.9vw,33px)}
.hero-lede{margin:6px auto 0;font-size:14.5px;max-width:560px}
.hsearch{max-width:660px;margin:14px auto 0}
.hsearch input{padding:14px 18px;font-size:16px;border-radius:11px}
.hsearch .btn{padding:14px 24px;border-radius:11px;font-size:15.5px}

/* the three counters as one line of text instead of a row of chips */
.hero-stat{margin:12px 0 0;font-size:13.5px;color:var(--muted);line-height:1.5}
.hero-stat b{color:var(--amber);font-family:var(--mono);font-weight:700;font-size:14px}
.hero-stat i{font-style:normal;opacity:.4;margin:0 5px}
.hero-stat .live{margin-right:6px;vertical-align:baseline}
.hero-stat a{color:var(--muted);border-bottom:1px solid rgba(147,167,188,.4)}
.hero-stat a:hover{color:var(--amber);border-color:var(--amber)}

/* Fill whatever is left of the viewport: 60px header + ~186px hero + 38px legend.
   Clamped so a very short window still gets a usable map and a very tall one
   does not stretch the tile grid past what the rail needs. */
#map{height:clamp(460px,calc(100vh - 286px),860px)}
@media(max-width:1000px){#map{height:60vh}}

/* ============================================================
   v6.1 — popup. Leaflet's stylesheet now loads first, so these
   actually apply; previously the name and the secondary button
   were light-on-white and invisible.
   ============================================================ */
.leaflet-popup-content-wrapper{background:var(--panel);color:var(--text);
  border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 38px rgba(0,0,0,.5)}
.leaflet-popup-tip{background:var(--panel);border:1px solid var(--line)}
.leaflet-popup-content{margin:13px 15px;min-width:186px}
.leaflet-container a.leaflet-popup-close-button{color:var(--muted);padding:7px 8px 0 0}
.leaflet-container a.leaflet-popup-close-button:hover{color:var(--amber);background:transparent}
.pop b{display:block;font-size:15.5px;font-weight:650;color:#fff;letter-spacing:-.01em}
.pop i{display:block;font-style:normal;font-family:var(--mono);font-size:11.5px;
  color:var(--muted);margin:3px 0 8px}
.pop .st{display:block;font-size:13.5px;color:var(--text);margin-bottom:11px}
.pop .st a{color:var(--sky);text-decoration:underline}
.leaflet-popup-content .pb,
.leaflet-popup-content .pb2{margin:0;font-size:12.5px;font-weight:700;border-radius:8px;line-height:1.25}
.leaflet-popup-content .pb{background:var(--amber);color:var(--ink)!important;border:1px solid var(--amber)}
.leaflet-popup-content .pb:hover{background:var(--amber-d);border-color:var(--amber-d)}
/* legible on its own: solid surface, real contrast, not a ghost outline */
.leaflet-popup-content .pb2{background:var(--panel2);color:var(--text)!important;border:1px solid #38506B}
.leaflet-popup-content .pb2:hover{background:#24394F;border-color:var(--amber);color:var(--amber)!important}

/* ============================================================
   v6.2 — popup buttons, equal width
   flex:1 1 0 still refuses to shrink a flex item below its own
   min-content, so with white-space:nowrap the longer label simply
   took more room. Equal grid columns with a minmax(0,1fr) floor
   ignore content width entirely; grid-auto-flow:column means this
   works for one button (line pages) or two (home) without a variant.
   ============================================================ */
.pop-acts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
.leaflet-popup-content{min-width:252px}
.leaflet-popup-content .pb,
.leaflet-popup-content .pb2{flex:none;width:100%;display:block;box-sizing:border-box;
  padding:9px 8px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ============================================================
   v6.3 — map gesture hint (see assets/map-gestures.js)
   ============================================================ */
.map-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);
  z-index:650;pointer-events:none;background:rgba(11,22,34,.92);color:var(--text);
  border:1px solid var(--line);border-radius:10px;padding:11px 18px;
  font:600 14px var(--sans);letter-spacing:.01em;white-space:nowrap;
  box-shadow:0 10px 30px rgba(0,0,0,.45);opacity:0;transition:opacity .16s,transform .16s}
.map-hint.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
@media(max-width:480px){.map-hint{font-size:13px;padding:9px 14px;white-space:normal;max-width:76%;text-align:center}}


/* ============================================================
   v7 — contained map panel
   The map no longer runs edge to edge. The gutters either side are
   ordinary page background: rest the pointer there and the wheel
   scrolls the page, rest it on the map and the wheel zooms. No modes,
   no timers, nothing to learn. Replaces the hover-to-arm experiment.
   ============================================================ */
.stage{background:var(--ink);padding:0 56px 30px}
.stage-in{position:relative;max-width:1440px;margin:0 auto}
#map{border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;
  height:clamp(440px,calc(100vh - 318px),840px)}
#map.map-solo{border-bottom:1px solid var(--line);border-radius:14px}
.legend{border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;padding:10px 18px}
/* the rail is positioned against .stage-in, which is the map's own box */
.mwidget{top:16px;right:16px}

@media(max-width:1100px){.stage{padding:0 32px 24px}}
@media(max-width:1000px){
  /* rail un-docks below the map; keep the panel rounded as one unit */
  #map{border-radius:14px 14px 0 0;height:58vh}
  .mwidget .fc{border-left:1px solid var(--line);border-right:1px solid var(--line)}
  .legend{border-radius:0 0 14px 14px}
}
@media(max-width:620px){
  /* too narrow for gutters to be worth the lost map; touch handles scrolling */
  .stage{padding:0 0 18px}
  #map,.legend,.mwidget .fc{border-radius:0;border-left:0;border-right:0}
}

/* the price promise carries the whole reason to search here rather than
   elsewhere — it should not read as grey subtitle text */
.fc-usp{color:var(--amber)!important;font-size:14px!important;font-weight:650;
  letter-spacing:.005em;margin-top:4px!important}
.mwidget .fc-head p.fc-usp{font-size:13.5px!important}
/* two-word tab labels need a little more room in the 336px rail */
.mwidget .fc-tabs button{padding:6px 12px;font-size:12.5px}
