@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: 18px;
  --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; }

#ui > [hidden], #ui > .regions.off, #ui > .hero, #ui > .chapter, #ui > .coords, #ui > .compass { 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 {
  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 13px 0 11px;
  border-radius: 99px;
  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; }

.dusk { position: fixed; inset: 0; z-index: 19; background: #111a2c; opacity: 0; pointer-events: none; transition: opacity .4s ease-in; }
.dusk.on { opacity: 1; }

body.in-cloud .maplibregl-marker > button { opacity: 0 !important; }

.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: 99px;
  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; }

.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); }

.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; }

.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: 14px;
  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: 10px; 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: 99px; padding: 2px 8px; }
.li-tag.q { background: none; color: var(--accent); border: 1px dashed var(--accent); }

.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 8px; border-radius: 99px; }
.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 10px; border-radius: 99px; 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 8px; border-radius: 99px; 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: 99px;
  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 {
  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; }

body.cloud-wait .handover { background: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  bottom: auto; top: 50%; transform: translate(-50%, -50%); width: min(320px, calc(100% - 48px)); }
body.cloud-wait .handover-text { font-family: var(--font-display); font-size: 11px; letter-spacing: .3em; padding-left: .3em; line-height: 1.7;
  text-transform: uppercase; color: rgba(17, 26, 44, .6); margin-bottom: 12px; }
body.cloud-wait .handover .bar { width: 120px; margin: 0 auto; background: rgba(17, 26, 44, .12); }
.hand-name, .hand-sub { display: none; }
body.cloud-wait .handover { width: min(560px, calc(100% - 40px)); }
body.cloud-wait .hand-name { display: block; font-family: var(--font-display); font-size: 26px; letter-spacing: .36em; padding-left: .36em;
  text-transform: uppercase; color: rgba(17, 26, 44, .86); line-height: 1.3; }
body.cloud-wait .hand-name .ltr { display: inline-block; animation: letterIn 1.6s var(--ease) both; animation-delay: calc(var(--a) * 45ms); }
body.cloud-wait .hand-sub { display: block; margin: 14px auto 26px; max-width: 420px; font-size: 12.5px; line-height: 1.6; letter-spacing: .04em;
  color: rgba(17, 26, 44, .7); }
@media (max-width: 760px) { body.cloud-wait .hand-name { font-size: 18px; letter-spacing: .26em; padding-left: .26em; } }

#cloudGlow { position: fixed; inset: -20%; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease);
  background: radial-gradient(34% 28% at 62% 36%, rgba(255, 250, 238, .5), rgba(255, 250, 238, 0) 72%),
    radial-gradient(46% 36% at 32% 70%, rgba(120, 132, 152, .32), rgba(120, 132, 152, 0) 72%); }
body.cloud-wait #cloudGlow { opacity: 1; animation: cloudDrift 13s ease-in-out infinite alternate; }
@keyframes cloudDrift { from { transform: translate3d(-4%, 2%, 0) scale(1); } to { transform: translate3d(5%, -3%, 0) scale(1.12); } }
body.cloud-wait .handover .bar i { background: rgba(122, 100, 60, .8); }

.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 {
  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; }

.maplibregl-marker { pointer-events: none; }
.maplibregl-marker .pin.on:not(.crowd):not(.edge), .maplibregl-marker .rlabel.on { pointer-events: auto; }

@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; letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; }
  .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; }
  
  .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) 12px); }
  .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; }
}

#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; }
body.noblur *, body.noblur *::before { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

body.look-line .hero { display: block; position: fixed; left: 0; right: 0; top: 13%; text-align: center; pointer-events: none;
  opacity: 0; transform: translateY(-26px) scale(1.12); transform-origin: 50% 0;
  transition: opacity 1.2s var(--ease), transform 1.9s var(--ease); }

body.look-line.intro .hero { opacity: 1; transform: translateY(23vh) scale(1.5); }
body.look-line.intro:not(.shown) .hero { opacity: 0; }

body.look-line .hero::before, .chapter::before, .veil-warm { content: ""; position: absolute; 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 .hero::before { inset: -46px 8% -40px; opacity: .55; }
.chapter::before { inset: -40px 14% -34px; opacity: .6; }
.veil-warm { left: 50%; top: 50%; width: 40px; height: 20px; opacity: .02; }

.warm-glass, .warm-blur { position: absolute; left: 50%; top: 56%; width: 24px; height: 12px; opacity: .02; pointer-events: none; }
.warm-glass { -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.warm-blur { margin-left: 30px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero-title .ltr, .chapter-name .ltr { display: inline-block; will-change: transform, opacity; }
body.look-line.intro.shown .hero-title .ltr { animation: letterIn 3s var(--ease) both; animation-delay: calc(var(--a) * 70ms); }
body.look-line.intro.shown .hero-rule { animation: heroRule 2.2s .7s var(--ease) both; }
body.look-line.intro.shown .hero-sub { animation: heroSub 1.6s 1.2s var(--ease) both; }

.coords { position: fixed; z-index: 3; left: calc(var(--gutter) + var(--safe-l) + 4px); bottom: calc(var(--gutter) + var(--safe-b) + 6px);
  display: flex; flex-direction: column; gap: 5px; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
body.look-line[data-view] .coords { opacity: 1; }
body.look-line.intro .coords, body.in-blu .coords, body:not(.look-line) .coords { opacity: 0; }
.coords-num { font-size: 10.5px; letter-spacing: .22em; color: rgba(236, 220, 176, .72); font-variant-numeric: tabular-nums; white-space: pre; }
.coords-place { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }

.chapter { position: fixed; z-index: 3; left: 0; right: 0; top: 34%; text-align: center; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.chapter.play { animation: chapter 1.9s var(--ease) both; }
.chapter.warm.play { animation: none; opacity: .01; }
.chapter.play .ltr { animation: letterIn 1.3s var(--ease) both; animation-delay: calc(var(--a) * 45ms); }
.chapter-name { font-family: var(--font-display); font-size: 44px; letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: #f6ebcd; }
.chapter-rule { width: 56px; height: 1px; margin: 14px auto 11px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.chapter-sub { font-size: 11px; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: rgba(236, 220, 176, .8); }
@keyframes chapter { 0% { opacity: 0; transform: scale(.96); } 22% { opacity: 1; } 62% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.05); } }

.compass { position: fixed; z-index: 3; right: calc(var(--gutter) + var(--safe-r) + 4px); bottom: calc(var(--gutter) + var(--safe-b) + 6px); width: 40px; height: 40px;
  color: #ecdcb0; pointer-events: none; opacity: .01; transition: opacity .9s var(--ease); }
.compass svg { width: 100%; height: 100%; overflow: visible; }
.compass text { font-family: var(--font-display); font-size: 6.5px; letter-spacing: .1em; fill: currentColor; }
body.look-line:not(.intro):not(.in-blu)[data-view] .compass { opacity: .85; }
@media (max-width: 760px) {
  .coords { display: none; }
  body.look-line[data-view="cyprus"] .coords { display: flex; left: 0; right: 0; bottom: auto; top: calc(15% + 108px); align-items: center; }
  .chapter { top: 30%; }
  .chapter-name { font-size: 30px; letter-spacing: .44em; padding-left: .44em; }
  .compass { display: none; }
}
@keyframes letterIn { from { opacity: 0; transform: translateX(calc(var(--d) * .34em)); } to { opacity: 1; transform: none; } }
@keyframes heroRule { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes heroSub { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body.look-line.intro #ui > :not(.hero):not(.compass) { opacity: 0; pointer-events: none; }
body.look-line .hero { isolation: isolate; }
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%; }
  body.look-line.intro .hero { transform: translateY(17vh) scale(1.22); }
  
  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; }
}

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); }
body.via-cloud #map, body.look-line.via-cloud #map { transition: none; filter: none; }
body.blu-warm #map, body.look-line.blu-warm #map { opacity: .995; transition: none; }

body.look-line .rlabel-box { background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 4px 9px; position: relative; isolation: isolate; }

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 { width: 2px; border-radius: 2px; background: linear-gradient(rgba(236, 220, 176, .5), rgba(236, 220, 176, .06)); }
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; } }

.rlabel.below { flex-direction: column-reverse; transform: translateY(calc(100% - 7px - 10px)); }
.rlabel.below.on { transform: translateY(calc(100% - 7px)); }
body.look-line .rlabel.below .rlabel-box { padding: 9px 4px 0; }
body.look-line .rlabel.below .rlabel-box::after { top: 0; bottom: auto; }
body.look-line .rlabel.below .rlabel-stem { background: linear-gradient(rgba(236, 220, 176, .06), rgba(236, 220, 176, .5)); }

@media (max-width: 760px) { body.look-line .rlabel.below .rlabel-count { display: none; } }

body.look-line .pin-label { --veil-b: rgba(6, 10, 20, .58); position: relative; background: linear-gradient(180deg, rgba(6, 10, 20, .76), var(--veil-b));
  border: 0; border-radius: 16px; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 8px 15px 9px;
  box-shadow: inset 0 0 0 1px rgba(236, 220, 176, .13), 0 10px 28px rgba(0, 0, 0, .3); }
@media (max-width: 760px) { body.look-line .pin-label { padding: 7px 12px 8px; border-radius: 14px; } }
body.look-line .pin-label::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0; background: var(--veil-b); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
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: rgba(201, 183, 143, .14); color: var(--accent); border: 1px solid rgba(201, 183, 143, .5); border-radius: 99px; padding: 0 7px; font-size: 9px; line-height: 15px; }
body.look-line .pin-stem { width: 2px; border-radius: 2px; background: linear-gradient(rgba(236, 220, 176, .5), rgba(236, 220, 176, .06)); }
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; }

.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 { --veil-b: rgba(30, 26, 18, .7);
  background: linear-gradient(180deg, rgba(42, 36, 24, .84), var(--veil-b)); box-shadow: inset 0 0 0 1px rgba(201, 183, 143, .55), 0 10px 28px rgba(0, 0, 0, .34); }
body.look-line .pin.unsure .pin-label { border: 0; box-shadow: inset 0 0 0 1px rgba(201, 183, 143, .3), 0 10px 28px rgba(0, 0, 0, .3); }

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; }

.hero { display: none; }

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; }

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; }

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) {
  
  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); }
}
