/* ══════════════════════════════════════════════════════════════════════════
   HejMap v2 — landing page (preview). Requires css/v2/base.css.
   ══════════════════════════════════════════════════════════════════════════ */

.v2 [hidden] { display: none !important; }
/* The landing page uses a wider column; the header, tour and sections all share it. */
.v2-home { --col-max: 1560px; --col-pad: 24px; }
@media (max-width: 899px) { .v2-home { --col-pad: 20px; } }
@media (max-width: 640px) { .v2-home { --col-pad: 12px; } }
.v2-home main { display: block; }

.v2-section { padding: 26px 0; scroll-margin-top: calc(var(--nav-h) + 8px); }



.v2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px 0 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.v2-hero-badge:hover { border-color: var(--line-strong); color: var(--text); }
.v2-hero-badge .v2-new { border-radius: 999px; padding: 3px 8px; }
.v2-hero-badge svg { width: 13px; height: 13px; color: var(--text-3); }

.v2-hero-sub {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

/* Search */
.v2-search {
  position: relative;
  z-index: 20;
  max-width: 600px;
  margin: 30px auto 0;
  text-align: left;
}
.v2-search-icon {
  position: absolute;
  left: 17px;
  top: 26px;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transform: translateY(-50%);
  pointer-events: none;
}
.v2-search-input {
  width: 100%;
  height: 52px;
  padding: 0 52px 0 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.v2-search-input::-webkit-search-cancel-button { display: none; }
.v2-search-input::placeholder { color: var(--text-3); }
.v2-search-input:focus {
  border-color: color-mix(in srgb, var(--blue) 60%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent), var(--shadow-sm);
}
.v2-search:focus-within .v2-search-icon { color: var(--blue); }
.v2-search-kbd {
  position: absolute;
  right: 14px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 12px;
  transform: translateY(-50%);
}
.v2-search:focus-within .v2-search-kbd { opacity: 0; }

.lv-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.lv-suggest.open { display: block; }
.lv-suggest-head { padding: 6px 10px 4px; color: var(--text-3); font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.lv-suggest-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
}
.lv-suggest-item:hover,
.lv-suggest-item[aria-selected="true"] { background: var(--surface-2); }
.lv-suggest-item .hej-flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.lv-suggest-icon { display: grid; place-items: center; width: 20px; color: var(--blue); }
.lv-suggest-icon svg { width: 15px; height: 15px; }
.lv-suggest-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; }
.lv-suggest-badge {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-3);
  font-size: 10.5px;
  font-weight: 550;
  white-space: nowrap;
}

/* Explore chips */
.v2-explore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 680px;
  margin: 14px auto 0;
}
.v2-explore-label { color: var(--text-3); font-size: 12px; font-weight: 500; }
.v2-explore-chips { display: contents; }








/* Proof pills */
.v2-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.v2-stats a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 12.5px;
  text-decoration: none;
}
.v2-stats a:hover { border-color: var(--line-strong); color: var(--text); }
.v2-stats b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }

.v2-new {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-pill--link { text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.v2-pill--link:hover { border-color: var(--line-strong); color: var(--text); }


.v2-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 300px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.v2-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  margin-bottom: 12px;
}
.v2-panel-foot { margin-top: auto; padding-top: 14px; }


/* Quiz (js/home-daily.js) */
.home-daily-question { margin: 0 0 12px; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.home-daily-question strong { color: var(--blue); font-weight: 700; }
.home-daily-run-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: 12px;
}
#homeDailyRunTopic { flex: 1; color: var(--text); font-weight: 600; }
#homeDailyRunProgress { font-variant-numeric: tabular-nums; }
.home-daily-back {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
}
.home-daily-back:hover { background: var(--surface-2); color: var(--text); }
.home-daily-back svg { width: 14px; height: 14px; }
.home-daily-run-controls { display: flex; align-items: center; gap: 10px; }
.home-daily.is-round .home-daily-run { margin-bottom: 12px; }
.home-daily-steps { display: flex; flex: 1; gap: 4px; }
.home-daily-steps span {
  display: grid;
  place-items: center;
  flex: 1;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 10.5px;
  font-weight: 600;
}
.home-daily-steps span svg { width: 12px; height: 12px; }
.home-daily-steps .is-current { border-color: var(--text); color: var(--text); background: var(--surface); }
.home-daily-steps .is-correct { border-color: color-mix(in srgb, var(--good) 40%, transparent); background: color-mix(in srgb, var(--good) 12%, var(--surface)); color: var(--good); }
.home-daily-steps .is-wrong { border-color: color-mix(in srgb, var(--bad) 40%, transparent); background: color-mix(in srgb, var(--bad) 10%, var(--surface)); color: var(--bad); }
.home-daily-next {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.home-daily-next:hover { background: color-mix(in srgb, var(--text) 86%, var(--surface)); }

.home-daily.is-choosing-topic .home-daily-run-meta,
.home-daily.is-choosing-topic .home-daily-steps { display: none; }
.home-daily-topic-picker { display: grid; flex: 1; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-daily-topic-picker button {
  display: grid;
  justify-items: start;
  gap: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.home-daily-topic-picker button:hover { background: var(--surface); border-color: var(--line-strong); transform: translateY(-1px); }
.home-daily-topic-icon { width: 20px; height: 20px; margin-bottom: 8px; color: var(--blue); }
.home-daily-topic-name { font-size: 14px; font-weight: 650; }
.home-daily-topic-detail { color: var(--text-3); font-size: 11.5px; }

.home-daily-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-daily-choices:empty { display: none; }
.home-daily-choice {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, opacity 0.2s;
}
.home-daily-choice:not(:disabled):hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-1px); }
.home-daily-flag .hej-flag { width: 32px; height: 22px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.home-daily-name { max-width: 100%; overflow: hidden; font-size: 13.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.home-daily-value { min-height: 16px; color: var(--text-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.home-daily-choice:disabled { cursor: default; }
.home-daily-choice.is-winner { border-color: color-mix(in srgb, var(--good) 55%, transparent); background: color-mix(in srgb, var(--good) 8%, var(--surface)); }
.home-daily-choice.is-wrong { opacity: 0.72; }
.home-daily-choice.is-wrong.is-selected { opacity: 1; border-color: color-mix(in srgb, var(--bad) 55%, transparent); background: color-mix(in srgb, var(--bad) 7%, var(--surface)); }
.home-daily-result-mark {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bad);
  color: #fff;
}
.is-winner .home-daily-result-mark { background: var(--good); }
.home-daily-result-mark svg { width: 11px; height: 11px; }

.home-daily-response { margin-top: auto; padding-top: 12px; }
.home-daily-feedback { color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
.home-daily-summary { display: flex; align-items: center; gap: 8px; }
.home-daily-summary strong { color: var(--text); }
.home-daily-answer-icon { display: grid; place-items: center; flex: 0 0 18px; height: 18px; border-radius: 50%; color: #fff; }
.home-daily-feedback.is-correct .home-daily-answer-icon { background: var(--good); }
.home-daily-feedback.is-wrong .home-daily-answer-icon { background: var(--bad); }
.home-daily-answer-icon svg { width: 10px; height: 10px; }
.home-daily.is-results .home-daily-copy,
.home-daily.is-results .home-daily-response { display: none; }

.home-daily-results { display: grid; justify-items: center; gap: 6px; margin: auto 0; text-align: center; }
.home-daily-results-topic { color: var(--text-3); font-size: 11px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.home-daily-results h3 { margin: 0; font-size: 16px; font-weight: 650; }
.home-daily-results-score { display: flex; align-items: baseline; gap: 6px; color: var(--text-2); font-size: 13px; }
.home-daily-results-score strong { color: var(--text); font-size: 40px; font-weight: 750; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.home-daily-results-marks { display: flex; gap: 4px; }
.home-daily-results-marks span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; color: #fff; }
.home-daily-results-marks .is-correct { background: var(--good); }
.home-daily-results-marks .is-wrong { background: var(--bad); }
.home-daily-results-marks svg { width: 12px; height: 12px; }
.home-daily-results p { margin: 2px 0 6px; color: var(--text-2); font-size: 13px; }
.home-daily-results-actions { display: flex; gap: 8px; }


/* ── Map cards ────────────────────────────────────────────────────────────── */
.v2-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v2-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.v2-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.v2-card-head { display: flex; align-items: center; gap: 11px; }
.v2-card-head strong { min-width: 0; font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; }
.v2-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--tone, var(--blue)) 20%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--tone, var(--blue)) 9%, var(--surface));
  color: var(--tone, var(--blue));
}
.v2-card-icon svg { width: 17px; height: 17px; }
.v2-card-flag {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.v2-card-desc { color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
.v2-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.v2-card > .v2-link { margin-top: auto; padding-top: 2px; }

.v2-compare {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.v2-compare-head { display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; }
.v2-compare-head strong { font-size: 13.5px; font-weight: 650; }
.v2-compare-pairs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: 1; }
.v2-compare-pairs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.v2-compare-pairs a:hover { background: var(--surface); border-color: var(--line-strong); }
.v2-compare-pairs img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.v2-compare-pairs i { margin: 0 2px; color: var(--text-3); font-style: normal; font-size: 11px; }

/* ── Recently added rows ──────────────────────────────────────────────────── */
.v2-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.v2-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 12px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.2s;
}
.v2-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.v2-row-thumb {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 9px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, var(--g1), var(--g2));
}
.v2-row-copy { display: grid; flex: 1; min-width: 0; }
.v2-row-copy strong { overflow: hidden; font-size: 13.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.v2-row-copy small { color: var(--text-3); font-size: 11.5px; }
.v2-more { display: flex; justify-content: center; margin-top: 14px; }
.v2-more svg { transition: transform 0.2s var(--ease); }
.v2-more [aria-expanded="true"] svg { transform: rotate(180deg); }


/* ── Games ────────────────────────────────────────────────────────────────── */
.v2-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v2-game {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.v2-game:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.v2-game-media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.v2-game-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.v2-game:hover .v2-game-media img { transform: scale(1.03); }
.v2-game-body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.v2-game-body strong { font-size: 14px; font-weight: 650; }
.v2-game-body > span:not(.v2-card-tags) { color: var(--text-2); font-size: 12.5px; line-height: 1.45; }

/* ── Closing ──────────────────────────────────────────────────────────────── */
.v2-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(90deg, var(--surface) 35%, transparent),
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0 / 16px 16px,
    var(--surface);
}
.v2-closing-title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.v2-closing p { margin: 4px 0 0; color: var(--text-2); font-size: 13px; }
.v2-closing-actions { display: flex; flex-wrap: wrap; gap: 8px; }


/* ══ Country tour (js/v2/tour.js + js/v2/float.js) ════════════════════════ */

.v2-tour {
  --dock: 0px;              /* space taken by the mobile bottom bar */
  --world: 0;
  position: relative;
  height: calc(var(--tour-steps, 10) * 100svh);
  margin-top: calc(-1 * var(--nav-h));
}

.v2-tour-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* Sky + horizon */
.v2-tour-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(160% 100% at 50% 178%, var(--surface) 46%, color-mix(in srgb, var(--blue) 32%, var(--line-strong)) 46.1%, color-mix(in srgb, var(--cyan) 14%, transparent) 46.8%, transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 11%, var(--canvas)) 0%, var(--canvas) 72%);
}









/* Map layers */
.v2-tour-svg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.v2-tour-world-svg, .v2-tour-route-svg { opacity: 0; will-change: opacity; }
#tourSvg { transition: opacity 0.6s ease; }
.v2-tour-stage:not(.is-ready) #tourSvg { opacity: 0; }
.v2-tour-world path { fill: color-mix(in srgb, var(--text) 9%, var(--surface)); stroke: var(--surface); stroke-width: 0.6; vector-effect: non-scaling-stroke; pointer-events: none; transition: fill 0.15s; }
.v2-tour-stage.is-settled .v2-tour-world path.is-country { pointer-events: auto; cursor: pointer; }
.v2-tour-stage.is-settled .v2-tour-world path.is-country:hover { fill: color-mix(in srgb, var(--blue) 55%, var(--surface)); }

/* Capital pin */
.v2-tour-pin { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; }
.v2-tour-pin i {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--text) 40%, transparent);
  animation: v2-ping 2.2s ease-out infinite;
}
.v2-tour-pin span {
  position: absolute;
  left: 12px;
  top: -13px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
@keyframes v2-ping { 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.v2-tour-tip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
}

/* Text layers share one left column on wide screens */
.v2-tour-intro,
.v2-tour-panel { position: absolute; z-index: 3; left: max(var(--col-pad), calc((100% - var(--col-max)) / 2)); }

.v2-tour-intro {
  top: calc(var(--nav-h) + 9svh);
  width: min(560px, 40vw);
  will-change: opacity, transform;
}
.v2-tour-intro > * { animation: v2-rise 0.7s var(--ease) both; }
.v2-tour-intro > :nth-child(2) { animation-delay: 60ms; }
.v2-tour-intro > :nth-child(3) { animation-delay: 120ms; }
.v2-tour-intro > :nth-child(4) { animation-delay: 180ms; }
.v2-tour-intro > :nth-child(5) { animation-delay: 240ms; }
.v2-tour-title {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.v2-tour-title em {
  font-style: normal;
  color: var(--blue);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.v2-tour-title-sub {
  display: block;
  margin-top: 0.12em;
  color: var(--text-2);
  font-family: var(--serif);
  font-size: 0.62em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.v2-tour-intro .v2-hero-sub { margin: 18px 0 0; max-width: 470px; }
.v2-tour-intro .v2-search { margin: 26px 0 0; max-width: 520px; }
.v2-tour-intro .v2-stats { justify-content: flex-start; margin-top: 20px; }
.v2-tour-start {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.v2-tour-start b { color: var(--text); }
.v2-tour-start .hej-flag { width: 24px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.v2-tour-start svg { width: 16px; height: 16px; animation: v2-nudge 1.6s ease-in-out infinite; }


/* Country panel */
.v2-tour-panel {
  top: calc(var(--nav-h) + 14px);
  max-height: calc(100svh - var(--nav-h) - 14px - 96px - var(--dock));
  width: clamp(400px, 30vw, 520px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  will-change: opacity, transform;
}
.v2-tour-panel::-webkit-scrollbar { display: none; }


  
  
.v2-country-title { display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.v2-country-title .hej-flag { width: 52px; height: 37px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), var(--shadow-sm); }
.v2-country-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 0; color: var(--text-3); font-size: 12.5px; }
.v2-country-meta b { color: var(--text); font-weight: 600; }









.v2-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v2-stat {
  position: relative;
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.v2-stat:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.v2-stat-label { color: var(--text-3); font-size: 10.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; }
.v2-stat strong { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.v2-stat strong em { color: var(--text-3); font-size: 13px; font-style: normal; font-weight: 600; }
.v2-stat small { overflow: hidden; color: var(--text-2); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.v2-stat-go { position: absolute; top: 10px; right: 10px; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity 0.15s, transform 0.2s var(--ease); }
.v2-stat-go svg { width: 14px; height: 14px; }
.v2-stat:hover .v2-stat-go { opacity: 1; transform: none; }
.v2-spark { display: block; width: 100%; height: 24px; margin: 3px 0 1px; }
.v2-spark-line { fill: none; stroke: var(--blue); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.v2-spark-fill { fill: color-mix(in srgb, var(--blue) 12%, transparent); }

.v2-panel-actions { display: grid; gap: 12px; margin-top: auto; }
.v2-panel-actions .v2-btn--primary { justify-self: start; height: 38px; padding: 0 16px; }

/* Rail */
.v2-tour-rail {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: calc(18px + var(--dock));
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
}
.v2-tour-rail > button {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.v2-tour-rail > button:disabled { opacity: 0.35; cursor: default; }
.v2-tour-rail > button svg { width: 16px; height: 16px; }
.v2-rail-dots { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.v2-rail-dot {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s, transform 0.2s var(--ease);
}
.v2-rail-dot:hover { opacity: 1; }
.v2-rail-dot .hej-flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.v2-rail-dot svg { width: 17px; height: 17px; }
.v2-rail-dot.is-active { opacity: 1; border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }

.v2-tour-hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: calc(22px + var(--dock));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
  font: inherit;
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
  transform: translateX(-50%);
}
.v2-tour-hint svg { width: 15px; height: 15px; animation: v2-nudge 1.6s ease-in-out infinite; }

/* ── Daily challenge + games ─────────────────────────────────────────────── */
.v2-play { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; }
.v2-play .v2-games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Wide column: games sit in one row so they don't tower over the daily card. */
@media (min-width: 1200px) {
  .v2-play { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
  .v2-play .v2-games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .v2-cards, .v2-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-play { grid-template-columns: 1fr; }
  .v2-compare { flex-direction: column; align-items: stretch; }
  .v2-compare-head { flex-direction: row; justify-content: space-between; }
  .v2-compare-pairs { justify-content: flex-start; }
  .v2-closing { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 899px) {
  .v2-tour-intro { left: var(--col-pad); right: var(--col-pad); width: auto; top: calc(var(--nav-h) + 22px); text-align: center; }
  .v2-tour-intro .v2-hero-sub,
  .v2-tour-intro .v2-search { margin-left: auto; margin-right: auto; }
  .v2-tour-intro .v2-stats { justify-content: center; }
  .v2-tour-title { font-size: clamp(32px, 8vw, 48px); }
  .v2-tour-panel {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: calc(70px + var(--dock));
    width: auto;
    height: min(56svh, 470px);
    padding: 16px;
    gap: 11px;
    border-radius: 18px;
  }
  .v2-country-title { font-size: 26px; gap: 10px; }
  .v2-country-title .hej-flag { width: 38px; height: 27px; }
  .v2-greet { padding: 10px 12px; }
  .v2-greet-word { font-size: 44px; }
  .v2-stats-grid { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .v2-stat { flex: 0 0 150px; scroll-snap-align: start; }
  .v2-tour-rail { bottom: calc(12px + var(--dock)); }
}
@media (max-width: 640px) {
  .v2-tour { --dock: 72px; }
  .v2-tour-intro .v2-stats { display: none; }
  .v2-tour-hint { bottom: calc(14px + var(--dock)); }
  .v2-sec-head { align-items: flex-start; }
  .v2-sec-head > .v2-pill { display: none; }
  .v2-cards, .v2-rows { grid-template-columns: 1fr; }
  .v2-panel { min-height: 0; }
  .v2-search-kbd { display: none; }
}
@media (max-width: 560px) {
  .v2-games, .v2-play .v2-games { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-tour-pin i { animation: none; }
}




/* Opening view: flight route across the tour + beacon on the first stop */
.v2-tour-route { pointer-events: none; }
.v2-route-line {
  fill: none;
  stroke: color-mix(in srgb, var(--text) 55%, transparent);
  stroke-width: 1.6;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
  animation: v2-route 1.2s linear infinite;
}
.v2-route-stop { fill: var(--surface); stroke: var(--text); stroke-width: 2; }
.v2-route-stop.is-first { fill: var(--blue); stroke: var(--surface); stroke-width: 2.5; }
@keyframes v2-route { to { stroke-dashoffset: -16; } }

.v2-tour-beacon { position: absolute; left: 0; top: 0; z-index: 4; width: 0; height: 0; pointer-events: none; }
.v2-beacon-ring {
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  animation: v2-beacon 2s ease-out infinite;
}
.v2-beacon-ring--late { animation-delay: 1s; }
@keyframes v2-beacon { from { transform: scale(0.35); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.v2-beacon-label {
  position: absolute;
  left: 0;
  bottom: 30px;
  margin-left: var(--shift, 0px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  box-shadow: var(--shadow-md);
  color: var(--surface);
  font: inherit;
  font-size: 12.5px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transform: translateX(-50%);
  animation: v2-float-label 2.4s ease-in-out infinite;
}
.v2-beacon-label::after {
  content: '';
  position: absolute;
  left: calc(50% - var(--shift, 0px));
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: var(--text);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}
.v2-beacon-label b { font-weight: 700; }
.v2-beacon-label .hej-flag { width: 22px; height: 15px; border-radius: 3px; }
.v2-beacon-label svg { width: 14px; height: 14px; animation: v2-nudge 1.6s ease-in-out infinite; }
@keyframes v2-float-label { 50% { transform: translate(-50%, -4px); } }
@media (max-width: 899px) {
  .v2-beacon-label { font-size: 12px; bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-route-line, .v2-beacon-ring, .v2-beacon-label, .v2-beacon-label svg { animation: none; }
}

/* Quick way back from a country to the opening world view */
.v2-panel-back {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.v2-panel-back:hover { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.v2-panel-back svg { width: 15px; height: 15px; }
.v2-tour-rail > .v2-rail-home { color: var(--blue); }
@media (max-width: 899px) {
  .v2-panel-back { top: 12px; right: 12px; }
  .v2-panel-back span { display: none; }
  .v2-panel-back { width: 30px; padding: 0; justify-content: center; }
}

/* The panel title continues into the country page's title (view transition). */
.v2.vt-on .v2-tour-panel .v2-country-title { view-transition-name: country-title; }

/* ══ Refinements: zoom, large screens, locator, scale, route list ═════════ */
.v2-tour-canvas { position: absolute; inset: 0; z-index: 1; transform-origin: 0 0; }
.v2-tour-canvas.is-animating { transition: transform 0.4s var(--ease); }
.v2-tour-stage.is-world { touch-action: pan-y; }
.v2-tour-stage.is-zoomed { touch-action: none; cursor: grab; }
.v2-tour-stage.is-panning { cursor: grabbing; }
.v2-route-line, .v2-route-stop { vector-effect: non-scaling-stroke; }

.v2-zoom {
  position: absolute;
  z-index: 4;
  /* Bottom-right corner of the stage: the map runs edge to edge on large
     screens, so a mid-height control would sit on the continents. */
  right: 24px;
  bottom: 28px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: opacity 0.25s;
}
.v2-zoom button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.v2-zoom button + button { border-top: 1px solid var(--line); }
.v2-zoom button:hover:not(:disabled) { background: var(--surface-2); }
.v2-zoom button:disabled { color: var(--text-3); cursor: default; }
.v2-zoom svg { width: 16px; height: 16px; }

.v2-tour-scale {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 600;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.v2-tour-scale i {
  height: 7px;
  border: 2px solid var(--text-2);
  border-top: 0;
  transition: width 0.2s;
}

.v2-routelist {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stop;
}
.v2-routelist li { counter-increment: stop; }
.v2-routelist button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 10px 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 550;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s, transform 0.15s;
}
.v2-routelist button::before {
  content: counter(stop);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  color: var(--surface);
  font-size: 10px;
  font-weight: 700;
}
.v2-routelist button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.v2-routelist .hej-flag { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }

/* "Where on Earth" card in the country panel */
.v2-where {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.v2-where-map { display: block; width: 100%; height: auto; border-radius: 8px; background: color-mix(in srgb, var(--blue) 7%, var(--surface-2)); }
.v2-where-map path { fill: color-mix(in srgb, var(--text) 12%, var(--surface)); stroke: none; }
.v2-where-map .v2-where-shape { fill: var(--blue); }
.v2-where-ring { fill: none; stroke: var(--blue); stroke-width: 2.5; vector-effect: non-scaling-stroke; animation: v2-where-pulse 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.v2-where-dot { fill: var(--text); stroke: var(--surface); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@keyframes v2-where-pulse { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.v2-where-copy { display: grid; gap: 2px; min-width: 0; }
.v2-where-copy strong { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.v2-where-copy small { color: var(--text-2); font-size: 12px; line-height: 1.4; }
.v2-where-copy small b { color: var(--text); font-weight: 600; }

/* Desktop: the card hugs its content instead of stretching to the bottom. */
@media (min-width: 900px) {
  .v2-panel-actions { margin-top: 2px; }
  .v2-tour-intro { top: calc(var(--nav-h) + max(4svh, (100svh - var(--nav-h) - 560px) / 2)); }
}
/* Large displays: scale type and components up with the extra room. */
@media (min-width: 1600px) {
  .v2-tour-intro { width: min(640px, 36vw); }
  .v2-tour-title { font-size: clamp(62px, 3.9vw, 82px); }
  .v2-tour-intro .v2-hero-sub { max-width: 540px; font-size: 18px; }
  .v2-tour-intro .v2-search { max-width: 580px; }
  .v2-tour-panel { padding: 26px; gap: 16px; }
  .v2-country-title { font-size: 46px; }
  .v2-greet-word { font-size: 80px; }
  .v2-stat strong { font-size: 23px; }
  .v2-where { grid-template-columns: minmax(0, 190px) minmax(0, 1fr); }
  .v2-tour-scale { font-size: 12.5px; }
}
@media (max-width: 899px) {
  .v2-tour-scale { display: none; }
  .v2-routelist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 12px 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent); }
  .v2-routelist::-webkit-scrollbar { display: none; }
  .v2-routelist li { flex: 0 0 auto; }
  .v2-where { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); padding: 8px; }
  .v2-zoom { right: 10px; top: auto; bottom: calc(96px + var(--dock)); transform: none; }
  .v2-zoom button { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-where-ring { animation: none; }
}
.v2-where-map use { fill: color-mix(in srgb, var(--text) 16%, var(--surface)); }
/* Keep line weights constant while the map canvas is zoomed (CSS scale). */
.v2-tour-canvas .v2-route-line { stroke-width: calc(1.6px / var(--zoom, 1)); stroke-dasharray: calc(2px / var(--zoom, 1)) calc(6px / var(--zoom, 1)); }
.v2-tour-canvas .v2-route-stop { stroke-width: calc(2px / var(--zoom, 1)); r: calc(4px / var(--zoom, 1)); }
.v2-tour-canvas .v2-route-stop.is-first { stroke-width: calc(2.5px / var(--zoom, 1)); r: calc(5px / var(--zoom, 1)); }
.v2-tour-canvas .v2-tour-world path { stroke-width: calc(0.6px / var(--zoom, 1)); }
/* The locator card needs vertical room; show it on tall desktop screens. */
@media (max-height: 979px), (max-width: 899px) {
  .v2-where { display: none; }
}
/* Touch screens zoom by pinching; only offer 'reset' once zoomed. */
@media (pointer: coarse) {
  .v2-zoom [data-zoom="in"], .v2-zoom [data-zoom="out"] { display: none; }
  .v2-tour-stage:not(.is-zoomed) .v2-zoom { display: none; }
}
.v2-zoom-hint-touch { display: none; }
@media (pointer: coarse) { .v2-zoom-hint-touch { display: inline; } .v2-zoom-hint-mouse { display: none; } }
.v2-tour-hint[data-mode="end"] { bottom: calc(86px + var(--dock)); }
.v2-tour-hint[data-mode="end"] svg { transform: rotate(180deg); animation: none; }
/* Narrow screens: the trip legend already says "Scroll to travel", so the
   start pill would only crowd the flags and buttons under the map. Zoom is by
   pinch / Ctrl + scroll there; the control only appears (as reset) once zoomed. */
@media (max-width: 899px) {
  .v2-tour-hint[data-mode="start"] { display: none; }
  .v2-zoom [data-zoom="in"], .v2-zoom [data-zoom="out"] { display: none; }
  .v2-tour-stage:not(.is-zoomed) .v2-zoom { display: none; }
}

/* ══ Today's trip: coloured countries, flag pins, itinerary ═══════════════ */
.v2-stops { position: absolute; inset: 0; pointer-events: none; will-change: opacity; }
.v2-stop {
  position: absolute;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2.5px solid var(--surface);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 3px 10px -2px rgba(16, 24, 40, 0.35);
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(calc(1 / var(--zoom, 1)));
  transition: box-shadow 0.15s;
}
.v2-stop .hej-flag { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.v2-stop b {
  position: absolute;
  top: -7px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
}
.v2-stop:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 45%, transparent), 0 3px 10px -2px rgba(16, 24, 40, 0.35); }
.v2-stops.has-beacon .v2-stop.is-first { display: none; }
.v2-tour-world path.is-stop { fill: color-mix(in srgb, var(--stop) 42%, var(--surface)); }
.v2-tour-stage.is-world .v2-tour-world path.is-stop:hover { fill: color-mix(in srgb, var(--stop) 70%, var(--surface)); }

/* Itinerary under the opening map */
.v2-routelist { align-items: center; row-gap: 8px; column-gap: 4px; }
.v2-routelist button::before { content: none; }
.v2-routelist button { padding: 0 11px 0 7px; }
.v2-trip-head { display: grid; margin-right: 8px; line-height: 1.15; text-align: left; }
.v2-trip-head strong { color: var(--text); font-size: 13px; font-weight: 700; }
.v2-trip-head span { color: var(--text-3); font-size: 11px; }
.v2-trip-stop { display: flex; align-items: center; gap: 4px; }
.v2-trip-stop i { display: grid; color: var(--text-3); }
.v2-trip-stop i svg { width: 12px; height: 12px; }
.v2-trip-new { margin-left: 8px; }
.v2-routelist .v2-trip-new button { gap: 6px; padding: 0 12px; border-color: var(--text); background: var(--text); color: var(--surface); }
.v2-routelist .v2-trip-new button:hover { background: color-mix(in srgb, var(--text) 86%, var(--surface)); }
.v2-trip-new svg { width: 14px; height: 14px; }
@media (max-width: 899px) {
  .v2-stop { width: 24px; height: 24px; border-width: 2px; }
  .v2-stop b { display: none; }
  .v2-trip-head { margin-left: 4px; }
}
.v2-tour-canvas .v2-stops { z-index: 2; }


/* ── Opening world map: a colourful patchwork floating on the page ────────── */
.v2-tour-world path[data-c] { fill: color-mix(in srgb, var(--tone) var(--k, 30%), var(--surface)); }
.v2-tour-world path[data-c="eu"] { --tone: #2563eb; }
.v2-tour-world path[data-c="as"] { --tone: #e8553d; }
.v2-tour-world path[data-c="af"] { --tone: #e39a12; }
.v2-tour-world path[data-c="na"] { --tone: #7c3aed; }
.v2-tour-world path[data-c="sa"] { --tone: #16a34a; }
.v2-tour-world path[data-c="oc"] { --tone: #0891b2; }
.v2-tour-world path.is-stop { fill: var(--stop); }
.v2-tour-stage.is-settled .v2-tour-world path.is-stop:hover { fill: color-mix(in srgb, var(--stop) 80%, var(--text)); }
.v2-tour-stage.is-settled .v2-tour-world path.is-country:hover { fill: color-mix(in srgb, var(--tone, var(--blue)) 75%, var(--surface)); }
.v2-tour-world path.is-hello { fill: color-mix(in srgb, var(--tone) 72%, var(--surface)); }
:root.v2[data-theme="dark"] .v2-tour-world path[data-c] { fill: color-mix(in srgb, var(--tone) calc(var(--k, 30%) + 12%), var(--surface)); }

/* Greetings popping up around the opening map. */
.v2-hello-pop {
  position: absolute;
  z-index: 1;
  padding: 5px 11px;
  border-radius: 12px 12px 12px 3px;
  background: var(--tone, var(--text));
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--tone, #000) 70%, transparent);
  color: #fff;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.1;
  white-space: nowrap;
  transform: translate(-6px, calc(-100% - 6px));
  transform-origin: 0 100%;
  pointer-events: none;
  animation: v2-hello-in 0.45s var(--ease) both;
}
.v2-hello-pop.is-out { animation: v2-hello-out 0.45s ease both; }
@keyframes v2-hello-in { from { opacity: 0; transform: translate(-6px, calc(-100% - 6px)) scale(0.4); } }
@keyframes v2-hello-out { to { opacity: 0; transform: translate(-6px, calc(-100% - 16px)) scale(0.9); } }

/* ── Opening view, simplified: a bigger map, one line of explanation under it ── */
.v2-tour-beacon { display: none !important; }
.v2-stops.has-beacon .v2-stop.is-first { display: flex; }
@media (min-width: 900px) { .v2-tour-intro { width: min(520px, 37vw); } }
@media (min-width: 1700px) { .v2-tour-intro { width: min(640px, 34vw); } }
.v2-routelist { align-items: center; flex-wrap: nowrap; gap: 14px; }
.v2-trip-head { display: grid; gap: 2px; margin: 0; }
.v2-trip-head strong { font-size: 14px; }
.v2-trip-head span { font-size: 12.5px; }
.v2-trip-flags { display: flex; align-items: center; }
.v2-routelist .v2-trip-flags button {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -6px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  overflow: visible;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}
.v2-routelist .v2-trip-flags button:first-child { margin-left: 0; }
.v2-routelist .v2-trip-flags button:hover { z-index: 1; transform: translateY(-3px) scale(1.1); }
.v2-trip-flags .hej-flag, .v2-trip-flags img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.v2-trip-flags b { position: absolute; right: -4px; bottom: -4px; display: grid; min-width: 15px; height: 15px; place-items: center; border-radius: 999px; background: var(--text); color: var(--surface); font-size: 9.5px; font-weight: 750; }
.v2-routelist .v2-trip-go button { gap: 6px; padding: 0 14px; border-color: var(--blue); background: var(--blue); color: #fff; }
.v2-trip-go svg { width: 14px; height: 14px; }
.v2-trip-new { margin-left: 0; }
.v2-routelist .v2-trip-new button { border-color: var(--line); background: var(--surface); color: var(--text); }
.v2-routelist .v2-trip-new button:hover { background: var(--surface-2); }
@media (max-width: 899px) {
  .v2-routelist { flex-wrap: wrap; justify-content: center; }
  .v2-trip-head { text-align: center; }
}

/* ── Hero: kicker, slogan (same type as the map pages' heroes), intro copy ──── */
.v2-tour-intro { container-type: inline-size; }
.v2-tour-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.v2-tour-kicker i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.7; }
/* Matches .xp-chapter--intro .xp-chapter-title (css/v2/explore.css). */
.v2-tour-intro .v2-tour-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.v2-tour-intro .v2-tour-title > span { display: block; text-wrap: balance; }
.v2-tt-accent { color: var(--blue); }
.v2-tour-intro .v2-hero-sub {
  max-width: 44ch;
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 450;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

/* ── Under the hero: features + today's trip (fade out with the intro) ────── */
/* tour.js keeps the opening map at full size, picks how much of this block
   fits in the room left under it (data-mode: full | trip | compact | none)
   and sets its top; on wide screens map + block are centred in the stage. */
.v2-hero-more {
  position: absolute;
  z-index: 3;
  left: max(var(--col-pad), calc((100% - var(--col-max)) / 2));
  right: max(var(--col-pad), calc((100% - var(--col-max)) / 2));
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  will-change: opacity, transform;
}
.v2-hero-more > * { animation: v2-rise 0.7s var(--ease) 0.25s both; }
.v2-hero-more > :nth-child(2) { animation-delay: 0.35s; }

.v2-feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow-sm);
  list-style: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.v2-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 7px 12px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.v2-feat:hover { background: color-mix(in srgb, var(--tone) 8%, transparent); }
.v2-feat:focus-visible { outline: 2px solid var(--tone); outline-offset: 2px; }
.v2-feat-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone) 14%, var(--surface));
  color: var(--tone);
  transition: transform 0.25s var(--ease);
}
.v2-feat:hover .v2-feat-icon { transform: scale(1.07) rotate(-5deg); }
.v2-feat-icon svg { width: 22px; height: 22px; }
.v2-feat-copy { display: grid; gap: 3px; min-width: 0; }
.v2-feat-copy strong { color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.v2-feat-copy small { color: var(--text-2); font-size: 12.5px; line-height: 1.4; }

/* ══ Trip editor: "Create and share your own trip" ═════════════════════════ */
.v2-trip {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.v2-trip-bar { display: flex; align-items: center; gap: 14px; padding: 0 2px 12px; }
.v2-trip-cue2 {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  cursor: pointer;
}
.v2-trip-cue2 svg { width: 22px; height: 22px; animation: v2-nudge 1.4s ease-in-out infinite; }
.v2-trip-title { flex: 1 1 auto; min-width: 0; }
.v2-trip-title h2 { margin: 0; overflow: hidden; color: var(--text); font-size: 19px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.v2-trip-title h2 [data-trip-count] { color: var(--text-2); font-weight: 600; }
.v2-trip-title p { margin: 3px 0 0; overflow: hidden; color: var(--text-2); font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.v2-trip-title p b { color: var(--blue); font-weight: 700; }
.v2-trip-actions { display: flex; flex: none; align-items: center; gap: 8px; }
.v2-trip-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.v2-trip-btn svg { flex: none; width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.v2-trip-btn--ghost:hover { background: var(--surface-2); }
.v2-trip-btn--ghost[data-tour="shuffle"]:hover svg { transform: rotate(-14deg) scale(1.08); }
.v2-trip-btn--ghost[data-tour="fresh"]:hover svg { transform: rotate(-180deg); }
.v2-trip-btn--share { border-color: color-mix(in srgb, var(--blue) 28%, var(--line)); background: var(--blue-soft); color: var(--blue); }
.v2-trip-btn--share:hover { background: color-mix(in srgb, var(--blue) 16%, var(--surface)); }
.v2-trip-btn--share:hover svg { transform: translateY(-2px); }
.v2-trip-btn--go { padding: 0 20px; border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--blue) 70%, transparent); }
.v2-trip-btn--go:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--blue) 88%, #000); }
.v2-trip-btn--go:hover svg { transform: translateX(2px); }
.v2-trip-btn:disabled, .v2-trip-cue2:disabled { opacity: 0.4; cursor: default; transform: none; box-shadow: none; }

/* Cards: one per stop, plus "Add a stop". */
.v2-trip-cards {
  --art-h: 128px;
  display: grid;
  grid-auto-columns: minmax(176px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  margin: -4px -4px 0;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}
.v2-trip-cards::-webkit-scrollbar { display: none; }
.v2-tc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s;
}
.v2-tc[data-slot]:hover, .v2-tc[data-slot]:focus-within { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 45%, var(--line)); box-shadow: var(--shadow-md); }
.v2-tc-main {
  position: relative;
  display: block;
  width: 100%;
  height: var(--art-h);
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--tone) 22%, transparent) 1px, transparent 0) 0 0 / 12px 12px,
    linear-gradient(160deg, color-mix(in srgb, var(--tone) 9%, var(--surface)), color-mix(in srgb, var(--tone) 22%, var(--surface)));
  color: inherit;
  cursor: pointer;
}
.v2-tc-main:focus-visible { outline: 2px solid var(--tone); outline-offset: -3px; border-radius: 17px 17px 0 0; }
.v2-tc-art { position: absolute; inset: 14px 16px 12px; display: block; }
.v2-tc-art svg { display: block; width: 100%; height: 100%; overflow: visible; transition: transform 0.35s var(--ease), opacity 0.2s; }
.v2-tc-shape { fill-rule: evenodd; stroke: var(--surface); stroke-width: 1.2; stroke-linejoin: round; }
.v2-tc-shadow { fill: color-mix(in srgb, var(--text) 13%, transparent); fill-rule: evenodd; transform: translate(3px, 4px); }
.v2-tc-main:hover .v2-tc-art svg { transform: scale(1.06) rotate(-2deg); opacity: 0.55; }
/* "Start here" appears over the shape on hover. */
.v2-tc-go {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: opacity 0.18s, transform 0.18s var(--ease);
  pointer-events: none;
}
.v2-tc-go svg { width: 13px; height: 13px; }
.v2-tc-main:hover .v2-tc-go, .v2-tc-main:focus-visible .v2-tc-go { opacity: 1; transform: translate(-50%, -50%); }
.v2-tc-num {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 2;
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 12px;
  font-weight: 750;
  pointer-events: none;
}
.v2-tc-x {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
.v2-tc-x svg { width: 13px; height: 13px; }
.v2-tc-x:hover { border-color: #e8553d; background: #e8553d; color: #fff; transform: scale(1.08); }
.v2-tc-x:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
/* Footer: flag, name, continent and "Replace" (search any country for this stop). */
.v2-tc-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 9px 9px 12px; border-top: 1px solid var(--line); }
.v2-tc-foot .hej-flag { width: 24px; height: 17px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.v2-tc-label { display: grid; min-width: 0; line-height: 1.2; }
.v2-tc-label strong { overflow: hidden; color: var(--text); font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; text-overflow: ellipsis; white-space: nowrap; }
.v2-tc-label small { overflow: hidden; color: var(--text-3); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.v2-tc-replace {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px 0 9px;
  border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.v2-tc-replace svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.v2-tc-replace:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.v2-tc-replace:hover svg { transform: rotate(180deg); }
.v2-tc-replace:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }/* Add a country. */
.v2-tc--add { border: 1.5px dashed color-mix(in srgb, var(--blue) 40%, var(--line)); background: color-mix(in srgb, var(--blue) 4%, var(--surface)); box-shadow: none; }
.v2-tc-addbtn {
  display: grid;
  flex: 1 1 auto;
  place-content: center;
  justify-items: center;
  gap: 4px;
  width: 100%;
  min-height: 100%;
  padding: 14px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.v2-tc-plus { display: grid; width: 46px; height: 46px; margin-bottom: 6px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--blue) 70%, transparent); transition: transform 0.2s var(--ease); }
.v2-tc-plus svg { width: 22px; height: 22px; }
.v2-tc-addbtn strong { font-size: 14.5px; font-weight: 700; }
.v2-tc-addbtn small { color: var(--text-3); font-size: 12px; }
.v2-tc--add:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--surface)); }
.v2-tc--add:hover .v2-tc-plus { transform: scale(1.08) rotate(90deg); }
.v2-tc-addbtn:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: 16px; }
.v2-hero-more.is-empty .v2-tc--add { grid-column: 1 / -1; min-height: calc(var(--art-h) + 56px); }
/* Slot-machine roll when a stop changes (direction follows ▲ / ▼). */
.v2-tc.is-in-down :is(.v2-tc-art svg, .v2-tc-label, .v2-tc-foot .hej-flag) { animation: v2-tc-in-down 0.42s cubic-bezier(0.2, 0.8, 0.3, 1.15) calc(var(--i, 0) * 45ms) backwards; }
.v2-tc.is-in-up :is(.v2-tc-art svg, .v2-tc-label, .v2-tc-foot .hej-flag) { animation: v2-tc-in-up 0.42s cubic-bezier(0.2, 0.8, 0.3, 1.15) backwards; }
@keyframes v2-tc-in-down { from { opacity: 0; transform: translateY(45%); } }
@keyframes v2-tc-in-up { from { opacity: 0; transform: translateY(-45%); } }

.v2-hero-more[data-mode="none"] { display: none; }
.v2-hero-more:is([data-mode="trip"], [data-mode="compact"]) .v2-feats { display: none; }
.v2-hero-more[data-mode="compact"] .v2-trip-cards { --art-h: 88px; }
.v2-hero-more[data-mode="compact"] .v2-tc-art { inset: 10px 14px 8px; }
.v2-hero-more[data-mode="compact"] .v2-tc-label small { display: none; }
.v2-hero-more[data-mode="compact"] .v2-tc-foot { padding-block: 7px; }
.v2-hero-more[data-mode="compact"] .v2-trip-bar { padding-bottom: 10px; }
.v2-hero-more[data-mode="compact"] .v2-tc-plus { width: 38px; height: 38px; margin-bottom: 2px; }
/* The cards replace the flag banner under the map while the block shows. */
.v2-tour-stage.has-more .v2-routelist { display: none; }
/* An empty trip has no outline to show on the opening map. */

/* Desktop: the headline is centred beside the map (tour.js sets --intro-top). */
@media (min-width: 900px) {
  .v2-tour-stage.has-more .v2-tour-intro { top: var(--intro-top, calc(var(--nav-h) + 3svh)); }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .v2-feat { gap: 10px; padding: 8px; }
  .v2-feat-icon { width: 40px; height: 40px; }
  .v2-feat-copy small { display: none; }
}
/* Mid-size screens: icon-only secondary buttons, short hint. */
@media (max-width: 1439px) {
  .v2-trip-btn--ghost span, .v2-trip-btn--share span { display: none; }
  .v2-trip-btn--ghost, .v2-trip-btn--share { width: 42px; padding: 0; }
  .v2-trip-tip { display: none; }
}
/* While the block is on screen, the trip panel invites the scroll, so the
   "Scroll to travel" pill steps aside and the zoom control moves to the
   empty top-right corner of the map. */
.v2-tour-stage.is-intro.has-more .v2-tour-hint[data-mode="start"] { display: none; }
.v2-tour-stage.is-intro.has-more .v2-zoom { top: var(--intro-map-top); bottom: auto; transform: none; }

/* ── Country picker (search) ─────────────────────────────────────────────── */
.v2-picker {
  position: absolute;
  z-index: 9;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 28px 70px -24px rgba(16, 24, 40, 0.38), var(--shadow-md);
  animation: v2-picker-in 0.18s var(--ease);
}
@keyframes v2-picker-in { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
.v2-picker-title { margin: 2px 6px 8px; overflow: hidden; color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.v2-picker-field {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 6px 0 12px;
  border: 1.5px solid color-mix(in srgb, var(--blue) 50%, var(--line));
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 12%, transparent);
}
.v2-picker-field > svg { flex: none; width: 17px; height: 17px; color: var(--text-3); }
.v2-picker-field input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; outline: none; }
.v2-picker-field input::-webkit-search-cancel-button { display: none; }
.v2-picker-close { display: grid; flex: none; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text-2); cursor: pointer; }
.v2-picker-close svg { width: 13px; height: 13px; }
.v2-picker-close:hover { color: var(--text); }
.v2-picker-list { flex: 1 1 auto; min-height: 0; margin: 8px -4px 0; padding: 0 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.v2-picker-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}
.v2-picker-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-picker-item small { color: var(--text-3); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.v2-picker-item .hej-flag { width: 24px; height: 17px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.v2-picker-item.is-active { background: var(--blue-soft); }
.v2-picker-item.is-active small { color: var(--blue); }
.v2-picker-item[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.v2-picker-hint, .v2-picker-empty { margin: 4px 10px 6px; color: var(--text-3); font-size: 12px; }
/* Phones: a sheet under the header (clear of the on-screen keyboard). */
.v2-picker.is-sheet { position: fixed; left: 8px; right: 8px; top: calc(var(--nav-h) + 6px); max-height: min(62svh, 460px); border-radius: 20px; }

/* ── Share your trip (popover around js/v2/share.js's bar) ───────────────── */
.v2-trip-sharebox {
  position: absolute;
  z-index: 9;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 28px 70px -24px rgba(16, 24, 40, 0.38), var(--shadow-md);
  overflow-y: auto;
  animation: v2-picker-in 0.18s var(--ease);
}
.v2-trip-sharehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v2-trip-sharehead p { margin: 0; color: var(--text); font-size: 16px; font-weight: 750; letter-spacing: -0.015em; }
.v2-trip-route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; margin: 0; }
.v2-trip-route span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 12.5px; font-weight: 650; }
.v2-trip-route .hej-flag { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.v2-trip-route i { color: var(--text-3); font-size: 12px; font-style: normal; }
.v2-trip-link { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; padding: 9px 11px; border: 1px dashed color-mix(in srgb, var(--blue) 35%, var(--line)); border-radius: 12px; background: color-mix(in srgb, var(--blue) 5%, var(--surface)); color: var(--blue); font-size: 13px; font-weight: 600; }
.v2-trip-link svg { flex: none; width: 16px; height: 16px; }
.v2-trip-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-trip-sharebox .v2-share { margin: 0; padding: 0; border: 0; }
.v2-trip-sharebox.is-sheet { position: fixed; left: 8px; right: 8px; top: calc(var(--nav-h) + 6px); max-height: min(70svh, 520px); }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.v2-toast {
  position: absolute;
  left: 50%;
  top: calc(var(--nav-h) + 10px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 24px);
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -12px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  pointer-events: none;
}
.v2-toast:has(button) { padding-right: 6px; }
.v2-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.v2-toast button { height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--surface) 20%, transparent); color: var(--surface); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.v2-toast button:hover { background: color-mix(in srgb, var(--surface) 32%, transparent); }

/* ── Rail on the trip: chips with names, change / remove, add, share ────── */
.v2-rail-stop { position: relative; display: flex; flex: none; align-items: center; }
.v2-tour-rail .v2-rail-dot {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  height: 40px;
  padding: 0 12px 0 9px;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0.72;
}
.v2-tour-rail .v2-rail-dot .hej-flag { width: 24px; height: 17px; }
.v2-tour-rail .v2-rail-dot--world { width: 40px; padding: 0; justify-content: center; }
.v2-tour-rail .v2-rail-dot.is-active { opacity: 1; transform: none; }
.v2-rail-stop .v2-rail-dot.is-active { padding-right: 70px; }
.v2-tour-rail.is-many .v2-rail-dot:not(.is-active) > span { display: none; }
.v2-rail-change, .v2-rail-x {
  position: absolute;
  top: 50%;
  display: none;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.15s, color 0.15s;
}
.v2-rail-change svg, .v2-rail-x svg { width: 14px; height: 14px; }
.v2-rail-change { right: 37px; background: var(--surface); color: var(--blue); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 30%, var(--line)); }
.v2-rail-change:hover { background: var(--blue); color: #fff; }
.v2-rail-x { right: 6px; background: var(--surface); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.v2-rail-x:hover { background: #e8553d; color: #fff; }
.v2-rail-stop:has(.v2-rail-dot.is-active) :is(.v2-rail-change, .v2-rail-x) { display: grid; }
.v2-tour-rail > :is(.v2-rail-add, .v2-rail-share) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  width: auto;
  padding: 0 14px 0 11px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
}
.v2-tour-rail > .v2-rail-add { border: 1.5px dashed color-mix(in srgb, var(--blue) 45%, var(--line)); color: var(--blue); }
.v2-tour-rail > .v2-rail-add:hover { border-style: solid; background: var(--blue-soft); }
.v2-tour-rail > .v2-rail-share { border-color: var(--blue); background: var(--blue); color: #fff; }
.v2-tour-rail > .v2-rail-share:hover { background: color-mix(in srgb, var(--blue) 88%, #000); }
@media (max-width: 1599px) { .v2-rail-now { display: none; } }
@media (max-width: 1279px) { .v2-tour-rail > :is(.v2-rail-add, .v2-rail-share) span { display: none; } .v2-tour-rail > :is(.v2-rail-add, .v2-rail-share) { width: 40px; padding: 0; justify-content: center; } }

/* The banner under the map (short screens): add and share. */
.v2-routelist :is(.v2-trip-add, .v2-trip-share) button { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }
.v2-routelist .v2-trip-add button { border: 1.5px dashed color-mix(in srgb, var(--blue) 45%, var(--line)); background: var(--surface); color: var(--blue); }
.v2-routelist .v2-trip-share button { border-color: color-mix(in srgb, var(--blue) 28%, var(--line)); background: var(--blue-soft); color: var(--blue); }
.v2-routelist :is(.v2-trip-add, .v2-trip-share) svg { width: 18px; height: 18px; }
.v2-routelist button:disabled { opacity: 0.4; cursor: default; }

/* Phones and tablets: centred hero; the trip cards become a swipeable strip
   (horizontal swipes are left to the strip by tour.js). */
@media (max-width: 899px) {
  .v2-tour-kicker { justify-content: center; margin-bottom: 10px; font-size: 11px; }
  .v2-tour-intro .v2-tour-title { font-size: clamp(30px, 8vw, 44px); }
  .v2-tour-intro .v2-hero-sub { max-width: 40ch; margin-left: auto; margin-right: auto; font-size: 15px; }
  .v2-feats { display: none; }
  .v2-hero-more { left: 0; right: 0; bottom: calc(12px + var(--dock)); gap: 0; }
  .v2-trip { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .v2-trip-bar { flex-wrap: wrap; gap: 8px; padding: 0 var(--col-pad) 10px; }
  .v2-trip-cue2, .v2-trip-tip, .v2-trip-btn-more { display: none; }
  .v2-trip-title { flex-basis: 100%; }
  .v2-trip-title h2 { font-size: 16.5px; }
  .v2-trip-title p { font-size: 12.5px; }
  .v2-trip-actions { flex: 1 1 auto; }
  .v2-trip-btn { height: 38px; font-size: 13px; }
  .v2-trip-btn--ghost, .v2-trip-btn--share { width: 38px; }
  .v2-trip-btn--go { margin-left: auto; padding: 0 16px; }
  .v2-trip-cards {
    --art-h: 92px;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 4px var(--col-pad) 6px;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--col-pad);
    scroll-snap-type: x mandatory;
  }
  .v2-tc { flex: 0 0 152px; scroll-snap-align: start; border-radius: 16px; }
  .v2-tc--add { flex-basis: 128px; }
  .v2-hero-more.is-empty .v2-tc--add { flex: 1 1 auto; min-height: 0; }
  .v2-tc-art { inset: 10px 12px 8px; }
  .v2-tc-num { left: 7px; top: 7px; min-width: 21px; height: 21px; font-size: 11px; }
  .v2-tc-x { right: 6px; top: 6px; width: 24px; height: 24px; }
  .v2-tc-go { display: none; }
  .v2-tc-foot { grid-template-columns: auto minmax(0, 1fr); gap: 6px 7px; padding: 7px 8px 8px 9px; }
  .v2-tc-replace { grid-column: 1 / -1; justify-content: center; height: 28px; font-size: 12px; }
  .v2-tc-foot .hej-flag { width: 20px; height: 14px; }
  .v2-tc-label strong { font-size: 13px; }
  .v2-tc-label small { display: none; }
  .v2-tc-plus { width: 38px; height: 38px; margin-bottom: 2px; }
  .v2-tc-addbtn small { display: none; }
  /* Rail: back, stop chips (names for the one on screen), add, share. */
  .v2-tour-rail > [data-tour="prev"], .v2-tour-rail > [data-tour="next"] { display: none; }
  .v2-tour-rail .v2-rail-dot:not(.is-active) > span { display: none; }
  .v2-tour-rail .v2-rail-dot { height: 36px; padding: 0 8px; }
  .v2-rail-stop .v2-rail-dot.is-active { padding-right: 66px; }
  .v2-tour-rail > .v2-rail-home span { display: none; }
  .v2-tour-rail > .v2-rail-home { width: 36px; padding: 0; justify-content: center; }
  .v2-tour-rail > :is(.v2-rail-add, .v2-rail-share) span { display: none; }
  .v2-tour-rail > :is(.v2-rail-add, .v2-rail-share) { width: 36px; padding: 0; justify-content: center; }
  .v2-routelist { grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-areas: "cue head head head head" "flags flags add share go"; }
  .v2-trip-add { grid-area: add; }
  .v2-trip-share { grid-area: share; }
  .v2-routelist :is(.v2-trip-add, .v2-trip-share) button { width: 38px; height: 38px; }
}
@media (max-width: 640px) { .v2-tour-intro .v2-hero-sub { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .v2-hero-more > *, .v2-trip-cue2 svg, .v2-picker, .v2-tc :is(.v2-tc-art svg, .v2-tc-label, .v2-tc-foot .hej-flag) { animation: none !important; }
  .v2-tc, .v2-tc-art svg, .v2-feat-icon, .v2-toast { transition: none; }
}

/* A country's flag pops up on a little pole, planted in the middle of the shape */
.v2-flag-pops { position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: opacity 0.2s; }
.v2-flag-pops.is-moving { opacity: 0; }
.v2-flag-plant { position: absolute; width: 0; height: 0; }
.v2-flag-plant.is-out { opacity: 0; transition: opacity 0.3s; }
.v2-flag-pole {
  position: absolute;
  left: -1.5px;
  bottom: 0;
  width: 3px;
  height: 78px;
  border-radius: 2px;
  background: linear-gradient(180deg, #475467, #1f2937);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.4);
  transform-origin: 50% 100%;
  animation: v2-pole-up 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.v2-flag-pole::before { content: ''; position: absolute; left: -2.5px; top: -6px; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.v2-flag-pole::after { content: ''; position: absolute; left: -7px; bottom: -3px; width: 17px; height: 6px; border-radius: 50%; background: rgba(16, 24, 40, 0.22); }
.v2-flag-cloth {
  position: absolute;
  left: 1.5px;
  bottom: 30px;
  width: 64px;
  height: 44px;
  overflow: hidden;
  border-radius: 2px 6px 6px 2px;
  box-shadow: 0 10px 18px -8px rgba(16, 24, 40, 0.45);
  transform-origin: 0 50%;
  animation: v2-flag-unfurl 0.6s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both, v2-flag-wave 2.6s 0.9s ease-in-out infinite;
}
.v2-flag-cloth img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v2-flag-cloth::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 30%, rgba(0,0,0,0.08) 60%, rgba(255,255,255,0.18) 85%); }
@keyframes v2-pole-up { from { transform: scaleY(0); } }
@keyframes v2-flag-unfurl { from { transform: scaleX(0) skewY(8deg); opacity: 0; } }
@keyframes v2-flag-wave { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-3deg) scaleX(0.97); } }
@media (prefers-reduced-motion: reduce) { .v2-flag-pole, .v2-flag-cloth { animation: none; } }
@media (max-width: 899px) { .v2-flag-pole { height: 58px; } .v2-flag-cloth { width: 48px; height: 33px; bottom: 22px; } }

.v2-routelist button { white-space: nowrap; }
@media (max-width: 1280px) { .v2-routelist { flex-wrap: wrap; row-gap: 10px; } }

/* Compare bubbles beside the country on stage (wide screens); narrower screens
   get a single "Compare with …" button in the panel instead. */
#tourCompare { position: absolute; z-index: 4; right: max(var(--col-pad), calc((100% - var(--col-max)) / 2)); top: 50%; width: 236px; transform: translateY(-50%); opacity: 0; visibility: hidden; }
#tourCompare.is-on .v2-cmp-bubble { animation: v2-cmp-pop 0.45s var(--ease) backwards, v2-cmp-float 7s ease-in-out 0.5s infinite; animation-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * -2.3s); }
.v2-panel-compare { display: none; }
.v2-panel-compare svg { width: 16px; height: 16px; }
@media (max-width: 1179px) {
  #tourCompare { display: none; }
  .v2-panel-compare { display: inline-flex; gap: 6px; }
}
/* Phones: the country card keeps the essentials — name, hello, population,
   area and the two actions — so it doesn't cover the map. */
@media (max-width: 899px) {
  .v2-tour-panel { height: min(50svh, 372px); }
  .v2-tour-panel .v2-country-meta { display: none; }
  .v2-tour-panel .v2-stats-grid .v2-stat:not(:nth-child(1)):not(:nth-child(4)) { display: none; }
  .v2-tour-panel .v2-stats-grid { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; }
  .v2-tour-panel .v2-stats-grid .v2-stat { flex: none; }
  .v2-tour-panel .v2-stat .v2-spark { display: none; }
  .v2-tour-panel .v2-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
  .v2-tour-panel .v2-panel-actions .v2-btn { flex: 1 1 auto; justify-content: center; }
}

/* The panel's main actions stay pinned to its bottom edge, so "Open …" is
   always reachable even when the card has to scroll (shorter screens). */
.v2-tour-panel .v2-panel-actions {
  position: sticky;
  bottom: -22px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: auto -22px -22px;
  padding: 12px 22px 22px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--surface) 0%, transparent), var(--surface) 14px);
}
/* Shorter desktop screens (1080p with browser chrome, laptops): fewer tiles. */
@media (min-width: 900px) and (max-height: 900px) {
  .v2-tour-panel .v2-stats-grid .v2-stat:nth-child(n+5) { display: none; }
  .v2-tour-panel .v2-greet-word { font-size: 52px; }
}
@media (max-width: 899px) {
  .v2-tour-panel .v2-panel-actions { bottom: -16px; margin: auto -16px -16px; padding: 10px 16px 16px; }
  /* One row of actions: "Open …" plus a short "Compare" (full label for screen readers). */
  .v2-tour-panel .v2-panel-actions { flex-wrap: nowrap; }
  .v2-tour-panel .v2-panel-actions .v2-btn--primary { flex: 1 1 auto; min-width: 0; }
  .v2-tour-panel .v2-panel-actions .v2-panel-compare { flex: 0 0 auto; }
  .v2-tour-panel .v2-cmp-with { display: none; }
}
@media (max-width: 380px) {
  .v2-tour-panel .v2-panel-compare > span { display: none; }
  .v2-tour-panel .v2-panel-compare { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 899px) {
  /* Long names (Bosnia and Herzegovina…) wrap inside the button instead of overflowing. */
  .v2-tour-panel .v2-panel-actions .v2-btn--primary { height: auto; min-height: 36px; padding-block: 6px; line-height: 1.15; text-align: center; }
}
/* Short phones (iPhone SE/mini, phones with tall browser bars): a compact card
   that fits without scrolling, so every swipe moves to the next country. */
@media (max-width: 899px) and (max-height: 760px) {
  .v2-tour-panel { height: auto; max-height: min(58svh, 372px); padding: 12px 14px; gap: 9px; }
  .v2-tour-panel .v2-panel-actions { bottom: -12px; margin: auto -14px -12px; padding: 8px 14px 12px; }
  .v2-tour-panel .v2-panel-actions .v2-panel-compare { height: 36px; }
  .v2-tour-panel .v2-panel-back { top: 9px; right: 9px; }
  .v2-tour-panel .v2-country-title { font-size: 22px; gap: 9px; padding-right: 36px; }
  .v2-tour-panel .v2-country-title .hej-flag { width: 32px; height: 23px; border-radius: 4px; }
  .v2-tour-panel .v2-greet { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 7px 10px; border-radius: 12px; }
  .v2-tour-panel .v2-greet-word { font-size: 30px; padding-bottom: 2px; }
  .v2-tour-panel .v2-greet-meta { flex: 1 1 150px; min-width: 0; margin-top: 0; font-size: 11.5px; line-height: 1.3; }
  .v2-tour-panel .v2-greet-play { height: 28px; padding: 0 10px; }
  .v2-tour-panel .v2-stat { padding: 7px 10px; border-radius: 11px; }
  .v2-tour-panel .v2-stat strong { font-size: 17px; }
  .v2-tour-panel .v2-stat small { font-size: 11px; }
}

/* ══ Today's trip: a banner under the opening map, a clear rail on the way ══ */
.v2-routelist {
  container-type: inline-size;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.v2-trip-cue button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: none;
  cursor: pointer;
}
.v2-routelist .v2-trip-cue button { height: 44px; padding: 0; border: 0; }
.v2-trip-cue svg { width: 22px; height: 22px; animation: v2-nudge 1.4s ease-in-out infinite; }
.v2-routelist .v2-trip-head { flex: 1 1 auto; gap: 3px; min-width: 0; margin: 0; text-align: left; }
.v2-routelist .v2-trip-head strong { color: var(--text); font-size: 16px; font-weight: 750; letter-spacing: -0.015em; }
.v2-routelist .v2-trip-head span { color: var(--text-2); font-size: 13.5px; }
.v2-trip-head span b { color: var(--blue); font-weight: 700; }
.v2-cue-touch { display: none; }
@media (pointer: coarse) { .v2-cue-touch { display: inline; } .v2-cue-mouse { display: none; } }
.v2-routelist .v2-trip-go button,
.v2-routelist .v2-trip-new button { height: 42px; font-size: 14px; font-weight: 650; }
.v2-routelist .v2-trip-go button { gap: 8px; padding: 0 18px; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--blue) 60%, transparent); }
.v2-routelist .v2-trip-go button:hover { background: color-mix(in srgb, var(--blue) 88%, #000); }
.v2-routelist .v2-trip-new button { gap: 7px; padding: 0 14px; }
@container (max-width: 900px) {
  .v2-trip-new span { display: none; }
  .v2-routelist .v2-trip-new button { width: 42px; padding: 0; justify-content: center; }
}
/* Phones: cue + title + new trip on top, flags + start below. */
@media (max-width: 899px) {
  .v2-routelist {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "cue head new" "flags flags go";
    gap: 10px;
    padding: 10px 12px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .v2-trip-cue { grid-area: cue; }
  .v2-routelist .v2-trip-head { grid-area: head; }
  .v2-trip-new { grid-area: new; }
  .v2-trip-flags { grid-area: flags; }
  .v2-trip-go { grid-area: go; }
  .v2-trip-cue button, .v2-routelist .v2-trip-cue button { width: 38px; height: 38px; }
  .v2-trip-cue svg { width: 19px; height: 19px; }
  .v2-routelist .v2-trip-head strong { font-size: 14.5px; }
  .v2-routelist .v2-trip-head span { font-size: 12.5px; }
  .v2-routelist .v2-trip-go button, .v2-routelist .v2-trip-new button { height: 38px; font-size: 13px; }
  .v2-routelist .v2-trip-go button { padding: 0 14px; }
  .v2-routelist .v2-trip-new button { width: 38px; }
  .v2-routelist .v2-trip-flags button { width: 30px; height: 30px; margin-left: -8px; }
  .v2-routelist .v2-trip-flags button:first-child { margin-left: 0; }
  .v2-trip-flags .hej-flag, .v2-trip-flags img { width: 26px; height: 26px; }
}

/* Rail during the trip: a labelled way back, where you are, and progress. */
.v2-tour-rail { gap: 8px; padding: 8px; border-radius: 20px; }
.v2-tour-rail::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue) calc(var(--trip-p, 0) * 100%), color-mix(in srgb, var(--blue) 14%, transparent) 0);
  transition: background 0.3s;
  pointer-events: none;
}
.v2-tour-rail > button { flex-basis: 40px; height: 40px; border-radius: 12px; }
.v2-tour-rail > button svg { width: 18px; height: 18px; }
.v2-tour-rail > .v2-rail-home {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 14px 0 11px;
  border-color: color-mix(in srgb, var(--blue) 30%, var(--line));
  background: var(--blue-soft);
  color: var(--blue);
  font: inherit;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
}
.v2-tour-rail > .v2-rail-home:hover { background: color-mix(in srgb, var(--blue) 16%, var(--surface)); }
.v2-rail-now { display: grid; gap: 1px; min-width: 0; max-width: 210px; padding: 0 12px 0 4px; border-right: 1px solid var(--line); line-height: 1.2; }
.v2-rail-now:empty { display: none; }
.v2-rail-now small { color: var(--text-3); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.v2-rail-now strong { overflow: hidden; color: var(--text); font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.v2-rail-dots { position: relative; gap: 5px; }
.v2-rail-dot { flex-basis: 40px; height: 36px; border-radius: 11px; }
.v2-rail-dot .hej-flag { width: 26px; height: 18px; }
.v2-rail-dot.is-active { border-color: color-mix(in srgb, var(--blue) 55%, var(--line)); background: var(--blue-soft); box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 18%, transparent); }
@media (max-width: 1279px) { .v2-rail-now { display: none; } }
@media (max-width: 899px) {
  .v2-tour-rail { gap: 6px; padding: 6px; border-radius: 18px; }
  .v2-tour-rail > button { flex-basis: 36px; height: 36px; }
  .v2-tour-rail > .v2-rail-home { padding: 0 12px 0 9px; font-size: 13px; }
  .v2-rail-dot { flex-basis: 36px; height: 32px; }
  .v2-rail-dot .hej-flag { width: 24px; height: 16px; }
}
@media (max-width: 380px) { .v2-tour-rail > .v2-rail-home span { display: none; } .v2-tour-rail > .v2-rail-home { padding: 0; width: 36px; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .v2-trip-cue svg { animation: none; } }

/* ══ Background icons in the tour sky (js/v2/float.js) ════════════════════ */
/* The map canvas lets clicks through to the sky, so the icons can be popped;
   its countries, pins and outline still catch their own clicks. */
.v2-tour-canvas { pointer-events: none; }
@media (max-width: 899px) {
  .v2-tour .v2-floaters { --fs: 0.72; }
  .v2-tour .v2-floater--wide { display: none; }
}
@media (max-width: 640px) {
  /* Keep the headline clear of the greeting bubble on phones. */
  .v2-tour .v2-floaters--top { display: none; }
}
/* The floating hello bubble belongs to the country on stage: hidden on the
   opening world view (where it looked like Russia was talking). */
.v2-tour-stage .v2-floaters--top { transition: opacity 0.35s var(--ease), visibility 0.35s; }
.v2-tour-stage:not(.is-country) .v2-floaters--top { opacity: 0; visibility: hidden; }

/* The hero search's suggestions open over the map, the trip banner and the
   block below (the search popover must never sit underneath them). */
.v2-tour-intro:focus-within { z-index: 7; }
/* Opening view with the block below: icons in the lower part of the sky would
   only peek out from behind it, so they wait for the trip. */
.v2-tour .v2-floater--low { transition: opacity 0.3s, visibility 0.3s; }
.v2-tour-stage.is-intro.has-more .v2-floater--low { opacity: 0; visibility: hidden; }
@media (max-width: 899px) {
  .v2-routelist {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "cue head head head" "flags flags go new";
  }
  .v2-routelist .v2-trip-flags button { margin-left: -10px; }
  .v2-routelist .v2-trip-flags button:first-child { margin-left: 0; }
}
/* Opening view: the sky icons float above the map (still under the text), so
   they can be seen and popped; on the trip they drift back behind the country. */
.v2-tour-sky { z-index: auto; }
.v2-tour-stage.is-intro .v2-tour-sky > .v2-floaters { z-index: 2; }
@media (max-width: 899px) {
  /* Phones centre the headline; icons over its middle would sit on the words. */
  .v2-tour .v2-floater--centre-top { transition: opacity 0.3s, visibility 0.3s; }
  .v2-tour-stage.is-intro .v2-floater--centre-top { opacity: 0; visibility: hidden; }
  /* Trip banner: compact flag stack so it never runs under the Start button. */
  .v2-trip-flags { min-width: 0; overflow: hidden; padding: 2px 0; }
  .v2-routelist .v2-trip-flags button { width: 28px; height: 28px; margin-left: -11px; border-width: 2px; }
  .v2-routelist .v2-trip-flags button:first-child { margin-left: 0; }
  .v2-trip-flags .hej-flag, .v2-trip-flags img { width: 24px; height: 24px; }
  .v2-trip-flags b { display: none; }
}
/* The rail's "Back to start" now leads home at the end too. */
.v2-tour-hint[data-mode="end"] { display: none; }

/* ══ Camera flight over the world map (js/v2/tour.js) ═════════════════════ */
/* The country on stage is coloured in on the map itself (path.is-here). */
.v2-tour-world path.is-here { fill: var(--here) !important; stroke: var(--surface); stroke-width: 1.4; transition: fill 0.35s; }
.v2-tour-canvas .v2-tour-world path.is-here { stroke-width: calc(1.4px / var(--zoom, 1)); }
.v2-tour-world.has-here path:not(.is-here) { transition: fill 0.35s; }
/* The dotted flight path and the plane that flies it (screen coordinates). */
.v2-tour-route {
  fill: none;
  stroke: color-mix(in srgb, var(--text) 78%, transparent);
  stroke-width: 2.4;
  stroke-dasharray: 0.1 8;
  stroke-linecap: round;
  opacity: 0;
  pointer-events: none;
}
.v2-tour-plane { opacity: 0; pointer-events: none; }
.v2-plane-body path { fill: #fff; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; }
.v2-plane-shadow path { fill: #0b1220; }
:root.v2[data-theme="dark"] .v2-plane-body path { fill: #e8eefb; stroke: #6b9bff; }
:root.v2[data-theme="dark"] .v2-tour-route { stroke: color-mix(in srgb, var(--text) 70%, transparent); }
/* The opening map stays clear of the headline: a soft edge that slides away
   as the trip begins (--mx / --my0 / --my1 set by tour.js). */
.v2-tour-mapmask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(90deg, transparent calc(var(--mx, -400px) - 40px), #000 calc(var(--mx, -400px) + 60px)),
    linear-gradient(180deg, transparent calc(var(--my0, -400px) - 12px), #000 calc(var(--my0, -400px) + 40px), #000 calc(var(--my1, 99999px) - 30px), transparent calc(var(--my1, 99999px) + 12px));
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent calc(var(--mx, -400px) - 40px), #000 calc(var(--mx, -400px) + 60px)),
    linear-gradient(180deg, transparent calc(var(--my0, -400px) - 12px), #000 calc(var(--my0, -400px) + 40px), #000 calc(var(--my1, 99999px) - 30px), transparent calc(var(--my1, 99999px) + 12px));
  mask-composite: intersect;
}

/* ── Trip cards: drag to change the order ────────────────────────────────── */
.v2-tc-grip {
  position: absolute;
  left: 50%;
  top: 6px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 22px;
  margin-left: -21px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--text-3);
  box-shadow: var(--shadow-xs);
  cursor: grab;
  touch-action: none;
  transition: color 0.15s, background 0.15s;
}
.v2-tc-grip svg { width: 18px; height: 18px; }
.v2-tc-grip:hover { background: var(--surface); color: var(--text); }
.v2-tc-grip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; color: var(--text); }
.v2-tc.is-dragging { z-index: 5; cursor: grabbing; box-shadow: 0 24px 48px -18px rgba(16, 24, 40, 0.45), var(--shadow-md); transition: none !important; }
.v2-tc.is-dragging .v2-tc-grip { cursor: grabbing; color: var(--blue); }
.v2-trip-cards.is-sorting { scroll-snap-type: none; }
.v2-trip-cards.is-sorting .v2-tc:not(.is-dragging) { transition: transform 0.22s var(--ease); }
.v2-trip-cards.is-sorting .v2-tc-go { display: none; }

/* "Create your trip" in the header: the trip panel lights up. */
.v2-trip.is-spotlight { animation: v2-spotlight 1.4s var(--ease) 2; }
@keyframes v2-spotlight {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 transparent; }
  45% { box-shadow: var(--shadow-md), 0 0 0 7px color-mix(in srgb, var(--blue) 32%, transparent); }
}
#tripTitle:focus { outline: none; }
#tripTitle:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .v2-trip.is-spotlight { animation: none; box-shadow: var(--shadow-md), 0 0 0 4px color-mix(in srgb, var(--blue) 32%, transparent); }
}

/* ══ Trip panel stays docked at the bottom during the trip (wide screens) ═══ */
.v2-tour-stage:not(.has-tripbar) .v2-on-route,
.v2-tour-stage.is-intro .v2-on-route { display: none !important; }
.v2-tour-stage.has-tripbar:not(.is-intro) .v2-on-plan { display: none !important; }
.v2-tour-stage.has-tripbar .v2-tour-rail,
.v2-tour-stage.has-tripbar .v2-tour-hint { display: none !important; }
.v2-tour-stage.has-tripbar .v2-floater--low { opacity: 0; visibility: hidden; }
.v2-tour-stage.has-tripbar .v2-tour-panel { max-height: calc(var(--trip-top, 100svh) - var(--nav-h) - 14px - 22px); }
.v2-tour-stage.has-tripbar #tourCompare { top: calc((var(--nav-h) + var(--trip-top, 100svh)) / 2); }
.v2-tour-stage.has-tripbar .v2-zoom { top: var(--intro-map-top); bottom: auto; transform: none; }
.v2-tour-stage.has-tripbar:not(.is-intro) .v2-trip-cue2 { display: none; }
.v2-trip-title [data-trip-now] b { color: var(--blue); font-weight: 750; }
/* Previous / Next name the country they lead to. */
.v2-trip-btn--step { gap: 8px; height: 46px; padding: 0 14px 0 10px; border-radius: 14px; text-align: left; }
.v2-trip-btn--step > span { display: grid; min-width: 0; line-height: 1.15; }
.v2-trip-btn--step small { color: var(--text-3); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.v2-trip-btn--step b { max-width: 150px; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.v2-trip-btn--step svg { width: 18px; height: 18px; }
.v2-trip-btn--step:hover:not(:disabled) { background: var(--surface-2); }
.v2-trip-btn--next { padding: 0 10px 0 16px; border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--blue) 70%, transparent); }
.v2-trip-btn--next small { color: color-mix(in srgb, #fff 75%, transparent); }
.v2-trip-btn--next:hover:not(:disabled) { background: color-mix(in srgb, var(--blue) 88%, #000); }
.v2-trip-btn--next:hover:not(:disabled) svg { transform: translateX(2px); }
.v2-trip-btn--step:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
/* The stop on screen. */
.v2-tc.is-current { border-color: var(--tone); box-shadow: 0 0 0 2px var(--tone), var(--shadow-md); transform: translateY(-3px); }
.v2-tc.is-current .v2-tc-num { background: var(--tone); }
.v2-tour-stage.has-tripbar:not(.is-intro) .v2-trip { box-shadow: 0 -10px 40px -24px rgba(16, 24, 40, 0.35), var(--shadow-md); }
@media (max-width: 1439px) {
  .v2-trip-btn--step b { max-width: 110px; }
  .v2-on-route[data-tour="home"] span { display: none; }
  .v2-on-route[data-tour="home"] { width: 42px; padding: 0; }
}
/* While zoomed in, the planted flag (screen-space) steps aside. */
.v2-tour-stage.is-zoomed .v2-flag-pops { opacity: 0; }

/* ══ "Ready for take-off?" (first scroll from the opening view) ═══════════ */
.v2-ready {
  position: absolute;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(420px, calc(100% - 24px));
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 30px 80px -24px rgba(16, 24, 40, 0.45), var(--shadow-md);
  text-align: center;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: v2-ready-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes v2-ready-in { from { opacity: 0; transform: translate(-50%, -44%) scale(0.94); } }
.v2-ready-plane { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--blue-soft); }
.v2-ready-plane svg { width: 30px; height: 30px; overflow: visible; fill: var(--blue); animation: v2-ready-plane 1.8s ease-in-out infinite; }
@keyframes v2-ready-plane { 0%, 100% { transform: translate(-2px, 1px) rotate(-8deg); } 50% { transform: translate(3px, -2px) rotate(-14deg); } }
.v2-ready-kicker { margin: 0; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.v2-ready h3 { margin: -4px 0 0; color: var(--text); font-size: 22px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.v2-ready-route { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 4px; margin: 2px 0 0; }
.v2-ready-route span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 12.5px; font-weight: 650; }
.v2-ready-route .hej-flag { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.v2-ready-route i { color: var(--text-3); font-size: 12px; font-style: normal; }
.v2-ready-hint { margin: 0; color: var(--text-2); font-size: 13.5px; }
.v2-ready-hint b { color: var(--blue); }
.v2-ready-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
@media (max-width: 899px) {
  .v2-ready { left: 50%; top: 42%; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-ready, .v2-ready-plane svg { animation: none; }
}
/* During the trip, the other stops step back so the country on stage stands out. */
.v2-tour-world.has-here path.is-stop:not(.is-here) { fill: color-mix(in srgb, var(--stop) 38%, var(--surface)); }
/* ══ Phones & tablets: the trip planner as a clear, swipeable card strip ══ */
.v2-trip-dots { display: none; }
@media (max-width: 899px) {
  .v2-hero-more { left: 8px; right: 8px; }
  .v2-trip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "cards" "dots" "actions";
    padding: 14px 0 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    box-shadow: 0 -12px 40px -24px rgba(16, 24, 40, 0.35), var(--shadow-md);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .v2-trip-bar { display: contents; }
  .v2-trip-cue2 { display: none; }
  .v2-trip-title { grid-area: title; padding: 0 16px 10px; }
  .v2-trip-title h2 { font-size: 16.5px; line-height: 1.25; white-space: normal; }
  .v2-trip-title p { margin-top: 2px; font-size: 13px; }
  /* The strip: one card in focus, the next one peeking in. */
  .v2-trip-cards {
    --art-h: 108px;
    grid-area: cards;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 4px 16px 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .v2-tc { flex: 0 0 min(66vw, 260px); scroll-snap-align: start; border-radius: 18px; }
  .v2-tc--add { flex-basis: min(46vw, 180px); }
  .v2-hero-more.is-empty .v2-tc--add { flex: 1 1 auto; min-height: calc(var(--art-h) + 52px); }
  .v2-tc-art { inset: 30px 18px 12px; }
  .v2-tc-num { left: 9px; top: 9px; min-width: 24px; height: 24px; font-size: 12px; }
  .v2-tc-x { right: 8px; top: 8px; width: 28px; height: 28px; }
  .v2-tc-grip { top: 8px; width: 46px; height: 24px; margin-left: -23px; }
  .v2-tc-foot { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 9px 9px 9px 11px; }
  .v2-tc-foot .hej-flag { width: 24px; height: 17px; }
  .v2-tc-label strong { font-size: 14.5px; }
  .v2-tc-label small { display: block; font-size: 11.5px; }
  .v2-tc-replace { grid-column: auto; height: 32px; padding: 0 11px 0 9px; font-size: 12.5px; }
  .v2-tc-plus { width: 44px; height: 44px; margin-bottom: 6px; }
  .v2-tc-addbtn small { display: block; }
  .v2-trip-dots { grid-area: dots; display: flex; justify-content: center; gap: 6px; padding: 6px 0 2px; }
  .v2-trip-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--line-strong); transition: width 0.25s var(--ease), background 0.25s; }
  .v2-trip-dots i.is-on { width: 20px; background: var(--blue); }
  /* Actions under the strip: small tools left, one big Start right. */
  .v2-trip-actions { grid-area: actions; display: flex; flex: none; gap: 8px; padding: 8px 16px 0; }
  .v2-trip-actions .v2-trip-btn { height: 44px; }
  .v2-trip-btn--ghost, .v2-trip-btn--share { width: 44px; padding: 0; }
  .v2-trip-btn--go { flex: 1 1 auto; margin-left: 4px; padding: 0 16px; font-size: 15px; }
  .v2-trip-btn--go .v2-trip-btn-more { display: inline; }
  /* Short phones: the header's search tab covers searching; cards get shorter. */
  .v2-hero-more[data-mode="compact"] .v2-trip-cards { --art-h: 82px; }
  .v2-hero-more[data-mode="compact"] .v2-tc-art { inset: 26px 16px 8px; }
  .v2-hero-more[data-mode="compact"] .v2-tc-label small { display: none; }
  .v2-hero-more[data-mode="compact"] .v2-trip-title p { display: none; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .v2-tour-intro .v2-tour-kicker, .v2-tour-intro .v2-search { display: none; }
  .v2-tour-intro { top: calc(var(--nav-h) + 12px); }
}
@media (max-width: 360px) {
  .v2-trip-btn--go .v2-trip-btn-more { display: none; }
}
@media (max-width: 899px) {
  .v2-trip-dots:has(i:only-child) { display: none; }
  .v2-trip-title [data-trip-count] { white-space: nowrap; }
}
.v2-title-short { display: none; }
@media (max-width: 420px) {
  .v2-title-long { display: none; }
  .v2-title-short { display: inline; }
}
@media (max-width: 899px) {
  .v2-ready { top: auto; bottom: calc(var(--dock) + 24px); transform: translate(-50%, 0); width: calc(100% - 24px); padding: 18px 16px 16px; }
  @keyframes v2-ready-in { from { opacity: 0; transform: translate(-50%, 18px); } }
  .v2-ready-actions { display: grid; grid-template-columns: auto 1fr; width: 100%; }
  .v2-ready-actions .v2-trip-btn { width: auto; padding: 0 16px; }
}
.v2-picker-field input:focus, .v2-picker-field input:focus-visible { outline: none; box-shadow: none; }
/* ══ Phones, on the trip: clear Previous / Next, compact figures ══════════ */
.v2-panel-nav { display: none; }
@media (max-width: 899px) {
  .v2-tour-panel .v2-panel-actions { flex-wrap: wrap; }
  .v2-panel-nav { display: grid; flex: 1 0 100%; grid-template-columns: 1fr 1fr; gap: 8px; }
  .v2-pnav {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 48px;
    padding: 0 12px 0 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .v2-pnav > span { display: grid; min-width: 0; line-height: 1.15; }
  .v2-pnav small { color: var(--text-3); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
  .v2-pnav b { overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .v2-pnav svg { flex: none; width: 20px; height: 20px; }
  .v2-pnav--next { justify-content: flex-end; padding: 0 8px 0 12px; border-color: var(--blue); background: var(--blue); color: #fff; text-align: right; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--blue) 70%, transparent); }
  .v2-pnav--next small { color: color-mix(in srgb, #fff 75%, transparent); }
  .v2-pnav:disabled { opacity: 0.4; cursor: default; box-shadow: none; }
  .v2-pnav:active:not(:disabled) { transform: scale(0.97); }
  /* Population and area: one compact row. */
  .v2-tour-panel .v2-stats-grid { gap: 6px; }
  .v2-tour-panel .v2-stat { gap: 0; padding: 6px 10px; border-radius: 11px; }
  .v2-tour-panel .v2-stat .v2-stat-label { font-size: 9.5px; }
  .v2-tour-panel .v2-stat strong { font-size: 15px; line-height: 1.2; }
  .v2-tour-panel .v2-stat strong em { font-size: 11px; }
  .v2-tour-panel .v2-stat small { font-size: 10.5px; }
  .v2-tour-panel .v2-stat .v2-stat-go { display: none; }
  /* The panel needs a little more room for the nav row. */
  .v2-tour-panel { height: auto; max-height: min(64svh, 460px); }
}
@media (max-width: 899px) and (max-height: 760px) {
  .v2-tour-panel { height: auto; max-height: min(62svh, 420px); }
  .v2-pnav { height: 42px; }
}