:root {
  color-scheme: light;
  --ink: #14221e;
  --ink-soft: #53625d;
  --paper: #f7f8f3;
  --paper-strong: #ffffff;
  --line: #d9e0da;
  --deep-green: #08251f;
  --forest: #176b4d;
  --forest-dark: #0c4a36;
  --coral: #ec725f;
  --sky: #78c8db;
  --sky-soft: #dceff1;
  --yellow: #f2c45c;
  --danger: #b3453d;
  --header-height: 72px;
  --content-max: 1520px;
  --radius: 8px;
  --shadow-soft: 0 16px 42px rgb(4 28 23 / 14%);
  --focus-ring: 0 0 0 3px rgb(120 200 219 / 44%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--deep-green);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--deep-green);
  -webkit-font-smoothing: antialiased;
}

body.has-scroll,
body:has(.country-view.is-active) {
  overflow-y: auto;
  background: var(--paper);
}

button,
select,
input,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

button,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
select,
[tabindex]:not([tabindex="-1"]) {
  outline: none;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  box-shadow: var(--focus-ring);
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  object-fit: cover;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: #fff;
  background: var(--coral);
}

#app,
.app {
  min-height: 100vh;
  min-height: 100svh;
}

.view {
  min-height: 100vh;
  min-height: 100svh;
}

.is-hidden,
[hidden] {
  display: none !important;
}

.is-invisible {
  visibility: hidden !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Shared header and controls */

.app-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 32px;
  color: #f6faf7;
  background: rgb(5 29 24 / 78%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.app-header.on-light,
.country-view .app-header,
body[data-view="country"] .app-header {
  color: var(--ink);
  background: rgb(247 248 243 / 92%);
  border-bottom-color: var(--line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-size: 17px;
  font-weight: 780;
  line-height: 1;
}

.brand-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--deep-green);
  background: var(--yellow);
  border-radius: 50%;
}

.brand-mark svg,
.brand-lockup svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions,
.globe-controls,
.gallery-controls,
.map-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.back-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 720;
  line-height: 1;
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, transform 180ms ease;
}

.icon-button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: currentColor;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 18%);
}

.on-light .icon-button,
.country-view .icon-button,
body[data-view="country"] .icon-button {
  background: #fff;
  border-color: var(--line);
}

.icon-button svg,
.back-button svg,
.primary-button svg,
.secondary-button svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.back-button,
.primary-button,
.secondary-button {
  width: auto;
  padding: 0 16px;
  gap: 8px;
}

.back-button,
.secondary-button {
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
}

.primary-button {
  color: #fff;
  background: var(--forest);
  border: 1px solid var(--forest);
}

.icon-button:hover,
.back-button:hover,
.secondary-button:hover {
  background-color: rgb(120 200 219 / 16%);
}

.primary-button:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

.icon-button:active,
.back-button:active,
.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

/* Globe view */

.globe-view {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #f7fbf8;
  background: var(--deep-green);
}

.globe-stage {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #071c18;
  cursor: grab;
  touch-action: none;
}

.globe-stage:active {
  cursor: grabbing;
}

.globe-stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgb(120 200 219 / 16%);
  pointer-events: none;
  content: "";
}

.globe-stage > div,
.globe-stage canvas,
#globe,
#globe > div,
#globe canvas {
  width: 100% !important;
  height: 100% !important;
}

.globe-stage canvas,
#globe canvas {
  max-width: none;
}

.globe-overlay {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(280px, 470px) minmax(280px, 360px);
  align-content: end;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 42px) 48px 48px;
  pointer-events: none;
}

.globe-copy {
  align-self: end;
  max-width: 470px;
  padding-left: 22px;
  border-left: 5px solid var(--coral);
  text-shadow: 0 2px 22px rgb(0 0 0 / 48%);
}

.globe-kicker,
.country-kicker,
.region-eyebrow,
.gallery-kicker {
  display: block;
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.globe-copy h1 {
  max-width: 8em;
  margin: 0 0 18px;
  font-size: 58px;
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: 0;
}

.globe-copy p {
  max-width: 36em;
  margin: 0;
  color: rgb(247 251 248 / 80%);
  font-size: 17px;
  line-height: 1.75;
}

.globe-status {
  align-self: end;
  width: min(100%, 360px);
  justify-self: end;
  padding: 18px;
  color: #f7fbf8;
  background: rgb(6 37 31 / 82%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: auto;
}

.globe-status__row,
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.globe-status__label,
.status-label {
  color: rgb(247 251 248 / 62%);
  font-size: 12px;
  font-weight: 720;
}

.globe-status__value,
.status-value {
  color: var(--sky);
  font-size: 13px;
  font-weight: 800;
}

.globe-status__hint,
.interaction-hint {
  display: flex;
  align-items: flex-start;
  margin-top: 14px;
  padding-top: 14px;
  gap: 10px;
  color: rgb(247 251 248 / 72%);
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 13px;
  line-height: 1.55;
}

.interaction-hint svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--yellow);
}

.country-picker {
  position: fixed;
  z-index: 90;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  width: min(410px, calc(100vw - 420px));
  min-width: 280px;
  height: 44px;
  padding: 0 10px 0 15px;
  gap: 10px;
  color: #f7fbf8;
  background: rgb(5 29 24 / 78%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 6px;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.country-picker svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--sky);
}

.country-picker label {
  flex: 0 0 auto;
  color: rgb(247 251 248 / 62%);
  font-size: 12px;
  font-weight: 720;
}

.country-picker select,
.region-picker select {
  min-width: 0;
  height: 100%;
  border: 0;
  appearance: none;
  cursor: pointer;
}

.country-picker select {
  flex: 1 1 auto;
  color: #fff;
  background: transparent;
  font-size: 14px;
  font-weight: 760;
}

.country-picker select option {
  color: var(--ink);
  background: #fff;
}

.picker-chevron {
  flex: 0 0 auto;
  pointer-events: none;
}

.map-tooltip {
  position: fixed;
  z-index: 120;
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  padding: 10px 12px;
  color: #fff;
  background: #102d27;
  border: 1px solid rgb(120 200 219 / 42%);
  border-radius: 5px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 30%);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
  pointer-events: none;
  transform: translate(12px, 12px);
}

.map-tooltip small {
  display: block;
  margin-top: 3px;
  color: rgb(255 255 255 / 64%);
  font-size: 11px;
  font-weight: 600;
}

.globe-loading,
.globe-error {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background: #071c18;
}

.loading-indicator {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.loading-indicator::before,
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgb(255 255 255 / 16%);
  border-top-color: var(--yellow);
  border-radius: 50%;
  content: "";
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Two-dimensional fallback */

.fallback-world {
  position: absolute;
  z-index: 5;
  inset: var(--header-height) 0 0;
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) minmax(260px, 0.7fr);
  align-items: center;
  padding: 42px 5vw;
  gap: 36px;
  color: #fff;
  background: #09241f;
  overflow: auto;
}

.fallback-map {
  width: 100%;
  max-height: 68vh;
}

.fallback-map path,
.fallback-world path {
  fill: #245548;
  stroke: rgb(220 239 241 / 58%);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  transition: fill 160ms ease;
}

.fallback-map path[data-enabled="true"],
.fallback-world path[data-enabled="true"] {
  fill: var(--forest);
  cursor: pointer;
}

.fallback-map path[data-enabled="true"]:hover,
.fallback-map path[data-enabled="true"]:focus,
.fallback-world path[data-enabled="true"]:hover,
.fallback-world path[data-enabled="true"]:focus {
  fill: var(--coral);
}

.fallback-country-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fallback-country-list button {
  min-height: 44px;
  padding: 10px 12px;
  color: #fff;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 5px;
  text-align: left;
}

.fallback-country-list button:hover {
  background: rgb(120 200 219 / 18%);
  border-color: var(--sky);
}

/* Detailed country and region view */

.country-view {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
}

.country-layout,
.country-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(390px, 0.78fr);
  width: 100%;
  max-width: var(--content-max);
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  margin: 0 auto;
  background: var(--paper);
}

.country-map-pane {
  position: sticky;
  top: var(--header-height);
  align-self: start;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: 520px;
  overflow: hidden;
  background: var(--sky-soft);
  border-right: 1px solid #c4dadd;
}

.map-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.map-shell svg,
.country-map,
.country-map svg {
  width: 100%;
  height: 100%;
}

.country-map path,
.map-shell .region-shape,
.map-shell path[data-region] {
  fill: #e7eee8;
  stroke: #668a7d;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  transition: fill 160ms ease, stroke 160ms ease;
}

.country-map path:hover,
.country-map path:focus,
.map-shell .region-shape:hover,
.map-shell .region-shape:focus,
.map-shell path[data-region]:hover,
.map-shell path[data-region]:focus {
  fill: var(--sky);
  stroke: var(--forest-dark);
}

.country-map path.is-featured,
.map-shell .region-shape.is-featured,
.map-shell path[data-featured="true"] {
  fill: #f1c96f;
}

.country-map path.is-active,
.map-shell .region-shape.is-active,
.map-shell path[aria-current="true"] {
  fill: var(--coral);
  stroke: #7f2e29;
  stroke-width: 2;
}

.country-map path:focus-visible,
.map-shell .region-shape:focus-visible,
.map-shell path[data-region]:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 4px rgb(12 74 54 / 70%));
}

.map-topbar {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 24px;
  left: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.country-heading {
  max-width: min(410px, 70%);
  padding: 16px 18px;
  background: rgb(247 248 243 / 90%);
  border-left: 4px solid var(--coral);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 12px 34px rgb(12 74 54 / 12%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.country-heading h1,
.country-heading h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: 0;
}

.country-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.country-kicker {
  margin-bottom: 7px;
  color: var(--forest);
}

.map-controls {
  pointer-events: auto;
}

.map-controls .icon-button {
  color: var(--ink);
  background: rgb(255 255 255 / 90%);
  border-color: #cbd8d1;
  box-shadow: 0 8px 24px rgb(12 74 54 / 10%);
}

.map-legend {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  padding: 9px 11px;
  gap: 12px;
  color: var(--ink-soft);
  background: rgb(255 255 255 / 88%);
  border: 1px solid #ccdbd5;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  background: #e7eee8;
  border: 1px solid #668a7d;
  border-radius: 2px;
}

.legend-swatch.featured {
  background: var(--yellow);
}

.legend-swatch.selected {
  background: var(--coral);
}

.region-panel {
  min-width: 0;
  padding: 34px 34px 46px;
  background: var(--paper);
  border-left: 0;
}

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 28px;
  gap: 14px;
}

.content-toolbar .back-button {
  color: var(--forest-dark);
  border-color: #b9cbc3;
}

.region-picker {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 180px;
  height: 44px;
  padding: 0 36px 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.region-picker select {
  width: 100%;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 720;
}

.region-picker svg,
.region-picker::after {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.region-picker::after {
  content: "\2304";
  font-size: 16px;
  line-height: 12px;
}

.region-panel > header,
.region-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.region-eyebrow {
  color: var(--coral);
}

.region-panel h1,
.region-panel h2,
.region-title {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.region-intro,
.region-panel > header p,
.region-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.region-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.region-meta > div,
.meta-item {
  min-width: 0;
  padding: 15px 12px 15px 0;
}

.region-meta > div + div,
.meta-item + .meta-item {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.region-meta dt,
.meta-label {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 720;
}

.region-meta dd,
.meta-value {
  margin: 0;
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.45;
}

.region-summary {
  margin: 22px 0 26px;
  padding: 17px 18px;
  background: #e6f0e9;
  border-left: 4px solid var(--forest);
  border-radius: 0 6px 6px 0;
}

.region-summary strong,
.region-summary h3 {
  display: block;
  margin: 0 0 7px;
  color: var(--forest-dark);
  font-size: 13px;
  line-height: 1.4;
}

.region-summary p {
  margin: 0;
  color: #3f5c51;
  font-size: 13px;
  line-height: 1.65;
}

.region-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  height: 44px;
  margin: 0 0 20px;
  padding: 4px;
  background: #e3e9e4;
  border-radius: 6px;
}

.region-tabs button,
.region-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 12px;
  gap: 8px;
  color: #52615c;
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.region-tabs button svg,
.region-tab svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.region-tabs button:hover,
.region-tab:hover {
  color: var(--forest-dark);
}

.region-tabs button.is-active,
.region-tabs button[aria-selected="true"],
.region-tab.is-active {
  color: #fff;
  background: var(--forest);
  box-shadow: 0 2px 8px rgb(12 74 54 / 18%);
}

.tab-panel {
  animation: content-in 260ms ease both;
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.place-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease,
    transform 180ms ease;
}

.place-item:hover {
  border-color: #a9c3b8;
  box-shadow: 0 10px 30px rgb(12 74 54 / 10%);
  transform: translateY(-2px);
}

.place-item__media,
.place-media,
.image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dce5df;
}

.place-item__media img,
.place-media img,
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.place-item:hover img {
  transform: scale(1.035);
}

.place-item__body,
.place-content {
  display: flex;
  flex-direction: column;
  padding: 13px 14px 15px;
}

.place-item h3,
.place-title {
  margin: 0 0 6px;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
}

.place-item p,
.place-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.place-sources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 9px;
  gap: 10px;
}

.place-sources a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--forest-dark);
  font-size: 10px;
  font-weight: 760;
  line-height: 1.3;
}

.place-sources a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.place-sources svg {
  width: 12px;
  height: 12px;
}

.place-tag {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 7px;
  overflow: hidden;
  color: var(--deep-green);
  background: var(--yellow);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.place-illustration {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-items: center;
  padding: 18px 18px 16px;
  overflow: hidden;
  color: #173f35;
  background-color: #dce9df;
  background-image:
    linear-gradient(rgba(23, 63, 53, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 63, 53, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.place-illustration::before {
  position: absolute;
  right: -26px;
  bottom: -36px;
  width: 126px;
  height: 126px;
  border: 18px solid rgba(36, 107, 85, 0.13);
  border-radius: 50%;
  content: "";
}

.place-illustration--foods {
  color: #573126;
  background-color: #f1ddd3;
  background-image:
    linear-gradient(rgba(136, 71, 48, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(136, 71, 48, 0.08) 1px, transparent 1px);
}

.place-illustration--foods::before {
  border-color: rgba(188, 86, 55, 0.14);
}

.place-illustration > svg {
  align-self: end;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  stroke-width: 1.7;
}

.place-illustration__eyebrow {
  justify-self: end;
  color: currentColor;
  font-size: 9px;
  font-weight: 820;
}

.place-illustration strong,
.place-illustration small {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.place-illustration strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.2;
}

.place-illustration small {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 720;
  opacity: 0.68;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px;
  gap: 9px;
  color: #52635c;
  background: #dfe7e1;
  text-align: center;
}

.image-fallback svg {
  width: 28px;
  height: 28px;
  color: var(--forest);
}

.image-fallback strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.image-fallback span {
  font-size: 10px;
  line-height: 1.4;
}

.image-frame.is-error img,
.place-item.is-image-error img,
img.is-error {
  visibility: hidden;
}

.region-pending,
.coming-soon {
  margin-top: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.region-pending .image-frame,
.coming-soon .image-frame {
  aspect-ratio: 16 / 8;
  margin-bottom: 18px;
  border-radius: 6px;
}

.region-pending h3,
.coming-soon h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.region-pending p,
.coming-soon p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* European three-image gallery */

.gallery-view {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #09110f;
}

.gallery-stage,
.gallery-track {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.gallery-slide,
.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border-right: 1px solid rgb(255 255 255 / 16%);
}

.gallery-slide:last-child,
.gallery-item:last-child {
  border-right: 0;
}

.gallery-slide img,
.gallery-item img {
  width: 100%;
  height: 100vh;
  height: 100svh;
  max-width: none;
  filter: brightness(0.68) saturate(0.9);
  transition: filter 360ms ease, transform 700ms ease;
}

.gallery-slide:hover img,
.gallery-item:hover img,
.gallery-slide.is-active img,
.gallery-item.is-active img {
  filter: brightness(0.84) saturate(1.03);
  transform: scale(1.018);
}

.gallery-slide::after,
.gallery-item::after {
  position: absolute;
  inset: 0;
  background: rgb(3 18 15 / 12%);
  pointer-events: none;
  content: "";
}

.gallery-caption {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 24px;
  left: 22px;
  padding-top: 12px;
  color: rgb(255 255 255 / 84%);
  border-top: 1px solid rgb(255 255 255 / 34%);
  font-size: 12px;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgb(0 0 0 / 60%);
}

.gallery-overlay {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 48px) 48px 40px;
  pointer-events: none;
}

.gallery-copy {
  width: min(550px, 48vw);
  padding-left: 20px;
  border-left: 5px solid var(--yellow);
  text-shadow: 0 2px 22px rgb(0 0 0 / 64%);
}

.gallery-copy h1 {
  margin: 0 0 14px;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: 0;
}

.gallery-copy p {
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 15px;
  line-height: 1.75;
}

.gallery-kicker {
  color: var(--sky);
}

.gallery-controls {
  align-self: flex-end;
  padding: 8px;
  color: #fff;
  background: rgb(4 25 21 / 76%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.gallery-controls .icon-button {
  background: transparent;
}

.gallery-index {
  width: 58px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  font-size: 12px;
  font-weight: 760;
}

.gallery-view .image-fallback {
  color: rgb(255 255 255 / 78%);
  background: #19342e;
}

.gallery-view .image-fallback svg {
  color: var(--yellow);
}

/* Loading, empty and error states */

.loading-screen {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background: var(--deep-green);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.loading-screen.is-complete {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loading-screen__content {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.loading-screen__mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--deep-green);
  background: var(--yellow);
  border-radius: 50%;
  animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
  50% {
    transform: scale(0.92);
    opacity: 0.72;
  }
}

.empty-state,
.error-state {
  display: grid;
  min-height: 260px;
  align-content: center;
  justify-items: center;
  padding: 32px;
  gap: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.empty-state svg,
.error-state svg {
  width: 32px;
  height: 32px;
  color: var(--coral);
}

.empty-state h2,
.error-state h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.empty-state p,
.error-state p {
  max-width: 42em;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

/* Credits */

.site-footer {
  padding: 20px 34px;
  color: #718079;
  background: #edf1ec;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.7;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  gap: 24px;
}

.site-footer a {
  color: var(--forest-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.globe-view .site-footer,
.gallery-view .site-footer {
  position: absolute;
  z-index: 8;
  right: 16px;
  bottom: 10px;
  width: auto;
  padding: 0;
  color: rgb(255 255 255 / 46%);
  background: transparent;
  border: 0;
  pointer-events: auto;
}

.globe-view .site-footer a,
.gallery-view .site-footer a {
  color: rgb(255 255 255 / 68%);
}

/* Medium desktop and tablet */

@media (max-width: 1180px) {
  .globe-overlay {
    padding-right: 32px;
    padding-left: 32px;
  }

  .globe-copy h1 {
    font-size: 48px;
  }

  .country-layout,
  .country-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  }

  .region-panel {
    padding-right: 26px;
    padding-left: 26px;
  }

  .gallery-overlay {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 66px;
  }

  .app-header {
    padding: 0 22px;
  }

  .country-picker {
    width: min(350px, calc(100vw - 330px));
    min-width: 250px;
  }

  .globe-overlay {
    grid-template-columns: minmax(260px, 430px) 300px;
    padding-bottom: 38px;
  }

  .country-layout,
  .country-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  }

  .country-heading {
    max-width: 78%;
  }

  .place-grid {
    grid-template-columns: 1fr;
  }

  .gallery-copy h1 {
    font-size: 44px;
  }
}

/* Country content becomes a vertical map-and-guide flow. */

@media (max-width: 820px) {
  body,
  body:has(.country-view.is-active) {
    overflow-y: auto;
  }

  .app-header {
    padding: 0 16px;
  }

  .brand-mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .header-actions .button-label {
    display: none;
  }

  .header-actions .back-button {
    width: 44px;
    padding: 0;
  }

  .country-picker {
    top: auto;
    right: 16px;
    bottom: 20px;
    left: 16px;
    width: auto;
    min-width: 0;
    height: 50px;
    padding-right: 14px;
    padding-left: 16px;
    transform: none;
  }

  .globe-overlay {
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    padding: calc(var(--header-height) + 32px) 24px 94px;
  }

  .globe-copy {
    align-self: start;
    max-width: 390px;
    margin-top: 12px;
  }

  .globe-copy h1 {
    font-size: 42px;
  }

  .globe-copy p {
    font-size: 15px;
  }

  .globe-status {
    display: none;
  }

  .fallback-world {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 30px 22px 100px;
  }

  .fallback-map {
    max-height: 42vh;
  }

  .fallback-country-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .country-layout,
  .country-shell {
    display: block;
    min-height: 0;
  }

  .country-map-pane {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid #c4dadd;
  }

  .map-shell {
    min-height: 0;
  }

  .map-topbar {
    top: 16px;
    right: 16px;
    left: 16px;
  }

  .country-heading {
    max-width: min(440px, 76%);
    padding: 12px 14px;
  }

  .country-heading h1,
  .country-heading h2 {
    font-size: 22px;
  }

  .country-heading p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .map-legend {
    right: 16px;
    bottom: 14px;
  }

  .region-panel {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 28px 24px 42px;
  }

  .place-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__inner {
    display: block;
  }

  .site-footer__inner > * + * {
    margin-top: 8px;
  }

  .gallery-stage,
  .gallery-track {
    display: block;
  }

  .gallery-slide,
  .gallery-item {
    position: absolute;
    inset: 0;
    visibility: hidden;
    width: 100%;
    opacity: 0;
    border: 0;
    transition: opacity 360ms ease, visibility 360ms ease;
  }

  .gallery-slide.is-active,
  .gallery-item.is-active,
  .gallery-slide[aria-hidden="false"],
  .gallery-item[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
  }

  .gallery-slide img,
  .gallery-item img {
    filter: brightness(0.65) saturate(0.9);
  }

  .gallery-caption {
    right: 24px;
    bottom: 98px;
    left: 24px;
  }

  .gallery-overlay {
    padding: calc(var(--header-height) + 36px) 24px 30px;
  }

  .gallery-copy {
    width: min(540px, 82vw);
  }

  .gallery-controls {
    align-self: center;
  }
}

/* Phones */

@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  .app-header {
    padding: 0 14px;
  }

  .brand-lockup {
    gap: 9px;
    font-size: 15px;
  }

  .brand-mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .icon-button,
  .header-actions .back-button {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .globe-overlay {
    padding: calc(var(--header-height) + 22px) 18px 88px;
  }

  .globe-copy {
    max-width: min(340px, 87vw);
    margin-top: 14px;
    padding-left: 15px;
    border-left-width: 4px;
  }

  .globe-copy h1 {
    margin-bottom: 12px;
    font-size: 35px;
    line-height: 1.08;
  }

  .globe-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .globe-kicker,
  .country-kicker,
  .region-eyebrow,
  .gallery-kicker {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .country-picker {
    top: auto;
    right: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    min-width: 0;
    height: 48px;
    transform: none;
  }

  .country-picker label {
    display: none;
  }

  .fallback-world {
    padding: 24px 14px 88px;
    gap: 24px;
  }

  .fallback-country-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .country-map-pane {
    aspect-ratio: 4 / 3;
  }

  .map-topbar {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  .country-heading {
    max-width: calc(100% - 54px);
    padding: 10px 12px;
  }

  .country-heading h1,
  .country-heading h2 {
    margin-bottom: 2px;
    font-size: 18px;
  }

  .country-heading p {
    display: none;
  }

  .country-heading .country-kicker {
    margin-bottom: 4px;
  }

  .map-controls {
    flex-direction: column;
    gap: 6px;
  }

  .map-controls .icon-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .map-legend {
    right: 10px;
    bottom: 9px;
    padding: 7px 8px;
    gap: 8px;
    font-size: 9px;
  }

  .legend-swatch {
    width: 10px;
    height: 10px;
  }

  .region-panel {
    padding: 22px 16px 36px;
  }

  .content-toolbar {
    margin-bottom: 22px;
  }

  .content-toolbar .back-button {
    width: 44px;
    padding: 0;
  }

  .content-toolbar .back-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .region-picker {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 230px;
  }

  .region-panel h1,
  .region-panel h2,
  .region-title {
    font-size: 29px;
  }

  .region-intro,
  .region-panel > header p,
  .region-header p {
    font-size: 14px;
    line-height: 1.7;
  }

  .region-summary {
    padding: 14px 15px;
  }

  .region-tabs {
    position: sticky;
    z-index: 6;
    top: calc(var(--header-height) + 8px);
    box-shadow: 0 5px 16px rgb(20 34 30 / 8%);
  }

  .place-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .place-item {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 116px;
  }

  .place-item__media,
  .place-media,
  .place-item > .image-frame {
    height: 100%;
    min-height: 116px;
    aspect-ratio: auto;
  }

  .place-item__body,
  .place-content {
    align-self: center;
    padding: 12px;
  }

  .place-item p,
  .place-description {
    -webkit-line-clamp: 2;
  }

  .place-tag {
    top: 8px;
    left: 8px;
  }

  .gallery-overlay {
    padding: calc(var(--header-height) + 26px) 18px 22px;
  }

  .gallery-copy {
    width: min(360px, 89vw);
    padding-left: 14px;
    border-left-width: 4px;
  }

  .gallery-copy h1 {
    margin-bottom: 10px;
    font-size: 36px;
  }

  .gallery-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .gallery-caption {
    right: 18px;
    bottom: 88px;
    left: 18px;
    font-size: 11px;
  }

  .gallery-controls {
    padding: 5px;
  }

  .globe-view .site-footer,
  .gallery-view .site-footer {
    display: none;
  }

  .site-footer {
    padding: 18px 16px;
  }
}

@media (max-width: 400px) {
  .brand-name {
    max-width: 110px;
  }

  .globe-copy {
    max-width: 300px;
  }

  .globe-copy h1 {
    font-size: 31px;
  }

  .globe-copy p {
    max-width: 29em;
    font-size: 12px;
  }

  .country-picker {
    font-size: 13px;
  }

  .country-map-pane {
    aspect-ratio: 1 / 1;
  }

  .country-heading {
    max-width: calc(100% - 48px);
  }

  .country-heading h1,
  .country-heading h2 {
    font-size: 16px;
  }

  .map-controls .icon-button {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .map-legend .legend-item:first-child {
    display: none;
  }

  .region-panel {
    padding-right: 14px;
    padding-left: 14px;
  }

  .region-panel h1,
  .region-panel h2,
  .region-title {
    font-size: 27px;
  }

  .region-meta > div,
  .meta-item {
    padding-right: 8px;
  }

  .region-meta > div + div,
  .meta-item + .meta-item {
    padding-left: 10px;
  }

  .region-tabs button,
  .region-tab {
    padding: 0 8px;
    font-size: 12px;
  }

  .place-item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .place-item__media,
  .place-media,
  .place-item > .image-frame {
    min-height: 112px;
  }

  .gallery-copy h1 {
    font-size: 32px;
  }
}

@media (max-height: 650px) and (min-width: 821px) {
  .globe-overlay {
    padding-bottom: 24px;
  }

  .globe-copy h1 {
    margin-bottom: 10px;
    font-size: 42px;
  }

  .globe-copy p {
    font-size: 14px;
    line-height: 1.55;
  }

  .country-map-pane {
    min-height: 0;
  }

  .gallery-overlay {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 20px;
  }

  .gallery-copy h1 {
    font-size: 38px;
  }
}

@media (hover: none), (pointer: coarse) {
  .icon-button,
  .back-button,
  .primary-button,
  .secondary-button,
  .region-tabs button,
  .region-tab,
  .fallback-country-list button {
    min-height: 44px;
  }

  .place-item:hover,
  .place-item:hover img,
  .gallery-slide:hover img,
  .gallery-item:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .globe-copy,
  .gallery-copy,
  .country-heading,
  .region-summary {
    border: 1px solid CanvasText;
  }

  .country-map path,
  .map-shell .region-shape,
  .map-shell path[data-region] {
    fill: Canvas;
    stroke: CanvasText;
  }

  .country-map path.is-active,
  .map-shell .region-shape.is-active,
  .map-shell path[aria-current="true"] {
    fill: Highlight;
  }
}

/* Concrete page markup integration */

figure {
  margin: 0;
}

.brand-symbol {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--deep-green);
  background: var(--yellow);
  border-radius: 50%;
}

.brand-symbol svg {
  width: 20px;
  height: 20px;
}

.brand-lockup > span:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.brand-lockup strong {
  overflow: hidden;
  font-size: 16px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-lockup small {
  overflow: hidden;
  color: currentColor;
  font-size: 8px;
  font-weight: 720;
  line-height: 1;
  opacity: 0.56;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overline {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 820;
  line-height: 1.4;
  letter-spacing: 0;
}

.globe-view > .globe-copy {
  position: absolute;
  z-index: 6;
  bottom: 46px;
  left: 48px;
  width: min(470px, calc(100% - 96px));
  pointer-events: none;
}

.globe-view > .globe-status {
  position: absolute;
  z-index: 7;
  right: 48px;
  bottom: 46px;
  display: flex;
  align-items: center;
  width: 300px;
  min-height: 76px;
  padding: 14px 16px;
  gap: 14px;
}

.globe-status .status-index {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--deep-green);
  background: var(--sky);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 840;
}

.globe-status > span:last-child {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.globe-status strong,
.globe-status small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.globe-status strong {
  font-size: 13px;
}

.globe-status small {
  color: rgb(255 255 255 / 62%);
  font-size: 11px;
}

.globe-view > .map-tooltip,
.map-shell > .map-tooltip {
  position: absolute;
  top: 0;
  left: 0;
}

.map-tooltip span {
  display: block;
  margin-top: 3px;
  color: rgb(255 255 255 / 64%);
  font-size: 10px;
  font-weight: 620;
}

.fallback-world {
  display: block;
  width: 100%;
  height: calc(100% - var(--header-height));
  padding: 0;
  background: #09241f;
}

.fallback-world path {
  fill: #245548;
  stroke: rgb(220 239 241 / 38%);
  stroke-width: 0.75;
}

.fallback-world path.is-supported {
  fill: var(--forest);
  stroke: rgb(255 255 255 / 78%);
  stroke-width: 1.15;
  cursor: pointer;
}

.fallback-world path.is-supported[data-tier="gallery"] {
  fill: #287d82;
}

.fallback-world path.is-supported:hover,
.fallback-world path.is-supported:focus {
  fill: var(--coral);
}

.country-view {
  position: relative;
}

.country-topbar {
  position: absolute;
  z-index: 12;
  top: calc(var(--header-height) + 24px);
  left: max(24px, calc((100vw - var(--content-max)) / 2 + 24px));
  display: flex;
  align-items: flex-start;
  width: min(900px, calc(64vw - 48px));
  gap: 12px;
  pointer-events: none;
}

.country-topbar > * {
  pointer-events: auto;
}

.country-topbar .back-button {
  flex: 0 0 auto;
  color: var(--forest-dark);
  background: rgb(255 255 255 / 92%);
  border-color: #b9cbc3;
  box-shadow: 0 8px 24px rgb(12 74 54 / 10%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.country-topbar .country-heading {
  flex: 1 1 auto;
  max-width: 520px;
}

.country-heading > p {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 820;
  line-height: 1.3;
}

.country-heading > span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.country-map-pane > .region-picker {
  position: absolute;
  z-index: 8;
  bottom: 22px;
  left: 24px;
  width: min(230px, calc(100% - 220px));
  box-shadow: 0 8px 24px rgb(12 74 54 / 10%);
}

.map-shell .region-shape.is-selected,
.map-shell path.region-shape.is-selected {
  fill: var(--coral);
  stroke: #7f2e29;
  stroke-width: 2;
}

.region-marker {
  fill: var(--forest-dark);
  stroke: #fff;
  stroke-width: 2;
}

.region-label {
  fill: #173d32;
  paint-order: stroke;
  stroke: rgb(255 255 255 / 88%);
  stroke-width: 3px;
  stroke-linejoin: round;
  font-size: 11px;
  font-weight: 820;
}

.map-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  background: #e7eee8;
  border: 1px solid #668a7d;
  border-radius: 2px;
}

.legend-dot--featured {
  background: var(--yellow);
}

.region-panel > .region-summary {
  margin: 0;
  padding: 0 0 26px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.region-summary > .overline {
  color: var(--coral);
}

.region-summary > h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.12;
}

.region-summary > p:not(.overline) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.region-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.region-facts > span {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-content: start;
  padding: 14px 12px 14px 0;
  column-gap: 7px;
}

.region-facts > span + span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.region-facts svg {
  grid-row: span 2;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--forest);
}

.region-facts b {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.3;
}

.region-facts em {
  min-width: 0;
  margin-top: 4px;
  color: var(--forest-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.region-content {
  padding-top: 24px;
}

.region-content .content-toolbar {
  min-height: 44px;
  margin: 0 0 18px;
}

.content-toolbar > .region-tabs {
  flex: 1 1 auto;
  width: auto;
  max-width: 300px;
  margin: 0;
}

.content-toolbar > span {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 720;
}

.place-item > div:last-child {
  padding: 13px 14px 15px;
}

.place-image > span {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--deep-green);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 840;
}

.image-frame.has-image-error::before,
.gallery-stage.has-image-error::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 20px;
  color: #52635c;
  background: #dfe7e1;
  text-align: center;
  content: "图片暂时无法加载";
}

.image-frame.has-image-error::after,
.gallery-stage.has-image-error::after {
  position: absolute;
  z-index: 3;
  top: calc(50% + 20px);
  right: 18px;
  left: 18px;
  overflow: hidden;
  color: #6b7772;
  font-size: 10px;
  font-weight: 720;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  content: attr(data-fallback-label);
}

.region-coming {
  padding-top: 24px;
}

.region-coming .coming-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  border-radius: 6px;
}

.region-coming figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  text-align: right;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgb(0 0 0 / 72%);
  white-space: nowrap;
}

.region-coming > p {
  margin: 0;
  padding: 18px 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
}

.gallery-view > .gallery-stage {
  position: absolute;
  display: block;
  inset: 0;
}

.gallery-stage > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  max-width: none;
  filter: brightness(0.68) saturate(0.92);
  transition: opacity 260ms ease, filter 360ms ease, transform 700ms ease;
}

.gallery-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(3 18 15 / 20%);
  pointer-events: none;
}

.gallery-header {
  position: absolute;
  z-index: 8;
  top: calc(var(--header-height) + 22px);
  right: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-header > * {
  pointer-events: auto;
}

.back-button--light,
.icon-button--light {
  color: #fff;
  background: rgb(4 25 21 / 62%);
  border-color: rgb(255 255 255 / 34%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-counter {
  padding: 9px 11px;
  color: #fff;
  background: rgb(4 25 21 / 62%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-view > .gallery-copy {
  position: absolute;
  z-index: 6;
  bottom: 42px;
  left: 48px;
  width: min(540px, calc(100vw - 400px));
}

.gallery-copy > span {
  display: block;
  margin-top: 20px;
  padding-top: 12px;
  color: rgb(255 255 255 / 74%);
  border-top: 1px solid rgb(255 255 255 / 30%);
  font-size: 12px;
  line-height: 1.5;
}

.gallery-view > .gallery-controls {
  position: absolute;
  z-index: 8;
  right: 48px;
  bottom: 42px;
}

.gallery-progress {
  display: grid;
  grid-template-columns: repeat(3, 24px);
  align-items: center;
  gap: 5px;
}

.gallery-progress span {
  display: block;
  width: 100%;
  height: 3px;
  background: rgb(255 255 255 / 24%);
  border-radius: 2px;
}

.gallery-progress span.is-active {
  background: var(--yellow);
}

.loading-screen {
  align-content: center;
  justify-items: center;
  gap: 11px;
}

.loading-mark {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border: 2px solid rgb(255 255 255 / 16%);
  border-top-color: var(--yellow);
  border-right-color: var(--sky);
  border-radius: 50%;
  animation: spin 950ms linear infinite;
}

.loading-mark::after {
  position: absolute;
  inset: 12px;
  background: var(--coral);
  border-radius: 50%;
  content: "";
}

.loading-screen > strong {
  font-size: 17px;
}

.loading-screen > span:last-child {
  color: rgb(255 255 255 / 58%);
  font-size: 12px;
}

.toast {
  position: fixed;
  z-index: 1000;
  bottom: 24px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 11px 15px;
  visibility: hidden;
  color: #fff;
  background: #14362e;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgb(0 0 0 / 20%);
  opacity: 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

body[data-view="country"] #reset-globe,
body[data-view="gallery"] #reset-globe {
  display: none;
}

body[data-view="country"] .country-picker,
body[data-view="gallery"] .country-picker {
  display: none;
}

@media (max-width: 820px) {
  .globe-view > .globe-copy {
    top: calc(var(--header-height) + 44px);
    bottom: auto;
    left: 24px;
    width: min(390px, calc(100% - 48px));
  }

  .globe-view > .globe-status {
    display: none;
  }

  .country-topbar {
    top: calc(var(--header-height) + 14px);
    right: 16px;
    left: 16px;
    width: auto;
  }

  .country-topbar .country-heading {
    max-width: min(440px, calc(100% - 56px));
  }

  .country-map-pane > .region-picker {
    right: auto;
    bottom: 14px;
    left: 16px;
    width: min(210px, calc(100% - 210px));
  }

  .gallery-view > .gallery-copy {
    bottom: 112px;
    left: 24px;
    width: min(540px, calc(100% - 48px));
  }

  .gallery-view > .gallery-controls {
    right: 24px;
    bottom: 24px;
  }
}

@media (max-width: 640px) {
  .brand-symbol {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .brand-lockup strong {
    font-size: 14px;
  }

  .globe-view > .globe-copy {
    top: calc(var(--header-height) + 32px);
    left: 18px;
    width: min(340px, calc(100% - 36px));
  }

  .country-topbar {
    top: calc(var(--header-height) + 10px);
    right: 12px;
    left: 12px;
    gap: 8px;
  }

  .country-topbar .back-button {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .country-topbar .back-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .country-topbar .country-heading {
    max-width: calc(100% - 48px);
  }

  .country-map-pane > .region-picker {
    bottom: 10px;
    left: 12px;
    width: min(175px, calc(100% - 150px));
    height: 40px;
  }

  .region-summary > h2 {
    font-size: 29px;
  }

  .region-summary > p:not(.overline) {
    font-size: 14px;
  }

  .region-content .content-toolbar {
    position: sticky;
    z-index: 6;
    top: calc(var(--header-height) + 8px);
    padding: 4px;
    background: var(--paper);
  }

  .content-toolbar > .region-tabs {
    position: static;
    max-width: none;
    box-shadow: none;
  }

  .place-item > div:last-child {
    align-self: center;
    padding: 12px;
  }

  .gallery-header {
    top: calc(var(--header-height) + 14px);
    right: 16px;
    left: 16px;
  }

  .gallery-view > .gallery-copy {
    bottom: 104px;
    left: 18px;
    width: calc(100% - 36px);
  }

  .gallery-copy > span {
    margin-top: 12px;
    padding-top: 9px;
    font-size: 11px;
  }

  .gallery-view > .gallery-controls {
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .toast {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 400px) {
  .brand-lockup > span:last-child {
    max-width: 78px;
  }

  .country-topbar .country-heading {
    padding: 8px 10px;
  }

  .country-map-pane > .region-picker {
    width: 158px;
    max-width: calc(100% - 126px);
  }

  .region-facts > span {
    grid-template-columns: 17px minmax(0, 1fr);
    padding-right: 7px;
    column-gap: 5px;
  }

  .region-facts > span + span {
    padding-left: 9px;
  }

  .region-facts svg {
    width: 15px;
    height: 15px;
  }

  .gallery-view > .gallery-copy {
    bottom: 98px;
  }

  .gallery-progress {
    grid-template-columns: repeat(3, 17px);
  }
}
