/* =====================================================
   Oslo Beerathon — Løype-arkiv
   ===================================================== */

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

:root {
  --red:    #c0392b;
  --navy:   #0e2159;
  --amber:  #e8a020;
  --cream:  #fdf8f0;
  --text:   #2c3e50;
  --muted:  #7a8fa6;
  --border: #e4ddd4;
  --white:  #ffffff;
  --map-h:  620px;
}

html, body { font-family: 'Inter', 'Helvetica Neue', sans-serif; background: var(--cream); color: var(--text); }

/* ── Shared ── */
.loypa-kicker {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .5rem;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   ARCHIVE VIEW
───────────────────────────────────────────── */
.loypa-archive-hero {
  background: var(--navy);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.loypa-archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(192,57,43,.25) 0%, transparent 70%);
  pointer-events: none;
}
.loypa-archive-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1.05;
  margin-bottom: .75rem;
  position: relative;
}
.loypa-hero-lead {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  position: relative;
}

/* Archive grid */
.loypa-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 1060px;
  margin: 2.5rem auto;
  padding: 0 1.5rem 3rem;
}

/* Year card */
.loypa-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  position: relative;
  transition: box-shadow .15s, transform .15s;
}
.loypa-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.13);
  transform: translateY(-2px);
}
.loypa-card.is-current {
  border-color: var(--red);
  border-width: 2px;
}
.loypa-card.is-no-map {
  opacity: 0.72;
}
.loypa-card.is-no-map:hover {
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transform: none;
}

/* Kommende utgave — grått TBA-kort, ingen løype å vise ennå.
   NB: wp-custom-css har `body.wp-theme-blocksy:not(.page-id-11) article
   { background: transparent !important }`, som treffer alle .loypa-card
   (de ER <article>). Derfor må den grå bakgrunnen ha !important — ingen
   spesifisitet slår en !important-regel. Det er også grunnen til at
   `.loypa-card { background: var(--white) }` over aldri males. */
.loypa-page article.loypa-card.is-upcoming {
  background: #f2f2f0 !important;
  border: 2px dashed #cfcac2;
  box-shadow: none;
  color: var(--muted);
}
.loypa-card.is-upcoming:hover {
  box-shadow: none;
  transform: none;
}
.loypa-card.is-upcoming .loypa-card-badge  { background: var(--muted); }
.loypa-card.is-upcoming .loypa-card-year,
.loypa-card.is-upcoming .loypa-card-subtitle,
.loypa-card.is-upcoming .loypa-card-teaser,
.loypa-card.is-upcoming .loypa-route-leg   { color: var(--muted); }
.loypa-card.is-upcoming .loypa-route-leg   { font-weight: 500; }

.loypa-card-badge {
  position: absolute;
  top: -10px;
  left: 1.25rem;
  background: var(--red);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 999px;
}

.loypa-card-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: .03em;
}

.loypa-card-subtitle {
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: -.2rem;
}

.loypa-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  font-size: .8rem;
  color: var(--muted);
  padding: .25rem 0;
}

.loypa-card-teaser {
  font-size: .87rem;
  color: var(--text);
  line-height: 1.55;
  flex: 1;
}

.loypa-card-route {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--muted);
  padding: .25rem 0;
}

.loypa-card-half {
  font-size: .74rem;
  color: var(--muted);
  padding: .1rem 0 .35rem;
  border-top: 1px dashed var(--border);
  margin-top: .15rem;
  padding-top: .5rem;
}
.loypa-route-leg    { font-weight: 600; color: var(--navy); }
.loypa-route-arrow  { color: var(--amber); font-size: 1rem; }

.loypa-card-btn {
  display: inline-block;
  margin-top: .5rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: .82rem;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  text-align: center;
  transition: background .15s;
  letter-spacing: .03em;
}
.loypa-card-btn:hover   { background: #a93226; }
.loypa-card-btn.is-disabled {
  background: var(--border);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}
.loypa-card-btn.is-teaser {
  background: var(--amber);
  color: var(--navy);
  cursor: default;
  pointer-events: none;
  animation: teaser-pulse 2.5s ease-in-out infinite;
}
@keyframes teaser-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .7; }
}

/* ─────────────────────────────────────────────
   DETAIL VIEW
───────────────────────────────────────────── */

/* Back + intro */
.loypa-detail-top {
  background: var(--navy);
  padding: 2rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.loypa-detail-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(192,57,43,.22) 0%, transparent 70%);
  pointer-events: none;
}
.loypa-back {
  display: inline-block;
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
  position: relative;
  transition: color .15s, transform .15s;
}
.loypa-back:hover { color: var(--white); transform: translateX(-3px); }

.loypa-detail-intro {
  text-align: center;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.loypa-detail-intro h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

/* Distance toggle (hel / halv) — years that run two routes on one track */
.loypa-variant-toggle {
  display: inline-flex;
  gap: .25rem;
  margin: 0 0 1.1rem;
  padding: .25rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
}
.loypa-variant {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  padding: .42rem 1.1rem;
  border-radius: 999px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: .07em;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.loypa-variant span {
  font-size: .8rem;
  opacity: .7;
  font-variant-numeric: tabular-nums;
}
.loypa-variant:hover { background: rgba(255,255,255,.11); color: var(--white); }
.loypa-variant.is-active {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
}
.loypa-variant.is-active span { opacity: .82; }

/* Stats pills */
.loypa-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}
.loypa-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .81rem;
  color: rgba(255,255,255,.88);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.loypa-stat strong { color: var(--amber); font-weight: 700; }

/* Del-knapp */
.loypa-share-row {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}
.loypa-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.88);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  letter-spacing: .02em;
}
.loypa-share-btn:hover {
  background: rgba(255,255,255,.18);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

/* Km markers */
.ob-km-marker {
  background: rgba(14, 33, 89, 0.82);
  color: var(--amber);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1.4;
  box-shadow: 0 1px 4px rgba(0,0,0,.22);
}
.ob-km-marker span { font-size: 9px; opacity: .75; }

/* Map */
#ruten-map {
  width: 100%;
  height: var(--map-h);
  background: #d6d0c8;
}
.leaflet-container { font-family: inherit; }
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 4px 22px rgba(0,0,0,.18);
  padding: 0;
  overflow: hidden;
  border: none;
}
.leaflet-popup-content { margin: 0; min-width: 200px; }
.leaflet-popup-tip-container { margin-top: -1px; }

.ob-popup            { padding: .9rem 1.1rem; }
.ob-popup-stop       { font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: .2rem; }
.ob-popup-name       { font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; color: var(--navy); letter-spacing: .03em; margin-bottom: .15rem; }
.ob-popup-desc       { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.ob-popup-start .ob-popup-stop  { color: #27ae60; }
.ob-popup-finish .ob-popup-stop { color: var(--amber); }
.ob-popup-hub   .ob-popup-stop  { color: var(--navy); }

/* Hub popup: every visit to a place the route returns to */
.ob-popup-roles {
  list-style: none;
  margin: .6rem 0 0;
  padding: .55rem 0 0;
  border-top: 1px solid var(--border);
}
.ob-popup-roles li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .16rem 0;
}
.ob-popup-role {
  font-size: .76rem;
  font-weight: 700;
  color: var(--navy);
}
.ob-popup-km {
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* Shared section wrapper */
.loypa-section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.loypa-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: .07em;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* Elevation */
.loypa-elevation {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0 1.5rem;
}
.elevation-chart-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
#elevation-chart {
  display: none;   /* shown by JS once data is ready */
  position: relative;
  z-index: 2;
}
.elevation-loading {
  font-size: .82rem;
  color: var(--muted);
  padding: 1rem 0;
}

/* ── Beer overlay: foam + bubbles ── */
.elev-beer-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;        /* sits above canvas so bubbles float over chart */
}

/* Rising CO₂ bubbles */
.elev-bubble {
  position: absolute;
  bottom: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%,
    rgba(255, 255, 255, 0.95)   0%,
    rgba(255, 248, 200, 0.65)  40%,
    rgba(255, 230, 130, 0.15)  75%,
    rgba(255, 215, 80,  0.00) 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.35);
  opacity: 0;
  animation: elev-bubble-rise linear infinite;
}

.elev-b1 { left: 12%; width: 10px; height: 10px; animation-duration: 6.8s;  animation-delay: 0.3s; }
.elev-b2 { left: 14%; width:  7px; height:  7px; animation-duration: 9.0s;  animation-delay: 3.5s; }
.elev-b3 { left: 35%; width:  9px; height:  9px; animation-duration: 7.5s;  animation-delay: 1.2s; }
.elev-b4 { left: 52%; width:  6px; height:  6px; animation-duration:10.5s;  animation-delay: 4.8s; }
.elev-b5 { left: 68%; width: 11px; height: 11px; animation-duration: 7.2s;  animation-delay: 2.2s; }
.elev-b6 { left: 82%; width:  7px; height:  7px; animation-duration: 9.8s;  animation-delay: 0.8s; }

@keyframes elev-bubble-rise {
  0%   { transform: translate3d(0, 0, 0)    scale(0.5); opacity: 0; }
  8%   { opacity: 0.85; }
  85%  { opacity: 0.5; }
  100% { transform: translate3d(2px, -130px, 0) scale(1.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .elev-bubble { animation: none !important; opacity: 0.4; }
}

/* Stops list */
.loypa-stops-section {
  padding: 2rem 0;
}
.ob-stop-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.ob-stop-item,
.ob-stop-body,
.ob-stop-name,
.ob-stop-meta,
.ob-stop-desc,
.ob-stop-chips {
  text-align: left;
}
.ob-stop-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  box-shadow: 0 1px 5px rgba(0,0,0,.06);
  border-left: 3px solid var(--red);
  transition: box-shadow .15s;
}
.ob-stop-item:hover   { box-shadow: 0 3px 14px rgba(0,0,0,.1); }
.ob-stop-item.is-start  { border-left-color: #27ae60; }
.ob-stop-item.is-finish { border-left-color: var(--amber); }

.ob-stop-badge {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.ob-stop-item.is-start  .ob-stop-badge {
  background: #27ae60;
  width: auto;          /* grow to fit the pennant flag SVG */
  min-width: 2.1rem;
  border-radius: 8px;
  padding: 0 6px;
  line-height: 0;
  font-size: 0;
}
.ob-stop-item.is-finish .ob-stop-badge { background: var(--amber); font-size: .8rem; }

.ob-stop-body  { min-width: 0; flex: 1; }   /* allow flex child to shrink below content size */
.ob-stop-name  { font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: .1rem; }
.ob-stop-meta  { font-size: .75rem; color: var(--muted); margin-bottom: .2rem; }
.ob-stop-desc  { font-size: .82rem; color: var(--text); line-height: 1.5; margin-top: .2rem; }

/* Stop chips: leg distance, ETA, Google Maps */
.ob-stop-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .55rem;
  margin-top: .3rem;
  margin-bottom: .1rem;
}
.ob-stop-leg {
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(14,33,89,.07);
  border-radius: 999px;
  padding: .18rem .55rem;
}
.ob-stop-eta {
  font-size: .72rem;
  color: var(--muted);
}
.ob-maps-link {
  font-size: .72rem;
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.ob-maps-link:hover { text-decoration: underline; }

/* Collapsible description on mobile */
.ob-stop-desc.is-collapsible {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ob-stop-desc.is-collapsible.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
}
.ob-stop-expand-btn {
  background: none;
  border: none;
  padding: .15rem 0 0;
  font-size: .75rem;
  font-weight: 600;
  color: var(--amber);
  cursor: pointer;
  text-align: left;
}
.ob-stop-expand-btn:hover { text-decoration: underline; }

.ob-stop-beer-icon {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 1.5rem;
  opacity: 0.35;
  transition: opacity .2s;
  align-self: center;
  padding-left: .5rem;
}
.ob-stop-item:hover .ob-stop-beer-icon { opacity: 0.72; }

/* Download */
.loypa-download { padding: 0 0 3rem; }
.loypa-download-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.loypa-download-box > div {
  background: var(--navy);
  border-radius: 12px;
  padding: 1.4rem 1.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.loypa-download-text { color: rgba(255,255,255,.82); font-size: .87rem; line-height: 1.5; }
.loypa-download-text strong { display: block; font-size: .98rem; color: var(--white); margin-bottom: .2rem; }

.ob-dl-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: .84rem;
  padding: .65rem 1.35rem;
  border-radius: 999px;
  letter-spacing: .03em;
  transition: background .15s, transform .1s;
}
.ob-dl-btn:hover { background: #a93226; transform: translateY(-1px); }

/* ─────────────────────────────────────────────
   MAP WRAPPER, LOADING OVERLAY, FULLSCREEN
───────────────────────────────────────────── */
.ruten-map-wrap {
  position: relative;
  background: #d6d0c8;
}

/* Loading overlay */
.map-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  background: rgba(253,248,240,.88);
  font-size: .82rem;
  color: var(--muted);
  z-index: 500;
  pointer-events: none;
  transition: opacity .3s;
}
.map-loading-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.map-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: map-spin .8s linear infinite;
}
@keyframes map-spin {
  to { transform: rotate(360deg); }
}

/* Fullscreen button */
.map-fs-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: var(--white);
  border: none;
  border-radius: 6px;
  padding: .4rem .45rem;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,.25);
  color: var(--navy);
  display: flex;
  align-items: center;
  transition: background .15s;
}
.map-fs-btn:hover { background: var(--cream); }

/* Fullscreen state */
.ruten-map-wrap.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9998;
}
.ruten-map-wrap.is-fullscreen #ruten-map {
  height: 100% !important;
}

/* ─────────────────────────────────────────────
   ROUTE STATISTICS ROW
───────────────────────────────────────────── */
.route-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
}
.route-stat {
  flex: 1;
  min-width: 100px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .55rem .8rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.route-stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: .03em;
  line-height: 1;
}
.route-stat-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 600;
}
.route-stat-hint {
  font-size: .67rem;
  color: var(--amber);
  font-weight: 700;
  margin-top: .2rem;
  display: block;
}
.route-stat.is-interactive {
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.route-stat.is-interactive:hover {
  background: #f5efe4;
  border-color: var(--amber);
}

/* ── Tablet ── */
@media (max-width: 820px) and (min-width: 641px) {
  .loypa-archive-grid  { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem 2.5rem; }
  .loypa-detail-top    { padding: 1.75rem 1.25rem 1.75rem; }
  .loypa-section-inner { padding: 0 1.25rem; }
  .loypa-stats         { gap: .4rem; }
  .loypa-stat          { font-size: .77rem; padding: .35rem .85rem; }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  :root { --map-h: 420px; }

  /* Archive */
  .loypa-archive-hero  { padding: 2rem 1rem 1.75rem; }
  .loypa-archive-grid  { gap: .9rem; padding: 0 1rem 2.5rem; margin-top: 2rem; }
  .loypa-card          { padding: 1.25rem 1.25rem 1.1rem; }
  .loypa-card-year     { font-size: 2.4rem; }
  .loypa-card-stats    { gap: .35rem .7rem; font-size: .78rem; }
  .loypa-card-teaser   { font-size: .84rem; }
  .loypa-card-btn      { display: block; text-align: center; }

  /* Detail intro */
  .loypa-detail-top    { padding: 1.5rem 1rem 1.75rem; }
  .loypa-detail-intro h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 1rem; }

  /* Stats pills: smaller, wrap more gracefully */
  .loypa-stats  { gap: .35rem; }
  .loypa-stat   { font-size: .74rem; padding: .3rem .75rem; gap: .25rem; }

  /* Share button */
  .loypa-share-row { margin-top: 1rem; }

  /* Shared section layout */
  .loypa-section-inner { padding: 0 1rem; }
  .loypa-section-title { font-size: 1.1rem; letter-spacing: .05em; margin-bottom: .75rem; }

  /* Elevation */
  .loypa-elevation      { padding: 1.25rem 0 1.1rem; }
  .elevation-chart-wrap { height: 170px; }

  /* Stop list */
  .loypa-stops-section { padding: 1.5rem 0; }
  .ob-stop-list  { gap: .5rem; }
  .ob-stop-item  { padding: .75rem .9rem; gap: .75rem; }
  .ob-stop-name  { font-size: .9rem; }
  .ob-stop-meta  { font-size: .7rem; }
  .ob-stop-desc  { font-size: .78rem; }
  .ob-stop-beer-icon { font-size: 1.2rem; }

  /* Download */
  .loypa-download-box > div { flex-direction: column; align-items: flex-start; gap: .85rem; }
  .ob-dl-btn     { width: 100%; justify-content: center; }

  /* Route stats */
  .route-stats-row { gap: .4rem; }
  .route-stat      { min-width: calc(50% - .2rem); padding: .5rem .7rem; }
  .route-stat-val  { font-size: 1.05rem; }

  /* Stop chips */
  .ob-stop-chips { gap: .25rem .4rem; }
}
