:root {
  --ink: #173139;
  --ink-2: #26464d;
  --dark: #10282f;
  --dark-2: #173a42;
  --paper: #f4f0e8;
  --paper-2: #ebe5da;
  --card: rgba(255, 255, 255, 0.9);
  --white: #fffdf8;
  --muted: #687b7e;
  --line: rgba(23, 49, 57, 0.13);
  --fjord: #367b88;
  --fjord-soft: #d7e9e9;
  --berry: #ad4359;
  --berry-soft: #f1d9de;
  --moss: #5d795f;
  --moss-soft: #dde7dc;
  --ochre: #b77f3e;
  --ochre-soft: #efe1cb;
  --slate-soft: #dfe7e9;
  --danger: #9d3547;
  --shadow: 0 22px 65px rgba(19, 46, 52, 0.11);
  --shadow-soft: 0 10px 30px rgba(19, 46, 52, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 9% 2%,
      rgba(202, 225, 222, 0.75),
      transparent 28rem
    ),
    radial-gradient(
      circle at 96% 36%,
      rgba(230, 213, 187, 0.72),
      transparent 26rem
    ),
    var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

button {
  color: inherit;
}

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

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

h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--fjord);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.login-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(1120px, 100%);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.login-art {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: #173942;
}

.login-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
}

.login-photo-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 33, 52, 0.34), transparent 34%),
    linear-gradient(90deg, rgba(7, 31, 45, 0.2), transparent 52%);
  pointer-events: none;
}

.login-photo-title {
  position: absolute;
  top: 34px;
  left: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px 11px 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  color: #fffaf2;
  background: rgba(9, 38, 51, 0.22);
  box-shadow: 0 14px 40px rgba(4, 24, 35, 0.14);
  backdrop-filter: blur(9px);
  text-shadow: 0 2px 15px rgba(4, 26, 38, 0.42);
}

.login-flag {
  width: 43px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 9px rgba(0, 0, 0, 0.2));
}

.login-photo-title span {
  font:
    500 2.4rem/0.88 Georgia,
    serif;
  letter-spacing: -0.045em;
}

.login-photo-title strong {
  align-self: stretch;
  display: flex;
  align-items: end;
  padding: 0 0 3px 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.login-copy {
  min-width: 0;
  align-self: center;
  padding: 54px 48px;
}

.login-copy h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 4vw, 3.25rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.login-copy > p:not(.eyebrow, .login-error) {
  max-width: 32rem;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.login-copy > small {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.login-error {
  padding: 12px 14px;
  border: 1px solid rgba(173, 67, 89, 0.25);
  border-radius: 12px;
  color: #842f42;
  background: var(--berry-soft);
  font-size: 0.88rem;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 750;
}

.account-picker {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.account-picker legend {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
}

.account-picker label {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.account-picker label:has(input:checked) {
  border-color: rgba(54, 123, 136, 0.5);
  background: #eef6f4;
  box-shadow: 0 0 0 3px rgba(54, 123, 136, 0.08);
}

.account-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.account-picker b,
.account-picker small {
  display: block;
}

.account-picker b {
  color: var(--ink);
  font-size: 0.8rem;
}

.account-picker small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 500;
}

.account-picker i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  color: transparent;
  background: #e6eeeb;
  font-style: normal;
}

.account-picker label:has(input:checked) i {
  color: #fff;
  background: var(--fjord);
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.password-row input,
.editor-form input,
.editor-form textarea,
.editor-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.password-row input {
  min-width: 0;
  padding: 14px 15px;
}

.password-row input:focus,
.editor-form input:focus,
.editor-form textarea:focus,
.editor-form select:focus {
  border-color: var(--fjord);
  box-shadow: 0 0 0 4px rgba(54, 123, 136, 0.12);
}

.password-row button,
.primary-button,
.secondary-button,
.danger-button,
.ghost-button {
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 750;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.password-row button,
.primary-button {
  padding: 13px 18px;
  color: var(--white);
  background: var(--berry);
  box-shadow: 0 9px 24px rgba(173, 67, 89, 0.2);
}

.secondary-button,
.ghost-button {
  padding: 12px 16px;
  color: var(--ink);
  background: var(--fjord-soft);
}

.ghost-button {
  border: 1px solid var(--line);
  background: transparent;
}

.danger-button {
  padding: 12px 16px;
  color: var(--danger);
  background: var(--berry-soft);
}

.password-row button:hover,
.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.app-shell {
  min-height: 100svh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 260px;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 22px;
  color: #edf5f3;
  background:
    radial-gradient(
      circle at 70% 7%,
      rgba(174, 70, 89, 0.24),
      transparent 14rem
    ),
    linear-gradient(165deg, #0e252d, #163941);
  box-shadow: 14px 0 45px rgba(17, 41, 47, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 5px 25px;
}

.brand img,
.mobile-brand img {
  width: 43px;
  height: 43px;
  border-radius: 13px;
}

.brand strong,
.brand small,
.mobile-brand strong,
.mobile-brand small {
  display: block;
}

.brand strong {
  font:
    500 1.08rem/1.1 Georgia,
    serif;
}

.brand small {
  margin-top: 3px;
  color: rgba(237, 245, 243, 0.6);
  font-size: 0.69rem;
}

.main-nav {
  display: grid;
  gap: 7px;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: rgba(237, 245, 243, 0.68);
  font-size: 0.82rem;
  font-weight: 650;
}

.main-nav a > span {
  width: 25px;
  font-size: 1.05rem;
  text-align: center;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
}

.side-note {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
}

.side-note strong,
.side-note small {
  display: block;
}

.side-note strong {
  font-size: 0.73rem;
}

.side-note small {
  margin-top: 4px;
  color: rgba(237, 245, 243, 0.58);
  font-size: 0.64rem;
  line-height: 1.4;
}

.status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 3px;
  border-radius: 50%;
  background: #79bd89;
  box-shadow: 0 0 0 4px rgba(121, 189, 137, 0.12);
}

.logout-form {
  margin-top: 12px;
}

.logout-form button,
.mobile-drawer form button {
  width: 100%;
  padding: 9px;
  border: 0;
  color: rgba(237, 245, 243, 0.56);
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
}

.content {
  min-height: 100svh;
  margin-left: 260px;
  padding: 34px clamp(24px, 4vw, 68px) 60px;
}

.mobile-header,
.bottom-nav,
.mobile-drawer {
  display: none;
}

.loading-screen {
  min-height: 70svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 15px;
  color: var(--muted);
}

.loading-screen img {
  width: 82px;
  border-radius: 24px;
}

.view {
  width: min(1260px, 100%);
  margin: 0 auto;
  animation: view-in 260ms ease both;
}

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

.view-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.view-heading h1 {
  margin-bottom: 6px;
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.view-heading > div > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 32px;
  min-height: 360px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(13, 39, 47, 0.98), rgba(35, 81, 89, 0.92)),
    var(--dark);
  box-shadow: var(--shadow);
}

.hero-card::after {
  position: absolute;
  right: -155px;
  bottom: -250px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(255, 255, 255, 0.03),
    0 0 0 130px rgba(255, 255, 255, 0.02);
  content: "";
}

.hero-copy,
.hero-stamp {
  position: relative;
  z-index: 1;
}

.hero-card .eyebrow {
  color: #acd6d2;
}

.hero-card h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.hero-card p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.hero-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-route span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.7rem;
}

.hero-stamp {
  align-self: start;
  display: grid;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.hero-stamp small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-stamp strong {
  margin: 9px 0 7px;
  font:
    500 4rem/1 Georgia,
    serif;
}

.hero-stamp span {
  color: #bde0cd;
  font-size: 0.72rem;
}

.quick-grid,
.days-preview,
.day-layout,
.map-layout,
.blog-layout {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

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

.quick-card,
.paper-card,
.day-card,
.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.quick-card {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 16px;
}

.quick-card .icon-bubble {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  color: var(--fjord);
  background: var(--fjord-soft);
  font-size: 1.15rem;
}

.quick-card:nth-child(2) .icon-bubble {
  color: var(--berry);
  background: var(--berry-soft);
}

.quick-card:nth-child(3) .icon-bubble {
  color: var(--moss);
  background: var(--moss-soft);
}

.quick-card:nth-child(4) .icon-bubble {
  color: var(--ochre);
  background: var(--ochre-soft);
}

.quick-card strong,
.quick-card small {
  display: block;
}

.quick-card strong {
  font-size: 0.84rem;
}

.quick-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.quick-card > b {
  color: var(--muted);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 38px 0 16px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.text-link {
  border: 0;
  color: var(--fjord);
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

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

.day-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 22px;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease;
}

.day-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.day-card.completed {
  border-color: rgba(173, 67, 89, 0.42);
}

.day-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.day-card-top span:first-child {
  color: var(--fjord);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-card-top span:last-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--ink);
  font:
    500 1rem/1 Georgia,
    serif;
}

.day-card h3 {
  margin: 24px 0 9px;
  font:
    500 1.45rem/1.1 Georgia,
    serif;
}

.day-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.55;
}

.day-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
}

.day-card footer b {
  color: var(--berry);
}

.day-card.completed footer > span {
  color: var(--berry);
  font-weight: 800;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.days-grid .day-card {
  min-height: 230px;
}

.day-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(285px, 0.55fr);
  align-items: start;
}

.paper-card {
  padding: 24px;
}

.map-panel {
  overflow: hidden;
  padding: 0;
}

.map-panel img {
  width: 100%;
  min-height: 370px;
  object-fit: cover;
  background: var(--dark);
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 20px;
}

.map-caption strong,
.map-caption small {
  display: block;
}

.map-caption small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.info-card h2 {
  margin: 5px 0 12px;
  font-size: 1.75rem;
  line-height: 1.05;
}

.info-card > p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.stay-meta,
.weather-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.stay-meta span,
.weather-stats span {
  padding: 11px;
  border-radius: 12px;
  background: var(--paper);
}

.stay-meta small,
.stay-meta strong,
.weather-stats small,
.weather-stats strong {
  display: block;
}

.stay-meta small,
.weather-stats small {
  color: var(--muted);
  font-size: 0.61rem;
}

.stay-meta strong,
.weather-stats strong {
  margin-top: 4px;
  font-size: 0.72rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.tag-row span,
.category-count {
  padding: 6px 9px;
  border-radius: 999px;
  color: #49645b;
  background: var(--moss-soft);
  font-size: 0.61rem;
  font-weight: 700;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.weather-main > span {
  font-size: 2.2rem;
}

.weather-main strong,
.weather-main b {
  display: block;
}

.weather-main b {
  margin-top: 4px;
  color: var(--fjord);
  font-size: 0.85rem;
}

.resources {
  margin-top: 24px;
}

.resources > .section-title {
  margin-top: 0;
}

.resources > .section-title h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.app-mode .resources > .section-title h2 {
  color: var(--ink);
}

.resource-group {
  margin-top: 16px;
}

.resource-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.resource-group-head h3 {
  margin: 0;
  font-size: 0.82rem;
}

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

.resource-link {
  min-width: 0;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.62);
}

.resource-link:hover {
  border-color: rgba(54, 123, 136, 0.34);
  background: #fff;
}

.resource-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  color: var(--fjord);
  background: var(--fjord-soft);
}

.resource-link strong,
.resource-link small {
  display: block;
  overflow-wrap: anywhere;
}

.resource-link strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-link small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.61rem;
  line-height: 1.25;
}

.day-guide-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.day-guide-button {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(23, 49, 57, 0.09);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.day-guide-button:hover {
  transform: translateY(-2px);
  border-color: rgba(54, 123, 136, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.day-guide-button .day-guide-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #2f6f78;
  background: #d9ebe7;
  font-size: 1rem;
}

.day-guide-button.rain .day-guide-icon {
  color: #7c5660;
  background: #f2dce1;
}

.day-guide-button strong,
.day-guide-button small {
  display: block;
  overflow-wrap: anywhere;
}

.day-guide-button strong {
  font-size: 0.67rem;
}

.day-guide-button small {
  margin-top: 2px;
  color: #718083;
  font-size: 0.55rem;
}

.day-guide-button > b {
  color: #789095;
  font-size: 1rem;
}

.resource-title {
  align-items: start;
}

.resource-title-copy {
  max-width: 65ch;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.campground-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.3fr);
  margin-top: 20px;
  border: 1px solid rgba(209, 235, 231, 0.15);
  border-radius: 20px;
  color: #f7f1e8;
  background:
    radial-gradient(
      circle at 90% 0,
      rgba(88, 158, 147, 0.27),
      transparent 18rem
    ),
    linear-gradient(145deg, #102d33, #0b2329);
  box-shadow: 0 15px 34px rgba(13, 39, 46, 0.15);
}

.campground-card-main {
  min-width: 0;
  padding: 22px;
}

.campground-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.campground-card-head h3 {
  margin: 3px 0 0;
  color: #fff8ee;
  font:
    500 1.55rem/1.05 Georgia,
    serif;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.campground-card-head p:not(.resource-kicker) {
  margin: 5px 0 0;
  color: rgba(226, 240, 237, 0.58);
  font-size: 0.63rem;
}

.resource-kicker {
  margin: 0;
  color: #367b88;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.campground-card .resource-kicker {
  color: #85cabe;
}

.campground-status {
  padding: 7px 9px;
  border: 1px solid rgba(138, 204, 188, 0.25);
  border-radius: 999px;
  color: #a6dfd2;
  background: rgba(96, 166, 151, 0.13);
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
}

.campground-status.open {
  color: #f1cf94;
  border-color: rgba(239, 194, 116, 0.27);
  background: rgba(207, 152, 64, 0.13);
}

.campground-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.campground-facts span {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(218, 238, 234, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.campground-facts small,
.campground-facts strong {
  display: block;
}

.campground-facts small {
  color: rgba(224, 239, 236, 0.5);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campground-facts strong {
  margin-top: 5px;
  color: #fff;
  font-size: 0.65rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.campground-facts a {
  color: #b5e4da;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.campground-note {
  margin: 13px 0 0;
  color: rgba(230, 241, 239, 0.69);
  font-size: 0.62rem;
  line-height: 1.55;
}

.campground-note b {
  color: #fff;
}

.campground-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.campground-amenities span {
  padding: 6px 8px;
  border-radius: 999px;
  color: #b8dcd6;
  background: rgba(178, 219, 211, 0.09);
  font-size: 0.54rem;
}

.campground-actions {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border-left: 1px solid rgba(219, 239, 235, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.campground-card {
  display: block;
}

.campground-card > summary,
.resource-group > summary {
  list-style: none;
  cursor: pointer;
}

.campground-card > summary::-webkit-details-marker,
.resource-group > summary::-webkit-details-marker {
  display: none;
}

.campground-card-head {
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  padding: 16px 18px;
}

.campground-summary-copy {
  min-width: 0;
}

.campground-summary-copy small,
.campground-summary-copy strong,
.campground-summary-copy i {
  display: block;
  overflow-wrap: anywhere;
}

.campground-summary-copy small {
  color: #85cabe;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.campground-summary-copy strong {
  margin-top: 4px;
  color: #fff8ee;
  font:
    500 1.2rem/1.08 Georgia,
    serif;
}

.campground-summary-copy i {
  margin-top: 4px;
  color: rgba(226, 240, 237, 0.58);
  font-size: 0.6rem;
  font-style: normal;
}

.campground-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.3fr);
  border-top: 1px solid rgba(219, 239, 235, 0.1);
}

.accordion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  min-width: max-content;
  color: rgba(225, 240, 237, 0.68);
  font-size: 0.58rem;
  font-weight: 800;
}

.accordion-toggle i {
  font-style: normal;
}

.accordion-toggle b {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  transition: transform 180ms ease;
}

.campground-card[open] .accordion-toggle b,
.resource-group[open] .accordion-toggle b {
  transform: rotate(180deg);
}

.resource-group {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid rgba(23, 49, 57, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
}

.resource-group-head {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 13px 14px;
  border: 0;
}

.resource-group-head > span:nth-child(2) {
  min-width: 0;
}

.resource-group-head strong,
.resource-group-head small {
  display: block;
}

.resource-group-head strong {
  color: #203f47;
  font-size: 0.77rem;
}

.resource-group-head small {
  margin-top: 3px;
  color: #758487;
  font-size: 0.59rem;
}

.resource-group .accordion-toggle {
  color: #5d7479;
}

.resource-group .accordion-toggle b {
  color: #366d77;
  background: #e1eeeb;
}

.resource-group-body {
  padding: 0 13px 13px;
  border-top: 1px solid rgba(23, 49, 57, 0.08);
}

.resource-group-body .resource-card-grid {
  padding-top: 13px;
}

.resource-group-head h3 {
  color: #2d4e56;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

.resource-group.route .resource-card-grid {
  grid-template-columns: 1fr;
}

.resource-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid rgba(23, 49, 57, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 9px 24px rgba(45, 66, 69, 0.045);
}

.resource-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #718e96;
  content: "";
}

.resource-card.blue::before {
  background: #6ba6c0;
}

.resource-card.ochre::before {
  background: #d3a85e;
}

.resource-card.mint::before {
  background: #72b9ac;
}

.resource-card.purple::before {
  background: #9581c9;
}

.resource-card.berry::before {
  background: #ce7085;
}

.resource-card > header {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.resource-card h4 {
  margin: 4px 0 0;
  font:
    600 1rem/1.18 Georgia,
    serif;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.resource-description {
  margin: 14px 0 0;
  color: #5a6d72;
  font-size: 0.68rem;
  line-height: 1.55;
}

.resource-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 7px;
  margin: 14px 0 0;
}

.resource-facts div {
  min-width: 0;
  padding: 9px 10px;
  border-radius: 11px;
  background: #f0e9dc;
}

.resource-facts dt {
  color: #738187;
  font-size: 0.48rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.resource-facts dd {
  margin: 4px 0 0;
  color: #1c3a42;
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.resource-waypoints {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(237, 245, 243, 0.58);
}

.resource-waypoints summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #355860;
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 800;
  list-style: none;
}

.resource-waypoints summary::-webkit-details-marker {
  display: none;
}

.resource-waypoints summary::after {
  color: #71888d;
  content: "＋";
}

.resource-waypoints[open] summary::after {
  content: "−";
}

.resource-waypoints summary span {
  margin-left: auto;
  color: #7c8c90;
  font-size: 0.53rem;
  font-weight: 600;
}

.resource-waypoints ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 12px 11px;
  list-style: none;
}

.resource-waypoints li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 31px;
  color: #536a70;
  font-size: 0.61rem;
}

.resource-waypoints li i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #427a83;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 800;
}

.resource-note {
  margin: 11px 0 0;
  padding: 9px 10px;
  border-radius: 10px;
  color: #6d6048;
  background: #f4ead5;
  font-size: 0.59rem;
  line-height: 1.5;
}

.resource-card > footer {
  margin-top: auto;
  padding-top: 15px;
}

.resource-action {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid rgba(208, 230, 226, 0.18);
  border-radius: 11px;
  color: #dbece9;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.63rem;
  font-weight: 800;
  transition:
    transform 150ms ease,
    background 150ms ease;
}

.resource-action:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.resource-card .resource-action {
  color: #315c64;
  border-color: rgba(54, 123, 136, 0.18);
  background: #e5f0ee;
}

.resource-card .resource-action:hover {
  background: #d9eae7;
}

.resource-action.quiet {
  color: rgba(225, 240, 237, 0.67);
  background: transparent;
}

.resource-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed rgba(54, 123, 136, 0.22);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.67rem;
  line-height: 1.5;
}

.resource-empty span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #3d7780;
  background: var(--fjord-soft);
}

.resource-empty p {
  margin: 0;
}

body.modal-open {
  overflow: hidden;
}

.guide-backdrop {
  z-index: 140;
  padding: 22px;
  background: rgba(5, 22, 27, 0.84);
  backdrop-filter: blur(12px);
}

.guide-modal {
  overflow: hidden;
  width: min(980px, 100%);
  max-height: calc(100svh - 44px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 27px;
  color: var(--ink);
  background: #f7f0e5;
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.42);
}

.guide-modal-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 11px 14px 11px 22px;
  border-bottom: 1px solid rgba(219, 236, 232, 0.12);
  color: #e9f3f1;
  background: rgba(13, 43, 49, 0.97);
}

.guide-modal-bar span,
.guide-modal-bar strong {
  display: block;
}

.guide-modal-bar span {
  color: #81c2b7;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guide-modal-bar strong {
  margin-top: 3px;
  font-size: 0.67rem;
}

.guide-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 1.5rem;
}

.guide-modal-body {
  max-height: calc(100svh - 108px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  overscroll-behavior: contain;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 30px;
  padding-bottom: 27px;
  border-bottom: 1px solid rgba(23, 49, 57, 0.12);
}

.guide-kicker {
  margin: 0 0 9px;
  color: var(--berry);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-hero h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.25rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.guide-hero > div > p:not(.guide-kicker) {
  max-width: 68ch;
  margin: 17px 0 0;
  color: #5b6d71;
  font-size: 0.78rem;
  line-height: 1.7;
}

.guide-read-time {
  display: inline-flex;
  margin-top: 13px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #45666c;
  background: #e1ece9;
  font-size: 0.55rem;
  font-weight: 800;
}

.guide-hero-mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 24px;
  color: #276875;
  background: #d7e9e6;
  font-size: 2rem;
  transform: rotate(3deg);
}

.guide-hero.rain .guide-hero-mark {
  color: #9a4e61;
  background: #f0d9df;
  transform: rotate(-3deg);
}

.guide-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  margin-top: 30px;
}

.guide-highlights > div {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.guide-highlights article {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(23, 49, 57, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.guide-highlights article > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #326f78;
  font-size: 0.55rem;
  font-weight: 800;
}

.guide-highlights article p {
  margin: 0;
  color: #455d62;
  font-size: 0.7rem;
  line-height: 1.6;
}

.guide-story {
  padding: 20px;
  border-radius: 18px;
  color: #f8f2e9;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(173, 67, 89, 0.28),
      transparent 13rem
    ),
    #12343b;
}

.guide-story .eyebrow {
  color: #9dd1ca;
}

.guide-story blockquote {
  margin: 15px 0 0;
  font:
    500 1.13rem/1.45 Georgia,
    serif;
}

.guide-tip {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.guide-tip > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #193b42;
  background: #eac582;
}

.guide-tip p {
  margin: 0;
  color: rgba(239, 247, 245, 0.72);
  font-size: 0.64rem;
  line-height: 1.55;
}

.guide-tip b,
.guide-dog-note b,
.guide-safety b,
.rain-dog b {
  display: block;
  margin-bottom: 4px;
  color: inherit;
}

.guide-deep-dive,
.guide-details {
  margin-top: 34px;
  padding-top: 27px;
  border-top: 1px solid rgba(23, 49, 57, 0.1);
}

.guide-section-heading h3 {
  max-width: 20ch;
  margin: 0;
  font:
    500 clamp(1.65rem, 3vw, 2.35rem) / 1.03 Georgia,
    serif;
  letter-spacing: -0.035em;
}

.guide-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 18px;
}

.guide-chapters article {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(23, 49, 57, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.57);
}

.guide-chapters article > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  color: #f7f1e8;
  background: #2f707a;
}

.guide-chapters h4 {
  margin: 0 0 7px;
  color: #203d44;
  font-size: 0.73rem;
}

.guide-chapters p {
  margin: 0;
  color: #596d71;
  font-size: 0.67rem;
  line-height: 1.65;
}

.guide-details ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.guide-details li {
  min-width: 0;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  padding: 12px;
  border-radius: 13px;
  color: #4f666b;
  background: #e8efec;
}

.guide-details li > span {
  color: var(--berry);
  font-weight: 900;
}

.guide-details li p {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.55;
}

.guide-sources {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 49, 57, 0.1);
  color: #7a898c;
  font-size: 0.58rem;
}

.guide-sources > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 7px;
}

.guide-sources a {
  padding: 8px 10px;
  border-radius: 9px;
  color: #326b74;
  background: #dfecea;
  font-weight: 800;
}

.rain-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.rain-options article {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(23, 49, 57, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.62);
}

.rain-options header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rain-options header span {
  color: var(--berry);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rain-options header b {
  padding: 6px 8px;
  border-radius: 999px;
  color: #526d72;
  background: #e4eeeb;
  font-size: 0.53rem;
}

.rain-options h3 {
  margin: 9px 0 8px;
  font:
    600 1.35rem/1.1 Georgia,
    serif;
}

.rain-weather {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #7c5260;
  background: #f0dfe3;
  font-size: 0.52rem;
  font-weight: 800;
}

.rain-options p {
  margin: 0;
  color: #5a6e72;
  font-size: 0.69rem;
  line-height: 1.6;
}

.rain-options .rain-dog {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 49, 57, 0.09);
  color: #47675f;
  font-size: 0.61rem;
}

.rain-options a {
  display: inline-flex;
  margin-top: 15px;
  color: #34727b;
  font-size: 0.62rem;
  font-weight: 800;
}

.guide-safety,
.guide-dog-note {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  color: #684b32;
  background: #f2e3c9;
}

.guide-safety > span,
.guide-dog-note > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #b66d47;
  font-weight: 900;
}

.guide-safety p,
.guide-dog-note p {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.55;
}

.guide-dog-note {
  color: #3d5f59;
  background: #dcebe7;
}

.guide-dog-note > span {
  background: #558a7f;
}

.read-only-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(193, 224, 218, 0.2);
  border-radius: 999px;
  color: #b9dad4;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.64rem;
  font-weight: 800;
}

.blog-section {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(
      circle at 95% 0,
      rgba(173, 67, 89, 0.32),
      transparent 22rem
    ),
    linear-gradient(135deg, var(--dark), #1b444c);
  box-shadow: var(--shadow);
}

.blog-section .eyebrow {
  color: #acd6d2;
}

.blog-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.blog-section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}

.blog-empty {
  margin-top: 22px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 17px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.blog-empty-light {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 32px;
  border-color: rgba(23, 49, 57, 0.12);
  color: var(--ink);
  background:
    radial-gradient(
      circle at 96% 0,
      rgba(215, 233, 233, 0.8),
      transparent 15rem
    ),
    #f6eee1;
}

body.app-mode .content .blog-empty-light h2 {
  margin: 0 0 9px;
  color: #173139 !important;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1;
}

body.app-mode .content .blog-empty-light p {
  max-width: 560px;
  margin: 0;
  color: #62767a;
  font-size: 0.78rem;
  line-height: 1.6;
}

.blog-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.blog-card {
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
}

.blog-card-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  max-height: 480px;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-card-copy {
  padding: 25px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.66rem;
}

.mood-chip {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--berry);
  background: var(--berry-soft);
  font-weight: 750;
}

.blog-card h3 {
  margin: 14px 0 10px;
  font:
    500 1.8rem/1.05 Georgia,
    serif;
}

.blog-body {
  color: #40565b;
  font-size: 0.87rem;
  line-height: 1.75;
}

.blog-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.all-blog .blog-card {
  max-width: 900px;
}

.blog-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
}

.blog-filter {
  position: sticky;
  top: 24px;
}

.blog-filter h2 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.blog-filter select {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.blog-sort-label {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-sort-toggle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.blog-sort-toggle button {
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #536b70;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 750;
  text-align: left;
}

.blog-sort-toggle button.active {
  border-color: rgba(54, 123, 136, 0.35);
  color: #245e68;
  background: #dfeeea;
  box-shadow: inset 3px 0 0 #367b88;
}

.map-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
}

.map-overview {
  overflow: auto;
  min-height: 680px;
  border-radius: var(--radius-xl);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.map-overview img {
  width: 100%;
  min-width: 680px;
  transition: width 180ms ease;
}

.map-overview.zoomed img {
  width: 155%;
}

.map-guide {
  position: sticky;
  top: 24px;
}

.segment-list {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.segment-list button {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  font-size: 0.71rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 25, 31, 0.72);
  backdrop-filter: blur(8px);
}

.editor-modal {
  width: min(720px, 100%);
  max-height: min(860px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}

.editor-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.editor-modal h2 {
  margin: 0;
  font-size: 2.3rem;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.editor-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.editor-form label {
  display: grid;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 750;
}

.editor-form input,
.editor-form textarea,
.editor-form select {
  padding: 12px 13px;
}

.editor-form textarea {
  min-height: 220px;
  resize: vertical;
  line-height: 1.6;
}

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

.editor-help {
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.5;
}

.editor-actions {
  display: flex;
  justify-content: end;
  gap: 9px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: min(380px, calc(100vw - 34px));
  padding: 13px 16px;
  border-radius: 13px;
  color: #fff;
  background: var(--dark);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
  font-size: 0.78rem;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.error-card {
  padding: 30px;
  border: 1px solid rgba(173, 67, 89, 0.24);
  border-radius: 18px;
  color: var(--danger);
  background: var(--berry-soft);
}

/* Reisejournal: visuelle Grundlage der abgestimmten Variante 3 */
.app-mode {
  color: #f6f0e7;
  background:
    radial-gradient(
      circle at 94% 3%,
      rgba(80, 128, 132, 0.2),
      transparent 36rem
    ),
    linear-gradient(120deg, #0e2a30, #112f35 58%, #17373d);
}

.app-mode .app-shell {
  background: transparent;
}

.app-mode .sidebar {
  width: 292px;
  padding: 22px 20px 18px;
  border-right: 1px solid rgba(210, 234, 231, 0.14);
  background: #163a41;
  box-shadow: none;
}

.app-mode .brand {
  padding: 0 5px 44px;
}

.app-mode .brand img {
  width: 58px;
  height: 58px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}

.app-mode .brand strong {
  color: #f8f1e8;
  font-size: 1.42rem;
}

.app-mode .brand small {
  margin-top: 7px;
  font-size: 0.78rem;
}

.app-mode .main-nav {
  gap: 9px;
}

.app-mode .main-nav a {
  min-height: 58px;
  padding: 14px 15px;
  border-radius: 17px;
  font-size: 1rem;
}

.app-mode .main-nav a > span {
  font-size: 1.35rem;
}

.app-mode .main-nav a.active {
  background: rgba(212, 236, 233, 0.16);
}

.app-mode .side-note {
  padding: 17px;
  border-radius: 18px;
  background: rgba(5, 23, 28, 0.2);
}

.app-mode .content {
  --content-pad: clamp(30px, 3.2vw, 62px);
  margin-left: 292px;
  padding: 0 var(--content-pad) 74px;
}

.app-mode .view {
  width: min(1500px, 100%);
}

.desktop-topbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 calc(var(--content-pad) * -1);
  padding: 0 var(--content-pad);
  border-bottom: 1px solid rgba(204, 230, 228, 0.13);
}

.desktop-topbar > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-topbar strong {
  color: #fbf5ec;
  font-size: 0.96rem;
}

.desktop-topbar div span {
  padding-left: 22px;
  border-left: 1px solid rgba(204, 230, 228, 0.13);
  color: rgba(232, 244, 242, 0.7);
  font-size: 0.78rem;
}

.desktop-topbar .topbar-session {
  display: flex;
  align-items: center;
  gap: 9px;
}

.desktop-topbar .topbar-session .protected-pill {
  padding-left: 13px;
  border-left: 1px solid rgba(204, 230, 228, 0.17);
}

.protected-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(204, 230, 228, 0.17);
  border-radius: 999px;
  color: rgba(246, 250, 248, 0.84);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
  font-weight: 750;
}

.top-logout-form {
  margin: 0;
}

.top-logout-form button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(204, 230, 228, 0.17);
  border-radius: 12px;
  color: rgba(246, 250, 248, 0.86);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 800;
}

.top-logout-form button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.top-logout-form b {
  font-size: 0.85rem;
}

.protected-pill i,
.open-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #87c69a;
  box-shadow: 0 0 0 5px rgba(135, 198, 154, 0.14);
}

.journal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 36px 0 24px;
}

.journal-heading h1 {
  margin-bottom: 8px;
  color: #f7f0e7;
  font-size: clamp(3rem, 4.4vw, 4.85rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.journal-heading > div > p:last-child {
  margin: 0;
  color: rgba(226, 240, 238, 0.7);
  font-size: 0.92rem;
}

.journal-heading .eyebrow,
.app-mode .view-heading .eyebrow {
  color: #f3859a;
}

.journal-all-days {
  flex: 0 0 auto;
  padding: 14px 19px;
  border: 1px solid rgba(220, 239, 236, 0.18);
  border-radius: 16px;
  color: #f6f1e8;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.76rem;
  font-weight: 750;
}

.day-strip {
  overflow-x: auto;
  display: flex;
  gap: 10px;
  margin: 0 0 30px;
  padding: 3px 0 14px;
  scrollbar-color: rgba(215, 233, 230, 0.22) transparent;
  scrollbar-width: thin;
}

.day-strip a {
  position: relative;
  flex: 0 0 76px;
  min-height: 80px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 8px 7px 7px;
  border: 1px solid rgba(215, 233, 230, 0.14);
  border-radius: 13px;
  color: rgba(238, 244, 241, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 52%),
    rgba(7, 28, 34, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.day-strip a:hover {
  color: #fff;
  border-color: rgba(215, 233, 230, 0.27);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 55%),
    rgba(255, 255, 255, 0.035);
  transform: translateY(-1px);
}

.day-strip a.active {
  border-color: rgba(255, 253, 248, 0.86);
  color: #173139;
  background: #f4f0e8;
  box-shadow:
    0 9px 24px rgba(3, 20, 25, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.day-strip a.completed {
  border-color: rgba(221, 113, 135, 0.42);
  color: #fff8f2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 58%),
    rgba(116, 39, 56, 0.58);
  box-shadow:
    inset 3px 0 var(--berry),
    inset 0 1px rgba(255, 255, 255, 0.045);
}

.day-strip a.completed.active {
  border-color: rgba(190, 76, 98, 0.54);
  color: #612534;
  background: #f4f0e8;
  box-shadow:
    0 9px 24px rgba(3, 20, 25, 0.22),
    inset 3px 0 var(--berry),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.day-strip a.active small {
  color: #46636a;
}

.day-strip a.completed:not(.active) small {
  color: rgba(255, 244, 239, 0.78);
}

.day-strip-check {
  position: absolute;
  top: 7px;
  right: 7px;
  color: #ffdce3;
  background: transparent;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.day-strip a.completed.active .day-strip-check {
  color: var(--berry);
}

.day-strip a.active::after {
  position: absolute;
  right: 11px;
  bottom: 0;
  left: 11px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--berry);
  content: "";
}

.day-strip small,
.day-strip strong,
.day-strip span {
  text-align: center;
}

.day-strip small {
  width: 100%;
  overflow: hidden;
  display: block;
  color: rgba(226, 240, 238, 0.66);
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.day-strip strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin: 5px 0 3px;
  color: inherit;
  font-variant-numeric: tabular-nums lining-nums;
}

.day-strip strong b {
  font:
    700 1.5rem/0.84 Georgia,
    serif;
  letter-spacing: -0.04em;
}

.day-strip strong em {
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.day-strip span {
  display: block;
  opacity: 0.62;
  font-size: 0.47rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.day-strip a.completed small {
  padding-inline: 7px;
}

.today-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(500px, 1.24fr);
  align-items: stretch;
  gap: 22px;
}

.today-grid.without-map {
  grid-template-columns: minmax(0, 780px);
}

.today-grid > * {
  min-width: 0;
}

.day-summary-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(196, 217, 214, 0.45),
      transparent 16rem
    ),
    #f6eee1;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}

.day-summary-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #76b9ae, var(--berry));
  content: "";
}

.day-summary-card.completed::before {
  background: var(--berry);
}

.day-summary-head {
  display: grid;
  grid-template-columns: auto minmax(84px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.day-number-badge {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(54, 123, 136, 0.11);
  border-radius: 12px;
  background: rgba(215, 233, 233, 0.78);
}

.day-number-badge strong,
.day-number-badge span {
  display: block;
}

.day-number-badge strong {
  font-size: 0.73rem;
  letter-spacing: 0.03em;
}

.day-number-badge span {
  padding-left: 9px;
  border-left: 1px solid rgba(23, 49, 57, 0.14);
  color: #61757a;
  font-size: 0.62rem;
}

.open-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #46624f;
  background: #dce8d9;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.day-completion-slot {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.day-completion-button,
.day-completion-status {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(173, 67, 89, 0.22);
  border-radius: 999px;
  color: #873348;
  background: rgba(255, 250, 244, 0.82);
  font-size: 0.59rem;
  font-weight: 850;
  line-height: 1.15;
}

.day-completion-button {
  min-width: 40px;
  padding-inline: 8px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.day-completion-button span {
  display: none;
}

.day-completion-button:hover {
  transform: translateY(-1px);
  color: #fff;
  background: var(--berry);
}

.day-completion-button.completed,
.day-completion-status {
  color: #fff8f4;
  background: var(--berry);
}

.day-completion-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.day-completion-button i,
.day-completion-status i {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  font-style: normal;
}

.day-summary-copy {
  min-width: 0;
  margin-top: clamp(20px, 2.5vw, 28px);
}

.day-summary-copy .eyebrow {
  margin-bottom: 7px;
  color: var(--berry);
}

.day-summary-copy h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(1.72rem, 2.25vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  hyphens: auto;
}

.day-route-line {
  margin: 15px 0 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--berry);
  border-radius: 0 10px 10px 0;
  color: #405b61;
  background: rgba(255, 255, 255, 0.47);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.day-summary-text {
  margin: 0;
  color: #5c7074;
  font-size: 0.76rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.day-summary-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.day-summary-facts span {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(23, 49, 57, 0.06);
  border-radius: 12px;
  background: rgba(233, 223, 206, 0.86);
}

.day-summary-facts .stay-fact {
  grid-column: 1 / -1;
}

.day-summary-facts small,
.day-summary-facts strong {
  display: block;
}

.day-summary-facts small {
  color: #6a787a;
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.day-summary-facts strong {
  margin-top: 4px;
  font-size: 0.69rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.journal-map-card {
  overflow: hidden;
  min-height: 420px;
  display: grid;
  grid-template-rows: auto minmax(275px, 1fr) auto;
  border: 1px solid rgba(211, 233, 230, 0.16);
  border-radius: 24px;
  background: #071a1f;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.journal-map-card > header,
.journal-map-card > footer {
  padding: 15px 18px;
}

.journal-map-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(211, 233, 230, 0.11);
}

.journal-map-card header small,
.journal-map-card header strong {
  display: block;
}

.journal-map-card header small {
  color: rgba(220, 238, 235, 0.55);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journal-map-card header strong {
  margin-top: 5px;
  font-size: 0.82rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(211, 233, 230, 0.16);
  border-radius: 999px;
  color: rgba(244, 249, 247, 0.82);
  font-size: 0.57rem;
  font-weight: 700;
}

.map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.map-legend .mint {
  background: #72d3c0;
}

.map-legend .ochre {
  background: #ecc06d;
}

.map-legend .blue {
  background: #77c8e8;
}

.journal-map-image {
  position: relative;
  overflow: auto;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(40, 75, 80, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 75, 80, 0.2) 1px, transparent 1px), #071a1f;
  background-size: 120px 120px;
}

.journal-map-image img {
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: contain;
  transition: width 170ms ease;
}

.map-controls {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(211, 233, 230, 0.15);
  border-radius: 15px;
  background: rgba(11, 37, 43, 0.92);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.map-controls button,
.map-controls a {
  min-width: 42px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0 11px;
  border: 1px solid rgba(211, 233, 230, 0.14);
  border-radius: 11px;
  color: #8de0cf;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 750;
}

.map-controls button {
  font-size: 0.75rem;
}

.map-controls button[data-map-zoom="in"],
.map-controls button[data-map-zoom="out"] {
  padding: 0;
  font-size: 1.2rem;
}

.journal-map-card > footer {
  border-top: 1px solid rgba(211, 233, 230, 0.1);
  color: rgba(220, 238, 235, 0.5);
  font-size: 0.58rem;
  line-height: 1.4;
}

.app-mode .quick-card {
  border-color: rgba(218, 237, 234, 0.13);
  color: #f6f0e8;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.app-mode .quick-card small,
.app-mode .quick-card > b {
  color: rgba(223, 238, 236, 0.58);
}

.app-mode .section-title h2,
.app-mode .view-heading h1 {
  color: #f7f0e7;
}

.app-mode .section-title .text-link,
.app-mode .view-heading > div > p:last-child {
  color: rgba(224, 238, 236, 0.68);
}

.app-mode .day-card {
  color: var(--ink);
  background: #f6eee1;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.app-mode .day-card.completed {
  border-color: rgba(232, 105, 129, 0.58);
  background:
    linear-gradient(rgba(246, 238, 225, 0.88), rgba(246, 238, 225, 0.88)),
    #f2cbd2;
  box-shadow:
    inset 5px 0 0 var(--berry),
    0 14px 34px rgba(0, 0, 0, 0.12);
}

.resources,
.weather-card,
.blog-filter,
.map-guide {
  color: var(--ink);
  background: #f6eee1;
}

body.app-mode
  .content
  .paper-card.resources
  > .section-title.resource-title
  h2 {
  color: #173139 !important;
}

body.app-mode
  .content
  .paper-card.resources
  > .section-title.resource-title
  h2::selection {
  color: #173139;
  background: #d7e9e9;
}

.weather-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(320px, 1.45fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 18px;
}

.weather-card-heading {
  min-width: 0;
}

.weather-card-heading .eyebrow {
  margin-bottom: 4px;
  font-size: 0.58rem;
}

.weather-card.info-card h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.weather-card .weather-placeholder {
  min-width: 0;
}

.weather-card .weather-main {
  gap: 10px;
  margin: 0;
}

.weather-card .weather-main > span {
  font-size: 1.65rem;
}

.weather-card .weather-main strong {
  font-size: 0.73rem;
}

.weather-card .weather-main b {
  margin-top: 2px;
  font-size: 0.78rem;
}

.weather-card .weather-stats {
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 7px;
  margin: 0;
}

.weather-card .weather-stats span {
  padding: 8px 10px;
}

.weather-card > .text-link {
  white-space: nowrap;
}

.resource-icon.ochre {
  color: #936526;
  background: var(--ochre-soft);
}

.resource-icon.mint {
  color: #3c786f;
  background: #d9ebe7;
}

.resource-icon.purple {
  color: #66509d;
  background: #e2dcf3;
}

.resource-icon.berry {
  color: var(--berry);
  background: var(--berry-soft);
}

.resource-icon.blue {
  color: #327595;
  background: #d7e9f1;
}

.resource-icon.slate {
  color: #536e76;
  background: var(--slate-soft);
}

.app-mode .blog-section {
  border: 1px solid rgba(213, 235, 232, 0.12);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.13);
}

.app-mode .all-blog .blog-list {
  margin-top: 0;
}

.app-mode .map-overview {
  border: 1px solid rgba(213, 235, 232, 0.14);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.18);
}

@media (max-width: 1120px) {
  .app-mode .sidebar {
    width: 225px;
  }

  .app-mode .content {
    margin-left: 225px;
    padding-inline: 28px;
  }

  .quick-grid,
  .days-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-layout,
  .today-grid,
  .map-layout,
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-filter,
  .map-guide {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(
        circle at 20% 0,
        rgba(202, 225, 222, 0.75),
        transparent 20rem
      ),
      var(--paper);
  }

  body.app-mode {
    background:
      radial-gradient(
        circle at 88% 2%,
        rgba(80, 128, 132, 0.2),
        transparent 24rem
      ),
      #102d33;
  }

  .login-shell {
    padding: 0;
    place-items: stretch;
  }

  .login-panel {
    min-height: 100svh;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
  }

  .login-art {
    min-height: 310px;
  }

  .login-photo {
    object-position: 42% 58%;
  }

  .login-photo-title {
    top: 18px;
    left: 18px;
    gap: 9px;
    padding: 8px 12px 9px 9px;
    border-radius: 14px;
  }

  .login-flag {
    width: 35px;
  }

  .login-photo-title span {
    font-size: 1.85rem;
  }

  .login-photo-title strong {
    padding-bottom: 2px;
    padding-left: 8px;
    font-size: 0.62rem;
  }

  .login-copy {
    align-self: start;
    padding: 36px 24px calc(36px + var(--safe-bottom));
  }

  .login-copy h1 {
    font-size: clamp(2.85rem, 13vw, 3.25rem);
  }

  .password-row {
    grid-template-columns: 1fr;
  }

  .password-row button {
    min-height: 48px;
  }

  .sidebar {
    display: none;
  }

  .app-mode .mobile-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: max(9px, env(safe-area-inset-top)) 16px 9px;
    border-bottom: 1px solid rgba(216, 235, 232, 0.12);
    color: #f8f2e9;
    background: rgba(15, 42, 48, 0.94);
    backdrop-filter: blur(18px);
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .mobile-brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .mobile-brand strong {
    font:
      500 0.94rem/1.1 Georgia,
      serif;
  }

  .app-mode .mobile-brand small {
    margin-top: 2px;
    color: rgba(231, 242, 240, 0.6);
    font-size: 0.62rem;
  }

  .app-mode #mobile-menu-button {
    padding: 8px 11px;
    border: 1px solid rgba(216, 235, 232, 0.15);
    border-radius: 11px;
    color: #f8f2e9;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.68rem;
    font-weight: 750;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-header .top-logout-form button {
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 0.59rem;
  }

  .mobile-drawer {
    position: fixed;
    inset: 68px 12px auto;
    z-index: 60;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: #fff;
    background: var(--dark);
    box-shadow: var(--shadow);
  }

  .mobile-drawer[hidden] {
    display: none;
  }

  .mobile-drawer a,
  .mobile-drawer form button {
    padding: 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
  }

  .app-mode .content {
    --content-pad: 14px;
    margin-left: 0;
    padding: 0 14px calc(94px + var(--safe-bottom));
  }

  .bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 8px 8px calc(8px + var(--safe-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.57);
    background: rgba(15, 39, 46, 0.96);
    backdrop-filter: blur(18px);
  }

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

  .bottom-nav a {
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 6px;
    border-radius: 10px;
  }

  .bottom-nav a span {
    font-size: 1.08rem;
  }

  .bottom-nav a small {
    font-size: 0.59rem;
  }

  .bottom-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .view-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 18px;
  }

  .desktop-topbar {
    display: none;
  }

  .journal-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin: 26px 0 18px;
  }

  .journal-heading h1 {
    font-size: clamp(2.65rem, 13vw, 3.35rem);
    line-height: 0.96;
  }

  .journal-heading > div > p:last-child {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .day-strip {
    margin-inline: -12px;
    padding: 3px 12px 14px;
  }

  .day-strip a {
    flex-basis: 69px;
    min-height: 76px;
    padding: 7px 6px 6px;
    border-radius: 12px;
  }

  .day-strip small {
    font-size: 0.41rem;
  }

  .day-strip strong {
    margin-block: 4px 2px;
  }

  .day-strip strong b {
    font-size: 1.42rem;
  }

  .day-strip strong em {
    font-size: 0.72rem;
  }

  .day-strip span {
    font-size: 0.44rem;
  }

  .day-summary-card {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 20px;
  }

  .day-summary-head {
    grid-template-columns: auto minmax(64px, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  .day-number-badge {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
  }

  .day-number-badge span {
    padding-left: 0;
    border-left: 0;
  }

  .day-completion-button,
  .day-completion-status {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.54rem;
  }

  .day-completion-button span,
  .day-completion-status span {
    max-width: 68px;
  }

  .day-summary-copy {
    margin-top: 18px;
  }

  .day-summary-copy h2 {
    max-width: none;
    font-size: clamp(1.58rem, 8vw, 1.85rem);
    line-height: 1.08;
  }

  .day-route-line {
    margin: 13px 0 10px;
    font-size: 0.7rem;
  }

  .day-summary-text {
    font-size: 0.74rem;
  }

  .day-summary-facts {
    margin-top: 18px;
    padding-top: 0;
  }

  .journal-map-card {
    min-height: 390px;
    grid-template-rows: auto minmax(255px, 1fr) auto;
    border-radius: 20px;
  }

  .journal-map-card > header {
    align-items: start;
    padding: 14px 16px;
  }

  .map-legend {
    display: none;
  }

  .journal-map-image img {
    min-width: 0;
  }

  .map-controls {
    top: 12px;
    left: 12px;
  }

  .map-controls button,
  .map-controls a {
    min-width: 38px;
    min-height: 38px;
    padding-inline: 9px;
  }

  .journal-map-card > footer {
    padding: 12px 16px;
    font-size: 0.55rem;
  }

  .weather-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
  }

  .weather-card .weather-placeholder {
    padding-top: 11px;
    border-top: 1px solid var(--line);
  }

  .weather-card .weather-main {
    margin-bottom: 10px;
  }

  .weather-card .weather-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-card > .text-link {
    justify-self: start;
  }

  .day-heading h1 {
    font-size: 2.85rem;
  }

  .view-heading h1 {
    font-size: 3rem;
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 22px;
    padding: 32px 24px;
    border-radius: 24px;
  }

  .hero-card h1 {
    font-size: 3.5rem;
  }

  .hero-stamp {
    width: 118px;
    padding: 15px;
  }

  .hero-stamp strong {
    font-size: 2.9rem;
  }

  .quick-grid,
  .days-preview,
  .days-grid,
  .side-stack,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 78px;
  }

  .section-title {
    align-items: start;
    flex-direction: column;
    margin-top: 30px;
  }

  .section-title h2 {
    font-size: 2.45rem;
  }

  .day-card {
    min-height: 132px;
    padding: 17px;
  }

  .day-card h3 {
    margin: 15px 0 6px;
    font-size: 1.2rem;
  }

  .day-card p {
    overflow: hidden;
    margin-bottom: 12px;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .paper-card {
    padding: 19px;
  }

  .map-panel {
    padding: 0;
  }

  .map-panel img {
    min-height: 270px;
  }

  .map-caption {
    align-items: start;
    flex-direction: column;
  }

  .blog-section {
    padding: 24px 18px;
    border-radius: 23px;
  }

  .blog-section-head {
    align-items: start;
    flex-direction: column;
  }

  .blog-card-media {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .blog-card-media img {
    height: 240px;
  }

  .blog-card-copy {
    padding: 20px;
  }

  .blog-card h3 {
    font-size: 1.55rem;
  }

  .blog-actions {
    justify-content: stretch;
  }

  .blog-actions button {
    flex: 1;
  }

  .map-overview {
    min-height: 510px;
  }

  .map-overview img {
    min-width: 590px;
  }

  .editor-two {
    grid-template-columns: 1fr;
  }

  .editor-actions {
    flex-direction: column-reverse;
  }

  .editor-actions button {
    width: 100%;
  }

  .toast {
    right: 17px;
    bottom: calc(86px + var(--safe-bottom));
  }
}

@media (max-width: 760px) {
  .day-guide-actions {
    grid-template-columns: 1fr;
    margin-top: 15px;
  }

  .day-guide-button {
    min-height: 52px;
    padding: 9px 11px;
  }

  .resources {
    margin-top: 14px;
  }

  .resource-title-copy {
    font-size: 0.68rem;
  }

  .campground-card {
    margin-top: 16px;
    border-radius: 17px;
  }

  .campground-card-body {
    grid-template-columns: 1fr;
  }

  .campground-card-main {
    padding: 17px;
  }

  .campground-card-head {
    grid-template-columns: 39px minmax(0, 1fr) auto;
    align-items: center;
    padding: 14px;
  }

  .campground-card-head .campground-status {
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
  }

  .campground-card-head .accordion-toggle {
    grid-row: 1 / 3;
    grid-column: 3;
  }

  .campground-card-head .accordion-toggle i {
    display: none;
  }

  .campground-summary-copy strong {
    font-size: 1.05rem;
  }

  .campground-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 15px;
  }

  .campground-actions {
    padding: 14px 17px 17px;
    border-top: 1px solid rgba(219, 239, 235, 0.1);
    border-left: 0;
  }

  .resource-group {
    margin-top: 10px;
  }

  .resource-group-head {
    grid-template-columns: 36px minmax(0, 1fr) auto auto;
    padding: 11px;
  }

  .resource-group-head .resource-icon {
    width: 36px;
    height: 36px;
  }

  .resource-group .accordion-toggle i {
    display: none;
  }

  .resource-card-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    padding: 15px;
    border-radius: 15px;
  }

  .resource-card h4 {
    font-size: 0.96rem;
  }

  .resource-description {
    font-size: 0.66rem;
  }

  .resource-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-backdrop {
    place-items: stretch;
    padding: 0;
  }

  .guide-modal {
    width: 100%;
    max-height: 100svh;
    border: 0;
    border-radius: 0;
  }

  .guide-modal-bar {
    min-height: 66px;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px 17px;
  }

  .guide-modal-body {
    max-height: calc(100svh - 66px);
    padding: 23px 17px calc(28px + env(safe-area-inset-bottom));
  }

  .guide-hero {
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 13px;
    padding-bottom: 21px;
  }

  .guide-hero h2 {
    font-size: clamp(2rem, 10.5vw, 2.75rem);
    line-height: 0.98;
  }

  .guide-hero > div > p:not(.guide-kicker) {
    margin-top: 13px;
    font-size: 0.72rem;
    line-height: 1.62;
  }

  .guide-hero-mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 1.35rem;
  }

  .guide-content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
  }

  .guide-highlights article {
    padding: 12px;
  }

  .guide-story {
    padding: 17px;
  }

  .guide-story blockquote {
    font-size: 1rem;
  }

  .guide-chapters,
  .guide-details ul {
    grid-template-columns: 1fr;
  }

  .guide-deep-dive,
  .guide-details {
    margin-top: 27px;
    padding-top: 22px;
  }

  .guide-sources {
    align-items: start;
    flex-direction: column;
  }

  .guide-sources > div {
    justify-content: start;
  }

  .rain-options {
    grid-template-columns: 1fr;
    margin-top: 21px;
  }

  .rain-options article {
    padding: 17px;
  }
}

@media (max-width: 390px) {
  .app-mode .content {
    --content-pad: 12px;
    padding-inline: 12px;
  }

  .journal-heading h1 {
    font-size: 2.55rem;
  }

  .mobile-brand small,
  .mobile-header .top-logout-form span {
    display: none;
  }

  .day-summary-card {
    padding: 18px 16px;
  }

  .open-pill {
    padding: 6px 8px;
    font-size: 0.52rem;
  }

  .day-summary-head {
    grid-template-columns: auto 1fr auto;
  }

  .day-completion-button span,
  .day-completion-status span {
    display: none;
  }

  .day-completion-button,
  .day-completion-status {
    min-width: 36px;
    padding: 7px;
  }

  .day-summary-copy h2 {
    font-size: 1.52rem;
  }

  .day-summary-facts {
    grid-template-columns: 1fr;
  }

  .day-summary-facts .stay-fact {
    grid-column: 1;
  }

  .journal-map-card {
    min-height: 360px;
    grid-template-rows: auto minmax(230px, 1fr) auto;
  }

  .map-controls {
    gap: 5px;
    padding: 5px;
  }

  .map-controls button,
  .map-controls a {
    min-width: 35px;
    min-height: 35px;
    padding-inline: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
