:root {
  --ink: #0d1b3d; --muted: #5b6b8c; --line: #e3eaf6; --bg: #f4f8ff; --card: #fff;
  --ice: #2b7fff; --ice-2: #7cc4ff; --night: #0b1736;
  --open: #12b76a; --partial: #f5a524; --soon: #8b5cf6; --closed: #98a2b3; --hot: #ff4d6d;
  --radius: 18px; --panel: 400px;
  font-family: Inter, system-ui, sans-serif; color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, .stat b, .tile b { font-family: Fredoka, Inter, sans-serif; }


/* ---------- top bar ---------- */
.topbar {
  position: relative; z-index: 1000; display: flex; align-items: center; gap: 16px; padding: 10px 18px;
  background: linear-gradient(120deg, #0b1736 0%, #1b3b8f 55%, #2b7fff 100%); color: #fff;
  box-shadow: 0 6px 24px rgba(11, 23, 54, .25);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo { font-size: 30px; display: inline-block; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand h1 { margin: 0; font-size: 24px; letter-spacing: .5px; }
.brand p { margin: 0; font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.areas { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; justify-content: center; }
.areas::-webkit-scrollbar { display: none; }
.pill {
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; white-space: nowrap; transition: .15s;
}
.pill:hover { background: rgba(255,255,255,.2); }
.pill.on { background: #fff; color: var(--night); font-weight: 600; }
.controls { display: flex; gap: 6px; align-items: center; }
.lang { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px 4px 4px 10px; }
.lang select { background: transparent; color: #fff; border: 0; font: inherit; font-size: 13px; padding: 2px 4px; cursor: pointer; }
.lang option { color: var(--ink); }

/* ---------- layout ---------- */
.layout { position: relative; height: calc(100vh - 62px); height: calc(100dvh - 62px); display: flex; }
#map { flex: 1; background: #dfe9f7; }
.panel {
  width: var(--panel); overflow-y: auto; background: var(--bg); padding: 16px; z-index: 950;
  border-right: 1px solid var(--line);
}
.grab { display: none; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--card); border-radius: 14px; padding: 10px; box-shadow: 0 1px 0 var(--line); }
.stat b { display: block; font-size: 24px; line-height: 1.1; }
.stat b small { font-size: 13px; color: var(--muted); }
.stat span { font-size: 11px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat.hot b { color: var(--hot); }

.searchrow { margin: 12px 0 8px; }
#search { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; }
#search:focus { outline: 2px solid var(--ice-2); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.chip.on { background: var(--ice); color: #fff; border-color: var(--ice); }

/* leaderboard */
.board { background: linear-gradient(160deg, #0b1736, #1b3b8f); color: #fff; border-radius: var(--radius); padding: 12px; margin-bottom: 12px; }
.board-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.board-tabs button { flex: 1; border: 0; background: rgba(255,255,255,.1); border-radius: 10px; padding: 6px 4px; font-size: 11.5px; color: #fff; }
.board-tabs button.on { background: #fff; color: var(--night); font-weight: 600; }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: 26px 1fr 70px 54px; align-items: center; gap: 6px; padding: 5px 2px; font-size: 13px; cursor: pointer; border-radius: 8px; }
.board li:hover { background: rgba(255,255,255,.08); }
.board .rank { text-align: center; }
.board .bname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board b { text-align: right; }
.bar { display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ice-2), #fff); border-radius: 6px; }

/* cards */
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.card { position: relative; background: var(--card); border-radius: 16px; padding: 12px; cursor: pointer; border: 1px solid transparent; transition: .15s; overflow: hidden; }
.card:hover, .card:focus { border-color: var(--ice-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(43,127,255,.12); outline: none; }
.card.alert { border-color: #ffd1da; background: linear-gradient(180deg, #fff, #fff5f7); }
.card-head { display: flex; align-items: center; gap: 10px; }
.card-title { flex: 1; min-width: 0; }
.card-title b { display: block; }
.card-title small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.wx { font-size: 13px; white-space: nowrap; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(0,0,0,.04); }
.card-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 10px; font-weight: 600; font-size: 14px; }
.card-nums em, .tile em, .lifts em, .score em { display: block; font-style: normal; font-weight: 500; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.ribbon { margin-top: 8px; display: inline-block; background: var(--hot); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; animation: wiggle 2.4s ease-in-out infinite; }
.ribbon.big { font-size: 14px; margin-top: 10px; }
@keyframes wiggle { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-3deg); } 96% { transform: rotate(3deg); } }
.empty { color: var(--muted); padding: 20px; text-align: center; }
.about { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 16px; }

/* status colours */
.s-open { --c: var(--open); } .s-partial { --c: var(--partial); } .s-soon { --c: var(--soon); } .s-closed { --c: var(--closed); }
.dot { background: var(--c); }

/* ---------- map pins ---------- */
.pin-wrap { background: none; border: 0; }
.pin {
  position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size); transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--c) 70%);
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(11,23,54,.3); display: grid; place-items: center;
  color: #fff; font-family: Fredoka, sans-serif; transition: transform .15s;
}
.pin .flake { position: absolute; top: -9px; right: -6px; font-size: 14px; color: var(--ice); text-shadow: 0 0 3px #fff, 0 0 6px #fff; }
.pin b { font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.pin:hover, .pin.sel { transform: translate(-50%, -50%) scale(1.25); }
.pin.sel { box-shadow: 0 0 0 4px var(--ice), 0 6px 18px rgba(11,23,54,.4); }
.pin.alert::after {
  content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--hot);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.leaflet-tooltip { border-radius: 10px; font-family: Inter, sans-serif; }

/* ---------- detail view ---------- */
.back { border: 0; background: none; color: var(--ice); font-weight: 600; padding: 4px 0 10px; }
.hero { border-radius: var(--radius); padding: 16px; color: #fff; background: linear-gradient(135deg, #0b1736, color-mix(in srgb, var(--c) 70%, #1b3b8f)); position: relative; overflow: hidden; }
.hero::after { content: '🏔️'; position: absolute; right: -6px; bottom: -14px; font-size: 84px; opacity: .25; }
.hero h2 { margin: 8px 0 2px; font-size: 26px; }
.hero p { margin: 0; font-size: 13px; opacity: .85; }
.hero-top { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: #fff; color: var(--c); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.badge::before { content: '● '; }
.src { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.18); }
.src.official { background: #d1fadf; color: #05603a; }
.src.estimated { background: #fef0c7; color: #93370d; }
.note { font-size: 12.5px; background: #fffaeb; border: 1px solid #fedf89; color: #7a2e0e; padding: 10px 12px; border-radius: 12px; line-height: 1.45; }
h3 { margin: 18px 0 8px; font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tiles.two { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.tile { background: #fff; border-radius: 14px; padding: 10px; }
.tile b { font-size: 20px; display: block; }
.tile small { font-size: 11.5px; color: var(--muted); }
.tile.deep { background: linear-gradient(160deg, #e8f2ff, #fff); }
.lifts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.lifts > div { background: #fff; border-radius: 14px; padding: 10px; }
.lifts b { font-size: 20px; font-family: Fredoka, sans-serif; }
.lifts .bar { background: var(--line); margin-top: 4px; }
.lifts .bar i { background: var(--open); }
.score { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin: 10px 0; background: #fff; border-radius: 14px; padding: 10px 12px; }
.score b { font-family: Fredoka, sans-serif; font-size: 20px; }
.meter { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--ice-2), var(--ice), var(--hot)); }
.chart { width: 100%; background: #fff; border-radius: 14px; padding: 6px; }
.chart .past { fill: #a8c8f5; } .chart .fc { fill: var(--ice); } .chart .fc-bg { fill: #eef5ff; }
.chart text { font-size: 9px; text-anchor: middle; fill: var(--muted); }
.chart .v { fill: var(--ink); font-weight: 600; }
.chart .lbl { text-anchor: start; font-size: 9px; font-weight: 600; }
.fcrow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; text-align: center; }
.fcrow > div { background: #fff; border-radius: 12px; padding: 6px 2px; display: grid; gap: 2px; }
.fcrow small { font-size: 10px; color: var(--muted); }
.fcrow b { font-size: 12px; color: var(--ice); }
.road, .crowd { background: #fff; border-radius: 14px; padding: 12px; display: grid; gap: 4px; border-left: 5px solid var(--rc, var(--open)); margin-bottom: 8px; }
.road span { font-size: 13px; color: var(--muted); }
.road a { font-size: 13px; color: var(--ice); font-weight: 600; text-decoration: none; }
.r-caution { --rc: var(--partial); } .r-severe { --rc: var(--hot); }
.crowd { grid-template-columns: 1fr auto; align-items: center; }
.c-medium { --rc: var(--partial); } .c-high { --rc: var(--hot); }
.cta { display: block; text-align: center; margin-top: 10px; background: var(--ice); color: #fff; padding: 12px; border-radius: 14px; font-weight: 600; text-decoration: none; }
.cta:hover { background: #1b66e0; }

/* ---------- mobile: panel becomes a bottom sheet ---------- */
@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .brand p { display: none; }
  .areas { order: 3; flex-basis: 100%; justify-content: flex-start; }
  .controls { margin-left: auto; }
  .layout { height: calc(100dvh - 96px); }
  .panel {
    position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 58%;
    border-radius: 22px 22px 0 0; border: 0; box-shadow: 0 -8px 30px rgba(11,23,54,.2); transition: height .25s;
    padding-top: 6px;
  }
  .panel.expanded { height: 86%; }
  /* filters on one swipeable row so the first resort cards show without scrolling */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -2px; margin-right: -2px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips > * { flex: none; }
  .grab { display: block; width: 44px; height: 5px; border-radius: 5px; background: #c7d2e5; margin: 4px auto 10px; cursor: pointer; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .leaflet-control-zoom { display: none; }
}

/* ---------- covers, news, tickets, transport, food ---------- */
.card-head { align-items: flex-start; }
.thumb { position: relative; width: 52px; height: 52px; flex: none; border-radius: 12px; background: linear-gradient(135deg, #cfe2ff, #eef5ff) center/cover; }
.thumb:not([style])::after { content: '🏔️'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; }
.thumb .dot { position: absolute; right: -3px; bottom: -3px; border: 2px solid #fff; box-shadow: none; }
.wx { text-align: right; }
.wx small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.newsline { margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: #24365e; background: #f2f7ff; border-radius: 10px; padding: 6px 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newsline em, .feed em, .digest em, .art em { font-style: normal; color: var(--muted); font-size: 11px; }

.feed:empty { display: none; }
.feed { background: #fff; border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px; }
.feed h4 { margin: 2px 0 6px; font-family: Fredoka, sans-serif; font-size: 15px; }
.feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.feed li { display: grid; grid-template-columns: 40px 1fr; gap: 9px; align-items: center; padding: 6px; border-radius: 10px; cursor: pointer; }
.feed li:hover { background: #f2f7ff; }
.feed img, .feed .noimg { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; display: grid; place-items: center; background: #eef5ff; }
.feed b { display: block; font-size: 12px; }
.feed span { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hero.photo { background: linear-gradient(180deg, rgba(11,23,54,.15) 0%, rgba(11,23,54,.85) 100%), var(--cover) center/cover; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero.photo::after { display: none; }
.hero.photo .hero-top { position: absolute; top: 14px; left: 16px; }
.credit { font-size: 10.5px; color: var(--muted); margin: 4px 2px 0; }
.credit a { color: inherit; }
.muted { font-size: 12px; color: var(--muted); line-height: 1.45; }
.muted a, .row-link { color: var(--ice); font-weight: 600; text-decoration: none; }
.row-link { display: block; font-size: 13px; background: #fff; padding: 10px 12px; border-radius: 12px; }

.digest { background: linear-gradient(160deg, #fff7e6, #fff); border: 1px solid #fde3b0; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.digest-h { font-size: 11px; font-weight: 600; color: #93370d; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.digest ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.digest li { display: grid; grid-template-columns: 22px 1fr; font-size: 13px; line-height: 1.4; }
.digest a { text-decoration: none; }
.articles { display: grid; gap: 6px; }
.art { display: grid; grid-template-columns: auto 1fr; gap: 10px; background: #fff; border-radius: 12px; padding: 8px; text-decoration: none; color: inherit; }
.art:hover { box-shadow: 0 4px 14px rgba(43,127,255,.12); }
.art img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.art b { display: block; font-size: 13px; line-height: 1.3; }
.art span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.ticket { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 12px; }
.ticket em { display: block; font-style: normal; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.ticket b { font-family: Fredoka, sans-serif; font-size: 22px; }
.ticket small { display: block; color: var(--muted); font-size: 12px; }
.ticket-meta { text-align: right; font-size: 12px; display: grid; gap: 4px; }
.ticket-meta a { color: var(--ice); text-decoration: none; font-weight: 600; }

.transport { background: #fff; border-radius: 14px; padding: 12px; display: grid; gap: 10px; }
.access { font-weight: 700; padding: 8px 12px; border-radius: 10px; background: #e7f8ef; color: #05603a; }
.access.a-bus, .access.a-train_bus { background: #eef5ff; color: #1b4fa8; }
.access.a-car { background: #fff4e5; color: #93370d; }
.trow { display: grid; grid-template-columns: 24px 1fr; gap: 6px; font-size: 13px; }
.trow b { display: block; }
.trow small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.trow a { display: block; font-size: 12px; color: var(--ice); text-decoration: none; font-weight: 600; margin-top: 2px; }
.transport .row-link { padding: 0; }
.crowd { margin-top: 8px; }
.food { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 14px; }
.food li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.food li:last-child { border-bottom: 0; }
.food small { display: block; color: var(--muted); font-size: 11.5px; }
.food a { text-decoration: none; }
.reviews { display: grid; gap: 6px; }
.reviews a { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.about-text { font-size: 13px; line-height: 1.55; background: #fff; border-radius: 14px; padding: 12px; margin: 0; }
.about-text a { color: var(--ice); text-decoration: none; font-weight: 600; }

/* ---------- in-site reader ---------- */
.art { border: 0; text-align: left; width: 100%; font: inherit; }
.linkish { border: 0; background: none; padding: 0; color: var(--ice); font-weight: 600; font-size: 12px; }
.notices { background: linear-gradient(160deg, #e9f6ff, #fff); border: 1px solid #cfe6ff; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.notices .digest-h { color: #1b3b8f; }
.notice + .notice { border-top: 1px dashed #cfe6ff; margin-top: 8px; padding-top: 8px; }
.notice b { font-size: 13px; }
.notice p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: #2c3a5c; }
.reader { border: 0; border-radius: 22px; padding: 0; width: min(680px, 94vw); max-height: 88vh; overflow: auto; color: var(--ink);
  box-shadow: 0 30px 80px rgba(11, 23, 54, .45); }
.reader::backdrop { background: rgba(11, 23, 54, .55); backdrop-filter: blur(3px); }
.reader article { padding: 26px 30px 22px; }
.reader-close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; z-index: 2; border: 0; background: rgba(255,255,255,.92);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.reader-img { display: block; width: calc(100% + 60px); margin: -26px -30px 18px; max-height: 300px; object-fit: cover; }
.reader-kicker { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.reader h2 { margin: 6px 0 10px; font-size: 26px; line-height: 1.2; }
.reader-lede { font-size: 16px; font-weight: 500; color: #1b3b8f; margin: 0 0 14px; }
.reader p { font-size: 15px; line-height: 1.65; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin: 0 0 14px; }
.facts div { background: var(--bg); border-radius: 12px; padding: 8px 10px; }
.facts dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.reader-src { font-size: 12px !important; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 18px; }
.reader-src a { color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { background: #fff; border-radius: 14px; padding: 12px 14px; display: block; }
.reviews h4 { margin: 10px 0 4px; font-size: 13px; }
.rv-summary { margin: 0; font-size: 14px; line-height: 1.55; }
.reviews ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.rv-src { margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.rv-src summary { cursor: pointer; }
.rv-src p { margin: 4px 0 0; }

/* ---------- who it's for / known for ---------- */
.auds { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; }
.auds:empty { display: none; }
.aud { font-size: 11px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.aud.no { background: #fff1f3; border-color: #ffd0d8; }
.feats { display: flex; flex-wrap: wrap; gap: 6px; }
.feats span { background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 500; box-shadow: 0 1px 4px rgba(13,27,61,.06); }
.audience { background: #fff; border-radius: 14px; padding: 12px 14px; }
.levels { display: grid; gap: 6px; }
.lv { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.lv.banned { opacity: .45; text-decoration: line-through; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 18px; height: 8px; border-radius: 4px; background: var(--line); }
.dots i.on { background: linear-gradient(90deg, var(--ice), var(--ice-2)); }
.noboard { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #b42318; }
.mix { margin-top: 12px; }
.mix em { font-style: normal; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.mixbar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; margin: 4px 0; }
.mixbar .b { background: #12b76a; } .mixbar .m { background: #2b7fff; } .mixbar .a { background: #0d1b3d; }
.mixlegend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--muted); }

/* ---------- places on the map ---------- */
.clickable { cursor: pointer; }
.clickable:hover { background: #f0f6ff; }
.trow.clickable { grid-template-columns: 24px 1fr auto; border-radius: 10px; padding: 2px 4px; margin: 0 -4px; }
.food li { grid-template-columns: 26px 1fr auto; }
.food i, .trow i { font-style: normal; font-size: 13px; opacity: .55; }
.poi { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; font-size: 14px;
  box-shadow: 0 2px 8px rgba(13,27,61,.3); border: 2px solid #fff; }
.poi-station { background: #e8f1ff; } .poi-airport { background: #f3e8ff; }

/* After skiing: tabs, filters, detail chips */
.apres-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #fff; border-radius: 12px; padding: 4px; margin-bottom: 8px; }
.apres-tabs button { border: 0; background: transparent; border-radius: 9px; padding: 7px 4px; font: inherit; font-size: 12px; cursor: pointer; color: var(--ink); line-height: 1.25; }
.apres-tabs button small { display: block; font-size: 10.5px; color: var(--muted); }
.apres-tabs button.on { background: var(--night); color: #fff; }
.apres-tabs button.on small { color: rgba(255,255,255,.8); }
#apres .pills.small { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }
#apres .pills.small .pill { font-size: 11.5px; padding: 4px 9px; }
.fchips { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 0; }
.fchip { font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: #eef3fb; color: #33507a; white-space: nowrap; }
.food .fdesc { font-style: italic; }
#apres .more { display: block; width: 100%; margin: 6px 0 0; padding: 8px; border: 1px dashed var(--line); background: transparent; border-radius: 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.muted.small { font-size: 12px; margin: 0 0 8px; }
.poi-relax { background: #fde7e1; } .poi-do { background: #ede7fb; } .poi-shop { background: #e5f5ea; }
#apres .pill { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font: inherit; }
#apres .pill.on { background: var(--night); color: #fff; border-color: var(--night); font-weight: 600; }

/* Pre-rendered page content (search engines / no JavaScript); removed when the app starts */
.seo { padding: 14px 16px; font-size: 14px; line-height: 1.55; }
.seo h1 { font-size: 22px; margin: 6px 0; }
.seo h2 { font-size: 16px; margin: 16px 0 6px; }
.seo ul { padding-left: 18px; margin: 4px 0; }
.seo a { color: inherit; }
.seo-crumbs, .seo-asof { color: var(--muted); font-size: 12.5px; }
