:root{
  --bg-page:#0f0f10;
  --bg-secondary:#181819;
  --paper:#161515;
  --ink:#e7decd;
  --accent-red:#b56a5c;
  --accent-gold:#c8a86b;
  --accent-green:#d8cfbe;
  --border:#2b2927;
  --shadow:rgba(0,0,0,.35);
  --font-body:'Inter', system-ui, sans-serif;
  --font-marker:'Permanent Marker', cursive;
  --font-native-world:'Noto Sans', 'Noto Sans Arabic', 'Noto Sans Armenian', 'Noto Sans Bengali', 'Noto Sans Devanagari', 'Noto Sans Ethiopic', 'Noto Sans Georgian', 'Noto Sans Hebrew', 'Noto Sans Khmer', 'Noto Sans Lao', 'Noto Sans Myanmar', 'Noto Sans SC', 'Noto Sans Sinhala', 'Noto Sans Thai', 'Segoe UI', Arial, sans-serif;
  --font-hand:'Shadows Into Light', cursive;
  --font-type:'Special Elite', 'Courier New', monospace;
  --font-journal:Georgia, serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.05), rgba(255,255,255,0) 30%),
    radial-gradient(circle at bottom right, rgba(200,168,107,.06), rgba(200,168,107,0) 28%),
    linear-gradient(180deg, #0b0b0c, var(--bg-page));
}

.top-nav{
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 22px;
  background:rgba(10,10,11,.76);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(200,168,107,.12);
  box-shadow:0 8px 30px rgba(0,0,0,.18);
}
.nav-left,.nav-right{
  display:flex;
  align-items:center;
  gap:14px;
  flex:1 1 0;
  min-width:0;
}
.nav-left{justify-content:flex-start}
.nav-right{justify-content:flex-end}
.nav-center{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.nav-logo{
  display:block;
  width:min(150px, 16vw);
  min-width:72px;
  height:auto;
  object-fit:contain;
  opacity:.92;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.24));
  user-select:none;
  pointer-events:none;
}
.nav-btn{
  border:1px solid transparent;
  background:rgba(255,255,255,.02);
  cursor:pointer;
  font:600 .76rem var(--font-body);
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#cfc4b2;
  padding:10px 14px;
  border-radius:999px;
  transition:.2s ease;
  white-space:nowrap;
  position:relative;
  z-index:1;
}
.nav-btn.active,.nav-btn:hover{
  color:#f0e6d3;
  border-color:rgba(200,168,107,.28);
  background:rgba(200,168,107,.08);
}
@media (max-width:900px){
  .top-nav{display:grid;grid-template-columns:1fr;justify-items:center;gap:12px}
  .nav-left,.nav-right{justify-content:center;flex-wrap:wrap}
  .nav-center{position:static;transform:none;order:-1}
  .nav-logo{width:min(130px, 34vw)}
}

.container{max-width:1180px;margin:0 auto;padding:56px 28px 90px}
.view{display:none}
.view.active{display:block;animation:fade .35s ease}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

.hero{margin-bottom:40px}
.title-block{position:relative;display:inline-block;padding:10px 10px 18px}
.main-title{
  font-family:var(--font-marker);
  font-size:clamp(3.2rem,8vw,5.4rem);
  color:#efe5d3;
  margin:0;
  line-height:.92;
  letter-spacing:-1px;
  transform:rotate(-0.6deg);
  position:relative;
  z-index:2;
  text-shadow:0 6px 20px rgba(0,0,0,.28);
}
.detail-title-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:8px;
  margin-bottom:22px;
}
.detail-title-row .detail-title{
  margin:0;
}
.detail-audio-toggle{
  flex:0 0 auto;
  width:50px;
  height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(200,168,107,.22);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  color:#8d8579;
  cursor:pointer;
  position:relative;
  transition:color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.detail-audio-toggle[hidden]{
  display:none !important;
}
.detail-audio-toggle:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:rgba(88,201,133,.34);
}
.detail-audio-toggle:disabled{
  opacity:.42;
  cursor:not-allowed;
}
.detail-audio-toggle.is-on{
  color:#58c985 !important;
  border-color:rgba(88,201,133,.52);
  background:rgba(88,201,133,.12);
  box-shadow:0 0 0 7px rgba(88,201,133,.08);
}
.detail-audio-icon{
  width:32px;
  height:32px;
  display:block;
  overflow:visible;
}
.audio-speaker-body{
  fill:currentColor;
}
.audio-wave,
.audio-mute-slash{
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.audio-wave{
  stroke-width:6.4;
}
.audio-wave-1{
  stroke-width:5.8;
}
.audio-mute-slash{
  stroke-width:7.2;
  opacity:0;
  filter:drop-shadow(0 0 2px rgba(0,0,0,.45));
}
.detail-audio-toggle.is-muted .audio-wave{
  opacity:.28;
}
.detail-audio-toggle.is-muted .audio-mute-slash{
  opacity:1;
}
.detail-audio-toggle.is-on .audio-mute-slash{
  opacity:0;
}
.detail-audio-toggle.is-on .audio-speaker-body{
  fill:#58c985;
}
.detail-audio-toggle.is-on .audio-wave{
  stroke:#58c985;
  opacity:1;
}
@media (max-width:620px){
  .detail-title-row{
    align-items:flex-start;
    gap:10px;
  }
  .detail-audio-toggle{
    width:46px;
    height:46px;
    margin-top:4px;
  }
  .detail-audio-icon{
    width:30px;
    height:30px;
  }
}
.broken-felt-stroke{
  position:absolute;
  left:-10%;
  width:120%;
  height:64px;
  bottom:-22px;
  pointer-events:none;
  z-index:1;
}
.felt-path{fill:none;stroke:var(--accent-red);stroke-linecap:round;opacity:.85;filter:url(#dry-felt-filter)}
.subtitle-journal{
  margin:18px 0 0 12px;
  font:italic 1.26rem var(--font-journal);
  color:#bfb39f;
  max-width:760px;
  line-height:1.5;
}

.page-title{
  font-family:var(--font-marker);
  color:#f0e6d3;
  font-size:clamp(2.7rem,6vw,4.2rem);
  margin:0 0 18px;
  transform:rotate(-0.5deg);
  text-shadow:0 6px 20px rgba(0,0,0,.22);
}
.section-title{
  font-family:var(--font-marker);
  color:var(--accent-gold);
  font-size:2rem;
  margin:0 0 20px;
  letter-spacing:.02em;
}

.intro-grid{display:grid;grid-template-columns:1fr;gap:24px;align-items:stretch}

.paper-card,.logbook-entry{
  background:linear-gradient(180deg, rgba(29,28,27,.98), rgba(18,18,17,.96));
  border:1px solid rgba(200,168,107,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.02);
  position:relative;
  border-radius:22px;
  overflow:hidden;
}
.field-card{padding:28px}
.card-kicker{
  font-family:var(--font-marker);
  color:var(--accent-gold);
  font-size:1.6rem;
  margin-bottom:14px;
  letter-spacing:.02em;
  transform:rotate(-0.5deg);
}

.map-room{
  position:relative;
  height:min(72vh, 760px);
  border:1px solid rgba(200,168,107,.12);
  border-radius:18px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.05), rgba(255,255,255,0) 28%),
    linear-gradient(135deg, #181818, #101011);
  overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
  padding:10px;
}
.map-visual{
  position:relative;
  width:100%;
  height:100%;
  border-radius:14px;
  overflow:hidden;
  background:#141414;
}
.real-world-map{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#141414;
}
.map-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.map-pin{
  position:absolute;
  width:12px;
  height:12px;
  border-radius:999px;
  background:#c8a86b;
  border:2px solid #f0dfb5;
  box-shadow:0 0 0 8px rgba(200,168,107,.10), 0 0 18px rgba(200,168,107,.28);
  transform:translate(-50%, -50%);
  pointer-events:auto;
}
.map-pin::after{
  content:attr(data-label);
  position:absolute;
  left:50%;
  top:-10px;
  transform:translate(-50%, -100%);
  background:rgba(18,18,18,.9);
  border:1px solid rgba(200,168,107,.22);
  color:#e7decd;
  font-family:var(--font-type);
  font-size:11px;
  padding:5px 8px;
  border-radius:999px;
  white-space:nowrap;
  opacity:0;
  transition:.18s ease;
  pointer-events:none;
}
.map-pin:hover::after{opacity:1}
.map-credit{
  position:absolute;
  right:10px;
  bottom:8px;
  font-family:var(--font-type);
  font-size:10px;
  color:rgba(231,222,205,.58);
  background:rgba(10,10,10,.45);
  padding:4px 6px;
  border-radius:8px;
  backdrop-filter:blur(4px);
}

.gear-card{padding:30px 26px 26px}
.gear-title{font-family:var(--font-marker);color:var(--accent-gold);font-size:2rem;display:inline-block;margin-bottom:20px;transform:rotate(-1deg)}
.gear-list{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.gear-item{padding:14px 0;border-top:1px dashed rgba(231,222,205,.12)}
.gear-item:first-child{border-top:none;padding-top:0}
.gear-item strong{display:block;font-family:var(--font-marker);color:#f0e6d3;font-size:1.18rem;margin-bottom:8px;transform:rotate(-0.4deg)}
.gear-item span{display:block;font-family:var(--font-type);line-height:1.55;color:#cfc4b2}

.recent-section{margin-top:44px}
.trip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}
.trip-card{
  cursor:pointer;
  background:linear-gradient(180deg, rgba(24,23,22,.96), rgba(14,14,14,.99));
  border:1px solid rgba(200,168,107,.12);
  box-shadow:0 14px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.02);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow:hidden;
  border-radius:22px;
  position:relative;
}
.trip-card:hover{
  transform:translateY(-6px);
  border-color:rgba(200,168,107,.28);
  box-shadow:0 22px 42px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.03);
}
.trip-poster{min-height:250px;padding:22px;display:flex;align-items:flex-end;color:#fff;background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.58)), radial-gradient(circle at top left, rgba(255,255,255,.14), rgba(255,255,255,0) 35%), var(--poster)}
.trip-poster h3{margin:0;font-family:var(--font-marker);font-size:2.05rem;line-height:.95;text-shadow:0 6px 18px rgba(0,0,0,.3)}
.trip-meta{padding:16px 18px 20px}
.trip-note{margin-top:8px;font-family:var(--font-hand);color:#d8cfbe;font-size:1.16rem;font-weight:700;line-height:1.35}
.country-view .page-title{margin-bottom:4px}
.country-detail-heading{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 4px;
}
.country-detail-heading .page-title{
  margin:0;
  min-width:0;
}
.country-flag-brush{
  width:clamp(54px, 6vw, 76px);
  height:clamp(28px, 3.2vw, 38px);
  flex:0 0 auto;
  transform:rotate(-1.8deg);
  filter:drop-shadow(0 5px 10px rgba(0,0,0,.22));
}
.country-flag-brush:empty{
  display:none;
}
.country-flag-brush-svg{
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}
.country-flag-brush-paint{
  transform:rotate(-8deg);
  transform-origin:85px 41px;
}
.country-detail-native{
  margin:0 0 10px;
  color:var(--country-symbol-color, #c8a86b);
  font-family:var(--font-marker);
  font-size:clamp(1.18rem, 2.4vw, 1.72rem);
  line-height:1;
  text-shadow:0 4px 16px rgba(0,0,0,.28);
  overflow-wrap:anywhere;
}
.country-detail-native.country-native-name--world{
  font-family:var(--font-native-world);
  font-size:clamp(1.02rem, 2vw, 1.42rem);
  font-weight:800;
  letter-spacing:0;
  line-height:1.1;
}
.country-summary{
  margin:0 0 24px 0;
  font-family:var(--font-type);
  color:#cfc4b2;
  line-height:1.65;
}
.country-trip-grid{
  margin-top:8px;
}
.country-trip-card .trip-poster{
  min-height:220px;
}
.country-year-chip{
  position:absolute;
  top:16px;
  left:16px;
  z-index:2;
  padding:7px 11px;
  border:1px solid rgba(240,223,181,.28);
  border-radius:999px;
  background:rgba(18,18,18,.58);
  color:#f0dfb5;
  font-family:var(--font-type);
  font-size:.78rem;
  letter-spacing:0;
  backdrop-filter:blur(8px);
}
.country-trip-dates{
  margin-top:10px;
  font-family:var(--font-type);
  color:#b8ac98;
  line-height:1.5;
  font-size:.9rem;
}
.country-toolbar{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:12px;
  margin:-8px 0 28px;
}
.country-sort-switch{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-height:48px;
  padding:9px 11px 9px 17px;
  border:1px solid rgba(200,168,107,.14);
  border-radius:999px;
  background:linear-gradient(180deg, rgba(24,23,22,.92), rgba(14,14,14,.96));
  color:#b8ac98;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 14px 28px rgba(0,0,0,.22);
  cursor:pointer;
  user-select:none;
  transition:border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.country-sort-switch.is-active{
  color:#f0dfb5;
  border-color:rgba(200,168,107,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 16px 32px rgba(0,0,0,.26), 0 0 24px rgba(200,168,107,.08);
}
.country-sort-copy{
  font-family:var(--font-type);
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1.2;
}
.country-sort-input{
  position:absolute;
  inline-size:1px;
  block-size:1px;
  opacity:0;
  pointer-events:none;
}
.country-switch-track{
  position:relative;
  flex:0 0 auto;
  width:58px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(240,223,181,.18);
  background:rgba(255,255,255,.05);
  transition:background .22s ease, border-color .22s ease;
}
.country-sort-switch.is-active .country-switch-track{
  border-color:rgba(240,223,181,.36);
  background:linear-gradient(135deg, rgba(200,168,107,.86), rgba(118,151,121,.72));
}
.country-switch-thumb{
  position:absolute;
  top:4px;
  left:4px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#d7ccba;
  box-shadow:0 4px 10px rgba(0,0,0,.34);
  transition:transform .22s ease, background .22s ease;
}
.country-sort-switch.is-active .country-switch-thumb{
  transform:translateX(28px);
  background:#fff4dc;
}
.country-sort-input:focus-visible + .country-switch-track{
  outline:2px solid rgba(240,223,181,.58);
  outline-offset:4px;
}
@media (max-width: 640px){
  .country-detail-heading{
    gap:8px;
  }
  .country-flag-brush{
    width:58px;
    height:30px;
  }
  .country-toolbar{
    justify-content:center;
    margin:-2px 0 26px;
  }
  .country-sort-switch{
    width:100%;
    max-width:360px;
    justify-content:space-between;
  }
}
.country-continent-list{
  display:grid;
  gap:38px;
}
.continent-section{
  padding:28px 0 8px;
  border-top:1px solid rgba(200,168,107,.14);
}
.continent-section:first-child{
  padding-top:0;
  border-top:none;
}
.continent-head{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}
.continent-title-wrap{
  display:flex;
  align-items:flex-end;
  gap:14px;
  min-width:0;
  flex-wrap:wrap;
}
.continent-title{
  margin:0;
  color:var(--continent-color);
  font-family:var(--font-marker);
  font-size:2.18rem;
  line-height:.95;
  letter-spacing:0;
  text-shadow:0 8px 22px rgba(0,0,0,.26);
  transform:rotate(-.55deg);
}
.continent-count{
  margin-bottom:3px;
  font-family:var(--font-type);
  color:#b8ac98;
  font-size:.88rem;
  line-height:1.35;
}
.continent-globe{
  flex:0 0 auto;
  width:62px;
  height:62px;
  display:block;
  color:var(--continent-color);
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.28));
}
.continent-globe-base{
  stroke:rgba(240,223,181,.48);
  stroke-width:1.4;
}
.continent-globe-line{
  fill:none;
  stroke:rgba(15,15,16,.2);
  stroke-width:1;
}
.continent-globe-map-clip,
.continent-globe-map,
.continent-globe-fallback{
  pointer-events:none;
}
.continent-globe-country{
  fill:rgba(55,52,46,.58);
  stroke:rgba(15,15,16,.18);
  stroke-width:.5;
  vector-effect:non-scaling-stroke;
}
.continent-globe-country.is-active{
  fill:currentColor;
  opacity:.94;
  stroke:rgba(15,15,16,.28);
}
.continent-globe.is-hydrated .continent-globe-fallback{
  display:none;
}
.continent-globe-land{
  fill:currentColor;
  opacity:.92;
  stroke:rgba(15,15,16,.18);
  stroke-width:1;
  stroke-linejoin:round;
}
.continent-empty{
  min-height:116px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed rgba(200,168,107,.18);
  border-radius:18px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--continent-color) 12%, transparent), transparent 38%),
    rgba(255,255,255,.018);
  color:#8f8576;
  font-family:var(--font-type);
  font-size:.92rem;
}
.country-album-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:22px;
}
.country-album-card{
  cursor:pointer;
  background:linear-gradient(180deg, rgba(24,23,22,.96), rgba(14,14,14,.99));
  border:1px solid rgba(200,168,107,.12);
  box-shadow:0 14px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.02);
  border-radius:22px;
  overflow:hidden;
  position:relative;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .22s ease, opacity .22s ease;
}
.country-album-card:hover,
.country-album-card:focus{
  transform:translateY(-6px);
  border-color:rgba(200,168,107,.28);
  box-shadow:0 22px 42px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.03);
  outline:none;
}
.country-album-card.is-unvisited{
  border-color:rgba(231,222,205,.08);
  filter:saturate(.54);
  opacity:.72;
}
.country-album-card.is-unvisited:hover,
.country-album-card.is-unvisited:focus{
  border-color:rgba(200,168,107,.2);
  filter:saturate(.74);
  opacity:.92;
}
.country-album-cover{
  min-height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.38)),
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.11), rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #26231f, #111111 68%);
}
.country-card-map{
  width:100%;
  height:auto;
  max-height:188px;
  display:block;
  overflow:visible;
  filter:drop-shadow(0 16px 18px rgba(0,0,0,.38));
}
.country-card-map--insets{
  max-height:196px;
}
.country-card-map--world{
  max-height:186px;
}
.country-card-region{
  fill:rgba(200,168,107,.22);
  stroke:rgba(240,223,181,.34);
  stroke-width:.9;
  vector-effect:non-scaling-stroke;
}
.country-card-region.visited{
  fill:#c8a86b;
  stroke:#f4dfaa;
  filter:drop-shadow(0 0 7px rgba(200,168,107,.18));
}
.country-album-card.is-unvisited .country-card-region{
  fill:rgba(216,207,190,.24);
  stroke:rgba(231,222,205,.32);
}
.country-album-card.is-unvisited .country-album-cover{
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.46)),
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.07), rgba(255,255,255,0) 34%),
    linear-gradient(135deg, #22201d, #0f0f0f 68%);
}
.country-card-inset-frame{
  fill:rgba(10,10,10,.24);
  stroke:rgba(240,223,181,.25);
  stroke-width:1.1;
}
.country-cover-fallback{
  width:min(148px, 70%);
  aspect-ratio:1;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(240,223,181,.22);
  border-radius:48% 43% 52% 46%;
  background:linear-gradient(145deg, rgba(200,168,107,.74), rgba(200,168,107,.28));
  color:#17120c;
  font-family:var(--font-marker);
  font-size:2.9rem;
  box-shadow:0 16px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.country-album-meta{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:end;
  gap:14px;
  padding:17px 18px 20px;
}
.country-name-stack{
  min-width:0;
  display:grid;
  gap:5px;
}
.country-album-meta h2{
  margin:0;
  min-width:0;
  font-family:var(--font-marker);
  color:#f0e6d3;
  font-size:clamp(1.24rem, 1.5vw, 1.65rem);
  line-height:.98;
  overflow-wrap:anywhere;
}
.country-native-caption{
  color:var(--country-symbol-color, #c8a86b);
  font-family:var(--font-marker);
  font-size:.95rem;
  line-height:1;
  opacity:.92;
  overflow-wrap:anywhere;
  text-shadow:0 1px 10px rgba(0,0,0,.34);
}
.country-native-caption.country-native-name--world{
  font-family:var(--font-native-world);
  font-size:.9rem;
  font-weight:800;
  letter-spacing:0;
  line-height:1.08;
}
.country-status{
  max-width:104px;
  font-family:var(--font-type);
  color:#b8ac98;
  font-size:.88rem;
  line-height:1.35;
  text-align:right;
}
.country-album-card.is-unvisited .country-album-meta{
  grid-template-columns:1fr;
  align-items:start;
  gap:8px;
}
.country-album-card.is-unvisited .country-album-meta h2{
  color:#d7ccba;
}
.country-album-card.is-unvisited .country-native-caption{
  opacity:.68;
}
.country-album-card.is-unvisited .country-status{
  max-width:none;
  color:#8f8576;
  text-align:left;
}
.country-map-panel{
  margin:26px 0 30px;
  padding:22px;
  border:1px solid rgba(200,168,107,.14);
  border-radius:18px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.045), rgba(255,255,255,0) 32%),
    linear-gradient(180deg, rgba(22,21,20,.92), rgba(14,14,14,.97));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 18px 36px rgba(0,0,0,.22);
}
.country-map-panel[hidden]{
  display:none !important;
}
.country-map-panel.is-undiscovered .country-region{
  fill:#5a554d;
  stroke:rgba(231,222,205,.34);
}
.country-map-panel.is-undiscovered .country-region:hover,
.country-map-panel.is-undiscovered .country-region:focus{
  fill:#655f55;
}
.country-map-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:16px;
}
.country-map-head h2,
.country-album-title{
  margin:0;
  font-family:var(--font-marker);
  color:var(--accent-gold);
  font-size:1.55rem;
  transform:rotate(-.4deg);
}
.country-map-head span{
  font-family:var(--font-type);
  color:#b8ac98;
  font-size:.9rem;
}
.country-region-map-shell{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(231,222,205,.08);
  background:
    radial-gradient(circle at 20% 10%, rgba(200,168,107,.08), transparent 28%),
    linear-gradient(180deg, #111112, #0d0d0e);
}
.country-region-map{
  width:100%;
  height:auto;
  display:block;
  max-height:620px;
}
.country-region-map--insets{
  max-height:680px;
}
.country-region-map--single{
  max-height:560px;
  padding:22px;
}
.country-region{
  fill:#48443d;
  stroke:#7b7366;
  stroke-width:.8;
  vector-effect:non-scaling-stroke;
  transition:fill .18s ease, stroke .18s ease, filter .18s ease;
}
.country-region--single{
  fill:#5c564d;
  stroke:rgba(231,222,205,.42);
  stroke-width:1.1;
}
.country-region:hover,
.country-region:focus{
  fill:#5a544c;
  outline:none;
}
.country-region.visited{
  fill:#c8a86b;
  stroke:#f4dfaa;
  stroke-width:1.1;
  filter:drop-shadow(0 0 8px rgba(200,168,107,.20));
}
.country-region.visited:hover,
.country-region.visited:focus{
  fill:#d8bd82;
  filter:drop-shadow(0 0 13px rgba(200,168,107,.32));
}
.country-region-inset-frame{
  fill:rgba(255,255,255,.025);
  stroke:rgba(231,222,205,.18);
  stroke-width:1.2;
}
.country-region-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.country-region-chip{
  display:flex;
  align-items:center;
  gap:9px;
  max-width:100%;
  padding:8px 11px;
  border:1px solid rgba(200,168,107,.18);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#d7ccba;
  font-family:var(--font-type);
  font-size:.86rem;
}
.country-region-chip strong{
  color:#f0dfb5;
  font-weight:700;
}
.country-region-chip span{
  overflow-wrap:anywhere;
}
.country-album-title{
  margin:24px 0 16px;
  font-size:1.45rem;
}
.country-trip-grid--empty{
  display:block;
}
.country-undiscovered{
  min-height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px 24px;
  border:1px dashed rgba(200,168,107,.22);
  border-radius:18px;
  background:
    radial-gradient(circle at top left, rgba(200,168,107,.11), transparent 36%),
    rgba(255,255,255,.018);
  color:#c8a86b;
  font-family:var(--font-marker);
  font-size:clamp(2rem, 6vw, 3.4rem);
  line-height:1;
  text-align:center;
  transform:rotate(-.45deg);
}

.year-block{margin-bottom:42px}
.year-title{display:inline-block;font-family:var(--font-marker);font-size:2rem;color:#d75a4a;margin:18px 0 20px;padding-right:18px;position:relative;z-index:2;text-shadow:0 4px 14px rgba(0,0,0,.22)}
.year-title-wrap{position:relative;display:inline-block;margin:18px 0 20px;padding:0}

.back-btn{border:none;background:none;cursor:pointer;color:var(--accent-gold);font-family:var(--font-marker);font-size:1.2rem;margin-bottom:10px}
.logbook-entry{padding:28px 30px;margin-bottom:30px}
.clip{position:absolute;right:24px;top:-12px;width:18px;height:50px;border:2px solid #8a847a;border-radius:11px}
.log-header{font-family:var(--font-marker);color:var(--accent-gold);font-size:1.28rem;display:inline-block;border-bottom:2px dotted rgba(200,168,107,.28);margin-top:22px}
.log-header:first-of-type{margin-top:0}
.log-content{font-family:var(--font-type);color:#d7ccba;line-height:1.75;margin-top:12px;font-size:1.02rem}
.log-list{margin:10px 0 0 0;padding-left:24px}
.log-list li{margin-bottom:10px;color:var(--accent-green)}

.discover-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:6px}
.discover-note{margin:0 0 22px 0;font-family:var(--font-type);font-size:1rem;line-height:1.55;color:#cfc4b2;font-weight:400}
.shuffle-btn{border:1px solid rgba(200,168,107,.25);background:rgba(255,255,255,.02);color:var(--accent-gold);font-family:var(--font-marker);font-size:1rem;padding:10px 16px;cursor:pointer;transform:rotate(-.6deg);border-radius:999px}

.masonry{
  display:grid;
  grid-template-columns:repeat(var(--masonry-columns, 3), minmax(0, 1fr));
  gap:18px;
  align-items:start;
}
.masonry-column{
  display:flex;
  flex-direction:column;
  gap:18px;
  min-width:0;
}
.photo-card{margin:0;display:block;cursor:zoom-in}
.photo-card img{width:100%;height:auto;display:block;border:10px solid #171513;box-shadow:0 10px 24px rgba(0,0,0,.2);background:#111;border-radius:10px}
.empty-note{font-family:var(--font-type);color:#b8ac98;padding:10px 0 0}

.lightbox{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.94);z-index:9999;padding:20px}
.lightbox.active{display:flex}
.lightbox-stage{max-width:96vw;max-height:92vh;display:flex;align-items:center;justify-content:center;overflow:hidden;border:10px solid #1d1b19;box-shadow:0 12px 42px rgba(0,0,0,.45);background:#050505;touch-action:none}
.lightbox-stage img{max-width:calc(96vw - 20px);max-height:calc(92vh - 20px);object-fit:contain;display:block;cursor:zoom-in;user-select:none;-webkit-user-select:none;transform-origin:center center;will-change:transform}
.lightbox-stage.is-zoomed img{cursor:grab}
.lightbox-stage.is-dragging img{cursor:grabbing}
.lightbox-close{position:fixed;top:16px;right:18px;width:46px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.06);color:white;font-size:30px;cursor:pointer;backdrop-filter:blur(8px)}


.map-card{padding-bottom:24px}
.map-room{
  position:relative;
  height:min(72vh, 760px);
  border:1px solid rgba(200,168,107,.12);
  border-radius:18px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.05), rgba(255,255,255,0) 28%),
    linear-gradient(135deg, #181818, #101011);
  overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
  padding:12px;
}
.map-shell{
  position:relative;
  width:100%;
  height:100%;
  border-radius:14px;
  overflow:hidden;
  background:#141414;
}
.world-map-svg{
  width:100%;
  height:100%;
  display:block;
  cursor:grab;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.03), rgba(255,255,255,0) 30%),
    linear-gradient(180deg, #121212, #0f0f10);
}
.world-map-svg.is-panning{
  cursor:grabbing;
}
.graticule line{
  stroke:rgba(255,255,255,.05);
  stroke-width:1;
}
.map-country{
  fill:#4b463f;
  stroke:#7b7366;
  stroke-width:.9;
  vector-effect:non-scaling-stroke;
  transition:fill .18s ease, filter .18s ease, stroke .18s ease;
  cursor:help;
}
.map-country:hover,
.map-country:focus{
  fill:#5a544c;
  outline:none;
}
.map-country.visited{
  fill:#c8a86b;
  stroke:#f0dfb5;
  stroke-width:1.2;
  filter:drop-shadow(0 0 8px rgba(200,168,107,.20));
  cursor:pointer;
}
.map-country.visited:hover,
.map-country.visited:focus{
  fill:#d5b77d;
  filter:drop-shadow(0 0 14px rgba(200,168,107,.34));
}
.micro-country{
  stroke-width:2.2;
}
.map-tooltip{
  position:absolute;
  z-index:4;
  pointer-events:none;
  background:rgba(18,18,18,.94);
  border:1px solid rgba(200,168,107,.22);
  color:#e7decd;
  font-family:var(--font-type);
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  white-space:nowrap;
  transform:translate(-50%, calc(-100% - 14px));
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}
.map-zoom-hint{
  position:absolute;
  left:50%;
  top:50%;
  z-index:6;
  pointer-events:none;
  transform:translate(-50%, -50%) scale(.96);
  opacity:0;
  max-width:min(82%, 360px);
  padding:10px 14px;
  border:1px solid rgba(78,177,104,.36);
  border-radius:999px;
  background:rgba(12,14,12,.86);
  color:#9be47f;
  font-family:var(--font-type);
  font-size:.82rem;
  line-height:1.2;
  text-align:center;
  box-shadow:0 14px 34px rgba(0,0,0,.34), 0 0 18px rgba(78,177,104,.12);
  backdrop-filter:blur(10px);
  transition:opacity .18s ease, transform .18s ease;
}
.map-zoom-hint.is-visible{
  opacity:1;
  transform:translate(-50%, -50%) scale(1);
}
.map-controls{
  position:absolute;
  left:12px;
  bottom:12px;
  z-index:5;
  display:flex;
  gap:8px;
  padding:7px;
  border:1px solid rgba(200,168,107,.18);
  border-radius:999px;
  background:rgba(15,15,15,.74);
  box-shadow:0 14px 32px rgba(0,0,0,.26);
  backdrop-filter:blur(10px);
}
.map-controls button{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(231,222,205,.14);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#f0dfb5;
  font-family:var(--font-type);
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.map-controls button:hover,
.map-controls button:focus{
  border-color:rgba(240,223,181,.34);
  background:rgba(200,168,107,.12);
  outline:none;
}
.map-controls button:disabled{
  cursor:default;
  opacity:.38;
}
.map-credit{
  position:absolute;
  right:10px;
  bottom:8px;
  font-family:var(--font-type);
  font-size:10px;
  color:rgba(231,222,205,.66);
  background:rgba(10,10,10,.45);
  padding:4px 8px;
  border-radius:8px;
  backdrop-filter:blur(4px);
}
@media (max-width: 900px){
  .map-room{
    height:min(62vh, 520px);
  }
}


.lightbox-nav{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.06);
  color:white;
  font-size:30px;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.lightbox-prev{left:18px}
.lightbox-next{right:18px}
.lightbox-counter{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#f0e6d3;
  font-family:var(--font-type);
  font-size:12px;
  backdrop-filter:blur(8px);
}
.lightbox-caption{
  position:fixed;
  left:50%;
  bottom:58px;
  transform:translateX(-50%);
  max-width:min(86vw, 520px);
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(200,168,107,.20);
  background:rgba(15,15,16,.72);
  color:#f0e6d3;
  font-family:var(--font-type);
  font-size:13px;
  text-align:center;
  backdrop-filter:blur(8px);
}
.lightbox-caption[hidden]{
  display:none !important;
}


.trip-poster{
  position:relative;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  overflow:hidden;
}
.trip-poster-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.48)),
    radial-gradient(circle at top left, rgba(255,255,255,.10), rgba(255,255,255,0) 35%);
  pointer-events:none;
}
.trip-poster h3{
  position:relative;
  z-index:1;
}


.gallery-actions{
  display:flex;
  justify-content:center;
  margin-top:22px;
}
.load-more-btn{
  border:1px solid rgba(200,168,107,.25);
  background:rgba(255,255,255,.02);
  color:var(--accent-gold);
  font-family:var(--font-marker);
  font-size:1rem;
  padding:10px 18px;
  cursor:pointer;
  border-radius:999px;
}
.load-more-btn[hidden]{
  display:none !important;
}
.photo-card{
  background:#111;
  content-visibility:auto;
  contain-intrinsic-size: 360px;
}
.photo-card img{
  background:#111;
}
@media (max-width:620px){
  .masonry{
    grid-template-columns:1fr !important;
    gap:14px;
  }
  .masonry-column{
    gap:14px;
  }
  .photo-card{
    content-visibility:visible;
    contain-intrinsic-size:auto;
  }
  .photo-card img{
    border-width:7px;
    border-radius:8px;
  }
}

.avant-garde-box{
  background:linear-gradient(180deg, rgba(29,28,27,.98), rgba(18,18,17,.96));
  border:1px solid rgba(200,168,107,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.02);
  border-radius:22px;
  padding:26px 24px;
}

.avant-garde-text{
  margin:0;
  font-family:var(--font-type);
  color:#d7ccba;
  line-height:1.8;
  font-size:1rem;
}
.music-settings-box{
  background:linear-gradient(180deg, rgba(29,28,27,.98), rgba(18,18,17,.96));
  border:1px solid rgba(200,168,107,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.02);
  border-radius:22px;
  padding:26px 24px;
}
.music-settings-text{
  margin:0 0 18px 0;
  font-family:var(--font-type);
  color:#d7ccba;
  line-height:1.7;
}
.music-mode-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.music-mode-btn{
  flex:1 1 260px;
  min-height:52px;
  border:1px solid rgba(200,168,107,.20);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#cfc4b2;
  padding:12px 18px;
  cursor:pointer;
  font:700 .76rem var(--font-body);
  text-transform:uppercase;
  letter-spacing:.12em;
  transition:color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.music-mode-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(88,201,133,.34);
}
.music-mode-btn.is-active{
  color:#d9ffe8;
  border-color:rgba(88,201,133,.56);
  background:rgba(88,201,133,.14);
  box-shadow:0 0 0 6px rgba(88,201,133,.08);
}
.warning-list{
  margin:0;
  padding-left:22px;
  font-family:var(--font-type);
  color:#d7ccba;
  line-height:1.8;
}
.warning-list li + li{
  margin-top:10px;
}

.collection-note{
  margin:0 0 24px 0;
  font-family:var(--font-hand);
  font-size:1.24rem;
  color:#d8cfbe;
  font-weight:700;
}

.collection-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:22px;
}

.collection-card{
  cursor:pointer;
  background:linear-gradient(180deg, rgba(24,23,22,.96), rgba(14,14,14,.99));
  border:1px solid rgba(200,168,107,.12);
  box-shadow:0 14px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.02);
  border-radius:22px;
  overflow:hidden;
  position:relative;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.collection-card:hover{
  transform:translateY(-6px);
  border-color:rgba(200,168,107,.28);
  box-shadow:0 22px 42px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.03);
}

.entry-warning{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.74);
  backdrop-filter:blur(10px);
}
.entry-warning[hidden]{
  display:none !important;
}
.entry-warning-card{
  width:min(520px, 100%);
  background:linear-gradient(180deg, rgba(29,28,27,.98), rgba(18,18,17,.98));
  border:1px solid rgba(200,168,107,.18);
  border-radius:22px;
  padding:28px 26px;
  box-shadow:0 24px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
  text-align:left;
}
.entry-warning-card h2{
  margin:0 0 14px 0;
  font-family:var(--font-marker);
  color:var(--accent-gold);
  font-size:2rem;
  transform:rotate(-0.4deg);
}
.entry-warning-card p,
.entry-warning-card .warning-list{
  margin:0 0 22px 0;
  font-family:var(--font-type);
  color:#d7ccba;
  line-height:1.8;
}
.entry-warning-card .warning-list{
  padding-left:22px;
}
body.warning-open{
  overflow:hidden;
}
