/* Seoho Explorer's Club — field journal design system */
:root {
  --paper: #f7f8f3;
  --white: #fff;
  --ink: #263e34;
  --muted: #879087;
  --green: #24543e;
  --sage: #e7eee3;
  --line: #e4e8df;
  --orange: #ed8454;
  --orange-soft: #fff0e7;
  --blue: #70a5ad;
  --display: "DM Sans", "Noto Sans KR", sans-serif;
  --body: "DM Sans", "Noto Sans KR", sans-serif;
  --serif: "DM Serif Display", serif;
  --shadow: 0 8px 32px #25392c06;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  word-break: keep-all;
}
button svg,
a svg {
  flex-shrink: 0;
}
svg.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #ed8454;
  outline-offset: 4px;
}
::selection {
  background: #f6dbb9;
}
input {
  min-width: 0;
}
input:focus {
  outline: none;
}
input:focus-visible {
  outline-offset: 1px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  background: var(--green);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
}
.mobile-only,
.mobile-brand,
.mobile-nav {
  display: none;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.recent-trip > span:last-child .icon {
  width: 12px;
  height: 12px;
}
.share-url-input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 9px;
  border-radius: 7px;
  font-size: 11px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  background: #fcfcf8;
  border-right: 1px solid var(--line);
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 34px 22px 20px;
  overflow: auto;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 52px 3px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 46px;
  color: var(--green);
}
.brand-mark svg.icon {
  width: 39px;
  height: 39px;
  stroke-width: 1.5;
}
.brand b {
  font-size: 21px;
  letter-spacing: -1.2px;
  white-space: nowrap;
  font-weight: 900;
  display: block;
  line-height: 1.35;
}
.brand-dot {
  color: var(--orange);
}
.brand small {
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 750;
  display: block;
  margin-top: 4px;
}
.nav-caption {
  font-size: 8px;
  letter-spacing: 1.45px;
  color: #a0a79b;
  margin: 0 0 14px 12px;
  font-weight: 700;
}
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.nav-link {
  display: flex;
  gap: 11px;
  align-items: center;
  position: relative;
  font-size: 12px;
  font-weight: 600;
  padding: 13px 14px;
  border-radius: 10px;
  color: #7c877c;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-link .icon {
  width: 19px;
  height: 19px;
}
.nav-link:hover {
  background: var(--sage);
  color: var(--green);
}
.nav-link.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 5px 12px #24543e12;
}
.nav-active-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #caddbf;
  margin-left: auto;
}
.nav-count {
  font-size: 10px;
  background: #eef0e9;
  border-radius: 5px;
  margin-left: auto;
  padding: 1px 5px;
  color: var(--green);
}
.nav-link.active .nav-count {
  background: #ffffff20;
  color: white;
}
.small-spark {
  color: #d69c5c;
  margin-left: auto;
}
.sidebar-divider {
  height: 1px;
  background: var(--line);
  margin: 27px 12px 22px;
}
.youtube-link {
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #829080;
}
.youtube-link .icon:first-child {
  width: 18px;
}
.youtube-link .icon:last-child {
  margin-left: auto;
  width: 12px;
}
.youtube-link:hover {
  color: var(--orange);
}
.explorer-card {
  /* Keep the copy intact on short screens; the sidebar scrolls instead. */
  flex-shrink: 0;
  position: relative;
  margin: 48px 0 18px;
  background: #edf1e5;
  border: 1px solid #e4eadb;
  border-radius: 16px;
  padding: 19px 16px 17px;
  text-align: center;
  overflow: hidden;
}
.tiny-label {
  font-size: 9px;
  letter-spacing: 1.65px;
  font-weight: 750;
  display: block;
}
.explorer-card .tiny-label {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #748067;
  position: relative;
  z-index: 1;
}
.explorer-card > img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 6px auto 0;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 7px 5px #30463014);
}
.explorer-card > b {
  display: block;
  font-size: 15px;
  position: relative;
  z-index: 1;
}
.explorer-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #7e8975;
  margin-top: 5px;
}
.explorer-badge {
  font-size: 9px;
  color: #70836a;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  background: #ffffffa6;
  border: 1px solid #e0e8d8;
  border-radius: 100px;
  padding: 6px 8px;
  margin-top: 15px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #80a56e;
}
.explorer-orbit {
  position: absolute;
  width: 175px;
  height: 175px;
  border: 1px solid #dce4d1;
  border-radius: 50%;
  top: 21px;
  left: 0;
}
.orbit-two {
  width: 125px;
  height: 125px;
  top: 47px;
  left: 26px;
}
.sidebar-footer {
  margin-top: auto;
  font-size: 7px;
  letter-spacing: 1px;
  color: #a4ac9f;
  line-height: 2;
  padding: 12px 4px 0;
}
.sidebar-footer span {
  font-size: 9px;
  letter-spacing: 0;
}
.app-shell {
  margin-left: 226px;
}
.topbar {
  height: 82px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: #f7f8f3e8;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  white-space: nowrap;
  color: #8c948a;
}
.breadcrumb b {
  font-weight: 600;
  color: #52664f;
}
.breadcrumb-slash {
  color: #c7cec1;
}
.global-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 255px;
  margin-left: auto;
  color: #98a08f;
}
.global-search .icon {
  width: 16px;
  height: 16px;
}
.global-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: none;
  font-size: 11px;
  color: var(--green);
}
.global-search input::placeholder {
  color: #9fa697;
}
.global-search kbd {
  border: 1px solid #e0e4d9;
  border-radius: 4px;
  width: 18px;
  text-align: center;
  font-size: 10px;
}
.topbar-note {
  font-size: 8px;
  letter-spacing: 1.8px;
  white-space: nowrap;
  color: #829070;
}
.topbar-note span {
  color: var(--orange);
  font-size: 18px;
  margin-left: 6px;
}
.profile-avatar {
  width: 37px;
  height: 37px;
  background: #e9eddf;
  border: 1px solid #dfe5d6;
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
#main-content {
  max-width: 1510px;
  margin: 0 auto;
  padding: 37px 40px 0;
  outline: none;
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #8a967f;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 4px 0 31px;
}
.intro-copy {
  position: relative;
}
.dashboard-intro h1 {
  position: relative;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.43;
  letter-spacing: -2.1px;
  margin: 13px 0 14px;
}
.dashboard-intro h1 > span {
  color: var(--green);
  position: relative;
}
.dashboard-intro h1 > span:after {
  content: "";
  position: absolute;
  height: 7px;
  background: #d8e7c2;
  left: 0;
  right: 0;
  bottom: 2px;
  border-radius: 80% 30%;
  z-index: -1;
  transform: rotate(-1deg);
}
.title-star {
  position: absolute;
  width: 30px;
  height: 30px;
  color: var(--orange);
  top: 13px;
  margin-left: 22px;
  transform: rotate(9deg);
}
.intro-description {
  font-size: 12px;
  color: #85907d;
  line-height: 1.85;
  letter-spacing: -0.2px;
}
.intro-description b {
  font-weight: 600;
  color: #596c51;
}
.latest-postcard {
  width: 330px;
  height: 185px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  border-radius: 17px;
  background: #e9eddd;
  border: 1px solid #e0e5d3;
  overflow: hidden;
  padding: 23px;
  transition: transform 0.25s;
}
.latest-postcard:hover {
  transform: translateY(-4px);
}
.postcard-copy {
  position: relative;
  z-index: 2;
  width: 64%;
}
.postcard-copy .tiny-label {
  font-size: 7px;
  color: #8a9675;
  letter-spacing: 1.5px;
}
.postcard-copy strong {
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: -0.8px;
  display: block;
  margin: 10px 0 15px;
  max-width: 165px;
}
.postcard-place {
  display: block;
  color: #80916f;
  font-size: 10px;
  padding-right: 12px;
}
.latest-postcard > img {
  position: absolute;
  width: 173px;
  height: 173px;
  object-fit: contain;
  right: -12px;
  bottom: -22px;
  transform: rotate(7deg);
  filter: drop-shadow(0 8px 5px #486b3720);
}
.postcard-stamp {
  position: absolute;
  right: 21px;
  top: 12px;
  width: 57px;
  height: 57px;
  border: 1px dashed #899678;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #6a805d;
  transform: rotate(15deg);
  line-height: 1.2;
}
.postcard-stamp em {
  font-family: var(--serif);
  font-size: 20px;
}
.postcard-arrow {
  position: absolute;
  bottom: 16px;
  left: 150px;
  color: #617b54;
}
.postcard-arrow .icon {
  width: 15px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 0 0 35px;
}
.stat-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 20px 21px 17px;
  min-height: 130px;
  text-align: left;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: #b9cbb0;
}
.stat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a9583;
  font-size: 11px;
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f3e9;
  color: #7e9367;
  width: 29px;
  height: 29px;
  border-radius: 9px;
}
.stat-icon .icon {
  width: 16px;
  height: 16px;
}
.stat-card:nth-child(2) .stat-icon {
  background: #fff0e7;
  color: #d99166;
}
.stat-card:nth-child(3) .stat-icon {
  background: #edf3f4;
  color: #80a5ab;
}
.stat-card:nth-child(4) .stat-icon {
  background: #f5f0e5;
  color: #baab7b;
}
.stat-number {
  font-size: 35px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -1.5px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 15px;
}
.stat-number small {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: #9da592;
}
.stat-note {
  font-size: 9px;
  color: #98a18f;
  position: absolute;
  right: 19px;
  bottom: 19px;
}
.stat-card .stat-arrow {
  position: absolute;
  right: 17px;
  top: 24px;
  color: #b9c1b0;
}
.stat-arrow .icon {
  width: 14px;
  height: 14px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.7px;
  margin-bottom: 7px;
}
.section-heading h2 {
  font-size: 21px;
  letter-spacing: -0.8px;
  line-height: 1.4;
  font-weight: 750;
}
.heading-dot {
  color: var(--orange);
  margin-left: 3px;
}
.text-link {
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  color: #768668;
  padding: 4px 0;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.text-link:hover {
  color: var(--orange);
}
.map-section {
  margin-bottom: 36px;
}
.map-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 21px;
  border-bottom: 1px solid var(--line);
}
.map-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.map-tab {
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #929b87;
}
.map-tab.active {
  background: #edf2e6;
  color: var(--green);
  border-color: #e3e9db;
}
.map-tab:hover {
  background: #f2f5ed;
}
.map-tab small {
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  background: #fff;
  padding: 0px 5px;
  border-radius: 4px;
  color: #9aa68b;
}
.map-live-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #9ba48e;
  white-space: nowrap;
}
.map-live-label .status-dot {
  width: 5px;
  height: 5px;
}
.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  min-height: 355px;
}
.world-map-wrap {
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #f0f4f1;
  isolation: isolate;
}
.world-map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(#d7e0d7 0.7px, transparent 0.7px);
  background-size: 13px 13px;
}
#world-map {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 355px;
  cursor: grab;
  /* Only the map captures touch pan/pinch; the surrounding page scrolls normally. */
  touch-action: none;
}
#world-map:active {
  cursor: grabbing;
}
.world-country {
  fill: #d9e3d2;
  stroke: #f1f5ee;
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
}
.world-country.visited {
  fill: #87a47c;
  stroke: #eff2e9;
}
.world-graticule {
  fill: none;
  stroke: #c4d7cd;
  stroke-width: 0.45;
  stroke-opacity: 0.45;
  vector-effect: non-scaling-stroke;
}
.map-route {
  fill: none;
  stroke: #d5a580;
  stroke-width: 1.8;
  stroke-dasharray: 4 6;
  opacity: 0.6;
}
.map-marker {
  cursor: pointer;
  outline: none;
}
.map-marker .marker-halo {
  fill: #fff;
  opacity: 0.36;
}
.map-marker .marker-disc {
  stroke: white;
  stroke-width: 3;
  filter: drop-shadow(0 2px 4px #25392c20);
}
.map-marker:hover .marker-disc,
.map-marker:focus-visible .marker-disc {
  stroke: #f3c593;
  stroke-width: 5;
}
.map-marker.selected .marker-disc {
  stroke: #f7c6a7;
  stroke-width: 5;
}
.map-marker text {
  font-family: var(--body);
  fill: white;
  text-anchor: middle;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}
.map-marker .marker-label {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 600;
  paint-order: stroke;
  stroke: #f5f8ef;
  stroke-width: 4px;
  stroke-linejoin: round;
}
.map-ocean-label {
  position: absolute;
  left: 29px;
  top: 22px;
  pointer-events: none;
  color: #839780;
  font-size: 8px;
  letter-spacing: 2px;
  line-height: 1.7;
  transition: opacity 0.2s;
}
.map-ocean-label em {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.5px;
  color: #698565;
}
.map-controls {
  position: absolute;
  right: 13px;
  bottom: 31px;
  display: flex;
  flex-direction: column;
  background: white;
  box-shadow: 0 3px 12px #2c482e10;
  border: 1px solid #e0e8dc;
  border-radius: 8px;
  overflow: hidden;
}
.map-controls button {
  width: 29px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #688261;
}
.map-controls button + button {
  border-top: 1px solid #edf0e8;
}
.map-controls .icon {
  width: 13px;
  height: 13px;
}
.map-controls button:hover {
  background: var(--sage);
}
.map-hint {
  position: absolute;
  left: 15px;
  bottom: 12px;
  color: #87967f;
  font-size: 8px;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-hint .icon {
  width: 12px;
  height: 12px;
}
.map-credit {
  position: absolute;
  right: 13px;
  bottom: 11px;
  font-size: 6px;
  letter-spacing: 0.5px;
  color: #8a9a85;
}
.map-detail {
  padding: 20px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.map-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #9aa18b;
}
.map-detail-heading b {
  font-weight: 600;
  color: #7e926d;
}
.map-venue-select {
  max-width: 100%;
  width: 100%;
  border: 1px solid var(--line);
  background: #f9faf6;
  border-radius: 6px;
  font-size: 10px;
  padding: 7px;
  margin-bottom: 12px;
  color: #6c7f60;
}
.map-detail-photo {
  height: 96px;
  position: relative;
  background: #eef2e5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 13px;
}
.map-detail-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-detail-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #1c341a35, transparent);
}
.venue-type-label {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 1;
  display: flex;
  gap: 4px;
  align-items: center;
  background: #fffef2ec;
  font-size: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  font-weight: 600;
  color: #527047;
}
.venue-type-label .icon {
  width: 11px;
  height: 11px;
}
.map-detail h3 {
  font-size: 16px;
  letter-spacing: -0.6px;
  line-height: 1.5;
  margin-bottom: 3px;
}
.map-detail-meta {
  font-size: 9px;
  color: #8b9980;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.map-detail-meta .icon {
  width: 11px;
  height: 11px;
}
.map-friends {
  display: flex;
  align-items: center;
  margin: 12px 0;
}
.friend-bubble {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #eff3e8;
  display: grid;
  place-items: center;
  border: 2px solid white;
  margin-right: -7px;
  overflow: hidden;
}
.friend-bubble img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.map-friends > span:last-child {
  font-size: 9px;
  color: #8c9780;
  margin-left: 15px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 650;
  border-radius: 9px;
  padding: 12px 19px;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--green);
  color: white;
}
.button-primary:hover {
  background: #173e2a;
}
.button-outline {
  background: white;
  border: 1px solid var(--line);
  color: var(--green);
}
.map-detail .button {
  font-size: 10px;
  width: 100%;
  margin-top: auto;
  padding: 9px 13px;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 19px;
  border-top: 1px solid var(--line);
  padding: 11px 21px;
  font-size: 8px;
  color: #8d9984;
}
.map-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.legend-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
}
.zoo {
  background: #d99063;
}
.aquarium {
  background: #739fa6;
}
.garden {
  background: #8ca965;
}
.map-legend small {
  font-size: 7px;
  margin-left: auto;
  color: #adb3a4;
}
.map-error {
  position: absolute;
  inset: 0;
  background: #f0f4f1ee;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  font-size: 13px;
}
.map-error span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.animal-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  text-align: left;
  padding: 0;
  display: block;
  width: 100%;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.animal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px #263e3410;
  border-color: #c1d1b7;
}
.animal-art {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--card-bg, #edf2e9);
  overflow: hidden;
}
.animal-art:before {
  content: "";
  position: absolute;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  border: 1px solid #ffffffa1;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}
.animal-art:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #ffffff7a;
  border-radius: 50%;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  pointer-events: none;
}
.animal-art > img.character {
  position: relative;
  z-index: 1;
  width: 145px;
  height: 145px;
  object-fit: contain;
  filter: drop-shadow(0 8px 4px #354a2520);
  transition: transform 0.3s;
}
.animal-card:hover .animal-art > img.character {
  transform: scale(1.08) rotate(-3deg);
}
.animal-art > img.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.animal-art:has(.photo):before,
.animal-art:has(.photo):after {
  display: none;
}
.card-number {
  position: absolute;
  left: 13px;
  top: 11px;
  font-size: 8px;
  letter-spacing: 0.8px;
  color: #7c8d72;
  z-index: 2;
  background: #ffffffe0;
  border-radius: 4px;
  padding: 2px 5px;
}
.new-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  color: #b67746;
  font-size: 7px;
  letter-spacing: 1px;
  z-index: 2;
  background: #fffcf1d9;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 750;
}
.rarity-star {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #b79b61;
  font-size: 15px;
  z-index: 2;
}
.card-info {
  padding: 14px 15px 13px;
}
.card-category {
  font-size: 8px;
  color: var(--card-accent, #7d906f);
  font-weight: 600;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
}
.card-category .icon {
  width: 11px;
  height: 11px;
}
.card-info h3 {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: -0.6px;
  margin: 0 0 1px;
}
.card-english {
  font-size: 9px;
  color: #a0a996;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #909c86;
  font-size: 8px;
  border-top: 1px solid #edf0e6;
  margin-top: 12px;
  padding-top: 10px;
}
.card-bottom .icon {
  width: 11px;
  height: 11px;
}
.card-bottom .card-arrow {
  margin-left: auto;
  width: 19px;
  height: 19px;
  border: 1px solid #e6ecdf;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.card-bottom .card-arrow .icon {
  width: 10px;
  height: 10px;
}
.discoveries-section {
  margin-bottom: 35px;
}
.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 22px;
}
.recent-trips-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 23px;
}
.section-heading.compact {
  margin-bottom: 13px;
}
.section-heading.compact h2 {
  font-size: 19px;
}
.icon-button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.icon-button .icon {
  width: 14px;
  height: 14px;
}
.recent-trip {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 13px;
  padding: 13px 0;
  text-align: left;
  border-bottom: 1px solid #edf0e7;
}
.recent-trip:last-child {
  border-bottom: 0;
}
.trip-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #eef2e7;
  display: grid;
  place-items: center;
  color: #859774;
  flex-shrink: 0;
}
.trip-icon .icon {
  width: 18px;
  height: 18px;
}
.recent-trip h3 {
  font-size: 11px;
  letter-spacing: -0.2px;
}
.recent-trip p {
  font-size: 9px;
  color: #99a38c;
  margin-top: 4px;
}
.recent-trip > span:last-child {
  margin-left: auto;
  font-size: 9px;
  color: #8b9c79;
  white-space: nowrap;
}
.recent-trip:hover h3 {
  color: var(--orange);
}
.mini-ocean {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 17px;
  background: #234b49;
  color: #eef7ee;
  padding: 29px 26px;
  min-height: 285px;
}
.mini-ocean .tiny-label {
  font-size: 8px;
  color: #9cbbb0;
}
.mini-ocean h2 {
  font-size: 26px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: -1px;
  margin: 16px 0 11px;
  position: relative;
  z-index: 2;
}
.mini-ocean h2 em {
  font-style: normal;
  color: #b6d6bc;
}
.mini-ocean p {
  font-size: 10px;
  color: #98bcb0;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}
.mini-ocean > img {
  position: absolute;
  right: -17px;
  bottom: -29px;
  width: 230px;
  height: 230px;
  object-fit: contain;
  transform: rotate(-13deg);
  z-index: -1;
  opacity: 0.95;
}
.ocean-link {
  margin-top: 19px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  border-bottom: 1px solid #9ec6ad66;
  padding-bottom: 5px;
  position: relative;
  z-index: 2;
}
.ocean-link .icon {
  width: 13px;
  height: 13px;
}
.ocean-ring {
  position: absolute;
  right: -80px;
  top: 0;
  width: 310px;
  height: 310px;
  border: 1px solid #c5e2d114;
  border-radius: 50%;
  z-index: -2;
  box-shadow:
    0 0 0 36px #c5e2d108,
    0 0 0 74px #c5e2d108;
}
.site-footer {
  padding: 43px 0 22px;
  border-top: 1px solid var(--line);
  margin-top: 45px;
}
.footer-brand {
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .icon {
  width: 21px;
  height: 21px;
  color: #7e9468;
}
.site-footer > p {
  font-size: 10px;
  color: #94a087;
  margin: 9px 0 23px;
}
.site-footer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 0.7px;
  color: #a7afa0;
}
.site-footer > div a {
  font-size: 9px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.site-footer > div a .icon {
  width: 11px;
  height: 11px;
}
.page-intro {
  padding: 16px 0 32px;
}
.page-intro .eyebrow {
  margin-bottom: 14px;
}
.page-intro h1 {
  font-size: 37px;
  letter-spacing: -1.8px;
  line-height: 1.5;
  font-weight: 800;
}
.page-intro h1 span {
  color: #6a8d55;
}
.page-intro > p:last-child {
  font-size: 12px;
  color: #8d9982;
  margin-top: 14px;
  line-height: 1.9;
  word-break: keep-all;
}
.collection-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 23px;
  align-items: center;
}
.collection-search {
  display: flex;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  align-items: center;
  flex: 1;
  color: #8a9a7d;
}
.collection-search .icon {
  width: 17px;
  height: 17px;
}
.collection-search input {
  border: 0;
  outline: none;
  background: none;
  width: 100%;
  font-size: 12px;
  color: var(--ink);
}
.collection-search input::placeholder {
  color: #a0ab94;
}
select {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 11px;
  color: #718263;
  font-size: 11px;
  max-width: 100%;
  cursor: pointer;
}
.display-toggle {
  display: flex;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px;
  gap: 2px;
}
.display-toggle button {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  color: #a2ab98;
  display: grid;
  place-items: center;
}
.display-toggle button.active {
  background: var(--sage);
  color: var(--green);
}
.display-toggle .icon {
  width: 16px;
  height: 16px;
}
.category-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 8px 13px;
  color: #89987c;
  transition: background 0.2s;
}
.filter-chip .icon {
  width: 13px;
  height: 13px;
}
.filter-chip small {
  font-size: 9px;
  opacity: 0.7;
}
.filter-chip.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.filter-chip:hover:not(.active) {
  background: #edf2e5;
}
.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 23px 0 17px;
}
.results-line p {
  font-size: 11px;
  color: #97a087;
}
.results-line b {
  color: var(--green);
  font-size: 14px;
  margin-right: 3px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}
.collection-grid .animal-art {
  height: 190px;
}
.collection-grid .animal-art > img.character {
  width: 165px;
  height: 165px;
}
.collection-grid .animal-art:before {
  top: 27px;
}
.collection-grid .animal-art:after {
  top: 5px;
}
.load-more {
  display: flex;
  margin: 28px auto 0;
  min-width: 190px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 55px 25px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d4decb;
  border-radius: 16px;
}
.empty-state .icon {
  width: 30px;
  height: 30px;
  color: #9aaa8c;
  margin-bottom: 12px;
}
.empty-state h3 {
  font-size: 18px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  margin: 9px 0 18px;
}
.wishlist-section {
  margin-top: 50px;
  border-top: 1px solid var(--line);
  padding-top: 31px;
}
.wishlist-section .eyebrow {
  margin-bottom: 8px;
}
.wishlist-section h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
}
.wishlist-section > p:not(.eyebrow) {
  font-size: 11px;
  color: #8c9a81;
  margin-top: 10px;
}
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 22px;
}
.wishlist-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed #d3ddc8;
  border-radius: 13px;
  padding: 22px;
  background: #eff2e8;
}
.wishlist-card > span {
  font-family: var(--serif);
  font-size: 38px;
  color: #aaba98;
  line-height: 1;
}
.wishlist-card b {
  display: block;
  font-size: 12px;
}
.wishlist-card p {
  font-size: 10px;
  color: #94a183;
  margin-top: 4px;
}
.passport-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 27px 30px;
  background: #eaf0e2;
  border: 1px solid #dfe7d5;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}
.passport-icon .icon {
  width: 52px;
  height: 52px;
  stroke-width: 1;
  color: #88a374;
}
.passport-banner small {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8b9f79;
  display: block;
  margin-bottom: 6px;
}
.passport-banner b {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.passport-stamp {
  margin-left: auto;
  border: 2px solid #7f98756e;
  outline: 1px solid #7f98756e;
  outline-offset: -6px;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  letter-spacing: 2px;
  color: #829c70;
  transform: rotate(13deg);
  line-height: 1.8;
  flex-shrink: 0;
}
.passport-stamp strong {
  font-size: 19px;
  letter-spacing: 2px;
}
.journey-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.venue-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.venue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px #243f3410;
}
.venue-photo {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: #e9eee3;
}
.venue-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.venue-card:hover .venue-photo > img {
  transform: scale(1.06);
}
.venue-photo-caption {
  position: absolute;
  right: 9px;
  bottom: 9px;
  color: white;
  font-size: 7px;
  background: #1e32267a;
  padding: 3px 6px;
  border-radius: 4px;
}
.venue-card-body {
  padding: 18px;
}
.venue-country-label {
  font-size: 9px;
  color: #92a084;
  letter-spacing: 1px;
}
.venue-card h3 {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.7px;
  margin: 6px 0 5px;
}
.venue-card-body > p {
  font-size: 10px;
  color: #9ba68f;
}
.venue-card-body .map-friends {
  margin-bottom: 0;
}
.venue-card-body .map-friends .card-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.card-arrow .icon {
  width: 13px;
  height: 13px;
}
.ocean-hero {
  background: #214a49;
  border-radius: 21px;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 43px 43px 55px;
  min-height: 360px;
  margin: 10px 0 20px;
}
.ocean-hero:before,
.ocean-hero:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #87ada540;
  border-radius: 50%;
  right: 0;
  top: 20px;
  z-index: -2;
  box-shadow:
    0 0 0 40px #87ada511,
    0 0 0 80px #87ada50b;
}
.ocean-hero:after {
  width: 100px;
  height: 100px;
  top: auto;
  bottom: -40px;
  left: -20px;
}
.ocean-hero .eyebrow {
  color: #a7c6bb;
}
.ocean-hero h1 {
  font-size: 40px;
  letter-spacing: -1.8px;
  line-height: 1.45;
  margin: 17px 0;
}
.ocean-hero p:not(.eyebrow) {
  font-size: 12px;
  line-height: 2;
  color: #a4c5ba;
}
.ocean-hero > img {
  position: absolute;
  right: 0;
  top: -5px;
  width: 400px;
  height: 360px;
  object-fit: contain;
  transform: rotate(-12deg);
  z-index: -1;
}
.ocean-count {
  display: inline-block;
  font-size: 10px;
  padding: 6px 12px;
  border: 1px solid #a3c4b34a;
  border-radius: 100px;
  margin-top: 20px;
  color: #c7e0ce;
}
.ocean-depth {
  position: absolute;
  right: 30px;
  bottom: 23px;
  font-size: 8px;
  letter-spacing: 3px;
  color: #98c6b3;
}
.ocean-note {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d9e88;
  margin-bottom: 25px;
  line-height: 1.8;
}
.ocean-note .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.ocean-grid .animal-art {
  background: #e1edeb;
}
/* Dialogs preserve the journey, with real footage and original characters side by side. */
dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--body);
  box-shadow: 0 24px 100px #162b3540;
}
dialog::backdrop {
  background: #192e2aab;
  backdrop-filter: blur(6px);
}
dialog[open] {
  animation: dialog-in 0.2s ease;
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 17px;
  width: 34px;
  height: 34px;
  border: 1px solid #ffffff8a;
  background: #fffffff2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 5;
  color: #526848;
  box-shadow: 0 2px 8px #122d2812;
}
.dialog-close .icon {
  width: 17px;
  height: 17px;
}
.dialog-close:hover {
  background: #f1dbcb;
}
.animal-modal {
  width: min(800px, calc(100% - 32px));
  max-height: 88dvh;
  border-radius: 24px;
  background: #fcfdf8;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.animal-modal-hero {
  height: 240px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card-bg, #eaf0df);
  overflow: hidden;
}
.animal-real-photo {
  height: 240px;
  width: 100%;
  object-fit: cover;
}
.animal-photo-wrap {
  position: relative;
  overflow: hidden;
}
.animal-photo-wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #14382455, transparent 45%);
}
.real-photo-label {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: white;
  z-index: 1;
  font-size: 8px;
  letter-spacing: 1.7px;
}
.animal-character-wrap {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.animal-character-wrap:before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid #ffffff7a;
  border-radius: 50%;
  aspect-ratio: 1;
  margin: auto;
}
.animal-character-wrap img {
  width: 215px;
  height: 215px;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 12px 9px #36543b20);
}
.animal-modal-body {
  padding: 29px 34px 34px;
}
.animal-modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.animal-number {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #9aa88a;
  margin-bottom: 4px;
}
.animal-modal h2 {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.5;
}
.animal-en {
  font-size: 12px;
  color: #95a185;
  margin-top: 3px;
}
.category-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  color: var(--card-accent);
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 11px;
  white-space: nowrap;
}
.category-pill .icon {
  width: 14px;
  height: 14px;
}
.animal-easy {
  font-size: 14px;
  line-height: 1.95;
  margin: 23px 0;
  color: #697b5d;
  word-break: keep-all;
}
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fact-box {
  background: #f0f4e9;
  border: 1px solid #e7eddc;
  border-radius: 11px;
  padding: 16px;
}
.fact-label {
  font-size: 9px;
  color: #8d9e7d;
  margin-bottom: 6px;
}
.fact-value {
  font-size: 12px;
  color: #536a48;
  line-height: 1.8;
}
.animal-quote {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.animal-quote img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: #eaf0df;
}
.animal-quote span {
  font-size: 9px;
  color: #9baa8a;
}
.animal-quote p {
  font-size: 12px;
  color: #778a66;
  margin: 3px 0 0;
}
.modal-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.modal-section-heading h3 {
  font-size: 16px;
  letter-spacing: -0.5px;
}
.modal-section-heading span {
  font-size: 10px;
  color: #94a083;
}
.sighting-card {
  padding: 14px 0;
  border-bottom: 1px solid #e8edde;
}
.sighting-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sighting-place {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-align: left;
  padding: 0;
}
.sighting-place .icon {
  width: 12px;
  height: 12px;
  color: #8ba076;
}
.sighting-place:hover {
  color: var(--orange);
}
.sighting-date {
  font-size: 9px;
  color: #96a387;
  margin: 5px 0;
}
.sighting-header > div {
  flex: 1;
}
.play-video {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #547343;
  background: #e9f0df;
  border: 1px solid #dfe8d2;
  padding: 9px 11px;
  border-radius: 7px;
  white-space: nowrap;
}
.play-video .icon {
  width: 12px;
  height: 12px;
}
.play-video[aria-expanded="true"] {
  background: var(--green);
  color: white;
}
.video-container {
  margin-top: 14px;
}
.video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 10px;
  background: #173c35;
  display: block;
}
.video-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  font-size: 9px;
  color: #91a182;
  margin-top: 8px;
  flex-wrap: wrap;
}
.video-fallback a {
  color: #547244;
  text-decoration: underline;
}
.animal-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.animal-modal-actions .button {
  flex: 1;
}
.related-friends {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 3px 0 8px;
}
.related-friend {
  min-width: 80px;
  padding: 0;
  text-align: center;
  flex: 0 0 80px;
}
.related-friend img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #edf2e6;
  border-radius: 12px;
  padding: 5px;
}
.related-friend span {
  font-size: 9px;
  display: block;
  margin-top: 6px;
  color: #7f936c;
}
.related-section {
  margin-top: 27px;
}
.venue-modal {
  width: min(890px, calc(100% - 32px));
  max-height: 90dvh;
  border-radius: 23px;
  background: var(--paper);
  overflow: auto;
  overscroll-behavior: contain;
}
.venue-modal-cover {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #dce7d2;
}
.venue-modal-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.64);
}
.venue-modal-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #17361bb3, transparent);
}
.venue-cover-text {
  position: absolute;
  bottom: 24px;
  left: 30px;
  right: 25px;
  z-index: 1;
  color: white;
}
.venue-cover-text .eyebrow {
  color: #d3ddc9;
  font-size: 9px;
}
.venue-cover-text h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 8px 0 2px;
}
.venue-cover-text p {
  font-size: 11px;
  color: #cbd9c0;
}
.venue-modal-body {
  padding: 27px 30px 32px;
}
.venue-summary-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 19px;
  border-bottom: 1px solid #dfe6d5;
  flex-wrap: wrap;
}
.venue-summary-bar > span {
  font-size: 11px;
  color: #91a07e;
}
.venue-summary-bar b {
  font-size: 20px;
  color: var(--green);
  margin-right: 3px;
}
.venue-summary-bar a {
  margin-left: auto;
}
.venue-visit-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.venue-visit-filter > span {
  font-size: 10px;
  color: #8a9a76;
  margin-right: 5px;
}
.venue-animal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.venue-animal-grid .animal-art {
  height: 145px;
}
.venue-animal-grid .animal-art img.character {
  width: 130px;
  height: 130px;
}
.venue-video-list {
  margin-top: 25px;
}
.venue-video-list h3 {
  font-size: 16px;
  margin-bottom: 14px;
}
.venue-video-link {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  margin-bottom: 8px;
  color: #6b8358;
}
.venue-video-link .icon:last-child {
  margin-left: auto;
  width: 13px;
  height: 13px;
}
.reveal-modal {
  width: min(420px, calc(100% - 32px));
  border-radius: 25px;
  text-align: center;
  overflow: hidden;
  padding: 38px 30px 30px;
  background: #ecf2e4;
  isolation: isolate;
}
.reveal-modal:before {
  content: "";
  position: absolute;
  inset: -100px;
  background: conic-gradient(
    from 0deg,
    #b7cfa540,
    transparent,
    #eac5a050,
    transparent,
    #b7cfa540
  );
  z-index: -1;
  animation: reveal-spin 12s linear infinite;
}
.reveal-modal .eyebrow {
  font-size: 8px;
  justify-content: center;
  margin-top: 12px;
}
.reveal-modal h2 {
  font-size: 22px;
  letter-spacing: -0.8px;
  margin: 13px 0 18px;
}
.reveal-friend {
  width: 210px;
  min-height: 230px;
  margin: 0 auto 23px;
  background: linear-gradient(140deg, #ffffffe0, #e3edcf);
  border: 5px double #b2bc8f;
  border-radius: 17px;
  box-shadow: 0 13px 30px #637c3920;
  animation: reveal-appear 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-friend img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  margin: 0 auto;
}
.reveal-friend b {
  font-size: 17px;
  display: block;
}
.reveal-friend span {
  display: block;
  color: #a79056;
  font-size: 8px;
  letter-spacing: 2px;
  margin: 5px 0 16px;
}
.reveal-modal > .button {
  width: 100%;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #234c3e;
  color: white;
  font-size: 12px;
  padding: 13px 23px;
  border-radius: 100px;
  box-shadow: 0 5px 25px #183d2b20;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 500;
  width: max-content;
  max-width: calc(100% - 35px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading-state {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.loading-compass .icon {
  width: 45px;
  height: 45px;
  color: #7f9c6e;
  animation: reveal-spin 8s linear infinite;
}
.loading-state b {
  font-size: 20px;
  letter-spacing: -0.7px;
}
.loading-state p {
  font-size: 12px;
  color: #92a282;
}
.loading-state.error .loading-compass .icon {
  animation: none;
}
.loading-state .button {
  margin-top: 10px;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes reveal-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes reveal-appear {
  from {
    opacity: 0;
    transform: rotate(-12deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}
@media (min-width: 1550px) {
  #main-content {
    padding: 43px 52px 0;
  }
  .topbar {
    padding: 0 52px;
  }
  .dashboard-intro h1 {
    font-size: 47px;
  }
  .latest-postcard {
    width: 380px;
    height: 200px;
  }
  .postcard-copy strong {
    font-size: 20px;
  }
  .latest-postcard > img {
    width: 195px;
    height: 195px;
  }
  .stats-grid {
    margin-bottom: 43px;
  }
  .stat-card {
    min-height: 139px;
  }
  .map-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    min-height: 397px;
  }
  .map-detail-photo {
    height: 120px;
  }
  .animal-art {
    height: 205px;
  }
  .animal-art > img.character {
    width: 175px;
    height: 175px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .map-section,
  .discoveries-section {
    margin-bottom: 43px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 199px;
    padding: 30px 15px 16px;
  }
  .app-shell {
    margin-left: 199px;
  }
  .brand {
    gap: 5px;
  }
  .brand b {
    font-size: 19px;
  }
  .brand small {
    font-size: 7px;
  }
  .brand-mark svg.icon {
    width: 34px;
    height: 34px;
  }
  .nav-link {
    padding: 12px 10px;
    font-size: 11px;
  }
  .nav-caption {
    font-size: 7px;
  }
  #main-content {
    padding: 27px 26px 0;
  }
  .topbar {
    padding: 0 26px;
    gap: 17px;
    height: 74px;
  }
  .topbar-note {
    display: none;
  }
  .global-search {
    width: 210px;
  }
  .dashboard-intro h1 {
    font-size: 35px;
  }
  .latest-postcard {
    width: 282px;
    height: 170px;
    padding: 19px;
  }
  .postcard-copy strong {
    font-size: 16px;
  }
  .latest-postcard > img {
    width: 147px;
    height: 147px;
    right: -9px;
  }
  .postcard-place {
    font-size: 9px;
  }
  .postcard-stamp {
    width: 46px;
    height: 46px;
    right: 15px;
    font-size: 7px;
  }
  .postcard-stamp em {
    font-size: 17px;
  }
  .postcard-arrow {
    left: 124px;
  }
  .intro-description {
    font-size: 11px;
  }
  .stats-grid {
    gap: 11px;
  }
  .stat-card {
    padding: 16px 14px;
  }
  .stat-note {
    font-size: 8px;
    right: 12px;
    bottom: 17px;
  }
  .stat-top {
    font-size: 10px;
    gap: 6px;
  }
  .stat-number {
    font-size: 31px;
  }
  .stat-arrow {
    display: none;
  }
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  .map-layout {
    grid-template-columns: minmax(0, 1fr) 223px;
  }
  .map-detail {
    padding: 16px;
  }
  .map-detail h3 {
    font-size: 15px;
  }
  .map-legend small {
    display: none;
  }
  .discovery-grid,
  .collection-grid {
    gap: 12px;
  }
  .animal-art {
    height: 146px;
  }
  .animal-art > img.character {
    width: 128px;
    height: 128px;
  }
  .animal-art:before {
    width: 105px;
    height: 105px;
  }
  .animal-art:after {
    width: 146px;
    height: 146px;
    top: 1px;
  }
  .card-info {
    padding: 13px;
  }
  .card-info h3 {
    font-size: 14px;
  }
  .collection-grid .animal-art {
    height: 165px;
  }
  .collection-grid .animal-art > img.character {
    width: 145px;
    height: 145px;
  }
  .dashboard-bottom {
    gap: 15px;
  }
  .mini-ocean {
    padding: 24px;
  }
  .mini-ocean > img {
    width: 185px;
    height: 185px;
    right: -23px;
  }
  .recent-trips-section {
    padding: 20px;
  }
  .recent-trip {
    gap: 10px;
  }
  .recent-trip h3 {
    font-size: 10px;
  }
  .recent-trip > span:last-child {
    font-size: 8px;
  }
  .trip-icon {
    width: 35px;
    height: 35px;
  }
  .venue-grid {
    gap: 15px;
  }
  .venue-photo {
    height: 140px;
  }
  .venue-card-body {
    padding: 15px;
  }
  .venue-card h3 {
    font-size: 15px;
  }
  .ocean-hero > img {
    width: 330px;
    height: 330px;
    right: -30px;
    top: 24px;
  }
  .ocean-hero h1 {
    font-size: 37px;
  }
}
@media (max-width: 1000px) {
  .dashboard-intro {
    gap: 15px;
  }
  .dashboard-intro h1 {
    font-size: 30px;
    letter-spacing: -1.8px;
  }
  .latest-postcard {
    width: 238px;
    height: 164px;
  }
  .latest-postcard > img {
    width: 133px;
    height: 133px;
    right: -21px;
  }
  .postcard-copy {
    width: 85%;
  }
  .postcard-copy strong {
    font-size: 15px;
    max-width: 130px;
  }
  .postcard-copy .tiny-label {
    font-size: 6px;
  }
  .postcard-stamp {
    right: 10px;
  }
  .title-star {
    width: 23px;
    height: 23px;
    margin-left: 13px;
    top: 10px;
  }
  .stat-top {
    font-size: 9px;
  }
  .stat-note {
    position: static;
    display: block;
    margin-top: 8px;
    font-size: 8px;
  }
  .stat-number {
    margin-top: 10px;
  }
  .stat-card {
    min-height: 135px;
  }
  .stat-icon {
    width: 23px;
    height: 23px;
  }
  .stat-icon .icon {
    width: 13px;
    height: 13px;
  }
  .map-layout {
    grid-template-columns: minmax(0, 1fr) 205px;
  }
  .map-tabs {
    gap: 3px;
  }
  .map-tab {
    padding: 6px 9px;
    font-size: 9px;
  }
  .map-card-toolbar {
    padding: 13px 16px;
  }
  .map-live-label {
    font-size: 8px;
  }
  .map-ocean-label {
    left: 17px;
    font-size: 7px;
  }
  .map-ocean-label em {
    font-size: 19px;
  }
  .map-legend {
    gap: 14px;
    padding: 11px 16px;
    font-size: 7px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .discovery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .animal-art {
    height: 126px;
  }
  .animal-art > img.character {
    width: 112px;
    height: 112px;
  }
  .card-info {
    padding: 11px;
  }
  .card-info h3 {
    font-size: 12px;
  }
  .card-bottom {
    font-size: 7px;
    gap: 3px;
  }
  .card-number {
    font-size: 7px;
    left: 9px;
  }
  .new-badge {
    font-size: 6px;
    right: 8px;
  }
  .card-english {
    font-size: 8px;
  }
  .card-category {
    font-size: 7px;
  }
  .dashboard-bottom {
    grid-template-columns: 1fr;
  }
  .mini-ocean {
    min-height: 235px;
    padding: 25px 30px;
  }
  .mini-ocean > img {
    width: 260px;
    height: 260px;
    right: 4px;
    bottom: -30px;
  }
  .mini-ocean h2 {
    font-size: 28px;
  }
  .mini-ocean .tiny-label {
    font-size: 9px;
  }
  .mini-ocean p {
    font-size: 11px;
  }
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collection-controls {
    flex-wrap: wrap;
  }
  .collection-search {
    flex-basis: 100%;
  }
  .collection-controls select {
    flex: 1;
  }
  .page-intro h1 {
    font-size: 32px;
  }
  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .passport-banner {
    padding: 22px;
  }
  .passport-banner b {
    font-size: 17px;
  }
  .passport-icon .icon {
    width: 40px;
    height: 40px;
  }
  .passport-stamp {
    width: 72px;
    height: 72px;
  }
  .passport-stamp strong {
    font-size: 15px;
  }
  .wishlist-card {
    padding: 17px;
    gap: 12px;
  }
  .wishlist-card b {
    font-size: 10px;
  }
  .wishlist-card p {
    font-size: 9px;
  }
  .ocean-hero {
    padding: 35px 30px;
    min-height: 345px;
  }
  .ocean-hero h1 {
    font-size: 32px;
  }
  .ocean-hero > img {
    width: 270px;
    height: 270px;
    right: -52px;
    top: 85px;
  }
  .ocean-hero p:not(.eyebrow) {
    font-size: 11px;
  }
  .journey-filter-row {
    flex-wrap: wrap;
  }
  .journey-filter-row select {
    margin-left: auto;
  }
}
@media (max-width: 800px) {
  .sidebar {
    display: none;
  }
  .app-shell {
    margin-left: 0;
  }
  .topbar {
    height: 66px;
    padding: 0 24px;
    gap: 17px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 18px;
    letter-spacing: -1px;
    font-weight: 800;
    white-space: nowrap;
  }
  .mobile-brand .icon {
    width: 25px;
    height: 25px;
    color: var(--green);
  }
  .global-search {
    width: 220px;
  }
  .profile-avatar {
    width: 33px;
    height: 33px;
  }
  #main-content {
    padding: 26px 24px 0;
  }
  .dashboard-intro h1 {
    font-size: 36px;
  }
  .latest-postcard {
    width: 275px;
    height: 177px;
  }
  .postcard-copy strong {
    font-size: 16px;
  }
  .latest-postcard > img {
    width: 160px;
    height: 160px;
    right: -13px;
  }
  .intro-description {
    font-size: 11px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-card {
    padding: 16px;
    min-height: 136px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .stat-note {
    font-size: 8px;
  }
  .stat-number {
    font-size: 32px;
  }
  .map-layout {
    grid-template-columns: minmax(0, 1fr) 218px;
  }
  .discovery-grid .animal-art {
    height: 145px;
  }
  .discovery-grid .animal-art > img.character {
    width: 125px;
    height: 125px;
  }
  .card-info h3 {
    font-size: 14px;
  }
  .card-info {
    padding: 13px;
  }
  .card-category {
    font-size: 8px;
  }
  .card-bottom {
    font-size: 8px;
  }
  .collection-grid .animal-art {
    height: 190px;
  }
  .collection-grid .animal-art > img.character {
    width: 170px;
    height: 170px;
  }
  .mobile-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-top: 1px solid #e1e7d9;
    background: #fcfdf8f5;
    backdrop-filter: blur(15px);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 22px #243f3405;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    color: #a4ae99;
    font-size: 9px;
    font-weight: 600;
    min-height: 44px;
  }
  .mobile-nav a.active {
    color: var(--green);
  }
  .mobile-nav a.active .icon {
    background: #e8efdf;
    box-shadow: 0 0 0 5px #e8efdf;
    border-radius: 5px;
  }
  .mobile-nav .icon {
    width: 19px;
    height: 19px;
    margin-bottom: 3px;
  }
  .site-footer {
    padding-bottom: 100px;
  }
  .toast {
    bottom: 90px;
  }
  .ocean-hero > img {
    right: -12px;
    top: 48px;
    width: 310px;
    height: 310px;
  }
  .ocean-hero h1 {
    font-size: 37px;
  }
  .ocean-hero p:not(.eyebrow) {
    font-size: 12px;
  }
  .venue-photo {
    height: 180px;
  }
  .venue-card h3 {
    font-size: 17px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 30px;
  }
  .topbar {
    padding: 0 20px;
    height: 65px;
    gap: 10px;
  }
  .mobile-brand {
    font-size: 17px;
  }
  .mobile-brand .icon {
    width: 23px;
    height: 23px;
  }
  .global-search {
    max-width: 165px;
    width: auto;
    flex: 1;
    gap: 6px;
  }
  .global-search input {
    font-size: 10px;
  }
  .global-search kbd {
    display: none;
  }
  .profile-avatar {
    width: 30px;
    height: 30px;
  }
  #main-content {
    padding: 25px 18px 0;
  }
  .dashboard-intro {
    display: block;
    padding: 0 0 22px;
  }
  .dashboard-intro h1 {
    font-size: 36px;
    line-height: 1.4;
    margin: 13px 0;
    letter-spacing: -1.8px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .title-star {
    width: 28px;
    height: 28px;
    margin-left: 16px;
  }
  .intro-description {
    font-size: 11px;
  }
  .mobile-only {
    display: initial;
  }
  .latest-postcard {
    width: 100%;
    height: 118px;
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: 13px;
  }
  .postcard-copy {
    width: 70%;
  }
  .postcard-copy strong {
    font-size: 16px;
    line-height: 1.5;
    max-width: 250px;
    margin: 6px 0;
  }
  .postcard-copy strong br {
    display: none;
  }
  .postcard-copy .tiny-label {
    font-size: 7px;
  }
  .postcard-place {
    font-size: 9px;
  }
  .latest-postcard > img {
    width: 146px;
    height: 146px;
    right: -8px;
    bottom: -17px;
    transform: rotate(8deg);
  }
  .postcard-stamp {
    width: 42px;
    height: 42px;
    right: 85px;
    top: 9px;
  }
  .postcard-stamp em {
    font-size: 15px;
  }
  .postcard-arrow {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 31px;
  }
  .stat-card {
    padding: 15px 17px 14px;
    min-height: 128px;
    border-radius: 13px;
  }
  .stat-top {
    font-size: 10px;
    gap: 8px;
  }
  .stat-icon {
    width: 25px;
    height: 25px;
  }
  .stat-note {
    font-size: 8px;
    margin-top: 8px;
  }
  .stat-number {
    font-size: 33px;
    margin-top: 11px;
    gap: 6px;
  }
  .stat-number small {
    font-size: 11px;
  }
  .stat-card .stat-arrow {
    display: block;
    right: 14px;
    top: 22px;
  }
  .stat-arrow .icon {
    width: 12px;
  }
  .section-heading {
    margin-bottom: 15px;
    gap: 10px;
    align-items: flex-end;
  }
  .section-heading h2 {
    font-size: 19px;
    letter-spacing: -0.9px;
  }
  .section-heading .eyebrow {
    font-size: 6px;
    letter-spacing: 1.4px;
    margin-bottom: 7px;
  }
  .section-heading > .text-link {
    font-size: 8px;
    gap: 3px;
  }
  .section-heading > .text-link .icon {
    width: 12px;
    height: 12px;
  }
  .map-card {
    border-radius: 16px;
  }
  .map-card-toolbar {
    padding: 12px 10px;
    gap: 4px;
  }
  .map-tabs {
    gap: 2px;
  }
  .map-tab {
    padding: 6px 8px;
    font-size: 9px;
    gap: 4px;
  }
  .map-tab small {
    font-size: 7px;
    padding: 0 3px;
  }
  .map-tab .icon {
    width: 12px;
    height: 12px;
  }
  .map-live-label {
    display: none;
  }
  .map-layout {
    grid-template-columns: 1fr;
  }
  .world-map-wrap {
    height: 280px;
  }
  #world-map {
    min-height: 0;
    height: 280px;
  }
  .map-ocean-label {
    top: 17px;
    left: 17px;
    font-size: 6px;
  }
  .map-ocean-label em {
    font-size: 19px;
  }
  .map-detail {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px;
    display: grid;
    grid-template-columns: 93px minmax(0, 1fr);
    column-gap: 14px;
  }
  .map-detail-heading {
    grid-column: 1/-1;
    margin-bottom: 8px;
    font-size: 7px;
  }
  .map-venue-select {
    grid-column: 1/-1;
    margin-bottom: 13px;
    font-size: 10px;
    padding: 8px;
  }
  .map-detail-photo {
    height: 95px;
    grid-column: 1;
    grid-row: 3/7;
    margin: 0;
    border-radius: 9px;
  }
  .map-detail h3 {
    font-size: 15px;
    grid-column: 2;
    grid-row: 3;
    align-self: end;
  }
  .map-detail-meta {
    grid-column: 2;
    font-size: 9px;
  }
  .map-detail .map-friends {
    grid-column: 2;
    margin: 9px 0 12px;
  }
  .map-detail .button {
    grid-column: 1/-1;
    font-size: 11px;
    padding: 10px;
  }
  .friend-bubble {
    width: 28px;
    height: 28px;
  }
  .friend-bubble img {
    width: 25px;
    height: 25px;
  }
  .map-friends > span:last-child {
    font-size: 9px;
  }
  .venue-type-label {
    font-size: 7px;
    left: 6px;
    top: 6px;
    padding: 3px 5px;
  }
  .map-legend {
    padding: 11px 13px;
    gap: 13px;
    font-size: 7px;
  }
  .map-credit {
    font-size: 5px;
    right: 10px;
    bottom: 10px;
  }
  .map-hint {
    font-size: 7px;
    left: 11px;
    bottom: 10px;
  }
  .map-controls {
    right: 10px;
    bottom: 29px;
  }
  .map-controls button {
    width: 28px;
    height: 30px;
  }
  .map-section {
    margin-bottom: 29px;
  }
  .discovery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .discovery-grid .animal-art {
    height: 158px;
  }
  .discovery-grid .animal-art > img.character {
    width: 137px;
    height: 137px;
  }
  .animal-art:before {
    width: 114px;
    height: 114px;
    top: 21px;
  }
  .animal-art:after {
    width: 156px;
    height: 156px;
    top: 0;
  }
  .card-info {
    padding: 13px;
  }
  .card-info h3 {
    font-size: 15px;
  }
  .card-category {
    font-size: 8px;
  }
  .card-number {
    top: 10px;
    left: 10px;
    font-size: 7px;
  }
  .new-badge {
    font-size: 6px;
    top: 11px;
    right: 10px;
  }
  .card-bottom {
    font-size: 8px;
    margin-top: 12px;
    padding-top: 9px;
  }
  .card-english {
    font-size: 9px;
  }
  .discoveries-section {
    margin-bottom: 25px;
  }
  .dashboard-bottom {
    gap: 18px;
  }
  .recent-trips-section {
    padding: 20px;
  }
  .recent-trip h3 {
    font-size: 12px;
  }
  .recent-trip p {
    font-size: 9px;
  }
  .recent-trip > span:last-child {
    font-size: 9px;
  }
  .recent-trip {
    padding: 15px 0;
  }
  .mini-ocean {
    padding: 26px;
    min-height: 278px;
  }
  .mini-ocean > img {
    width: 230px;
    height: 230px;
    right: -36px;
    bottom: -25px;
  }
  .mini-ocean h2 {
    font-size: 29px;
    margin-top: 18px;
  }
  .mini-ocean p {
    font-size: 11px;
  }
  .mini-ocean .tiny-label {
    font-size: 8px;
  }
  .ocean-link {
    font-size: 11px;
  }
  .site-footer {
    margin-top: 31px;
    padding-top: 28px;
  }
  .footer-brand {
    font-size: 11px;
    gap: 6px;
  }
  .footer-brand .icon {
    width: 19px;
    height: 19px;
  }
  .site-footer > p {
    font-size: 9px;
  }
  .site-footer > div {
    font-size: 6px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .site-footer > div a {
    font-size: 8px;
  }
  .page-intro {
    padding: 5px 0 26px;
  }
  .page-intro h1 {
    font-size: 30px;
    letter-spacing: -1.7px;
    line-height: 1.45;
  }
  .page-intro > p:last-child {
    font-size: 11px;
    line-height: 1.9;
    max-width: 95%;
  }
  .page-intro .eyebrow {
    font-size: 7px;
    letter-spacing: 1.7px;
    margin-bottom: 12px;
  }
  .collection-controls {
    gap: 8px;
    margin-bottom: 20px;
  }
  .collection-search {
    padding: 12px 13px;
  }
  .collection-search input {
    font-size: 11px;
  }
  .collection-controls select {
    font-size: 10px;
    padding: 10px 7px;
  }
  .display-toggle {
    padding: 3px;
  }
  .display-toggle button {
    width: 28px;
    height: 28px;
  }
  .display-toggle .icon {
    width: 14px;
    height: 14px;
  }
  .category-filters {
    gap: 6px;
  }
  .filter-chip {
    padding: 7px 10px;
    font-size: 10px;
    gap: 4px;
    border-radius: 6px;
  }
  .filter-chip .icon {
    width: 11px;
    height: 11px;
  }
  .filter-chip small {
    font-size: 8px;
  }
  .results-line {
    margin: 20px 0 14px;
  }
  .results-line p {
    font-size: 10px;
  }
  .results-line b {
    font-size: 13px;
  }
  .results-line .text-link {
    font-size: 9px;
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .collection-grid .animal-art {
    height: 165px;
  }
  .collection-grid .animal-art > img.character {
    width: 145px;
    height: 145px;
  }
  .load-more {
    font-size: 11px;
    padding: 13px 25px;
    margin-top: 25px;
  }
  .wishlist-section {
    margin-top: 34px;
    padding-top: 27px;
  }
  .wishlist-section h2 {
    font-size: 22px;
  }
  .wishlist-section > p:not(.eyebrow) {
    font-size: 10px;
    line-height: 1.9;
  }
  .wishlist-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 19px;
  }
  .wishlist-card {
    padding: 17px 21px;
    gap: 20px;
  }
  .wishlist-card > span {
    font-size: 32px;
  }
  .wishlist-card b {
    font-size: 12px;
  }
  .wishlist-card p {
    font-size: 10px;
  }
  .passport-banner {
    gap: 12px;
    padding: 18px 17px;
    margin-bottom: 23px;
  }
  .passport-icon .icon {
    width: 35px;
    height: 35px;
  }
  .passport-banner small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .passport-banner b {
    font-size: 14px;
  }
  .passport-stamp {
    width: 59px;
    height: 59px;
    font-size: 4px;
    letter-spacing: 1px;
    outline-offset: -5px;
  }
  .passport-stamp strong {
    font-size: 12px;
  }
  .journey-filter-row {
    gap: 15px;
    margin-bottom: 19px;
  }
  .journey-filter-row select {
    font-size: 10px;
    padding: 8px 9px;
    margin-left: 0;
  }
  .venue-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .venue-photo {
    height: 188px;
  }
  .venue-card-body {
    padding: 18px;
  }
  .venue-card h3 {
    font-size: 18px;
  }
  .venue-country-label {
    font-size: 8px;
  }
  .venue-card-body > p {
    font-size: 10px;
  }
  .venue-card-body .map-friends {
    margin-top: 14px;
  }
  .ocean-hero {
    padding: 28px 25px 155px;
    min-height: 440px;
    border-radius: 17px;
    margin-top: 0;
  }
  .ocean-hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .ocean-hero h1 {
    font-size: 33px;
    margin: 17px 0;
    line-height: 1.45;
  }
  .ocean-hero p:not(.eyebrow) {
    font-size: 11px;
  }
  .ocean-hero > img {
    width: 265px;
    height: 240px;
    top: auto;
    bottom: -10px;
    right: -26px;
    transform: rotate(-17deg);
  }
  .ocean-count {
    font-size: 9px;
    margin-top: 15px;
  }
  .ocean-depth {
    font-size: 6px;
    left: 25px;
    right: auto;
    bottom: 24px;
    letter-spacing: 1.7px;
    max-width: 100px;
    line-height: 2;
  }
  .ocean-note {
    font-size: 9px;
    gap: 6px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  .ocean-note .icon {
    width: 13px;
    height: 13px;
    margin-top: 3px;
  }
  .animal-modal {
    width: calc(100% - 20px);
    max-height: 92dvh;
    border-radius: 20px;
  }
  .animal-modal-hero {
    height: 175px;
  }
  .animal-real-photo {
    height: 175px;
  }
  .animal-character-wrap img {
    width: 155px;
    height: 155px;
  }
  .real-photo-label {
    left: 12px;
    bottom: 12px;
    font-size: 6px;
    letter-spacing: 1px;
  }
  .animal-modal-body {
    padding: 22px 20px;
  }
  .animal-modal h2 {
    font-size: 25px;
    letter-spacing: -1px;
  }
  .animal-number {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .animal-en {
    font-size: 10px;
  }
  .category-pill {
    font-size: 9px;
    padding: 6px 9px;
    gap: 4px;
  }
  .category-pill .icon {
    width: 11px;
    height: 11px;
  }
  .animal-easy {
    font-size: 12px;
    line-height: 1.9;
    margin: 19px 0;
  }
  .facts-grid {
    gap: 8px;
  }
  .fact-box {
    padding: 13px;
  }
  .fact-label {
    font-size: 8px;
  }
  .fact-value {
    font-size: 11px;
  }
  .animal-quote p {
    font-size: 11px;
  }
  .animal-quote span {
    font-size: 8px;
  }
  .animal-quote {
    gap: 9px;
  }
  .animal-quote img {
    width: 34px;
    height: 34px;
  }
  .modal-section-heading h3 {
    font-size: 15px;
  }
  .sighting-place {
    font-size: 10px;
    gap: 4px;
  }
  .sighting-header {
    gap: 7px;
  }
  .play-video {
    padding: 8px 9px;
    font-size: 9px;
    gap: 5px;
  }
  .sighting-date {
    font-size: 8px;
  }
  .animal-modal-actions {
    gap: 8px;
  }
  .animal-modal-actions .button {
    font-size: 10px;
    padding: 10px 8px;
  }
  .dialog-close {
    width: 31px;
    height: 31px;
    right: 12px;
    top: 12px;
  }
  .related-friend {
    min-width: 68px;
    flex-basis: 68px;
  }
  .related-friend img {
    width: 68px;
    height: 68px;
  }
  .related-friend span {
    font-size: 8px;
  }
  .venue-modal {
    width: calc(100% - 20px);
    max-height: 92dvh;
    border-radius: 19px;
  }
  .venue-modal-cover {
    height: 181px;
  }
  .venue-cover-text {
    left: 21px;
    bottom: 20px;
    right: 18px;
  }
  .venue-cover-text .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .venue-cover-text h2 {
    font-size: 23px;
    line-height: 1.5;
  }
  .venue-cover-text p {
    font-size: 10px;
  }
  .venue-modal-body {
    padding: 21px 18px;
  }
  .venue-summary-bar {
    gap: 14px;
  }
  .venue-summary-bar > span {
    font-size: 9px;
  }
  .venue-summary-bar b {
    font-size: 17px;
  }
  .venue-summary-bar a {
    font-size: 9px;
  }
  .venue-visit-filter > span {
    font-size: 9px;
  }
  .venue-visit-filter {
    gap: 6px;
  }
  .venue-visit-filter .filter-chip {
    font-size: 9px;
    padding: 6px 9px;
  }
  .venue-animal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .venue-animal-grid .animal-art {
    height: 132px;
  }
  .venue-animal-grid .animal-art img.character {
    width: 116px;
    height: 116px;
  }
  .venue-animal-grid .card-info {
    padding: 11px;
  }
  .venue-animal-grid .card-info h3 {
    font-size: 13px;
  }
  .venue-animal-grid .card-bottom {
    font-size: 7px;
  }
  .venue-video-link {
    font-size: 10px;
  }
  .venue-video-list h3 {
    font-size: 14px;
  }
  .loading-state b {
    font-size: 18px;
  }
  .loading-state p {
    font-size: 11px;
  }
  .reveal-modal {
    padding: 30px 23px 24px;
  }
  .reveal-modal h2 {
    font-size: 20px;
  }
}
@media (max-width: 370px) {
  #main-content {
    padding-left: 14px;
    padding-right: 14px;
  }
  .dashboard-intro h1 {
    font-size: 32px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading .eyebrow {
    font-size: 5px;
  }
  .stat-card {
    padding: 14px;
  }
  .postcard-copy strong {
    font-size: 14px;
  }
  .latest-postcard > img {
    right: -24px;
  }
  .map-tab {
    padding: 6px 7px;
    font-size: 8px;
  }
  .card-info h3 {
    font-size: 13px;
  }
  .global-search {
    max-width: 126px;
  }
  .topbar {
    padding: 0 14px;
  }
  .discovery-grid .animal-art {
    height: 141px;
  }
  .discovery-grid .animal-art > img.character {
    width: 124px;
    height: 124px;
  }
  .collection-grid .animal-art {
    height: 143px;
  }
  .collection-grid .animal-art > img.character {
    width: 126px;
    height: 126px;
  }
  .map-detail {
    padding: 14px;
    grid-template-columns: 83px minmax(0, 1fr);
    column-gap: 11px;
  }
  .map-detail h3 {
    font-size: 14px;
  }
  .passport-banner {
    gap: 9px;
    padding: 16px 12px;
  }
  .passport-stamp {
    width: 49px;
    height: 49px;
  }
  .passport-banner b {
    font-size: 12px;
  }
  .passport-icon .icon {
    width: 29px;
    height: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
}
