:root {
  --paper: #F7F4EE; --card: #FFFFFF; --ink: #1B2230; --text2: #3D4656; --muted: #5F6878; --line: #E3DDD2;
  --blue: #1E3A5F; --blue-2: #2C5282; --rust: #C8553D; --sand: #E9E1D3; --ok: #2F7D4F; --warn: #B7791F;
  --display: "Rubik", system-ui, sans-serif; --body: "Heebo", system-ui, sans-serif;
  --wrap: 1200px; --pad: 32px; --r: 14px;
  --d1: #C8553D; --d2: #D69E2E; --d3: #2F855A; --d4: #2B6CB0; --d5: #805AD5; --d6: #1B2230;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); direction: rtl; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-2); }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow { font-weight: 700; font-size: 14px; color: var(--rust); letter-spacing: .02em; }
.muted { color: var(--muted); }
.ph-text { color: var(--muted); font-style: italic; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Top bar ---------- */
.top { position: fixed; top: 0; inset-inline: 0; z-index: 800; transition: background .25s, box-shadow .25s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.top.solid, .top.menu-open { background: rgba(247, 244, 238, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top:not(.solid):not(.menu-open) { color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(127, 127, 127, .14); }
.nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.who { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.who .name { opacity: .85; }
.linkbtn { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: 14px; padding: 10px 4px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(127,127,127,.18); color: inherit; cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,28,.45) 0%, rgba(10,16,28,0) 25%, rgba(10,16,28,.35) 50%, rgba(10,16,28,.9) 100%); }
@keyframes drift { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.12) translateY(-12px); } }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 120px; }
.hero h1 { font-size: clamp(52px, 9vw, 120px); font-weight: 800; }
.hero .sub { font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; margin-top: 10px; opacity: .95; }
.hero .intro { max-width: 640px; font-size: 18px; margin: 18px 0 26px; }
.hero h1, .hero .sub, .hero .intro, .phead h1 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.countdown { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); font-weight: 600; }
.countdown b { font-family: var(--display); font-size: 26px; }
.credit { position: absolute; bottom: 10px; left: 14px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.75); }
.credit a { color: inherit; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 0; background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.btn.primary { background: var(--rust); color: #fff; }
.btn.primary:hover { background: #B04832; color: #fff; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.ghost { background: transparent; border: 1.5px solid currentColor; box-shadow: none; }
.btn:disabled { opacity: .55; cursor: default; }

/* ---------- Stat bar ---------- */
.statbar { position: relative; z-index: 2; margin-top: -64px; }
.stats { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); background: var(--card); border-radius: var(--r); box-shadow: 0 10px 30px rgba(27,34,48,.12); overflow: hidden; }
.stats > div { padding: 22px 26px; display: flex; flex-direction: column; gap: 2px; border-inline-start: 1px solid var(--line); }
.stats > div:first-child { border-inline-start: 0; }
.stats .v { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.stats .l { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-top: 6px; }
.section-head p { margin: 0; max-width: 460px; color: var(--text2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lead { font-size: 20px; color: var(--text2); margin: 0; }
.note { background: var(--card); border-radius: var(--r); padding: 22px 24px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.note h3 { font-size: 18px; margin-bottom: 6px; }
.note p { margin: 0; color: var(--text2); }
.card { background: var(--card); border-radius: var(--r); box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 24px; }

/* ---------- Map ---------- */
.mapbox { isolation: isolate; position: relative; height: 560px; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 30px rgba(27,34,48,.12); background: var(--sand); }
.mapbox.small { height: 380px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.map-legend button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 14px; font-weight: 500; }
.map-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.day-pin { background: none; border: 0; }
.day-pin span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font: 700 14px var(--display); border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.leaflet-container { font-family: var(--body); direction: ltr; }
.pin-pop { display: flex; flex-direction: column; gap: 8px; direction: rtl; text-align: right; font-family: var(--body); min-width: 190px; }
.pin-pop b { font-family: var(--display); font-size: 16px; }
.pin-pop span { color: var(--muted); font-size: 13px; }
.pin-pop .btn { min-height: 40px; font-size: 14px; color: #fff !important; }
.pin-pop a[data-link] { font-weight: 600; }
.leaflet-tooltip { direction: rtl; font-family: var(--body); font-size: 14px; }
.map-attrib { font-size: 12px; color: var(--muted); margin-top: 8px; }

.komoot { isolation: isolate; margin-top: 28px; background: var(--card); border-radius: var(--r); box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; }
.komoot-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; flex-wrap: wrap; }
.komoot-head h3 { font-size: 22px; margin-top: 2px; }
.komoot iframe { display: block; width: 100%; height: 700px; border: 0; border-top: 1px solid var(--line); }

.gpx-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.gpx-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.gpx-btns .btn { min-height: 44px; font-size: 15px; border: 1px solid var(--line); }
.gpx-btns i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ---------- Day cards ---------- */
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.day-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.day-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27,34,48,.16); color: var(--ink); }
.day-card .img { position: relative; aspect-ratio: 16 / 10; background: var(--sand) center / cover; }
.day-card .img .num { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font: 700 20px var(--display); box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.day-card .img .tag { position: absolute; bottom: 12px; right: 14px; background: rgba(10,16,28,.72); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.day-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.day-card .date { font-size: 14px; color: var(--rust); font-weight: 700; }
.day-card .title { font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.25; }
.day-card .meta { display: flex; gap: 14px; margin-top: auto; font-size: 14px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line); }
.day-card .meta b { color: var(--ink); font-weight: 600; }

/* ---------- Tiles row on home ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 10px; background: var(--card); border-radius: var(--r); padding: 26px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; min-height: 200px; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(27,34,48,.14); color: var(--ink); }
.tile .big { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.1; }
.tile h3 { font-size: 22px; }
.tile p { margin: 0; color: var(--text2); font-size: 15px; }
.tile .go { margin-top: auto; font-weight: 600; color: var(--blue-2); font-size: 15px; }
.tile.photo { position: relative; color: #fff; background: var(--ink) center / cover; overflow: hidden; }
.tile.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,28,.1), rgba(10,16,28,.8)); }
.tile.photo > * { position: relative; }
.tile.photo p, .tile.photo .go { color: #fff; }

/* ---------- Page header with photo ---------- */
.phead { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; background: var(--ink) center / cover; }
.phead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,28,.5), rgba(10,16,28,0) 35%, rgba(10,16,28,.85)); }
.phead .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 96px; padding-top: 110px; }
.phead h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; }
.phead .crumbs { display: flex; gap: 8px; font-size: 15px; margin-bottom: 14px; opacity: .92; }
.phead .crumbs a { color: #fff; }
.plain-head { padding: 120px 0 8px; }
.plain-head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin-top: 6px; }
.plain-head p { max-width: 680px; color: var(--text2); font-size: 18px; margin: 12px 0 0; }

/* ---------- Day page ---------- */
.route-chain { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; }
.route-chain span { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.route-chain i { font-style: normal; opacity: .7; }
.day-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; margin-top: 40px; }
.profile { background: var(--card); border-radius: var(--r); padding: 20px 22px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-top: 22px; }
.profile svg { width: 100%; height: 150px; display: block; }
.profile .ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 2px 0 0; }
.profile .readout { font-size: 14px; color: var(--muted); min-height: 22px; }
.side { display: flex; flex-direction: column; gap: 18px; }
.side .card h3 { font-size: 15px; color: var(--rust); font-family: var(--body); font-weight: 700; margin-bottom: 6px; }
.side .card p { margin: 0; }
.side .card.sleep { background: var(--blue); color: #fff; }
.side .card.sleep h3 { color: #BFD3EA; }
.side .card.sleep a { color: #fff; }
.side .card.short { border-inline-start: 4px solid var(--rust); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.pager a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 20px; border-radius: var(--r); color: #fff; text-decoration: none; background: var(--ink) center / cover; overflow: hidden; }
.pager a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,28,.2), rgba(10,16,28,.8)); }
.pager a > * { position: relative; }
.pager small { opacity: .85; }
.pager b { font-family: var(--display); font-size: 20px; }
.pager .next { text-align: left; }

/* ---------- Stays ---------- */
.stays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stay-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.stay-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27,34,48,.16); color: var(--ink); }
.stay-card .img { position: relative; aspect-ratio: 16 / 10; background: var(--sand) center / cover; }
.stay-card .nights { position: absolute; top: 14px; right: 14px; background: rgba(10,16,28,.72); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.stay-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.stay-card .date { font-size: 14px; color: var(--rust); font-weight: 700; }
.stay-card .town { font-family: var(--display); font-size: 26px; font-weight: 700; text-align: right; }
.stay-card .hotel { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; }
.stay-card .go { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; color: var(--blue-2); font-size: 15px; }
.hotel-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }
.hotel-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { position: relative; padding: 12px 44px 12px 16px; background: var(--card); border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.facts li::before { content: ""; position: absolute; right: 16px; top: 19px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.warn { margin-top: 24px; background: #FBEFD9; border-radius: var(--r); padding: 18px 22px; }
.warn h3 { font-size: 17px; color: #7A4F0E; margin-bottom: 8px; }
.warn ul { margin: 0; padding-inline-start: 20px; }
.warn li { margin: 4px 0; }
.card.contact p { margin: 0 0 10px; font-size: 16px; }
.card.contact a { font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); display: block; }
.gallery figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.gallery figcaption a { color: inherit; }

.suites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.suite { background: var(--card); border-radius: var(--r); padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--ok); }
.suite-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.suite h4 { margin: 0; font-family: var(--display); font-size: 22px; }
.suite .price { font-family: var(--display); font-weight: 700; color: var(--blue); }
.suite ul { margin: 0; padding-inline-start: 18px; font-size: 15px; }
.suite .conf { margin: 0; font-size: 13px; color: var(--muted); }
.suite .conf span { font-family: ui-monospace, Menlo, monospace; }
.suite a { font-weight: 600; margin-top: auto; }

.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 18px; padding-bottom: 6px; }
.strip .shot { flex: 0 0 min(420px, 78%); aspect-ratio: 3 / 2; scroll-snap-align: start; }
.shot { padding: 0; border: 0; background: var(--sand); border-radius: 12px; overflow: hidden; cursor: zoom-in; position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.shot:hover img { transform: scale(1.04); }
.src-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.src-note a { color: inherit; }
.suite-pics { display: flex; flex-direction: column; gap: 6px; margin: -18px -20px 6px; }
.suite-pics .cover { aspect-ratio: 16 / 10; border-radius: 0; }
.suite-pics .count { position: absolute; bottom: 10px; left: 10px; background: rgba(10,16,28,.75); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.suite-pics .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 20px; }
.suite-pics .thumbs .shot { aspect-ratio: 1; border-radius: 8px; }
.suite { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,12,20,.94); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.26); }
.lb-close { top: 18px; left: 18px; font-size: 22px !important; }
.lb-prev { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; color: #fff; font-size: 14px; opacity: .8; }

.gmap { position: relative; display: block; height: 260px; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); background: var(--sand); text-decoration: none; }
.gmap iframe { width: 100%; height: 100%; border: 0; pointer-events: none; display: block; }
.gmap-cta { position: absolute; bottom: 12px; right: 12px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.gmap:hover .gmap-cta { background: var(--rust); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.table th, .table td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--sand); font-weight: 700; font-size: 14px; }
.table tr:last-child td { border-bottom: 0; }
.table td.mono { font-family: ui-monospace, Menlo, monospace; font-size: 14px; direction: ltr; text-align: end; }
.table tfoot td { font-weight: 700; background: var(--sand); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.badge.ok { background: #DDF1E4; color: #1F5E38; }
.badge.offer { background: #E3ECF7; color: #1E3A5F; }
.badge.pending { background: #FBEFD9; color: #7A4F0E; }

/* ---------- Flights ---------- */
.flights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.flight { background: var(--card); border-radius: var(--r); padding: 20px 22px; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-top: 4px solid var(--blue); }
.fl-top { display: flex; justify-content: space-between; align-items: baseline; }
.fl-no { font-family: var(--display); font-weight: 700; color: var(--blue); font-size: 18px; }
.fl-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-top: 14px; }
.fl-row > div:not(.fl-mid) { display: flex; flex-direction: column; gap: 2px; }
.fl-row > div:last-child { text-align: left; }
.fl-row b { font-family: var(--display); font-size: 34px; line-height: 1; }
.fl-row span { font-size: 14px; color: var(--muted); }
.fl-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 70px; }
.fl-mid i { display: block; width: 100%; height: 2px; background: var(--line); position: relative; }
.fl-mid i::after { content: "✈"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%) scaleX(-1); color: var(--blue); font-style: normal; font-size: 16px; background: var(--card); padding: 0 4px; }
.couples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.couple { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: 15px; }
.couple .mark { width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px; display: inline-flex; align-items: center; justify-content: center; background: var(--line); color: #fff; font-weight: 700; font-size: 14px; }
.couple.yes { background: #DDF1E4; }
.couple.yes .mark { background: var(--ok); }
.couple .b { font-weight: 700; }
.couple .st { margin-inline-start: auto; font-size: 13px; color: var(--muted); }
.couple.yes .st { color: #1F5E38; font-weight: 700; }
.members { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.who-flies { display: flex; flex-wrap: wrap; gap: 8px; }
.who-flies span { padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: 14px; color: var(--muted); }
.who-flies span.yes { background: #DDF1E4; color: #1F5E38; font-weight: 700; }

.bus { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: center; margin-bottom: 18px; }
.bus img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; display: block; }
.drives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.drive .gmap { height: 220px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; right: 15px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-right: 48px; margin-bottom: 20px; }
.timeline li::before { content: ""; position: absolute; right: 8px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid var(--paper); }
.timeline .card { display: grid; gap: 6px; }
.timeline .when { font-size: 14px; font-weight: 700; color: var(--rust); }
.timeline h3 { font-size: 20px; }
.timeline .status { font-size: 15px; background: var(--paper); padding: 10px 12px; border-radius: 10px; margin-top: 4px; }

/* ---------- To-do ---------- */
.todo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.todo-list li { display: flex; align-items: flex-start; gap: 14px; background: var(--card); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.todo-list input[type=checkbox] { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--ok); flex: 0 0 auto; cursor: pointer; }
.todo-list .t { flex: 1; }
.todo-list .by { display: block; font-size: 13px; color: var(--muted); }
.todo-list li.done .txt { text-decoration: line-through; color: var(--muted); }
.todo-add { display: flex; gap: 10px; margin-top: 18px; }
.todo-add input { flex: 1; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.progress-ring { display: flex; align-items: center; gap: 14px; }
.meter { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.meter > div { height: 100%; background: var(--ok); border-radius: 999px; transition: width .3s; }

/* ---------- Grids of notes ---------- */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.notes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.forecast { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.forecast div { background: var(--card); border-radius: 12px; padding: 14px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.forecast b { font-family: var(--display); font-size: 24px; color: var(--blue); }
.checklist { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.checklist li { break-inside: avoid; }
.checklist label { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; border-bottom: 1px solid var(--line); }
.checklist input { width: 22px; height: 22px; accent-color: var(--ok); }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.members div { background: var(--card); border-radius: 12px; padding: 12px 16px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.05); }

/* ---------- Photos ---------- */
.upload-row { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; }
.drop { position: relative; display: flex; align-items: center; gap: 20px; padding: 26px 28px; border: 2px dashed #B9B0A1; border-radius: var(--r); background: var(--card); cursor: pointer; }
.drop.over { border-color: var(--ok); background: #EEF7F1; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .drop-t { font-size: 19px; font-weight: 700; }
.drop .drop-s { font-size: 14px; color: var(--muted); }
.upday { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; }
.upday select { min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
.bar { height: 10px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.bar > div { height: 100%; background: var(--ok); width: 0; transition: width .2s; }
.err { color: #A3261B; font-weight: 600; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px 0 18px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ph { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ph .img { aspect-ratio: 4 / 3; border-radius: 12px; background: var(--sand); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); font-size: 14px; text-align: center; padding: 8px; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph figcaption { display: flex; justify-content: space-between; align-items: center; font-size: 14px; gap: 6px; }
.ph figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; color: var(--ink); background: none; border: 0; cursor: pointer; border-radius: 999px; }
.icon-btn:hover { background: var(--sand); }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--ink) center / cover; position: relative; }
.auth::before { content: ""; position: absolute; inset: 0; background: rgba(10,16,28,.45); }
.panel { position: relative; width: min(420px, 100%); padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; background: var(--card); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.panel h1 { font-size: 30px; }
.panel label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.panel input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 400; direction: ltr; text-align: right; }
.panel .btn { width: 100%; }

/* ---------- Footer ---------- */
footer.site { margin-top: 96px; padding: 36px 0 120px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer.site a { color: inherit; }

/* ---------- Chat: the trail pack (Claude Design "Trail Pack chat") ---------- */
.pack { --mw: min(420px, calc(100vw - 56px)); --mh: min(540px, calc(100dvh - 250px)); position: fixed; left: 28px; bottom: 22px; width: 128px; height: 160px; z-index: 1100; font-family: "Rubik", sans-serif; }
.hand { font-family: "Amatic SC", cursive; font-weight: 700; }
@keyframes pk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes pk-swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(5deg); } }
@keyframes pk-hop { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
@keyframes pk-stamp { 0% { opacity: 0; transform: scale(1.9) rotate(-14deg); } 60% { opacity: 1; transform: scale(.92) rotate(-14deg); } 100% { opacity: 1; transform: scale(1) rotate(-14deg); } }
@keyframes pk-ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes pk-rise { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: translateY(0); } }
.bob { position: absolute; left: 0; bottom: 0; width: 128px; height: 160px; animation: pk-bob 3.4s ease-in-out infinite; pointer-events: none; }
.is-open .bob { animation: none; }
.pk-back { z-index: 1; }
.pk-front { z-index: 3; }
.flapwrap { z-index: 4; transition: z-index 0s linear 1.95s; }
.is-open .flapwrap { z-index: 1; transition: z-index 0s linear .22s; }
.lift { position: absolute; inset: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.pack-hit:hover ~ .pk-front .lift, .pack-hit:focus-visible ~ .pk-front .lift,
.pack-hit:hover ~ .flapwrap .lift, .pack-hit:focus-visible ~ .flapwrap .lift { transform: translateY(-6px) rotate(-3deg); }
.is-open .pack-hit:hover ~ .pk-front .lift, .is-open .pack-hit:hover ~ .flapwrap .lift { transform: translateY(-2px); }
.flap { position: absolute; left: 0; top: 16px; width: 128px; height: 58px; transform-origin: 50% 0; transform-style: preserve-3d; transform: perspective(420px) rotateX(0deg); transition: transform .55s cubic-bezier(.5,-.2,.4,1.4) 1.45s; }
.is-open .flap { transform: perspective(420px) rotateX(-180deg); transition: transform .6s cubic-bezier(.45,0,.2,1.25) .08s; }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face-in { transform: rotateX(180deg); }
.mouth { opacity: 0; transition: opacity .2s linear 1.6s; }
.is-open .mouth { opacity: 1; transition: opacity .15s linear .15s; }
.pull { transition: transform .45s cubic-bezier(.5,0,.3,1) 1.5s; }
.is-open .pull { transform: translateX(52px); transition: transform .45s cubic-bezier(.5,0,.3,1) 0s; }
.gap { stroke-dashoffset: 100; transition: stroke-dashoffset .45s cubic-bezier(.5,0,.3,1) 1.5s; }
.is-open .gap { stroke-dashoffset: 0; transition: stroke-dashoffset .45s cubic-bezier(.5,0,.3,1) 0s; }
.pack-hit { position: absolute; left: -4px; bottom: -4px; width: 136px; height: 170px; z-index: 6; background: transparent; border: 0; border-radius: 36px; cursor: pointer; padding: 0; }
.pack-hit:focus-visible { outline: 3px solid #E9B877; outline-offset: 4px; }
.tag { position: absolute; left: 110px; bottom: 82px; z-index: 5; transform-origin: 0 12px; animation: pk-swing 3.4s ease-in-out infinite; transition: opacity .25s ease 1.9s; pointer-events: none; }
.is-open .tag { opacity: 0; transition: opacity .15s ease 0s; }
.tag-string { position: absolute; left: -38px; top: -4px; overflow: visible; }
.tag-card { position: relative; display: flex; flex-direction: column; padding: 8px 14px 8px 22px; background: #F4ECDC; color: #1B2430; border-radius: 4px 10px 10px 4px; clip-path: polygon(12px 0,100% 0,100% 100%,12px 100%,0 50%); box-shadow: 0 6px 14px rgba(0,0,0,.3); white-space: nowrap; }
.tag-card i { position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #1E3A5F; }
.tag-card b { font-size: 25px; line-height: 1; }
.tag-card span { font-size: 11.5px; color: #5A5043; }

.sleeve { position: absolute; left: -12px; bottom: 120px; width: calc(var(--mw) + 50px); height: calc(var(--mh) + 130px); overflow: hidden; z-index: 2; pointer-events: none; }
.map { position: absolute; left: 24px; bottom: 88px; width: var(--mw); height: var(--mh); visibility: hidden; transform: translateY(calc(var(--mh) + 120px)); transition: transform .55s cubic-bezier(.55,0,.8,.2) 1s, visibility 0s linear 1.6s; }
.is-open .map { visibility: visible; pointer-events: auto; transform: translateY(0); transition: transform .7s cubic-bezier(.2,.95,.25,1.08) .42s, visibility 0s linear 0s; }
.paper { position: absolute; inset: 0; perspective: 1500px; }
.s { position: absolute; top: 0; width: calc(var(--mw) / 4); height: 100%; background: #F4ECDC url(/topo.svg) no-repeat; transform-style: preserve-3d; transform-origin: 0 50%; box-shadow: 0 18px 30px -14px rgba(8,16,28,.6); }
.s0 { left: 0; }
.s1, .s2, .s3 { left: calc(var(--mw) / 4); }
.s1 { background-position: calc(var(--mw) / -4) 0; }
.s2 { background-position: calc(var(--mw) / -2) 0; }
.s3 { background-position: calc(var(--mw) * -.75) 0; }
.s::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(90,60,20,0) 60%, rgba(90,60,20,.09)); }
.s1::after, .s3::after { background: linear-gradient(90deg, rgba(90,60,20,.09), rgba(90,60,20,0) 40%); }
.s1 { transform: rotateY(-179deg); transition: transform .45s cubic-bezier(.6,0,.4,1) .5s; }
.s2 { transform: rotateY(179deg); transition: transform .45s cubic-bezier(.6,0,.4,1) .32s; }
.s3 { transform: rotateY(-179deg); transition: transform .45s cubic-bezier(.6,0,.4,1) .14s; }
.is-open .s1 { transform: rotateY(0deg); transition: transform .6s cubic-bezier(.3,.85,.35,1) 1.05s; }
.is-open .s2 { transform: rotateY(0deg); transition: transform .6s cubic-bezier(.3,.85,.35,1) 1.2s; }
.is-open .s3 { transform: rotateY(0deg); transition: transform .6s cubic-bezier(.3,.85,.35,1) 1.35s; }
.mc { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; color: #1F2A36; opacity: 0; pointer-events: none; transition: opacity .15s linear 0s; }
.is-open .mc { opacity: 1; pointer-events: auto; transition: opacity .45s ease 1.8s; }

.mc-head { display: flex; align-items: center; gap: 6px; }
.mc-title { display: flex; gap: 12px; align-items: center; margin-inline-end: auto; min-width: 0; }
.mc-title b { display: block; font-family: "Frank Ruhl Libre", serif; font-weight: 700; font-size: 22px; line-height: 1.1; color: #1B2430; }
.mc-title .hand { display: block; font-size: 21px; color: #9A3F1D; line-height: 1; }
.compass { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.compass .dial { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #1E3A5F; display: flex; align-items: center; justify-content: center; }
.ping { position: absolute; inset: 0; border-radius: 50%; background: #C2562B; animation: pk-ping 1.6s ease-out infinite; }
.pill-btn { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1.5px solid #1E3A5F; border-radius: 22px; background: transparent; color: #1E3A5F; font: 500 14px "Rubik", sans-serif; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.pill-btn:hover { background-color: rgba(30,58,95,.08); }

.climb { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 8px; background: rgba(255,251,242,.82); border: 1px solid #D8C7A6; border-radius: 12px; }
.climb-top { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .4px; color: #5A5043; }
.climb-top #climbAlt { margin-inline-start: auto; padding-inline-end: 22px; }
.climb-top .hand { font-size: 22px; color: #9A3F1D; line-height: 1; letter-spacing: 0; }
.climb-top .reset { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: -4px 0; padding: 0; border: 1.5px solid #C2562B; border-radius: 50%; background: #FFFBF2; color: #9A3F1D; cursor: pointer; }
.climb-top .reset:hover { background: #C2562B; color: #FFFBF2; }
.climb svg { display: block; width: 100%; height: 46px; transform: scaleX(-1); overflow: visible; }
.walk { transition: stroke-dashoffset .9s cubic-bezier(.4,0,.2,1); }
.hiker { transition: transform .9s cubic-bezier(.4,0,.2,1); }

.logwrap { position: relative; flex: 1; min-height: 0; display: flex; }
.log { flex: 1; overflow-y: auto; padding: 4px 0 6px; scrollbar-width: thin; scrollbar-color: #CDB994 transparent; }
.row { display: grid; grid-template-columns: 30px minmax(0, 1fr); animation: pk-rise .35s ease both; }
.rail { position: relative; }
.rail::before { content: ""; position: absolute; top: 0; bottom: 0; right: 14px; border-right: 2px dashed #B9A886; }
.rail svg { position: absolute; top: 12px; right: 6px; }
.rail .me-dot { position: absolute; top: 14px; right: 8px; width: 14px; height: 14px; border-radius: 50%; background: #C2562B; box-shadow: 0 0 0 3px #F4ECDC; }
.row > .cell { display: flex; flex-direction: column; padding: 4px 0 12px; }
.msg { align-self: flex-start; max-width: 88%; padding: 10px 14px; background: #FFFBF2; border: 1px solid #D8C7A6; border-radius: 4px 16px 16px 16px; font-size: 14.5px; line-height: 1.55; color: #1F2A36; box-shadow: 0 2px 0 rgba(90,60,20,.08); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; max-width: 82%; background: #1E3A5F; border: 0; border-radius: 16px 4px 16px 16px; color: #F4ECDC; box-shadow: none; }
.msg a { color: #9A3F1D; }
.msg.me a { color: #F6D3A1; }
.msg.err { color: #A3261B; }
.msg .status { display: block; font-size: 13px; color: #5A5043; font-style: italic; }
.typing { display: inline-flex; align-items: center; gap: 5px; }
.typing i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #9A3F1D; animation: pk-hop 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.typing .hand { font-size: 20px; color: #5A5043; margin-inline-start: 8px; }
.stamp { position: absolute; top: 6px; left: 6px; width: 104px; height: 104px; border-radius: 50%; border: 3px solid #C2562B; box-shadow: inset 0 0 0 4px #F4ECDC, inset 0 0 0 6px #C2562B; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #C2562B; background: rgba(244,236,220,.85); pointer-events: none; animation: pk-stamp .55s cubic-bezier(.3,1.4,.5,1) both; transition: opacity .6s; }
.stamp b { font-family: "Frank Ruhl Libre", serif; font-weight: 900; font-size: 24px; line-height: 1; }
.stamp .hand { font-size: 19px; line-height: 1; }
.stamp.fade { opacity: 0; }

.suggest { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; flex-shrink: 0; }
.sign { flex-shrink: 0; height: 44px; padding: 0 16px 0 24px; border: 0; background-color: #D9A566; color: #1B2430; font: 500 14px "Rubik", sans-serif; cursor: pointer; white-space: nowrap; clip-path: polygon(14px 0,100% 0,100% 100%,14px 100%,0 50%); transition: transform .15s ease, background-color .15s ease; }
.sign:hover { background-color: #E9B877; transform: translateX(-3px); }
.sign:focus-visible { outline: 3px solid #1E3A5F; outline-offset: 2px; }

.inbar { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: #FFFBF2; border: 1.5px solid #1E3A5F; border-radius: 28px; flex-shrink: 0; }
.inbar:focus-within { box-shadow: 0 0 0 3px rgba(194,86,43,.35); }
.field { flex: 1; min-width: 0; height: 40px; max-height: 96px; padding: 9px 4px; border: 0; background: transparent; font: 16px/1.4 "Rubik", sans-serif; color: #1F2A36; resize: none; }
.field::placeholder { color: #8A7E6A; }
.field:focus, .field:focus-visible { outline: none; }
.send { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 50%; background-color: #C2562B; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.send:hover { background-color: #9A3F1D; }
.send:disabled { opacity: .5; cursor: default; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 8px; font-size: 14px; }
  .days, .tiles, .stays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --pad: 16px; }
  body { font-size: 16px; }
  .top .wrap { height: 60px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 60px; inset-inline: 0; flex-direction: column; background: var(--paper); padding: 8px 16px 16px; box-shadow: 0 8px 20px rgba(0,0,0,.12); color: var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .who .name { display: none; }
  .hero { min-height: 88vh; }
  .hero .wrap { padding-bottom: 100px; }
  .hero .intro { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-inline-start: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats > div { padding: 16px; }
  .stats .v { font-size: 26px; }
  .section { padding-top: 60px; }
  .two, .day-grid, .upload-row, .notes, .notes.three, .pager { grid-template-columns: 1fr; gap: 20px; }
  .days { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad) 12px; }
  .day-card { flex: 0 0 78%; scroll-snap-align: start; }
  .tiles, .stays, .gallery, .suites, .flights, .drives, .bus { grid-template-columns: 1fr; }
  .mapbox { height: 420px; }
  .komoot iframe { height: 560px; }
  .phead { min-height: 380px; }
  .phead .wrap { padding-bottom: 80px; }
  .forecast { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .checklist { columns: 1; }
  .members { grid-template-columns: 1fr !important; }
  .couples { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .table th, .table td { padding: 10px 12px; font-size: 15px; }
  .table.stack thead { display: none; }
  .table.stack tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 12px; border-bottom: 1px solid var(--line); gap: 2px 10px; }
  .table.stack td { border: 0; padding: 0; }
  .table.stack td:first-child { grid-column: 1 / -1; font-weight: 700; color: var(--rust); font-size: 14px; }
  .pack { left: 12px; bottom: 10px; --mw: calc(100vw - 40px); --mh: calc(100dvh - 240px); }
  .sleeve { width: calc(var(--mw) + 28px); }
  .mc { padding: 14px 12px 12px; gap: 10px; }
  .mc-title .compass { display: none; }
  .pill-btn { font-size: 0; gap: 0; width: 44px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Bus and train stops on the transport map */
.stop-pin { background: none; border: 0; }
.stop-pin span { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font: 700 11px var(--display); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.stop-pin.train span { background: #1F4E9C; }
.stop-pin.bus span { background: #C2560F; }
.map-legend button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.end-pin { background: none; border: 0; width: auto !important; height: auto !important; }
.end-pin span { display: inline-block; white-space: nowrap; transform: translate(-50%, -140%); background: #1F4E9C; color: #fff; font: 600 12px var(--body); padding: 3px 9px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.stop-pin span { width: 24px; height: 24px; }
.stop-pin svg { width: 14px; height: 14px; }
.stop-pin.tram span { background: #7B341E; }
.map-legend i.line-dot { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #C2560F; }
.map-legend i.line-dot.train { background: #1F4E9C; }
.map-legend i.line-dot.tram { background: #7B341E; }
.map-legend i.line-dot svg { width: 12px; height: 12px; }
