@font-face { font-family: 'Inter Variable'; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #07121B; --bg2: #0B1A26; --card: #10222F; --card2: #16303F; --line: rgba(255,255,255,.08);
  --text: #F2F7FA; --muted: #8FA6B6; --brand: #C6F432; --lake: #43C6FF; --hot: #FF5D7A; --gold: #FFC542;
  --grad: linear-gradient(135deg, #C6F432 0%, #43C6FF 100%);
  --r: 20px; --tab: 74px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 15px/1.45 'Inter Variable', Inter, system-ui, -apple-system, sans-serif; overscroll-behavior: none; }
body { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--lake); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1 { font-size: 30px; font-weight: 850; }
h2 { font-size: 20px; font-weight: 800; }
h3 { font-size: 16px; font-weight: 750; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: 13px; margin: 6px 2px 0; }
.center { text-align: center; }
[hidden] { display: none !important; }

#splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #12324a, var(--bg) 70%); transition: opacity .5s; }
#splash.out { opacity: 0; pointer-events: none; }
.splash-logo { display: grid; justify-items: center; gap: 14px; animation: pop .7s cubic-bezier(.2,1.4,.4,1); }
.splash-logo img { width: 96px; height: 96px; border-radius: 26px; box-shadow: 0 20px 60px rgba(198,244,50,.25); }
.splash-logo b { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }

/* ---------- viste ---------- */
#views { position: fixed; inset: 0 0 calc(var(--tab) + var(--safe-b)) 0; }
.view { position: absolute; inset: 0; display: none; }
.view.on { display: block; animation: fade .25s ease; }
.view.scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.page { max-width: 720px; margin: 0 auto; padding: calc(18px + var(--safe-t)) 16px 110px; }
.page-head { margin: 8px 0 16px; }
.page-head p { margin: 6px 0 0; }
.fullmap { position: absolute; inset: 0; background: #0b1a24; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-attrib.maplibregl-compact { background: rgba(7,18,27,.6) !important; color: #ccd; }
.maplibregl-ctrl-attrib a { color: #cde; }

.glass { background: rgba(9,22,32,.62); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border: 1px solid rgba(255,255,255,.1); }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: #fff; }
.round.big { width: 62px; height: 62px; font-size: 24px; }
.round.huge { width: 84px; height: 84px; font-size: 26px; background: var(--brand); color: #0a1a05; font-weight: 900; box-shadow: 0 10px 30px rgba(198,244,50,.35); }

/* ---------- esplora ---------- */
.explore-top { position: absolute; top: calc(10px + var(--safe-t)); left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; z-index: 3; pointer-events: none; }
.explore-top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(9,22,32,.62); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); font-weight: 850; font-size: 16px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 10px; }
.brand em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.map-tools { display: flex; gap: 8px; }
.chips { position: absolute; top: calc(64px + var(--safe-t)); left: 0; right: 0; z-index: 3; display: flex; gap: 8px; overflow-x: auto; padding: 4px 12px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.inline { position: static; padding: 4px 0 12px; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; white-space: nowrap; background: rgba(9,22,32,.7); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); transition: .2s; }
.chip.on { background: var(--c, var(--brand)); color: #06121c; border-color: transparent; box-shadow: 0 6px 20px color-mix(in srgb, var(--c, var(--brand)) 40%, transparent); }
.explore-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 44px 0 12px; background: linear-gradient(to top, rgba(7,18,27,1) 72%, rgba(7,18,27,.85) 86%, rgba(7,18,27,0)); }
.sheet-title { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px 10px; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 6px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.pcard { flex: none; width: 250px; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); text-align: left; transition: transform .2s; }
.pcard:active { transform: scale(.97); }
.pcard .cover { height: 108px; position: relative; display: grid; place-items: center; font-size: 46px; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 55%, #fff 0%), color-mix(in srgb, var(--c) 35%, #07121b) 70%); overflow: hidden; }
.pcard .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard .cover .trk { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.pcard .cover .tag { position: absolute; left: 10px; top: 10px; }
.pcard .body { padding: 10px 12px 12px; }
.pcard h3 { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(7,18,27,.72); color: #fff; backdrop-filter: blur(6px); }
.pin { width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: grid; place-items: center; background: var(--c); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.45); cursor: pointer; transition: transform .2s; }
.pin span { transform: rotate(45deg); font-size: 17px; }
.pin.sel { transform: rotate(-45deg) scale(1.3); z-index: 5; }
.me-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--lake); border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(67,198,255,.25); }

/* ---------- tab bar ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: calc(var(--tab) + var(--safe-b)); padding-bottom: var(--safe-b); display: grid; grid-template-columns: 1fr 1fr 92px 1fr 1fr; align-items: center; background: rgba(7,18,27,.94); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar a { display: grid; justify-items: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; }
.tabbar a i { font-style: normal; font-size: 21px; filter: grayscale(1) brightness(1.4); opacity: .7; transition: .2s; }
.tabbar a.on { color: var(--text); }
.tabbar a.on i { filter: none; opacity: 1; transform: translateY(-2px); }
.rec-btn { justify-self: center; width: 70px; height: 70px; margin-top: -30px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(198,244,50,.4), 0 0 0 6px var(--bg); position: relative; }
.rec-btn span { width: 26px; height: 26px; border-radius: 50%; background: #FF3B5C; box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.rec-btn::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(198,244,50,.6); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- componenti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; font-weight: 800; background: var(--card2); color: var(--text); border: 1px solid var(--line); cursor: pointer; text-decoration: none; transition: transform .15s, filter .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--grad); color: #06121c; border: 0; box-shadow: 0 8px 24px rgba(198,244,50,.25); }
.btn.hot { background: var(--hot); color: #fff; border: 0; }
.btn.ghost { background: rgba(255,255,255,.04); }
.btn.block { width: 100%; }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: 13.5px; border-radius: 12px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.row-actions > * { flex: 1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 14px 0; }
.card h2 { font-size: 18px; margin-bottom: 4px; }
.field { display: grid; gap: 6px; margin: 12px 0; font-weight: 700; font-size: 13.5px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid rgba(255,255,255,.12); font-weight: 500; font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lake); border-color: transparent; }
.seg { display: flex; padding: 4px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 12px; }
.seg button { flex: 1; padding: 10px 6px; border-radius: 10px; font-weight: 750; font-size: 13.5px; color: var(--muted); }
.seg button.on { background: var(--card2); color: var(--text); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* ---------- statistiche ---------- */
.hero-stats { border-radius: 26px; padding: 20px; background: radial-gradient(circle at 85% 0%, rgba(67,198,255,.35), transparent 55%), radial-gradient(circle at 0% 100%, rgba(198,244,50,.25), transparent 55%), var(--card); border: 1px solid var(--line); }
.hero-stats .big { font-size: 52px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.hero-stats .big small { font-size: 18px; color: var(--muted); font-weight: 700; margin-left: 4px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.kpi b { display: block; font-size: 20px; font-weight: 850; }
.kpi small { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; margin-top: 16px; }
.bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, rgba(198,244,50,.4), var(--brand)); min-height: 3px; }
.bars i.zero { background: rgba(255,255,255,.08); }
.statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.stat b { display: block; font-size: 22px; font-weight: 850; letter-spacing: -.02em; }
.stat small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.stat.hr b { color: var(--hot); }

/* ---------- lista giri ---------- */
.rides { display: grid; gap: 12px; margin-top: 18px; }
.ride { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-align: left; width: 100%; }
.ride .thumb { height: 92px; border-radius: 14px; background: radial-gradient(circle at 30% 30%, #17384d, #0a1924); overflow: hidden; }
.ride .thumb svg { width: 100%; height: 100%; }
.ride h3 { font-size: 15.5px; line-height: 1.25; margin-top: 2px; }
.ride .when { color: var(--muted); font-size: 12px; font-weight: 600; }
.ride .nums { display: flex; gap: 12px; margin-top: 8px; font-weight: 800; font-size: 14px; }
.ride .nums small { color: var(--muted); font-weight: 600; font-size: 11px; margin-left: 2px; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty .ico { font-size: 48px; margin-bottom: 8px; }

/* ---------- community ---------- */
.comm-list { display: grid; gap: 14px; }
.ccard { border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); text-align: left; width: 100%; }
.ccard .cover { height: 170px; position: relative; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--c) 45%, #0a1924), #0a1924); display: grid; place-items: center; font-size: 54px; }
.ccard .cover img, .ccard .cover svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccard .cover .tag { position: absolute; left: 12px; top: 12px; }
.ccard .cover .likes { position: absolute; right: 12px; top: 12px; }
.ccard .body { padding: 12px 14px 14px; }
.ccard .by { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.status { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.status.pending { background: rgba(255,197,66,.18); color: var(--gold); }
.status.rejected { background: rgba(255,93,122,.18); color: var(--hot); }
.status.published { background: rgba(91,242,155,.16); color: #5BF29B; }
.fab { position: fixed; right: 16px; bottom: calc(var(--tab) + var(--safe-b) + 16px); z-index: 15; padding: 15px 20px; border-radius: 999px; font-weight: 850; background: var(--grad); color: #06121c; box-shadow: 0 12px 30px rgba(0,0,0,.45); }

/* ---------- fogli (modali) ---------- */
#layer { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.sheet-wrap { position: absolute; inset: 0; pointer-events: auto; background: rgba(2,8,12,.55); backdrop-filter: blur(3px); animation: fadein .2s; display: flex; align-items: flex-end; justify-content: center; }
.sheet-wrap.full { background: var(--bg); backdrop-filter: none; }
@keyframes fadein { from { opacity: 0; } }
.sheet { width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; background: var(--bg2); border-radius: 26px 26px 0 0; padding: 10px 18px calc(24px + var(--safe-b)); animation: up .32s cubic-bezier(.2,.9,.3,1); border-top: 1px solid var(--line); }
.sheet-wrap.full .sheet { max-height: 100vh; height: 100%; border-radius: 0; padding: 0 0 calc(24px + var(--safe-b)); animation: fadein .2s; background: var(--bg); }
@keyframes up { from { transform: translateY(40%); opacity: .4; } }
.grab { width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); margin: 0 auto 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.x { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 18px; flex: none; color: #fff; }
.detail-hero { position: relative; height: 46vh; min-height: 300px; }
.detail-hero .fullmap { position: absolute; inset: 0; }
.detail-hero .x { position: absolute; top: calc(12px + var(--safe-t)); left: 12px; z-index: 3; background: rgba(9,22,32,.7); backdrop-filter: blur(10px); }
.detail-hero .hero-actions { position: absolute; top: calc(12px + var(--safe-t)); right: 12px; z-index: 3; display: flex; gap: 8px; }
.detail-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; z-index: 2; }
.detail-body { padding: 0 16px; max-width: 720px; margin: -40px auto 0; position: relative; z-index: 3; }
.detail-body .kicker { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.detail-body h1 { font-size: 28px; line-height: 1.1; margin: 4px 0 6px; }
.detail-body p.desc { font-size: 15.5px; color: #d6e2ea; }
.food { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(255,197,66,.14), rgba(255,138,61,.08)); border: 1px solid rgba(255,197,66,.25); margin: 14px 0; }
.food i { font-style: normal; font-size: 24px; }
.food b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); }
.actions { display: grid; gap: 10px; margin: 16px 0; }
.photos { display: flex; gap: 8px; overflow-x: auto; margin: 12px 0; scrollbar-width: none; }
.photos img { height: 120px; border-radius: 12px; flex: none; }
.chart { width: 100%; height: 120px; display: block; }
.section-t { margin: 22px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.zones { display: grid; gap: 6px; }
.zone { display: grid; grid-template-columns: 76px 1fr 54px; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; }
.zone .bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.06); overflow: hidden; }
.zone .bar i { display: block; height: 100%; border-radius: 5px; }
.review { padding: 12px 0; border-top: 1px solid var(--line); }
.review .stars { color: var(--gold); letter-spacing: 2px; }
.review img { max-width: 100%; border-radius: 12px; margin-top: 8px; }
.stars-in { display: flex; gap: 6px; font-size: 32px; }
.stars-in button { color: rgba(255,255,255,.2); }
.stars-in button.on { color: var(--gold); }

/* attività (scelta) */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.act { padding: 14px 6px; border-radius: 18px; background: var(--card); border: 2px solid transparent; display: grid; justify-items: center; gap: 4px; font-weight: 750; font-size: 13px; transition: .15s; }
.act i { font-style: normal; font-size: 30px; }
.act.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--card)); box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 25%, transparent); }
.device { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin: 10px 0; }
.device .ico { font-size: 26px; }
.device .grow { flex: 1; }
.device small { display: block; color: var(--muted); font-size: 12.5px; }
.dot-on { width: 10px; height: 10px; border-radius: 50%; background: #5BF29B; box-shadow: 0 0 10px #5BF29B; display: inline-block; }

/* ---------- live ---------- */
.live { position: fixed; inset: 0; z-index: 30; background: var(--bg); }
.live-top { position: absolute; top: calc(12px + var(--safe-t)); left: 12px; right: 12px; display: flex; gap: 8px; z-index: 3; flex-wrap: wrap; }
.pill { padding: 8px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; }
.pill.hr { color: var(--hot); }
.pill.hr.beat { animation: beat .5s; }
@keyframes beat { 30% { transform: scale(1.12); } }
.live-panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 18px 16px calc(14px + var(--safe-b)); background: linear-gradient(to top, rgba(7,18,27,1) 70%, rgba(7,18,27,0)); }
.live-time { font-size: 64px; font-weight: 900; text-align: center; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.live-grid { display: flex; justify-content: space-around; margin: 12px 0 16px; text-align: center; }
.live-grid b { display: block; font-size: 28px; font-weight: 850; font-variant-numeric: tabular-nums; }
.live-grid small { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.live-actions { display: flex; justify-content: center; align-items: center; gap: 28px; }
.live.paused .live-time { color: var(--gold); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .45; } }
.stop { background: rgba(255,59,92,.18); color: var(--hot); position: relative; font-size: 22px; border: 1px solid rgba(255,93,122,.4); }
.stop svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.stop circle { fill: none; stroke: var(--hot); stroke-width: 4; stroke-dasharray: 126; stroke-dashoffset: 126; }
.stop.hold circle { transition: stroke-dashoffset 1s linear; stroke-dashoffset: 0; }

/* video */
.vid-stage { display: grid; justify-items: center; gap: 16px; padding: 10px 0 6px; }
.vid-stage video { width: 100%; max-height: 62vh; border-radius: 18px; background: #000; }
.progress-ring { width: 160px; height: 160px; position: relative; display: grid; place-items: center; }
.progress-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 10; }
.progress-ring b { font-size: 36px; font-weight: 900; }

/* abbonamento */
.plans { display: grid; gap: 10px; margin: 14px 0; }
.plan { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-radius: 18px; border: 2px solid var(--line); background: var(--card); text-align: left; width: 100%; }
.plan.best { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--card)); }
.plan b { font-size: 22px; font-weight: 900; }
.plan small { color: var(--muted); display: block; }
.save { font-size: 11px; font-weight: 900; padding: 4px 8px; border-radius: 8px; background: var(--brand); color: #06121c; }
.trialbar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 4px; }
.trialbar i { display: block; height: 100%; background: var(--grad); border-radius: 5px; }
.perks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks li::before { content: '✓'; color: var(--brand); font-weight: 900; }
details.how { border-top: 1px solid var(--line); padding: 10px 0; }
details.how summary { font-weight: 750; cursor: pointer; }
details.how p { color: #c9d6df; font-size: 14px; margin: 8px 0 0; }

#toast { position: fixed; left: 50%; bottom: calc(var(--tab) + var(--safe-b) + 18px); transform: translate(-50%, 30px); z-index: 60; background: #F2F7FA; color: #07121b; padding: 12px 18px; border-radius: 14px; font-weight: 750; font-size: 14px; max-width: calc(100vw - 32px); opacity: 0; transition: .3s; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

@media (min-width: 760px) {
  .pcard { width: 280px; }
  .detail-hero { height: 52vh; }
}
.sheet-title select.radius { appearance: none; -webkit-appearance: none; padding: 8px 30px 8px 12px; border-radius: 999px; font-weight: 750; font-size: 13px; background: var(--card2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23C6F432'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1px solid var(--line); color: var(--text); }
.sheet-title { align-items: center; }
.sheet-title h2 + span { display: block; font-size: 12.5px; }
.detail-hero .maplibregl-ctrl-bottom-right, .detail-hero .maplibregl-ctrl-bottom-left { bottom: 46px; }
.explore-sheet ~ .maplibregl-ctrl-bottom-right { display: none; }
#v-esplora .maplibregl-ctrl-bottom-right { bottom: 270px; }
