@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/heebo-latin-var.woff2) format("woff2");
}
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/marcellus-latin.woff2) format("woff2");
}
:root {
  --bg: #111a2c;
  --glass: rgba(22, 33, 56, 0.78);
  --glass-strong: rgba(17, 26, 44, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --ink: #f8f8f8;
  --mute: #b3bccb;
  --accent: #c9b78f;
  --cta: #998868;
  --radius: 12px;
  --gutter: 16px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --font: "Heebo", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}
@media (min-width: 900px) {
  :root { --gutter: 20px; }
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

#blu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
  background: var(--bg);
  visibility: hidden;
}
#blu.live { visibility: visible; }
#map {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  transition: opacity .9s var(--ease);
}
body.in-blu #map { opacity: 0; pointer-events: none; }
#ui { position: fixed; inset: 0; z-index: 2; pointer-events: none; transition: opacity .5s var(--ease); }
#ui > * { pointer-events: auto; }
/* (the id rule above outranks the [hidden] and .off states of the list, card, handover and region buttons) */
#ui > [hidden], #ui > .regions.off, #ui > .hero { pointer-events: none; }
body.in-blu #ui, body.flying-in #ui .list, body.flying-in #ui .card, body.flying-in #ui .regions { opacity: 0; pointer-events: none; }
body.in-blu #ui > * { pointer-events: none; }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

/* brand bar: same build as the Blu Marine 3D so the handover reads as one product */
.brand {
  position: fixed;
  top: calc(var(--gutter) + var(--safe-t));
  left: calc(var(--gutter) + var(--safe-l));
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 14px 8px 12px;
  border-radius: var(--radius);
  max-width: calc(100% - 2 * var(--gutter) - 56px);
}
.brand-logo { height: 26px; width: auto; display: block; flex: none; }
.brand-rule { flex: none; align-self: stretch; width: 1px; margin: 3px 0; background: rgba(255, 255, 255, .24); }
.brand-proj { min-width: 0; display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  color: var(--mute);
  font-size: 11.5px;
  font-weight: 300;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topright {
  position: fixed;
  top: calc(var(--gutter) + var(--safe-t) + 6px);
  right: calc(var(--gutter) + var(--safe-r));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.attrib {
  height: 36px;
  padding: 0 12px 0 4px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink);
}
.ibadge {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  flex: none;
}
.resetview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px 0 9px;
  border-radius: 4px;
  border-color: var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.resetview svg { width: 16px; height: 16px; color: var(--accent); }

.backchip, .tomap {
  position: fixed;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px 0 10px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}
.backchip svg, .tomap svg { width: 18px; height: 18px; color: var(--accent); }
.backchip { top: calc(var(--gutter) + var(--safe-t) + 60px); left: calc(var(--gutter) + var(--safe-l)); }
.backchip[hidden] { display: none; }
.tomap { z-index: 7; top: 90px; left: 16px; transition: opacity .4s var(--ease); }
.tomap[hidden] { display: none; }

/* the two choices */
.regions {
  position: fixed;
  left: 50%;
  bottom: calc(28px + var(--safe-b));
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.regions.off { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }
.region-btn {
  min-width: 200px;
  min-height: 64px;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1px solid rgba(201, 183, 143, .55);
  background: rgba(17, 26, 44, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: background .25s, border-color .25s;
}
.region-btn:hover { background: rgba(153, 136, 104, .92); border-color: var(--accent); }
.region-name { font-family: var(--font-display); font-size: 20px; letter-spacing: .18em; text-transform: uppercase; }
.region-count { font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.region-btn:hover .region-count { color: #fff; }

/* region labels on the island */
.rlabel { cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.rlabel-box {
  padding: 8px 16px 9px;
  border-radius: 4px;
  background: rgba(17, 26, 44, .8);
  border: 1px solid rgba(201, 183, 143, .5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: background .25s;
}
.rlabel:hover .rlabel-box { background: rgba(153, 136, 104, .95); }
.rlabel-name { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: .2em; text-transform: uppercase; }
.rlabel-count { display: block; font-size: 11px; color: var(--mute); margin-top: 2px; }
.rlabel:hover .rlabel-count { color: #fff; }
.rlabel-stem { width: 1px; height: 34px; background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .3)); }
.rlabel-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(201, 183, 143, .25); }

/* development pins: glass label, stem, ground dot (same grammar as the tower labels in the 3D) */
.pin {
  --stem: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.pin.on { opacity: 1; transform: none; }
.pin-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 12px 8px;
  border-radius: 4px;
  background: rgba(17, 26, 44, .82);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  transition: background .25s, border-color .25s;
}
.pin-name { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pin-meta { font-size: 10.5px; color: var(--mute); margin-top: 2px; letter-spacing: .02em; display: flex; gap: 6px; align-items: center; }
.pin-3d { color: #1b1b1b; background: var(--accent); border-radius: 3px; padding: 0 5px; font-weight: 700; font-size: 10px; letter-spacing: .06em; }
.pin-q { color: var(--accent); }
.pin-stem { width: 1px; height: var(--stem); background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .35)); transition: height .45s var(--ease); }
.pin-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(17, 26, 44, .55); }
.pin.is3d .pin-label { border-color: rgba(201, 183, 143, .75); }
.pin.is3d .pin-dot { background: var(--accent); }
.pin:hover .pin-label, .pin.sel .pin-label { background: rgba(153, 136, 104, .95); border-color: var(--accent); }
.pin:hover .pin-meta, .pin.sel .pin-meta { color: #fff; }
.pin.dim { opacity: .45; }
.pin.unsure .pin-label { border-style: dashed; }
.pin, .rlabel { background: none; border: 0; padding: 0; margin: 0; }
.pin:not(.on), .rlabel:not(.on) { pointer-events: none; }
.pin.hot .pin-label { background: rgba(153, 136, 104, .95); border-color: var(--accent); }
.pin.hot .pin-meta { color: #fff; }
.pin.edge { opacity: 0; pointer-events: none; }
.rlabel { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rlabel.on { opacity: 1; transform: none; }

/* region list */
.list {
  position: fixed;
  left: calc(var(--gutter) + var(--safe-l));
  top: calc(var(--gutter) + var(--safe-t) + 116px);
  width: 330px;
  max-height: calc(100% - 180px);
  overflow: auto;
  border-radius: var(--radius);
  padding: 16px 12px 10px;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.list[hidden] { display: block; opacity: 0; transform: translateX(-12px); pointer-events: none; }
.list-head { padding: 0 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.list-title { font-family: var(--font-display); font-size: 22px; letter-spacing: .06em; }
.list-sub { font-size: 12px; color: var(--mute); margin-top: 2px; }
.list-items { list-style: none; margin: 0; padding: 0; }
.list-items button {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
}
.list-items button:hover, .list-items button.sel { background: rgba(255, 255, 255, .07); }
.list-items img { width: 52px; height: 40px; object-fit: cover; border-radius: 4px; display: block; }
.li-name { font-size: 14px; font-weight: 500; display: block; }
.li-meta { font-size: 12px; color: var(--mute); display: block; margin-top: 1px; }
.li-tag { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #1b1b1b; background: var(--accent); border-radius: 3px; padding: 2px 6px; }
.li-tag.q { background: none; color: var(--accent); border: 1px dashed var(--accent); }

/* development card */
.card {
  position: fixed;
  right: calc(var(--gutter) + var(--safe-r));
  top: calc(var(--gutter) + var(--safe-t) + 104px);
  width: 360px;
  max-height: calc(100% - 140px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--glass-strong);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.card[hidden] { display: block; opacity: 0; transform: translateX(12px); pointer-events: none; }
.card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(17, 26, 44, .7);
  display: grid;
  place-items: center;
}
.card-close svg { width: 16px; height: 16px; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: #1b263c; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-credit { position: absolute; left: 8px; bottom: 6px; font-size: 10px; color: rgba(255, 255, 255, .9); background: rgba(10, 16, 28, .55); padding: 1px 6px; border-radius: 3px; }
.card-body { padding: 16px 18px 18px; }
.card-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card-title { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 4px 0 10px; letter-spacing: .02em; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 3px 8px; border-radius: 3px; background: rgba(201, 183, 143, .18); color: var(--accent); border: 1px solid rgba(201, 183, 143, .45); }
.tag.soft { background: none; color: var(--mute); border-color: var(--line-strong); }
.tag:empty { display: none; }
.card-type { font-size: 13.5px; line-height: 1.5; color: #e4e7ee; margin: 12px 0 8px; }
.card-facts { margin: 0 0 10px; padding: 0 0 0 16px; font-size: 13px; line-height: 1.5; color: #d6dbe4; }
.card-facts li { margin: 4px 0; }
.card-facts a.src { color: var(--mute); font-size: 11px; text-decoration: none; border-bottom: 1px dotted rgba(179, 188, 203, .5); }
.card-loc { font-size: 12.5px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 10px; }
.card-loc summary { cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none; color: var(--ink); }
.card-loc summary::-webkit-details-marker { display: none; }
.card-loc .ibadge { width: 22px; height: 22px; font-size: 11px; }
.card-loc p { margin: 8px 0 0; line-height: 1.5; }
.conf { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; margin-left: auto; }
.conf.high { background: rgba(53, 201, 127, .16); color: #6fdca5; }
.conf.medium { background: rgba(201, 183, 143, .16); color: var(--accent); }
.conf.low { background: rgba(255, 140, 90, .16); color: #ffad85; }
.card-actions { display: flex; gap: 10px; margin-top: 14px; }
.cta, .btn {
  flex: 1;
  min-height: 46px;
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.cta { background: var(--cta); border: 1px solid var(--accent); color: #fff; }
.btn { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); }
.cta[hidden] { display: none; }

/* handover status */
.handover {
  position: fixed;
  left: 50%;
  bottom: calc(32px + var(--safe-b));
  transform: translateX(-50%);
  width: min(420px, calc(100% - 32px));
  padding: 14px 18px 16px;
  border-radius: var(--radius);
  text-align: center;
  transition: opacity .4s var(--ease);
}
.handover[hidden] { display: block; opacity: 0; pointer-events: none; }
.handover-text { font-size: 13px; letter-spacing: .04em; margin-bottom: 10px; }
.bar { height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s linear; }

.hf-mark {
  position: fixed;
  right: calc(var(--gutter) + var(--safe-r));
  bottom: calc(var(--gutter) + var(--safe-b));
  width: 96px;
  height: auto;
  opacity: .55;
  pointer-events: none !important;
}

/* loading */
.loading {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(120% 90% at 50% 40%, #1a2742 0%, #111a2c 60%, #0b111e 100%);
  transition: opacity .8s var(--ease);
}
.loading.done { opacity: 0; pointer-events: none; }
.loading[hidden] { display: none; }
.load-logo { width: 190px; height: auto; margin-bottom: 26px; }
.load-name { font-family: var(--font-display); font-size: 30px; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; }
.load-sub { font-size: 13px; color: var(--mute); letter-spacing: .04em; }
.loading .bar { width: 220px; margin: 26px 0 10px; }
.load-text { font-size: 11.5px; color: var(--mute); letter-spacing: .06em; }
.fatal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: var(--bg); padding: 24px; text-align: center; }
.fatal[hidden] { display: none; }

.credits {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.55;
}
.credits::backdrop { background: rgba(5, 9, 16, .5); }
.credits h2 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 10px; }
.credits ul { padding-left: 18px; margin: 0; }
.credits li { margin: 6px 0; }
.credits .card-close { top: 12px; right: 12px; }
.credits-note { color: var(--mute); font-size: 12.5px; margin: 12px 0 0; }

.maplibregl-canvas:focus { outline: none; }
.maplibregl-marker { will-change: transform; }

/* phones */
@media (max-width: 760px) {
  :root { --gutter: 12px; }
  .brand { gap: 10px; padding: 7px 12px 7px 10px; min-height: 44px; }
  .brand-logo { height: 22px; }
  .brand-name { font-size: 13px; }
  .brand-sub { font-size: 11px; }
  .attrib-line { display: none; }
  .attrib { padding: 0 4px; width: 36px; justify-content: center; }
  .topright { flex-direction: row-reverse; align-items: flex-start; gap: 8px; top: calc(var(--gutter) + var(--safe-t) + 4px); }
  .resetview span { display: none; }
  .resetview { min-height: 36px; padding: 0 9px; border-radius: 99px; }
  .topright { top: calc(var(--gutter) + var(--safe-t) + 58px); }
  .backchip { top: calc(var(--gutter) + var(--safe-t) + 58px); }
  .regions { width: calc(100% - 24px); bottom: calc(18px + var(--safe-b)); gap: 10px; }
  .region-btn { flex: 1; min-width: 0; padding: 10px 8px; min-height: 62px; }
  .region-name { font-size: 17px; letter-spacing: .14em; }
  .list {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    max-height: none;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 12px 0 calc(12px + var(--safe-b));
    overflow: hidden;
  }
  .list[hidden] { transform: translateY(16px); }
  .list-head { padding: 0 16px 8px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
  .list-title { font-size: 19px; }
  .list-items { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .list-items::-webkit-scrollbar { display: none; }
  .list-items li { flex: none; scroll-snap-align: start; }
  .list-items button { grid-template-columns: 1fr; width: 150px; gap: 6px; padding: 6px; background: rgba(255, 255, 255, .05); }
  .list-items img { width: 100%; height: 76px; }
  .list-items .li-tag { justify-self: start; }
  .card {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    max-height: 58%;
    border-radius: var(--radius) var(--radius) 0 0;
    padding-bottom: var(--safe-b);
  }
  .card[hidden] { transform: translateY(20px); }
  .card-media { aspect-ratio: 21 / 9; }
  /* the buttons stay in view at the bottom of the sheet, however long the card (the 3D entry was below the fold) */
  .card-actions { position: sticky; bottom: 0; z-index: 2; margin: 12px -18px -18px; padding: 14px 18px calc(14px + var(--safe-b));
    background: linear-gradient(rgba(17, 26, 44, 0), var(--glass-strong) 28%); }
  .card-title { font-size: 21px; margin-bottom: 8px; }
  .hf-mark { width: 72px; bottom: auto; top: calc(var(--gutter) + var(--safe-t) + 104px); right: calc(var(--gutter) + var(--safe-r)); opacity: .45; }
  .pin-label { padding: 6px 9px 7px; }
  .pin-name { font-size: 10.5px; letter-spacing: .1em; }
  .pin-meta { font-size: 10px; }
  .rlabel-name { font-size: 15px; }
  .load-name { font-size: 24px; }
}
/* ---------- line look, premium pass (3 Nov night): film, title card, labels as type ---------- */
/* film: a soft vignette and a fine moving grain over the map, under the interface */
#film { position: fixed; inset: 0; z-index: 1; pointer-events: none; transition: opacity .9s var(--ease);
  background: radial-gradient(120% 95% at 50% 46%, rgba(3, 5, 12, 0) 52%, rgba(3, 5, 12, .5) 100%); }
#film::after { content: ""; position: absolute; inset: -60px; opacity: .065; animation: grain 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>"); }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(18px, -26px); }
  60% { transform: translate(-30px, -8px); } 80% { transform: translate(12px, 30px); } 100% { transform: translate(0, 0); } }
body:not(.look-line) #film { display: none; }
body.in-blu #film { opacity: 0; }
/* title card over the slow opening aerial (his reference: title cards on a dark slow aerial) */
body.look-line .hero { display: block; position: fixed; left: 0; right: 0; top: 13%; text-align: center; pointer-events: none;
  opacity: 0; transform: translateY(8px); transition: opacity 1.1s var(--ease), transform 1.6s var(--ease); }
body.look-line.intro .hero { opacity: 1; transform: none; }
body.look-line.intro #ui > :not(.hero) { opacity: 0; pointer-events: none; }
body.look-line #ui > .brand, body.look-line #ui > .topright { transition: opacity .9s var(--ease); }
@media (max-width: 760px) {
  body.look-line .hero { top: 15%; }
  /* phones, island view: the title stays as the headline over the island (the tall screen has the room), the bar
     above carries the Leptos logo alone so CYPRUS is said once */
  body.look-line[data-view="cyprus"]:not(.intro) .hero { opacity: .94; transform: none; }
  body.look-line[data-view="cyprus"] .hero-title { font-size: 25px; }
  body.look-line[data-view="cyprus"] .brand { background: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.look-line[data-view="cyprus"] .brand-rule, body.look-line[data-view="cyprus"] .brand-proj { display: none; }
}
/* into the 3D: the night map brightens as it fades, so the daylight 3D arrives like a dawn, not a cut */
body.look-line #map { transition: opacity 1.4s var(--ease), filter 1.4s var(--ease); }
body.look-line.in-blu #map { filter: brightness(2.3) saturate(.75); }
/* the area names on the map as type: spaced capitals, a gold hairline, a fine leader to a glowing point */
body.look-line .rlabel-box { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 4px 9px; position: relative; isolation: isolate; }
/* a soft dark veil behind the type so roads and the coastline never cut through the letters (veil, never outline) */
body.look-line .rlabel-box::before { content: ""; position: absolute; inset: -14px -26px -10px; z-index: -1;
  background: radial-gradient(closest-side, rgba(5, 8, 16, .78), rgba(5, 8, 16, .5) 55%, rgba(5, 8, 16, 0)); }
body.look-line .rlabel-box::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 46px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(236, 220, 176, .9), transparent); }
body.look-line .rlabel-name { font-size: 17px; letter-spacing: .38em; padding-left: .38em; color: #f6ebcd;
  text-shadow: 0 0 18px rgba(4, 7, 15, .95), 0 0 2px rgba(4, 7, 15, .9); }
body.look-line .rlabel-count { font-size: 9.5px; letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; color: rgba(236, 220, 176, .66); margin-top: 5px;
  text-shadow: 0 0 10px rgba(4, 7, 15, .95); }
body.look-line .rlabel:hover .rlabel-box { background: none; }
body.look-line .rlabel:hover .rlabel-name { color: #fff; }
body.look-line .rlabel-stem { background: linear-gradient(rgba(236, 220, 176, .55), rgba(236, 220, 176, .08)); }
body.look-line .rlabel-dot { width: 7px; height: 7px; background: #f3e3b8; box-shadow: 0 0 0 4px rgba(201, 183, 143, .18), 0 0 18px 4px rgba(201, 183, 143, .45); }
@media (max-width: 760px) { body.look-line .rlabel-name { font-size: 13.5px; letter-spacing: .32em; padding-left: .32em; } }
/* development pins: a soft veil instead of a box, spaced capitals, gold accents */
body.look-line .pin-label { background: linear-gradient(180deg, rgba(6, 10, 20, .66), rgba(6, 10, 20, .46)); border: 0; border-radius: 2px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 7px 12px 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
body.look-line .pin-name { font-weight: 600; font-size: 10.5px; letter-spacing: .24em; color: #f6ebcd; }
body.look-line .pin-meta { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(236, 220, 176, .62); }
body.look-line .pin-3d { background: none; color: var(--accent); border: 1px solid rgba(201, 183, 143, .6); padding: 0 4px; font-size: 9px; }
body.look-line .pin-stem { background: linear-gradient(rgba(236, 220, 176, .6), rgba(236, 220, 176, .1)); }
body.look-line .pin-dot { width: 7px; height: 7px; background: #f3e3b8; box-shadow: 0 0 0 3px rgba(201, 183, 143, .2), 0 0 14px 3px rgba(201, 183, 143, .4); }
body.look-line .pin.on .pin-dot { animation: breathe 3.4s ease-in-out infinite; }
/* a label with no free place (crowded phone views) folds to its glowing dot; the list names every development */
.pin.crowd .pin-label, .pin.crowd .pin-stem { opacity: 0; transition: opacity .35s var(--ease); }
.pin.crowd { pointer-events: none; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 3px rgba(201, 183, 143, .16), 0 0 10px 2px rgba(201, 183, 143, .3); }
  50% { box-shadow: 0 0 0 5px rgba(201, 183, 143, .26), 0 0 20px 5px rgba(201, 183, 143, .55); } }
body.look-line .pin-q { color: var(--accent); }
body.look-line .pin-q::before { content: "\00b7"; margin-right: 6px; color: rgba(236, 220, 176, .5); }
body.look-line .pin:hover .pin-label, body.look-line .pin.hot .pin-label, body.look-line .pin.sel .pin-label {
  background: linear-gradient(180deg, rgba(42, 36, 24, .82), rgba(30, 26, 18, .66)); box-shadow: inset 0 -1px 0 var(--accent), 0 8px 24px rgba(0, 0, 0, .3); }
body.look-line .pin.unsure .pin-label { border: 0; box-shadow: inset 0 -1px 0 rgba(201, 183, 143, .5); }
/* the quiet bar and the gold pill (UI 1) in this look */
body.look-line .brand { background: rgba(8, 13, 25, .36); border-color: rgba(255, 255, 255, .06); }
body.look-line .region-btn .region-name { font-size: 15px; letter-spacing: .3em; padding-left: .3em; }

/* ---------- UI directions for the board (3 Nov, ?ui=1 | 2 | 3); body[data-view] names the current view ---------- */
.hero { display: none; }
/* 1 refined bar: the Blu bar lighter and smaller, the two areas in one slim gold pill */
body.ui-1 .brand { background: rgba(10, 16, 30, .42); border-color: rgba(255, 255, 255, .07); }
body.ui-1[data-view="cyprus"] .resetview { display: none; }
body.ui-1 .regions { gap: 0; padding: 4px; border-radius: 99px; background: rgba(8, 13, 25, .55); border: 1px solid rgba(201, 183, 143, .38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body.ui-1 .region-btn { position: relative; background: none; border: 0; border-radius: 99px; min-height: 52px; min-width: 168px; padding: 8px 18px; }
body.ui-1 .region-btn + .region-btn::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(201, 183, 143, .32); }
body.ui-1 .region-btn:hover { background: rgba(201, 183, 143, .16); }
body.ui-1 .region-name { font-size: 16px; color: #ecdcb0; letter-spacing: .2em; }
body.ui-1 .region-count { font-size: 11px; }
/* 2 editorial: the logo without a box, a large spaced title over the horizon, the areas as gold tabs */
body.ui-2 .brand { background: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.ui-2[data-view="cyprus"] .brand-rule, body.ui-2[data-view="cyprus"] .brand-proj { display: none; }
body.ui-2[data-view="cyprus"] .hero { display: block; position: fixed; left: 0; right: 0; top: calc(var(--safe-t) + 104px); text-align: center; pointer-events: none; }
.hero-title { font-family: var(--font-display); font-size: 34px; letter-spacing: .44em; padding-left: .44em; text-transform: uppercase; color: #f4ead2; }
.hero-rule { width: 64px; height: 1px; margin: 14px auto 12px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.hero-sub { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
body.ui-2 .regions { gap: 28px; }
body.ui-2 .region-btn { background: none; border: 0; border-bottom: 1px solid rgba(201, 183, 143, .55); border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; min-width: 0; min-height: 56px; padding: 8px 6px 10px; }
body.ui-2 .region-btn:hover { background: none; border-bottom-color: var(--accent); }
body.ui-2 .region-name { color: #ecdcb0; }
/* 3 map first: the logo alone at the top, the areas as labels on the map, no buttons */
body.ui-3[data-view="cyprus"] .brand { left: 50%; transform: translateX(-50%); background: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.ui-3[data-view="cyprus"] .brand-rule, body.ui-3[data-view="cyprus"] .brand-proj { display: none; }
body.ui-3[data-view="cyprus"] .regions { display: none; }
body.ui-3[data-view="cyprus"] .resetview { display: none; }
@media (max-width: 760px) {
  /* island view on phones: the small buttons ride up level with the logo, reset is not needed there */
  body[class*="ui-"][data-view="cyprus"] .topright { top: calc(var(--gutter) + var(--safe-t) + 4px); }
  body[class*="ui-"][data-view="cyprus"] .resetview { display: none; }
  body.ui-1 .regions { width: auto; }
  body.ui-1 .region-btn { min-width: 0; flex: 1; padding: 8px 22px; }
  body.ui-2[data-view="cyprus"] .hero { top: calc(var(--safe-t) + 78px); }
  .hero-title { font-size: 26px; }
  body.ui-2 .regions { width: calc(100% - 48px); gap: 22px; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .pin-label, .rlabel-box, .region-btn { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glass-strong); }
}
