/* 🎨 מסע המשרדים: זכוכית כחולה-כהה עם מסגרת בתכלת של TAG נכסים (#40B7FB), והזהב רק למפתחות ולחץ למגדל הבא */
:root {
  --navy: rgba(14, 20, 44, 0.88);
  --navy2: #0e142c;
  --gold: #40b7fb; /* התכלת של הלוגו של TAG */
  --key: #ecb840; /* זהב: המפתחות והחץ למגדל הבא */
  --gold2: #ffd54a;
  --white: #faf8f0;
  --soft: #c4cee6;
  --red: #e2364d;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: radial-gradient(circle at 50% 30%, #23305e, #0a0e20 70%); color: var(--white);
  font-family: Rubik, "Segoe UI", Arial, sans-serif; overflow: hidden; -webkit-tap-highlight-color: transparent; user-select: none; }
#stage { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1vh; }
#frame { position: relative; width: min(100vw, 150vh); aspect-ratio: 3 / 2; container-type: inline-size; overflow: hidden;
  border-radius: 1.2cqw; box-shadow: 0 2vh 6vh rgba(0, 0, 0, 0.55); }
#cv, #fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#fx { pointer-events: none; z-index: 5; }
#cv { image-rendering: auto; cursor: pointer; }
#ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; font-size: 1.6cqw; }
#ui > * { pointer-events: auto; }
#fade { position: absolute; inset: 0; background: #070a18; opacity: 1; pointer-events: none; z-index: 8; }
button { font: inherit; color: inherit; cursor: pointer; }

/* זכוכית */
.panel { position: absolute; background: var(--navy); border: 0.2cqw solid var(--gold); border-radius: 1.4cqw;
  box-shadow: 0 0.8cqw 2.4cqw rgba(0, 0, 0, 0.55), inset 0 0 0 0.45cqw rgba(255, 255, 255, 0.05); backdrop-filter: blur(6px);
  animation: popin 0.18s ease-out; }
@keyframes popin { from { transform: scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } }
.panel.out { animation: popout 0.15s ease-in forwards; }
@keyframes popout { to { transform: scale(0.95); opacity: 0; } }

/* דיאלוג */
.dlg { left: 2.6cqw; right: 2.6cqw; bottom: 2.4cqw; min-height: 10.5cqw; padding: 2.2cqw 2.6cqw 1.6cqw; cursor: pointer; }
.dlg.face { padding-right: 13cqw; }
.dlg.top { top: 7.6cqw; bottom: auto; }
.dlg.top.street { top: 10.6cqw; }
.dlg .fc { position: absolute; right: 1.6cqw; bottom: 0.8cqw; height: 12.5cqw; image-rendering: pixelated; filter: drop-shadow(0 0.3cqw 0.4cqw rgba(0,0,0,.5)); }
.dlg .fc, .review .fc { transform: scaleX(-1); } /* המתווך מצויר בפרופיל ימינה, ובדיאלוג הוא מסתכל אל הטקסט */
.who { position: absolute; top: -1.5cqw; right: 2.4cqw; background: var(--gold); color: #141828; font-weight: 800; font-size: 1.5cqw;
  padding: 0.35cqw 1.4cqw; border-radius: 2cqw; }
.dlg.face .who { right: 13cqw; }
.txt { font-size: 2.05cqw; line-height: 1.5; font-weight: 600; min-height: 6cqw; }
.nxt { position: absolute; left: 2cqw; bottom: 1cqw; font-size: 1.2cqw; color: var(--gold2); opacity: 0; }
.dlg.ready .nxt { opacity: 1; animation: bob 0.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(0.4cqw); } }

/* תפריט */
.menu { padding: 1.8cqw; min-width: 30cqw; display: flex; flex-direction: column; gap: 0.8cqw; }
.menu.side { right: 2.6cqw; top: 6.5cqw; max-height: calc(100% - 9cqw); overflow: auto; }
.menu.side.left { right: auto; left: 2.6cqw; }
.menu.flash { animation: flash 0.9s ease-out; }
@keyframes flash { 30% { box-shadow: 0 0 0 0.6cqw rgba(255, 213, 74, 0.75), 0 0 3cqw rgba(255, 213, 74, 0.6); } }
.menu:not(.side) { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.ttl { font-size: 2.3cqw; font-weight: 800; margin-bottom: 0.4cqw; display: flex; flex-direction: column; }
.ttl small { font-size: 1.25cqw; font-weight: 400; color: var(--soft); margin-top: 0.3cqw; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 1.6cqw; text-align: right; padding: 1cqw 1.4cqw;
  border-radius: 1.1cqw; background: rgba(255, 255, 255, 0.07); border: 0.12cqw solid rgba(255, 255, 255, 0.22); font-size: 1.9cqw; position: relative; }
.opt .nt { font-size: 1.25cqw; background: #46598f; padding: 0.25cqw 0.9cqw; border-radius: 1.5cqw; white-space: nowrap; }
.opt.on { background: rgba(64, 183, 251, 0.22); border-color: var(--gold); box-shadow: 0 0 1.4cqw rgba(64, 183, 251, 0.45); }
.opt.on::before { content: ""; position: absolute; right: -1.4cqw; top: 50%; transform: translateY(-50%);
  border: 0.8cqw solid transparent; border-right-color: var(--gold); border-left-width: 0; }
.opt.on .nt { background: var(--gold); color: #141828; font-weight: 800; }
.opt.dim .lb { opacity: 0.6; }
.opt.bk { background: transparent; border-style: dashed; font-size: 1.6cqw; }

/* תצוגה עליונה */
.hud { position: absolute; top: 1.4cqw; left: 1.6cqw; right: 1.6cqw; display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none; z-index: 2; }
.hud > * { pointer-events: auto; }
.pill { background: var(--navy); border: 0.15cqw solid var(--gold); border-radius: 3cqw; padding: 0.6cqw 1.6cqw; display: flex; gap: 1cqw; align-items: baseline; }
.pill b { font-size: 1.9cqw; }
.pill span { font-size: 1.3cqw; color: var(--soft); }
.hbtns { display: flex; gap: 0.7cqw; direction: ltr; }
.hb { background: var(--navy); border: 0.15cqw solid rgba(255, 255, 255, 0.35); border-radius: 3cqw; padding: 0.5cqw 1.1cqw; font-size: 1.5cqw; display: flex; gap: 0.4cqw; align-items: center; }
.hb b { font-weight: 800; }
.hb.star { border-color: var(--gold); color: var(--gold2); font-weight: 800; }
.hb:hover { background: #1d2a58; }
.hb.exit { background: var(--red); border-color: #fff; font-weight: 800; font-size: 1.6cqw; }
.hb.exit:hover { background: #f04b62; }

/* מפת-הרחוב: כל העצירות לאורך בגין, מימין (דרום) לשמאל (צפון), ולחיצה על עצירה מביאה אליה */
.route { position: absolute; top: 5.5cqw; left: 50%; transform: translateX(-50%); display: flex; padding: 0.55cqw 0.8cqw 0.45cqw;
  background: var(--navy); border: 0.15cqw solid var(--gold); border-radius: 2cqw; }
.rs { position: relative; background: none; border: 0; padding: 0 0.45cqw; min-width: 5.4cqw; display: flex; flex-direction: column; align-items: center; gap: 0.3cqw; }
.rs::before { content: ""; position: absolute; top: 0.62cqw; left: 0; right: 0; height: 0.22cqw; background: rgba(255, 255, 255, 0.35); }
.rs:first-child::before { right: 50%; }
.rs:last-child::before { left: 50%; }
.rs i { position: relative; width: 1.45cqw; height: 1.45cqw; border-radius: 50%; background: #46598f; border: 0.2cqw solid #fff; display: grid;
  place-items: center; font-style: normal; font-size: 0.9cqw; font-weight: 800; color: #0e142c; line-height: 1; transition: transform 0.2s; }
.rs.st i { border-radius: 0.35cqw; }
.rs.heavy i { background: #2e4c8f; }
.rs.light i { background: var(--red); }
.rs.ok i { background: #7bd389; }
.rs.ok i::after { content: "✓"; }
.rs span { font-size: 1.05cqw; color: var(--soft); white-space: nowrap; font-weight: 600; }
.rs:hover span { color: #fff; }
.rs.on i { background: var(--gold2); transform: scale(1.45); box-shadow: 0 0 0.9cqw var(--gold2); }
.rs.on span { color: var(--gold2); font-weight: 800; }
.rs.goal i { animation: ping 1s ease-in-out infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 0.5cqw rgba(255, 213, 74, 0.6); } }

/* החצים בצדי הרחוב: השם של המסך הבא, והחץ שמוביל למגדל שעוד לא ביקרנו בו נוצץ בזהב */
.edge { position: absolute; top: 44%; transform: translateY(-50%); direction: ltr; display: flex; align-items: center; gap: 0.7cqw; background: var(--navy);
  border: 0.18cqw solid rgba(255, 255, 255, 0.55); border-radius: 3cqw; padding: 0.6cqw 1.3cqw; color: var(--white); text-align: center; }
.edge.l { left: 1.2cqw; }
.edge.r { right: 1.2cqw; }
.edge i { font-style: normal; font-size: 2.3cqw; color: var(--gold2); line-height: 1; }
.edge span { display: flex; flex-direction: column; direction: rtl; }
.edge b { font-size: 1.5cqw; font-weight: 800; white-space: nowrap; }
.edge small { font-size: 1.05cqw; font-weight: 600; white-space: nowrap; }
.edge:hover { background: #1d2a58; }
.edge.goal { background: var(--key); color: #141828; border-color: #fff; box-shadow: 0 0 1.6cqw rgba(255, 213, 74, 0.6); }
.edge.goal i { color: #141828; }
.edge.l.goal { animation: nudgeL 0.9s ease-in-out infinite; }
.edge.r.goal { animation: nudgeR 0.9s ease-in-out infinite; }
@keyframes nudgeL { 50% { transform: translate(-0.7cqw, -50%); } }
@keyframes nudgeR { 50% { transform: translate(0.7cqw, -50%); } }

/* שלט המגדל, בועות והנחיה */
.tlabel { position: absolute; transform: translate(-50%, -100%); background: var(--navy); border: 0.18cqw solid var(--gold); border-radius: 1.2cqw;
  padding: 0.7cqw 1.6cqw; text-align: center; white-space: nowrap; pointer-events: none; }
.tlabel::after { content: ""; position: absolute; left: 50%; bottom: -1.2cqw; transform: translateX(-50%); border: 0.8cqw solid transparent; border-top-color: var(--gold); }
.tlabel b { display: block; font-size: 2.1cqw; }
.tlabel span { font-size: 1.3cqw; color: var(--soft); }
.tlabel .ok { color: #7bd389; font-style: normal; }
.tlabel .go { position: absolute; left: 50%; bottom: -5.2cqw; font-style: normal; font-size: 2.8cqw; color: var(--gold2); line-height: 1;
  text-shadow: 0 0.2cqw 0 #1b2550, 0 0 1cqw rgba(0, 0, 0, 0.45); animation: drop 0.8s ease-in-out infinite; }
@keyframes drop { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 0.8cqw); } }
.bubble { position: absolute; transform: translate(-50%, -100%); background: #fff; color: #1b2550; font-weight: 800; font-size: 1.35cqw;
  padding: 0.5cqw 1.1cqw; border-radius: 1.2cqw; white-space: nowrap; pointer-events: none; animation: popin 0.15s; box-shadow: 0 0.3cqw 0.8cqw rgba(0,0,0,.3); }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -0.9cqw; transform: translateX(-50%); border: 0.5cqw solid transparent; border-top-color: #fff; }
.prompt { position: absolute; transform: translate(-50%, -100%); background: var(--key); color: #141828; font-weight: 800; font-size: 1.45cqw;
  padding: 0.45cqw 1.2cqw; border-radius: 2cqw; pointer-events: none; animation: bob 0.9s ease-in-out infinite; white-space: nowrap; }
.prompt b { background: #141828; color: var(--gold2); border-radius: 0.6cqw; padding: 0 0.5cqw; margin-left: 0.4cqw; }
.bubble.desk { white-space: normal; width: 22cqw; text-align: center; line-height: 1.4; transform: translate(-82%, -100%); }
.bubble.desk::after { left: 82%; }
.toast { position: absolute; top: 10.6cqw; left: 50%; transform: translateX(-50%); background: var(--navy); border: 0.15cqw solid var(--gold);
  border-radius: 3cqw; padding: 0.8cqw 2cqw; font-size: 1.6cqw; font-weight: 600; animation: popin 0.2s; transition: opacity 0.4s; white-space: nowrap; z-index: 3; }
.toast.out { opacity: 0; }

/* רשת המשרדים */
.grid { left: 2.6cqw; right: 2.6cqw; top: 6cqw; bottom: 2.6cqw; padding: 1.8cqw 2cqw; display: flex; flex-direction: column; }
.cards { flex: 1; overflow: auto; display: grid; align-content: start; grid-template-columns: repeat(auto-fill, minmax(21cqw, 1fr)); gap: 1.2cqw; padding: 0.6cqw 0.3cqw 0.3cqw; }
.card { background: rgba(255, 255, 255, 0.06); border: 0.15cqw solid rgba(255, 255, 255, 0.2); border-radius: 1.2cqw; padding: 0; overflow: hidden; text-align: right; display: flex; flex-direction: column; }
.card.on { border-color: var(--gold); box-shadow: 0 0 1.6cqw rgba(64, 183, 251, 0.5); transform: translateY(-0.3cqw); }
.card .ph { position: relative; aspect-ratio: 16 / 10; background: #1d2a58; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noph { display: grid; place-items: center; height: 100%; font-size: 4cqw; }
.tag { position: absolute; top: 0.7cqw; right: 0.7cqw; background: var(--gold); color: #141828; font-weight: 800; font-size: 1.05cqw; padding: 0.2cqw 0.8cqw; border-radius: 1.5cqw; }
.cb { padding: 0.9cqw 1.2cqw 1.1cqw; display: flex; flex-direction: column; gap: 0.2cqw; }
.cb b { font-size: 2cqw; }
.cb span { font-size: 1.3cqw; color: var(--soft); }
.cb em { font-style: normal; font-size: 1.45cqw; color: var(--gold2); font-weight: 600; }

/* המשרד */
.office { left: 2.6cqw; right: 2.6cqw; top: 6cqw; bottom: 2.6cqw; display: flex; gap: 2cqw; padding: 1.6cqw; }
.gal { position: relative; flex: 1.35; border-radius: 1.1cqw; overflow: hidden; background: #1d2a58; }
.gal .big { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar { position: absolute; top: 50%; transform: translateY(-50%); width: 4cqw; height: 4cqw; border-radius: 50%; border: 0.15cqw solid #fff;
  background: rgba(14, 20, 44, 0.7); font-size: 2.6cqw; line-height: 1; display: grid; place-items: center; }
.ar.nx { left: 1cqw; } .ar.pv { right: 1cqw; }
.dots { position: absolute; bottom: 1cqw; left: 0; right: 0; display: flex; justify-content: center; gap: 0.6cqw; direction: ltr; }
.dots i { width: 0.8cqw; height: 0.8cqw; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.dots i.on { background: var(--gold2); }
.info { flex: 1; display: flex; flex-direction: column; gap: 0.8cqw; min-width: 0; }
.info h2 { margin: 0.4cqw 0 0; font-size: 2.9cqw; }
.price { font-size: 2.3cqw; color: var(--gold2); font-weight: 800; }
dl { margin: 0.4cqw 0; display: grid; grid-template-columns: auto 1fr; gap: 0.6cqw 1.6cqw; font-size: 1.5cqw; }
dt { color: var(--soft); } dd { margin: 0; font-weight: 600; }
.acts { margin-top: auto; display: flex; flex-direction: column; gap: 0.8cqw; }
.acts .gold, .acts .line, .acts .li { border-radius: 3cqw; padding: 0.9cqw 1.4cqw; font-size: 1.6cqw; font-weight: 800; text-align: center; text-decoration: none; display: block; }
.gold { background: var(--gold); color: #141828; border: 0; }
.line { background: transparent; border: 0.15cqw solid rgba(255, 255, 255, 0.7); color: var(--white); }
.li { background: #0a66c2; border: 0; color: #fff; }
.acts .on { outline: 0.3cqw solid var(--gold2); outline-offset: 0.25cqw; }

/* חותמת ודרכון */
.stamp { position: absolute; left: 50%; top: 44%; width: 22cqw; height: 22cqw; margin: -11cqw 0 0 -11cqw; border-radius: 50%;
  border: 0.7cqw double #e2364d; color: #e2364d; background: rgba(255, 246, 230, 0.96); display: grid; place-items: center; text-align: center;
  transform: scale(3) rotate(-30deg); opacity: 0; transition: transform 0.25s cubic-bezier(.2,1.6,.4,1), opacity 0.2s; pointer-events: none;
  box-shadow: 0 0 0 1cqw rgba(226, 54, 77, 0.15); }
.stamp b { display: block; font-size: 2.6cqw; font-weight: 800; padding: 0 2cqw; }
.stamp span { font-size: 1.6cqw; font-weight: 800; }
.stamp.hit { transform: scale(1) rotate(-12deg); opacity: 1; }
.stamp.fly { transition: transform 0.55s ease-in, opacity 0.55s ease-in, left 0.55s ease-in, top 0.55s ease-in; left: 18%; top: 3%; transform: scale(0.12) rotate(20deg); opacity: 0.2; }
.pass { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70cqw; padding: 2cqw; display: flex; flex-direction: column; gap: 1.4cqw; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.slot { aspect-ratio: 1; border-radius: 50%; border: 0.2cqw dashed rgba(255, 255, 255, 0.35); display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 1cqw; }
.slot b { font-size: 1.5cqw; } .slot span { font-size: 1.15cqw; color: var(--soft); }
.slot.on { border: 0.45cqw double var(--red); background: rgba(255, 246, 230, 0.95); color: var(--red); transform: rotate(-8deg); }
.slot.on span { color: var(--red); font-weight: 800; }
.pass .close { align-self: center; border-radius: 3cqw; padding: 0.7cqw 2.4cqw; font-size: 1.5cqw; }

/* ביקורת */
.review { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52cqw; padding: 2.4cqw 2.4cqw 2cqw 2.4cqw; padding-right: 14cqw; }
.review .fc { position: absolute; right: 1.6cqw; top: 1.6cqw; height: 13cqw; image-rendering: pixelated; }
.review .who { right: 14cqw; }
.review p { font-size: 1.8cqw; line-height: 1.55; font-weight: 600; margin: 0.6cqw 0 1.4cqw; }

/* מפה ורכבת */
.maplabels { position: absolute; inset: 0; pointer-events: none !important; }
.ml { position: absolute; transform: translate(-50%, -190%); background: rgba(255, 255, 255, 0.92); color: #1b2550; font-weight: 800; font-size: 1.4cqw;
  padding: 0.25cqw 0.9cqw; border-radius: 1.5cqw; white-space: nowrap; display: flex; gap: 0.5cqw; align-items: center; box-shadow: 0 0.2cqw 0.5cqw rgba(0,0,0,.25); }
.ml i { font-style: normal; font-size: 1cqw; background: #c4cee6; padding: 0 0.5cqw; border-radius: 1cqw; }
.ml.open { background: var(--gold); font-size: 1.7cqw; }
.ml.on { outline: 0.25cqw solid #fff; transform: translate(-50%, -190%) scale(1.12); }
.legend { position: absolute; left: 2cqw; bottom: 2cqw; background: var(--navy); border: 0.15cqw solid var(--gold); border-radius: 1.2cqw; padding: 0.8cqw 1.4cqw;
  display: flex; flex-direction: column; gap: 0.4cqw; font-size: 1.3cqw; }
.legend i { display: inline-block; width: 3cqw; height: 0.6cqw; border-radius: 0.3cqw; margin-left: 0.8cqw; vertical-align: middle; }
.legend .hv { background: repeating-linear-gradient(90deg, #2e4c8f 0 0.6cqw, #fff 0.6cqw 0.9cqw); }
.legend .lt { background: var(--red); }
.ridebar { position: absolute; top: 6.4cqw; white-space: nowrap; z-index: 3; left: 50%; transform: translateX(-50%); background: #111; border: 0.25cqw solid #333; border-radius: 1cqw;
  padding: 0.8cqw 2.4cqw; display: flex; gap: 2cqw; align-items: baseline; font-family: Rubik, sans-serif; color: #ffb84a; box-shadow: 0 0 2cqw rgba(255,184,74,.25); }
.ridebar b { font-family: Rubik, sans-serif; color: #fff; font-size: 1.8cqw; }
.ridebar b.red { color: #ff6b7d; }
.ridebar span { font-size: 1.8cqw; font-weight: 800; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.45; } }

/* מסך-הפתיחה */
.title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2cqw; text-align: center; }
.logo small { display: block; font-size: 1.8cqw; color: var(--gold2); font-weight: 600; letter-spacing: 0.1cqw; }
.logo h1 { margin: 0.4cqw 0; font-size: 7.6cqw; font-weight: 800; line-height: 1; color: #fff;
  text-shadow: 0 0.45cqw 0 #1b2550, 0 0.9cqw 0 var(--gold), 0 1.6cqw 2.4cqw rgba(0,0,0,.5); animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-0.6cqw); } }
.logo p { font-size: 2.2cqw; margin: 1.6cqw 0 0; font-weight: 600; text-shadow: 0 0.2cqw 0.6cqw rgba(0,0,0,.6); }
.start { background: var(--gold); color: #141828; border: 0; border-radius: 4cqw; font-size: 2.6cqw; font-weight: 800; padding: 1.1cqw 4cqw;
  box-shadow: 0 0.5cqw 0 #a8781c, 0 1cqw 2cqw rgba(0,0,0,.4); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.05); } }
.how { font-size: 1.4cqw; color: var(--white); background: rgba(14, 20, 44, 0.65); padding: 0.4cqw 1.6cqw; border-radius: 2cqw; }

/* מסך-מגע */
#pad { display: none; width: min(100vw, 150vh); justify-content: space-between; padding: 0 3vw; }
@media (pointer: coarse) { #pad { display: flex; } #frame { width: min(100vw, 128vh); } }
#pad button { width: 16vw; max-width: 90px; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--gold); background: var(--navy);
  font-size: 7vw; font-weight: 800; touch-action: none; }
#pad button.down { background: var(--gold); color: #141828; }
#pad .dir, #pad .ab { display: flex; gap: 3vw; direction: ltr; }
#pad .a { background: #c9323f; }
#pad .b { background: #46598f; }

/* 🏷️ TAG נכסים: הלוגו, הזכויות והמפה הישראלית */
.logo .brand { display: block; width: 13cqw; margin: 0 auto 1cqw; filter: drop-shadow(0 0.3cqw 0.8cqw rgba(0, 0, 0, 0.6)); }
.copy { position: absolute; bottom: 1.2cqw; left: 50%; transform: translateX(-50%); font-size: 1.15cqw; white-space: nowrap;
  background: rgba(1, 7, 15, 0.6); padding: 0.3cqw 1.3cqw; border-radius: 2cqw; }
#cmark { position: absolute; left: 0.8cqw; bottom: 0.5cqw; display: flex; align-items: center; gap: 0.5cqw; direction: rtl;
  font: 600 0.85cqw Rubik, system-ui, sans-serif; color: rgba(255, 255, 255, 0.88); text-decoration: none;
  background: rgba(1, 7, 15, 0.45); padding: 0.25cqw 0.7cqw; border-radius: 1cqw; }
#cmark img { height: 1.05cqw; }
.legend .hw { background: #8f949c; }
.mlx { position: absolute; transform: translate(-50%, -50%); font-weight: 800; white-space: nowrap; pointer-events: none;
  text-shadow: 0 0.2cqw 0.5cqw rgba(0, 0, 0, 0.45); }
.mlx.sea { font-size: 2.8cqw; color: #effaff; letter-spacing: 0.25cqw; }
.mlx.riv { font-size: 1.3cqw; color: #e2f6ff; }
.mlx.hw { font-size: 1.15cqw; display: flex; align-items: center; gap: 0.45cqw; background: rgba(1, 7, 15, 0.6); padding: 0.2cqw 0.7cqw; border-radius: 0.8cqw; }
.mlx.hw b { background: #fff; color: #01070f; border-radius: 0.35cqw; padding: 0 0.45cqw; font-size: 1.05cqw; }
.mapttl { position: absolute; top: 30%; left: 15%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 0.8cqw;
  background: var(--navy); border: 0.15cqw solid var(--gold); border-radius: 1.2cqw; padding: 0.5cqw 1.3cqw; font-size: 1.7cqw; font-weight: 800; }
.mapttl svg { width: 3.4cqw; height: auto; border: 0.1cqw solid #cfd6e4; border-radius: 0.2cqw; }
.north { position: absolute; left: 2cqw; top: 7cqw; display: flex; flex-direction: column; align-items: center; font-weight: 800; font-size: 1.2cqw;
  background: var(--navy); border: 0.15cqw solid var(--gold); border-radius: 1cqw; padding: 0.4cqw 0.8cqw; line-height: 1.1; }
.north b { color: var(--gold); font-size: 1.6cqw; }
