/* DisneyFan.ai v0.6 customer site. Chat-first, four tabs. Rules baked in from the UAT review:
   nothing scrolls sideways, chips wrap, 44px targets, visible focus on every control, AA contrast,
   the page is the only scroller, the composer stays above the tab bar. No inline styles (CSP). */
:root {
  --navy: #0E2A5C; --navy-2: #163B7F; --blue: #1E5BD6; --blue-dk: #1748A8; --sky: #9CC4FF; --sky-2: #DCE9FF; --pale: #F3F7FF;
  --ink: #13213D; --ink-2: #4D5B7A; --line: #D9E1EF; --line-2: #EDF1F8; --field: #8394B8; --white: #fff;
  --red: #B3261E; --red-bg: #FBE9E7; --amber: #8A3F06; --amber-bg: #FDEEDC; --green: #0F6440; --green-bg: #DFF4E9; --purple: #6B3FA0; --purple-bg: #EFE7F8;
  --teal: #0B7A72; --teal-bg: #D8F3EF; --yellow: #F2C94C;
  --font-d: 'Fredoka', system-ui, sans-serif; --font-b: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px; --tab-h: 64px; --sat-b: env(safe-area-inset-bottom, 0px);
  /* aliases kept for the admin stylesheet */
  --body: var(--font-b); --display: var(--font-d); --sky-wash: var(--pale);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font-b); color: var(--ink); background: var(--pale); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body.has-tabbar { padding-bottom: 0; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 600; line-height: 1.15; margin: 0; color: var(--navy); text-wrap: balance; }
h1 { font-size: 26px; } h2 { font-size: 19px; } h3 { font-size: 17px; }
p { margin: 0; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); font-size: 14px; }
.fine { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: .95em; }
.error { color: var(--red); font-weight: 700; font-size: 14px; min-height: 1.2em; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.center { text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { max-width: 100%; white-space: normal; }
.linklike { background: none; border: 0; padding: 8px 0; color: var(--sky); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: inherit; min-height: 44px; }
.linkbtn { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.btn-row.center { justify-content: center; }

/* focus: visible everywhere, including text inputs */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.site-head :focus-visible, .tabbar :focus-visible, .navy :focus-visible, .site-foot :focus-visible { outline-color: var(--sky); }
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus, main:focus { outline: none; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; font-weight: 800; }
.skip:focus { top: 12px; }
.uat-band { background: #FFF4CC; color: #5C4600; font-size: 12px; text-align: center; padding: 4px 8px; font-weight: 700; }

/* ---------- buttons, chips, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { background: var(--blue-dk); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); } .btn-outline:hover { background: var(--sky-2); }
.btn-light { background: #fff; color: var(--navy); } .btn-light:hover { background: var(--sky-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--field); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 52px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: default; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--field); background: #fff; color: var(--navy); font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: normal; text-align: left; }
.chip[aria-pressed="true"], .chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; max-width: 100%; }
.tag-red { background: var(--red-bg); color: var(--red); } .tag-amber { background: var(--amber-bg); color: var(--amber); } .tag-blue { background: var(--sky-2); color: var(--navy); }
.tag-green { background: var(--green-bg); color: var(--green); } .tag-grey { background: var(--line-2); color: var(--ink-2); } .tag-purple { background: var(--purple-bg); color: var(--purple); } .tag-teal { background: var(--teal-bg); color: var(--teal); }
.status { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.open { background: var(--green-bg); color: var(--green); } .status.down { background: var(--red-bg); color: var(--red); } .status.closed { background: var(--line-2); color: var(--ink-2); } .status.refurb { background: var(--amber-bg); color: var(--amber); }
.notice { background: var(--sky-2); color: var(--navy); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.notice.warn { background: #FFF4CC; color: #5C4600; } .notice.ok { background: var(--green-bg); color: var(--green); }
.input { width: 100%; min-height: 48px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 14px; background: #fff; font-size: 16px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }

/* ---------- header ---------- */
.site-head { background: var(--navy); color: #fff; position: relative; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding-block: 8px; }
.brand { font-family: var(--font-d); font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; white-space: nowrap; flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; min-height: 44px; }
.brand span { color: var(--sky); }
.top-nav { display: none; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
.top-nav a[aria-current="page"] { background: var(--blue); }
.head-right { display: flex; align-items: center; gap: 8px; flex: none; }
.credit-word { margin-left: 4px; }
.credit-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
#account-btn { max-width: 14ch; display: inline-flex; align-items: center; gap: 6px; }
#account-btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#account-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 430px) { .brand { font-size: 19px; } .head-right { gap: 6px; } #account-btn { padding: 0 10px; gap: 4px; max-width: 11ch; } #account-btn svg { width: 18px; height: 18px; } .head-row { gap: 6px; } }
@media (max-width: 359px) { #account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } #account-btn { width: 44px; padding: 0; justify-content: center; } .brand { font-size: 18px; } .credit-pill { padding: 0 10px; } }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.or-line::before, .or-line::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sky-2); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 999px; min-height: 40px; font-weight: 800; color: var(--navy); font-size: 14.5px; }
.seg button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(14,42,92,.18); }
.linkish { border: 0; background: none; color: var(--blue); font-weight: 700; text-decoration: underline; min-height: 44px; font-size: 14.5px; align-self: center; }
#signin-form { flex: none; }
#signin-form .field { flex: none; }
#account-dialog form .btn { width: 100%; }
#signin-form .error:empty { display: none; }
@media (max-width: 400px) { .credit-pill { padding: 0 12px; } }
@media (min-width: 860px) { .top-nav { display: flex; } }

/* ---------- layout ---------- */
main { display: block; padding-block: 16px 24px; }
body.has-tabbar main { padding-bottom: calc(var(--tab-h) + var(--sat-b) + 24px); }
.view { display: flex; flex-direction: column; gap: 14px; }
.view[hidden] { display: none; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.card.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.card.navy h2, .card.navy h3 { color: #fff; } .card.navy .muted, .card.navy .fine { color: #C9D8F5; } .card.navy a:not(.btn) { color: var(--sky); }
.groups { display: flex; flex-direction: column; gap: 14px; }
.group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.group > h2 { font-size: 17px; padding: 12px 14px 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.group > h2 small { font-family: var(--font-b); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.group .more-btn { display: block; width: 100%; min-height: 44px; border: 0; border-top: 1px solid var(--line-2); background: #fff; color: var(--blue); font-weight: 800; font-size: 15px; }

/* ---------- welcome ---------- */
.welcome { display: flex; flex-direction: column; gap: 16px; max-width: 560px; margin: 0 auto; padding-block: 8px; }
.welcome h1 { font-size: 30px; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 60ch; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid var(--field); background: #fff; color: var(--ink); text-align: left; text-decoration: none; }
.choice.is-default { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.choice svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.choice b { display: block; font-size: 17px; } .choice small { display: block; color: var(--ink-2); font-size: 14px; }
.dates-form { display: flex; flex-direction: column; gap: 10px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 160px; min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field input, .field-row > input { min-height: 48px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 12px; background: #fff; font-size: 16px; width: 100%; min-width: 0; font-weight: 600; color: var(--ink); }
.field-row > input { flex: 1 1 200px; }

/* ---------- ask ---------- */
.ask-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.ask-head strong { font-size: 16px; }
.trip-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--field); background: #fff; color: var(--navy); font-weight: 800; font-size: 15px; }
.msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 94%; border-radius: 18px; padding: 12px 14px; font-size: 16px; line-height: 1.45; display: flex; flex-direction: column; gap: 10px; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-top-left-radius: 6px; max-width: min(94%, 66ch); min-width: 0; }
.msg.me { background: var(--blue); color: #fff; align-self: flex-end; border-top-right-radius: 6px; max-width: 86%; white-space: pre-wrap; }
.msg.pending { color: var(--ink-2); font-style: italic; }
.msg .md p { margin: 0 0 8px; } .msg .md p:last-child { margin: 0; }
.msg .md ul { margin: 0 0 8px; padding-left: 20px; } .msg .md li { margin: 2px 0; }
.msg .meta { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.msg .meta .tag { font-size: 13px; min-height: 22px; }
.src-list { display: flex; flex-direction: column; gap: 6px; }
.src-item { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 13.5px; color: var(--ink-2); padding: 6px 10px; border-radius: 10px; background: var(--pale); }
.src-item a { font-weight: 700; padding-block: 10px; display: inline-block; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--pale); border-left: 4px solid var(--line); }
.fact.red { border-left-color: var(--red); } .fact.amber { border-left-color: #B4530A; } .fact.blue { border-left-color: var(--blue); } .fact.green { border-left-color: var(--green); }
.fact b { font-size: 15px; line-height: 1.3; } .fact .src { font-size: 13px; color: var(--ink-2); }
.fact .tag, .news .kicker .tag { white-space: normal; line-height: 1.3; padding-block: 2px; width: auto; }
.fact .kicker { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.fact { min-width: 0; overflow-wrap: anywhere; }
.msg .btn-row .btn { min-height: 44px; font-size: 14px; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-form { position: sticky; bottom: calc(var(--tab-h) + var(--sat-b)); display: flex; gap: 8px; align-items: center; background: var(--pale); padding: 8px 0; z-index: 4; }
@media (min-width: 860px) { .ask-form { bottom: 0; } }
@media (max-width: 859px) { body.composing .tabbar { display: none; } body.composing .ask-form { bottom: 0; } }
body[data-view="ask"] .site-foot { display: none; }
body[data-view="ask"] main { padding-bottom: calc(var(--tab-h) + var(--sat-b) + 8px); }
.ask-form input { flex: 1; min-width: 0; min-height: 50px; border: 1.5px solid var(--field); border-radius: 999px; padding: 0 16px; background: #fff; font-size: 16px; }
.send { width: 50px; height: 50px; border-radius: 50%; background: var(--blue); border: 0; display: flex; align-items: center; justify-content: center; flex: none; }
.send svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.send[disabled] { opacity: .6; }
.ask-fine { margin-top: -4px; }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line-2); border-left: 4px solid transparent; }
.news.red { border-left-color: var(--red); } .news.amber { border-left-color: #B4530A; } .news.blue { border-left-color: var(--blue); } .news.green { border-left-color: var(--green); } .news.grey { border-left-color: var(--line); }
.news .kicker { font-size: 13px; color: var(--ink-2); font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.news .t { font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.news .sum { font-size: 14px; color: var(--ink); }
.news .src { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.news .src a { padding-block: 12px; display: inline-block; }
.news > .kicker { grid-column: 1; grid-row: 1; } .news > .t { grid-column: 1; grid-row: 2; } .news > details { grid-column: 1; grid-row: 3; } .news > .src { grid-column: 1; grid-row: 4; }
.news .ask-btn { grid-column: 2; grid-row: 1 / span 4; align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--field); background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.news .ask-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.news summary { font-size: 13px; color: var(--blue); font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }

/* ---------- park ---------- */
.park-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.park-grid .chip { justify-content: center; text-align: center; border-radius: 12px; }
.park-grid .chip.wide { grid-column: 1 / -1; }
@media (min-width: 640px) { .park-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .park-grid .chip.wide { grid-column: auto; } }
.hours-line { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 14.5px; color: var(--ink-2); }
.hours-line b { color: var(--ink); }
.find { position: relative; display: flex; }
.find svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.find input { width: 100%; min-height: 48px; border: 1.5px solid var(--field); border-radius: 999px; padding: 0 16px 0 44px; background: #fff; font-size: 16px; }
.find-results { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line-2); min-height: 48px; }
.row:first-child { border-top: 0; }
.row .n { font-weight: 700; font-size: 15.5px; } .row .s { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.row .w { font-family: var(--font-d); font-weight: 700; font-size: 22px; color: var(--navy); text-align: right; min-width: 56px; }
.row .w small { font-family: var(--font-b); font-weight: 700; font-size: 13px; color: var(--ink-2); margin-left: 2px; }
.row > .n { grid-column: 1; grid-row: 1; } .row > .s { grid-column: 1; grid-row: 2; }
.row > .w, .row > .status, .row > .tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; }
.row.clickable { cursor: pointer; } .row.clickable:hover { background: var(--pale); }
.group .row:focus-visible, .group .more-btn:focus-visible, .find-results .row:focus-visible { outline-offset: -3px; }
.row[aria-expanded="true"] { background: var(--sky-2); }
.row-detail { padding: 8px 14px 14px; background: var(--sky-2); border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 10px; }
.row-detail .m { font-size: 14px; color: var(--ink-2); }
.row-detail .btn-row .btn { white-space: normal; text-align: center; }
.find-empty { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.find-empty .btn { align-self: flex-start; white-space: normal; text-align: left; }
.toast { background: var(--green-bg); color: var(--green); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14.5px; }
.park-actions .btn { flex: 1 1 auto; white-space: normal; }
.hours-more { display: inline; } .hours-more summary { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; cursor: pointer; color: var(--blue); font-weight: 700; list-style: none; } .hours-more summary::-webkit-details-marker { display: none; } .hours-more summary::before { content: "· "; color: var(--ink-2); font-weight: 400; }
.hours-more[open] summary::after { content: ": "; }
.row .note { color: var(--amber); font-weight: 700; }
.kind-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kind-grid .chip { justify-content: center; text-align: center; border-radius: 12px; }
.pick-list { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-height: 120px; max-height: 52vh; overflow-y: auto; padding: 2px; }
.pick-list > * { flex: 0 0 auto; }
.pick-list .pick { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 48px; height: auto; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: left; font-weight: 700; white-space: normal; }
.pick-list .pick > span { min-width: 0; overflow-wrap: anywhere; } .pick-list .pick small { flex: none; }
.pick-list .pick small { color: var(--ink-2); font-weight: 600; font-size: 13px; }
.pick-list .grp { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; padding: 8px 4px 0; }

/* ---------- map ---------- */
.map-wrap { position: relative; isolation: isolate; }
.map { height: min(56vh, 560px); min-height: 320px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #EAF1E6; position: relative; z-index: 0; }
.sheet.overlay { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1200; box-shadow: 0 8px 24px rgba(14,42,92,.25); max-height: calc(100% - 16px); overflow: auto; }
.sheet-close { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pale); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); margin: 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .pin { width: 22px; height: 22px; font-size: 10px; border-width: 1.5px; box-shadow: none; }
.map.z-lo .pin { width: 26px; height: 26px; font-size: 11px; }
.map .pin { margin: 5px; }
.map.locked { height: 160px; min-height: 0; display: grid; place-items: center; color: var(--ink-2); }
.back { font-weight: 800; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.pin { width: 34px; height: 34px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(14,42,92,.3); display: flex; align-items: center; justify-content: center; font: 800 13px var(--font-b); color: #fff; background: var(--ink-2); }
.pin.g { background: #137A4F; } .pin.a { background: #B4530A; } .pin.r { background: var(--red); } .pin.x { background: #4D5B7A; } .pin.f { background: var(--blue); } .pin.s { background: var(--purple); } .pin.c { background: #8394B8; }
.pin svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pin.sel { outline: 3px solid var(--navy); outline-offset: 2px; }
.leaflet-container { font-family: var(--font-b); }
.leaflet-div-icon { background: transparent; border: 0; }
.leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; }
.leaflet-container a.leaflet-control-zoom-in, .leaflet-container a.leaflet-control-zoom-out { color: var(--navy); }
.you-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(30,91,214,.25); }
.sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 44px 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.sheet .n { font-weight: 800; font-size: 17px; }
.sheet > div:first-child { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sheet .w { font-family: var(--font-d); font-weight: 700; font-size: 30px; line-height: 1; color: var(--navy); grid-column: 2; grid-row: 1; text-align: right; }
.sheet .w small { display: block; font: 700 13px var(--font-b); color: var(--ink-2); margin-top: 2px; }
.sheet .m { font-size: 13.5px; color: var(--ink-2); grid-column: 1 / -1; grid-row: 2; }
.sheet .btn-row { grid-column: 1 / -1; grid-row: 3; }
.sheet .btn { min-height: 44px; font-size: 14px; }

/* ---------- trip ---------- */
.trip-card .days { display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 60px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #C9D8F5; font-size: 13px; text-decoration: none; cursor: pointer; font-family: inherit; padding: 4px 2px; }
.day[aria-expanded="true"] { background: #fff; color: var(--navy); } .day[aria-expanded="true"] b { color: var(--navy); }
.day b { font-size: 16px; color: #fff; font-weight: 800; } .day i { font-style: normal; font-size: 12px; font-weight: 800; color: var(--yellow); min-height: 15px; line-height: 1.2; }
.day-panel { background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.day-panel h3, .card.navy .day-panel h3 { font-size: 17px; color: var(--navy); } .day-panel ul { margin: 0; padding-left: 18px; font-size: 14.5px; display: flex; flex-direction: column; gap: 4px; }
.day-panel .party { color: var(--amber); font-weight: 700; } .day-panel .day-items li { list-style: none; margin-left: -18px; }
.stay-line { font-size: 14px; color: #C9D8F5; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stay-field > span { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; } .stay-field small { font-weight: 400; }
.day.party { border-color: var(--yellow); background: rgba(242,201,76,.16); }
.day.today { outline: 2px solid var(--sky); outline-offset: 1px; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pack { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 72px; border-radius: 12px; border: 1.5px solid var(--field); background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; text-align: center; padding: 8px; cursor: pointer; }
.pack:hover:not([disabled]) { border-color: var(--blue); background: var(--sky-2); } .pack small { color: var(--blue); font-weight: 800; font-size: 13px; }
.buy-confirm { display: flex; flex-direction: column; gap: 10px; }
.pack b { font-family: var(--font-d); font-size: 22px; font-weight: 700; }
.pack[disabled] { opacity: .55; }
.email-form { display: flex; flex-direction: column; gap: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.table th { text-align: left; font-size: 13px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.table td { padding: 8px 4px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.more > summary { min-height: 44px; display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue); cursor: pointer; list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "▸"; transition: transform .15s; } .more[open] > summary::before { transform: rotate(90deg); }
.hours-table { display: grid; gap: 6px; font-size: 14px; }
.hours-table .hrow { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); }
.hours-table .hd { white-space: nowrap; } .hours-table .hc { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.hours-table .hrow:first-child { border-top: 0; }
.hours-table .hd { font-weight: 800; }
.hours-table .hp { color: var(--ink-2); } .hours-table .hp b { color: var(--ink); font-weight: 700; }
.hours-table .party { color: var(--amber); font-weight: 700; }

/* ---------- static pages ---------- */
.page article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; max-width: 72ch; }
.page article h2 { margin-top: 6px; } .page article ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- tab bar, footer ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line); min-height: calc(var(--tab-h) + var(--sat-b)); padding-bottom: var(--sat-b); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); z-index: 1300; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: var(--tab-h); font-size: 13px; font-weight: 800; color: var(--ink-2); text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--blue); background: var(--sky-2); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 860px) { .tabbar { display: none; } body.has-tabbar main { padding-bottom: 32px; } }
.site-foot { background: var(--navy); color: #C9D8F5; font-size: 13.5px; padding-block: 20px calc(20px + var(--tab-h) + var(--sat-b)); }
@media (min-width: 860px) { .site-foot { padding-bottom: 20px; } }
.site-foot .wrap { display: flex; flex-direction: column; gap: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { color: #fff; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- dialogs ---------- */
.dialog { border: 0; border-radius: 20px; padding: 20px; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.dialog form { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.dialog:not([open]) { display: none; }
.dialog::backdrop { background: rgba(14,42,92,.5); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.dialog-actions.column { flex-direction: column; align-items: stretch; }
@media (max-width: 480px) { .dialog-actions { flex-direction: column-reverse; align-items: stretch; } .dialog-actions .btn { width: 100%; } }

/* ---------- desktop: chat with rails ---------- */
@media (min-width: 1000px) {
  #view-ask { max-width: 860px; margin: 0 auto; width: 100%; }
  #view-news, #view-trip, #view-park, #view-map, #view-notfound, .page { max-width: 860px; margin: 0 auto; width: 100%; }
}

/* ---------- tester gate / opening soon (server-rendered pages) ---------- */
.gate { display: grid; place-items: center; min-height: 100vh; background: linear-gradient(160deg, var(--navy), var(--navy-2)); padding: 16px; }
.gate main { flex: none; }
.gate-card { background: #fff; border-radius: var(--radius); padding: 28px; width: min(400px, 100%); display: flex; flex-direction: column; gap: 10px; }
.gate-card h1 { font-family: var(--font-d); font-weight: 700; font-size: 28px; }
.gate-card h1 span { color: var(--blue); }
.gate-card h2 { font-family: var(--font-d); font-size: 22px; }
.gate-card label { font-weight: 800; font-size: 14px; display: block; margin-top: 6px; }
.gate-card input { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; font-size: 16px; margin-top: 6px; }
.gate-card button { width: 100%; margin-top: 12px; border: 0; background: var(--blue); color: #fff; font-weight: 800; border-radius: 999px; padding: 12px 18px; min-height: 48px; }
.gate-error { color: var(--red); font-weight: 700; }

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

/* inline links: 44px hit area without changing line spacing */
.fine a, .notice a, .page article a, .muted a { display: inline-block; padding-block: 11px; margin-block: -11px; }

/* ---------- News (v0.6.4) ---------- */
.news-head h1 { font-size: 30px; margin-bottom: 2px; }
.news-sub { color: var(--ink-2); font-size: 15px; margin: 0 0 12px; }
.news-sub span { white-space: nowrap; font-weight: 700; }
#view-news { min-width: 0; }
.news-filters { contain: inline-size; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 2px 16px; -webkit-overflow-scrolling: touch; }
.news-filters::-webkit-scrollbar { display: none; }
.news-filters .chip { flex: 0 0 auto; white-space: nowrap; }
#news-groups { display: flex; flex-direction: column; gap: 22px; }
.trip-banner { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-radius: 14px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.trip-banner svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trip-banner span { flex: 1; }
.trip-banner b { color: var(--yellow); white-space: nowrap; }
.story-group-h { font-family: var(--font-b); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
.story-group-h small { font-size: 13px; letter-spacing: 0; color: var(--field); }
.story-list { display: grid; gap: 12px; }
.story-more-btn { width: 100%; margin-top: 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--blue); font-weight: 800; font-size: 15px; min-height: 48px; }
/* one story */
.story-mini { --tone: var(--blue); --tone-bg: var(--sky-2); }
.story { --tone: var(--blue); --tone-bg: var(--sky-2); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(14,42,92,.05); }
.tone-red { --tone: var(--red); --tone-bg: var(--red-bg); } .tone-amber { --tone: var(--amber); --tone-bg: var(--amber-bg); }
.tone-green { --tone: var(--green); --tone-bg: var(--green-bg); } .tone-purple { --tone: var(--purple); --tone-bg: var(--purple-bg); }
.tone-teal { --tone: var(--teal); --tone-bg: var(--teal-bg); } .tone-grey { --tone: var(--ink-2); --tone-bg: var(--line-2); }
.story-pic { width: 48px; height: 48px; border-radius: 14px; background: var(--tone-bg); color: var(--tone); display: flex; align-items: center; justify-content: center; }
.story-pic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story-body { min-width: 0; }
.story-kick { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 0; }
.story-kick > span + span::before { content: '·'; margin: 0 6px; color: var(--field); }
.story-cat { color: var(--tone); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.story-h { font-family: var(--font-d); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--navy); margin: 0; letter-spacing: 0; }
.story-dek { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.story-when, .story-trust { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.story-when { background: var(--pale); color: var(--navy); border: 1px solid var(--line); }
.story-when.mine { background: var(--navy); color: #fff; border-color: var(--navy); }
.story-when svg, .story-trust svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.story-toggle { margin-left: auto; min-height: 44px; min-width: 64px; padding: 0 12px; border: 0; background: none; color: var(--blue); font-weight: 800; font-size: 14.5px; border-radius: 10px; }
.story-toggle::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.story.open .story-toggle::after { transform: translateY(1px) rotate(-135deg); }
.story-more { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.story-sum { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.story-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.story-src { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; font-size: 14.5px; color: var(--blue); }
.story-src svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
span.story-src { color: var(--ink-2); font-weight: 700; }
.story-ask { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); font-weight: 800; font-size: 14.5px; margin-left: auto; }
.story-ask svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* top story */
.story.is-lead { grid-template-columns: 1fr; padding: 0; overflow: hidden; border: 0; box-shadow: 0 6px 20px rgba(14,42,92,.12); }
.story.is-lead .story-pic { width: 100%; height: auto; min-height: 72px; border-radius: 0; justify-content: flex-start; padding: 0 18px; background: linear-gradient(120deg, var(--tone) 0%, color-mix(in srgb, var(--tone) 55%, var(--navy)) 100%); color: #fff; position: relative; overflow: hidden; }
.story.is-lead .story-pic::after { content: ''; position: absolute; right: -30px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.10); box-shadow: -70px 70px 0 -20px rgba(255,255,255,.07); }
.story.is-lead .story-pic svg { width: 40px; height: 40px; }
.story.is-lead .story-body { padding: 16px 18px 12px; }
.story.is-lead .story-h { font-size: 25px; line-height: 1.2; }
.story.is-lead .story-dek { font-size: 16.5px; }
@media (min-width: 860px) {
  .story-list { grid-template-columns: 1fr 1fr; align-items: start; }
  .story.is-lead { grid-template-columns: 220px minmax(0, 1fr); }
  .story.is-lead .story-pic { min-height: 100%; justify-content: center; padding: 0; }
  .story.is-lead .story-pic svg { width: 64px; height: 64px; }
  .story.is-lead .story-body { padding: 22px 24px 16px; }
  .story.is-lead .story-h { font-size: 28px; }
}

/* ---------- Ask (v0.6.6) ---------- */
.ask-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 18px; border-radius: 20px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #3B6FE0 0%, rgba(59,111,224,0) 55%), linear-gradient(135deg, var(--navy) 0%, #1B3F8C 100%); box-shadow: 0 8px 24px rgba(14,42,92,.18); }
.ask-hero::after { content: ''; position: absolute; right: -40px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: -90px -30px 0 -40px rgba(255,255,255,.05); pointer-events: none; }
.ask-avatar { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--yellow), #F59E0B); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.ask-avatar svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
.ask-hero h1 { font-size: 24px; color: #fff; margin: 0; line-height: 1.15; }
.ask-hero p { margin: 3px 0 0; font-size: 15px; color: #DCE6FA; line-height: 1.35; }
.ask-hero .trip-chip { grid-column: 1 / -1; justify-self: start; position: relative; z-index: 1; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.ask-hero .trip-chip::before { content: ''; width: 16px; height: 16px; margin-right: 8px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C94C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 6h16v14H4zM4 10h16M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
@media (min-width: 860px) { .ask-hero { grid-template-columns: auto minmax(0, 1fr) auto; padding: 20px 22px; } .ask-hero .trip-chip { grid-column: auto; justify-self: end; } }
/* messages */
.msgs { gap: 16px; }
.msg.bot { position: relative; margin-left: 42px; max-width: min(calc(100% - 42px), 68ch); border: 0; border-radius: 6px 20px 20px 20px; box-shadow: 0 1px 3px rgba(14,42,92,.08), 0 4px 14px rgba(14,42,92,.06); padding: 14px 16px; }
.msg.bot::before { content: ''; position: absolute; left: -42px; top: 0; width: 32px; height: 32px; border-radius: 11px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3C/svg%3E"), linear-gradient(135deg, var(--yellow), #F59E0B); }
.msg.me { background: linear-gradient(135deg, var(--blue), #1748A8); border-radius: 20px 6px 20px 20px; padding: 12px 16px; box-shadow: 0 4px 12px rgba(30,91,214,.22); }
.msg.pending { flex-direction: row; align-items: center; gap: 6px; min-height: 48px; padding: 12px 18px; }
.typing { width: 8px; height: 8px; border-radius: 50%; background: var(--field); animation: df-dot 1.2s infinite ease-in-out; }
.typing:nth-child(3) { animation-delay: .15s; } .typing:nth-child(4) { animation-delay: .3s; }
@keyframes df-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .typing { animation: none; } }
.msg .meta { padding-top: 8px; border-top: 1px solid var(--line-2); }
.msg .meta .tag { min-height: 24px; }
.src-list { gap: 6px; }
.src-item { background: var(--pale); border: 1px solid var(--line-2); border-radius: 12px; }
/* compact story cards inside answers */
a.fact.story-mini { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.fact.story-mini:hover { border-color: var(--sky); box-shadow: 0 2px 10px rgba(14,42,92,.08); }
.story-mini .story-pic { width: 40px; height: 40px; border-radius: 12px; }
.story-mini .story-pic svg { width: 22px; height: 22px; }
.story-mini .story-body { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.story-mini .story-kick { margin: 0; font-size: 12.5px; }
.story-mini .story-h { font-size: 16px; line-height: 1.3; }
.story-mini .story-when { margin-top: 4px; min-height: 24px; }
/* suggestions */
.suggest-wrap { margin-top: 2px; }
.suggest-h { margin: 0 0 8px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.suggest-chip { gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14,42,92,.06); border-radius: 14px; padding: 0 14px; font-size: 14.5px; }
.suggest-chip:hover { border-color: var(--blue); }
.suggest-chip svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 859px) { #suggest { flex-wrap: nowrap; overflow-x: auto; contain: inline-size; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width: none; } #suggest::-webkit-scrollbar { display: none; } .suggest-chip { flex: 0 0 auto; white-space: nowrap; } }
/* composer */
.ask-form { padding: 10px 0 8px; background: linear-gradient(to bottom, rgba(243,247,255,0), var(--pale) 30%); }
.ask-box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; box-shadow: 0 6px 20px rgba(14,42,92,.12); transition: border-color .15s, box-shadow .15s; }
.ask-box:focus-within { border-color: var(--blue); box-shadow: 0 6px 20px rgba(30,91,214,.18), 0 0 0 3px rgba(30,91,214,.15); }
.ask-box input { flex: 1; min-width: 0; width: 100%; border: 0; min-height: 48px; padding: 0 12px; background: transparent; outline: none; }
.ask-box input:focus-visible { outline: none; }
.ask-box .send { width: 46px; height: 46px; background: linear-gradient(135deg, var(--blue), #1748A8); box-shadow: 0 3px 8px rgba(30,91,214,.3); }
.ask-fine { text-align: center; font-size: 13px; }
.src-list { gap: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.src-list::before { content: 'Sources'; display: block; padding: 8px 12px 6px; font-size: 12.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--pale); }
.src-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 8px 12px; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; background: #fff; font-size: 13px; }
.src-item > :first-child { grid-column: 1 / -1; font-size: 14.5px; font-weight: 700; color: var(--navy); text-decoration: none; padding-block: 2px; }
.src-item a:first-child:hover { color: var(--blue); text-decoration: underline; }
.src-item .tag { justify-self: end; }
.story-mini .story-kick { column-gap: 0; }

/* ---------- Park (v0.6.7) ---------- */
#view-park { min-width: 0; }
.park-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; contain: inline-size; gap: 8px; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
.park-tabs::-webkit-scrollbar { display: none; }
.park-tabs .chip { flex: 0 0 auto; white-space: nowrap; border-radius: 999px; }
.park-tabs .chip.wide { grid-column: auto; }
@media (min-width: 860px) { .park-tabs { margin: 0; padding: 0; } .park-tabs .chip { flex: 1 1 0; justify-content: center; } }
.park-hero { --a: #2443A8; --b: #5B3FA0; position: relative; overflow: hidden; border-radius: 20px; padding: 18px; color: #fff; display: flex; flex-direction: column; gap: 6px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 50%), linear-gradient(135deg, var(--a) 0%, var(--b) 100%); box-shadow: 0 8px 24px rgba(14,42,92,.18); }
.park-hero::after { content: ''; position: absolute; right: -50px; top: -60px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.07); box-shadow: -60px 120px 0 -30px rgba(255,255,255,.05); pointer-events: none; }
.park-hero.tone-mk { --a: #1E3A9E; --b: #6A3FB0; } .park-hero.tone-ep { --a: #0B5F7A; --b: #1B8C8A; } .park-hero.tone-hs { --a: #7A1E3A; --b: #B3402A; }
.park-hero.tone-ak { --a: #1F5A33; --b: #4E7A24; } .park-hero.tone-ds { --a: #7A3A0E; --b: #B0651A; }
.ph-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; position: relative; z-index: 1; }
.ph-name { font-size: 26px; color: #fff; margin: 0; line-height: 1.1; }
.ph-state { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); }
.ph-state::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.ph-state.is-open::before { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.ph-state.is-party::before { background: var(--yellow); }
.ph-hours { margin: 0; font-size: 16px; font-weight: 700; color: #fff; position: relative; z-index: 1; }
.ph-extra { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: rgba(255,255,255,.88); position: relative; z-index: 1; }
.ph-extra b { color: var(--yellow); font-weight: 800; }
.ph-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; position: relative; z-index: 1; }
.ph-stat { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 9px 12px; display: flex; flex-direction: column; min-width: 0; }
.ph-stat b { font-family: var(--font-d); font-weight: 600; font-size: 24px; line-height: 1.1; }
.ph-stat span { font-size: 13px; color: rgba(255,255,255,.85); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-stat.warn b { color: #FFB4A8; }
.ph-stat.wide { grid-column: span 2; }
.ph-plan { grid-column: span 2; min-height: 48px; border-radius: 14px; border: 0; background: #fff; color: var(--navy); font-weight: 800; font-size: 15px; padding: 0 14px; }
.ph-plan:hover { background: var(--sky-2); }
.ph-updated { margin: 4px 0 0; font-size: 12.5px; color: rgba(255,255,255,.7); position: relative; z-index: 1; }
/* search + actions */
#view-park .find input { border: 1.5px solid var(--line); box-shadow: 0 4px 14px rgba(14,42,92,.08); min-height: 52px; }
#view-park .find input:focus { border-color: var(--blue); outline: none; box-shadow: 0 4px 14px rgba(30,91,214,.15), 0 0 0 3px rgba(30,91,214,.15); }
/* groups */
#park-groups .group { border: 0; border-radius: 18px; box-shadow: 0 1px 3px rgba(14,42,92,.08), 0 4px 14px rgba(14,42,92,.05); }
#park-groups .group > h2, .find-results .group > h2 { font-family: var(--font-b); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 14px 14px 8px; }
#park-groups .group > h2 small { background: var(--line-2); color: var(--ink-2); border-radius: 999px; padding: 1px 8px; letter-spacing: 0; }
/* rows with an icon */
.row.with-ic { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 12px; }
.row.with-ic > .ic { grid-column: 1; grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--sky-2); color: var(--blue); }
.row.with-ic > .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row.with-ic > .n, .row.with-ic > .s { grid-column: 2; }
.row.with-ic > .w, .row.with-ic > .status, .row.with-ic > .tag, .row.with-ic > .sr-only { grid-column: 3; grid-row: 1 / span 2; align-self: center; justify-self: end; }
.row.kind-show > .ic { background: var(--purple-bg); color: var(--purple); }
.row.kind-restaurant > .ic { background: var(--green-bg); color: var(--green); }
.row.kind-shop > .ic { background: var(--amber-bg); color: var(--amber); }
.row.kind-area > .ic { background: var(--teal-bg); color: var(--teal); }
.row.is-down > .ic { background: var(--red-bg); color: var(--red); }
.row .w { display: inline-flex; align-items: baseline; justify-content: center; gap: 2px; min-width: 64px; padding: 4px 10px; border-radius: 12px; font-size: 21px; line-height: 1.1; }
.row .w.lo { background: var(--green-bg); color: var(--green); } .row .w.mid { background: var(--amber-bg); color: var(--amber); } .row .w.hi { background: var(--red-bg); color: var(--red); }
.row .w small { color: inherit; opacity: .8; }
.row-detail { padding-left: 62px; }
@media (max-width: 420px) { .row-detail { padding-left: 14px; } }
.ph-stat span { white-space: normal; overflow: visible; line-height: 1.25; }

/* Park banner: one fixed shape for every park (v0.6.8) */
@media (min-width: 860px) { .park-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); } .park-tabs .chip { width: 100%; } }
.park-hero { min-height: 252px; }
.park-hero.is-loading .ph-hours, .park-hero.is-loading .ph-extra, .park-hero.is-loading .ph-stats, .park-hero.is-loading .ph-state { opacity: .45; transition: opacity .15s; }
.ph-top { flex-wrap: nowrap; min-width: 0; }
.ph-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ph-state { flex: none; }
.ph-extra { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; min-height: 28px; align-items: center; margin: 2px 0 0; }
.ph-extra::-webkit-scrollbar { display: none; }
.ph-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px; white-space: nowrap; }
.ph-chip b { color: var(--yellow); }
.ph-none { font-size: 13px; color: rgba(255,255,255,.7); }
.ph-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .ph-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ph-stat { min-height: 66px; justify-content: center; }
.ph-stat span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-stat.wide { grid-column: auto; }
.ph-plan { grid-column: auto; text-align: left; cursor: pointer; background: #fff; color: var(--navy); border: 0; font: inherit; }
.ph-plan b { color: var(--blue); }
.ph-plan span { color: var(--ink-2) !important; }
.ph-plan:hover { background: var(--sky-2); }
main.wrap { width: 100%; box-sizing: border-box; }
.ph-row2 { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; min-width: 0; position: relative; z-index: 1; }
.ph-row2 .ph-hours { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ph-name { font-size: clamp(22px, 6.4vw, 28px); }

/* Suggestion box (v0.6.9) */
.foot-suggest { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--yellow); cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.foot-suggest::before { content: '💡'; }
.foot-suggest:hover { text-decoration: underline; }
.suggest-form { display: flex; flex-direction: column; gap: 12px; }
.suggest-form h2 { margin: 0; }
.suggest-form .muted { margin: 0; }
.suggest-form .chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.suggest-form textarea { width: 100%; min-height: 120px; resize: vertical; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; box-sizing: border-box; }
.suggest-form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(30,91,214,.15); }
.suggest-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: -6px; }
.global-toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--sat-b) + 16px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 2000; background: var(--navy); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 14px; box-shadow: 0 8px 24px rgba(14,42,92,.3); max-width: min(92vw, 480px); text-align: center; transition: opacity .2s, transform .2s; }
.global-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 860px) { .global-toast { bottom: 24px; } }
#suggest-count { white-space: nowrap; }

/* ---------- Map (v0.6.9) ---------- */
#view-map { min-width: 0; }
.map-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(14,42,92,.08), 0 8px 24px rgba(14,42,92,.10); }
.map-head { --a: #1E3A9E; --b: #6A3FB0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); }
.map-head.tone-mk { --a: #1E3A9E; --b: #6A3FB0; } .map-head.tone-ep { --a: #0B5F7A; --b: #1B8C8A; } .map-head.tone-hs { --a: #7A1E3A; --b: #B3402A; } .map-head.tone-ak { --a: #1F5A33; --b: #4E7A24; } .map-head.tone-ds { --a: #7A3A0E; --b: #B0651A; }
.mh-text { min-width: 0; }
.map-head h1 { margin: 0; color: #fff; font-size: clamp(20px, 5.6vw, 24px); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-head p { margin: 2px 0 0; font-size: 13px; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-actions { display: flex; gap: 8px; flex: none; }
.mh-actions[hidden] { display: none; }
.mh-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.14); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.mh-btn:hover { background: rgba(255,255,255,.24); }
.mh-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .mh-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .mh-btn { width: 44px; padding: 0; justify-content: center; } }
.map-card .map { height: min(64vh, 640px); min-height: 360px; border: 0; border-radius: 0; }
.map-card .map.locked { height: 120px; min-height: 0; }
.map-filters { position: absolute; top: 10px; left: 10px; right: 64px; z-index: 1100; display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; pointer-events: none; }
.map-filters::-webkit-scrollbar { display: none; }
.map-filters[hidden] { display: none; }
.map-filters .chip { pointer-events: auto; flex: none; min-height: 40px; padding: 0 12px; gap: 6px; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(14,42,92,.22); font-size: 14px; }
.map-filters .chip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-filters .chip small { font-size: 12px; font-weight: 800; background: var(--line-2); color: var(--ink-2); border-radius: 999px; padding: 0 7px; }
.map-filters .chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.map-filters .chip[aria-pressed="true"] small { background: rgba(255,255,255,.2); color: #fff; }
.map-card .leaflet-top.leaflet-left { top: auto; bottom: 10px; left: auto; right: 10px; }
.map-card .leaflet-control-zoom { border: 0 !important; box-shadow: 0 2px 8px rgba(14,42,92,.22); border-radius: 12px; overflow: hidden; }
.map-card .legend { padding: 10px 16px 12px; border-top: 1px solid var(--line-2); background: #fff; }
.map-card .legend[hidden] { display: none; }
.map-lock { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink); background: var(--pale); border-bottom: 1px solid var(--line-2); }
.map-lock[hidden] { display: none; }
.map-lock .btn-row { margin: 0; }
/* pins */
.pin { border-width: 2.5px; box-shadow: 0 2px 8px rgba(14,42,92,.35); transition: transform .12s; }
.pin.sel { outline: 0; transform: scale(1.25); box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 0 7px var(--navy), 0 4px 12px rgba(14,42,92,.4); }
/* details card */
.sheet.overlay { left: 10px; right: 10px; bottom: 10px; border: 0; border-radius: 18px; padding: 14px 48px 14px 14px; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 12px; box-shadow: 0 10px 30px rgba(14,42,92,.3); }
.sheet.overlay > .ic { grid-column: 1; grid-row: 1; width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--sky-2); color: var(--blue); align-self: start; }
.sheet.overlay > .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sheet.kind-show > .ic { background: var(--purple-bg); color: var(--purple); } .sheet.kind-restaurant > .ic { background: var(--green-bg); color: var(--green); } .sheet.kind-shop > .ic { background: var(--amber-bg); color: var(--amber); } .sheet.is-down > .ic { background: var(--red-bg); color: var(--red); }
.sheet.overlay > .sh-main { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.sh-kick { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.sheet.overlay .n { font-family: var(--font-d); font-weight: 600; font-size: 19px; line-height: 1.2; color: var(--navy); }
.sheet.overlay > .w { grid-column: 3; grid-row: 1; align-self: start; font-size: 28px; padding: 6px 12px; border-radius: 14px; text-align: center; }
.sheet.overlay > .w small { font-size: 12px; color: inherit; opacity: .85; }
.sheet .w.lo { background: var(--green-bg); color: var(--green); } .sheet .w.mid { background: var(--amber-bg); color: var(--amber); } .sheet .w.hi { background: var(--red-bg); color: var(--red); }
.sheet.overlay > .m { grid-column: 1 / -1; grid-row: 2; }
.sheet.overlay > .m:empty { display: none; }
.sheet.overlay > .btn-row { grid-column: 1 / -1; grid-row: 3; }
.sheet.overlay .sheet-close { top: 10px; right: 10px; }
#view-map .back { align-self: flex-start; }
.map-lock p { margin: 0; }

/* ---------- Park party (v0.7.0) ---------- */
.mh-actions { display: flex; gap: 8px; flex: none; align-items: center; }
.mh-family { position: relative; background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }
.mh-family svg { stroke: var(--blue); }
.mh-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 999px; background: #22C55E; color: #fff; font: 800 12px/20px var(--font-b); font-style: normal; text-align: center; padding: 0 5px; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 480px) { .mh-family span { position: static; width: auto; height: auto; clip: auto; overflow: visible; } .mh-family { width: auto !important; padding: 0 12px !important; } }
.share-banner { position: sticky; top: 0; z-index: 1400; display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: #0F6440; color: #fff; font-size: 14px; font-weight: 700; }
.share-banner[hidden] { display: none; }
.share-banner #share-banner-text { flex: 1; min-width: 0; }
.sb-dot { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; flex: none; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: df-pulse 2s infinite; }
@keyframes df-pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); } 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
@media (prefers-reduced-motion: reduce) { .sb-dot, .fam-pin::after { animation: none; } }
.sb-link { color: #fff; font-weight: 800; min-height: 36px; display: inline-flex; align-items: center; }
.sb-stop { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #fff; background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.party-panel { background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 1px 3px rgba(14,42,92,.08), 0 8px 24px rgba(14,42,92,.08); display: flex; flex-direction: column; gap: 10px; }
.party-panel[hidden] { display: none; }
.party-panel p { margin: 0; }
.pp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pp-head h2 { margin: 0; font-size: 20px; }
.pp-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pale); color: var(--navy); font-size: 22px; cursor: pointer; }
.pp-h { margin: 6px 0 0; font: 900 12.5px var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pp-share { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--pale); font-weight: 700; flex-wrap: wrap; }
.pp-share > div { flex: 1; min-width: 160px; }
.pp-share.on { background: var(--green-bg); color: var(--green); }
.pp-live { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; animation: df-pulse 2s infinite; }
.pp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pp-m { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.pp-m:first-child { border-top: 0; }
.pp-dot { --c: var(--field); width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #fff; font: 800 13px/36px var(--font-b); text-align: center; flex: none; }
.pp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-2); }
.pp-t b { font-size: 15px; color: var(--ink); }
.pp-rm { background: none; border: 0; color: var(--red); font-weight: 800; font-size: 14px; min-height: 44px; padding: 0 8px; cursor: pointer; }
.pp-meet, .pp-invite, .pp-form { display: flex; flex-direction: column; gap: 8px; }
.pp-meet .btn, .pp-invite .btn, .party-panel > .btn { align-self: flex-start; }
.pp-l { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.party-panel .input { width: 100%; box-sizing: border-box; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; }
.pp-end { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 8px; flex-wrap: wrap; }
.fam-pin { --c: var(--blue); position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.fam-pin b { color: #fff; font: 800 14px var(--font-b); position: relative; z-index: 1; }
.fam-pin::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--c); opacity: .6; animation: df-ring 2.2s infinite; }
@keyframes df-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }
.fam-pin.me { outline: 3px solid var(--navy); outline-offset: 1px; }
.fam-stale .fam-pin { filter: grayscale(.7); opacity: .75; }
.fam-stale .fam-pin::after { display: none; }
.meet-pin { width: 40px; height: 40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--yellow); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 20px; }
.meet-pin span { display: block; transform: rotate(45deg); line-height: 1; }
.sheet.kind-family > .ic.fam-ic { --c: var(--blue); background: var(--c); color: #fff; font: 800 15px var(--font-b); border-radius: 50%; }
.sheet.kind-family > .ic.meet-ic { background: var(--yellow); color: var(--navy); font-size: 22px; }
.sheet.kind-family .fine { margin: 0; }
.share-points { margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
#share-dialog .chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Share the app (v0.7.0) ---------- */
.share-app-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.1); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; }
.share-app-btn:hover { background: rgba(255,255,255,.2); }
.share-app-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 480px) { .share-app-btn { width: 40px; padding: 0; justify-content: center; } .share-app-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.foot-share { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: #9CC4FF; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.foot-share::before { content: '📣'; }
.foot-share:hover { text-decoration: underline; }
.sa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sa-opt { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; text-align: left; }
.sa-opt:hover { border-color: var(--blue); background: var(--pale); }
.sa-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--pale); flex: none; }
.sa-qr { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--pale); }
.sa-qr[hidden] { display: none; }
#sa-qr { width: 120px; height: 120px; flex: none; background: #fff; border-radius: 10px; overflow: hidden; }
#sa-qr svg { width: 100%; height: 100%; display: block; }
.sa-qr .fine { margin: 0; }
@media (max-width: 480px) { .map-head { flex-wrap: wrap; } .mh-text { flex: 1 1 100%; } }

/* ---------- Custom park map (MapLibre, v0.7.2) ---------- */
.map-card .map { background: #F4EFE2; }
.gl-mk { cursor: pointer; }
.gl-mk:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 999px; }
.gl-pin { position: relative; display: flex; justify-content: center; }
.gl-pin .pin { margin: 0; }
.pin-name { position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 800 12px/1.2 var(--font-b); color: var(--navy); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; pointer-events: none; display: none; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.map.z-hi .pin-name { display: block; }
.map.z-lo .pin:not(.cluster) { width: 28px; height: 28px; font-size: 11px; }
.pin.cluster { width: 42px; height: 42px; font: 800 15px var(--font-b); box-shadow: 0 0 0 5px rgba(255,255,255,.55), 0 3px 10px rgba(14,42,92,.35); }
.pin.cluster.f, .pin.cluster.s, .pin.cluster.c { color: #fff; }
.df-credit { display: flex; align-items: center; gap: 6px; margin: 0 0 8px 8px !important; font: 600 11px var(--font-b); color: var(--ink-2); }
.df-credit-i { width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink-2); font: italic 800 13px Georgia, serif; box-shadow: 0 1px 4px rgba(14,42,92,.25); cursor: pointer; flex: none; }
.df-credit-t { display: none; background: rgba(255,255,255,.9); padding: 3px 8px; border-radius: 8px; box-shadow: 0 1px 4px rgba(14,42,92,.2); }
.df-credit.open .df-credit-t { display: inline; }
.df-credit-t a { color: var(--ink-2); text-decoration: none; }
.df-credit-t a:hover { text-decoration: underline; }
.map-card .maplibregl-ctrl-group { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(14,42,92,.22) !important; border: 0; }
.map-card .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.map-card .maplibregl-ctrl-top-right { top: 56px; }
.df-glbtn { display: flex !important; align-items: center; justify-content: center; }
.df-glbtn svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-filters { right: 10px; }
.map-card.is-full { position: fixed; inset: 0; z-index: 3000; border-radius: 0; display: flex; flex-direction: column; }
.map-card.is-full .map-wrap { flex: 1; }
.map-card.is-full .map { height: 100% !important; min-height: 0; }
.map-card.is-full .legend { display: none; }
.map-card.is-full .map-head { padding-top: max(14px, env(safe-area-inset-top)); }
body.map-full { overflow: hidden; }
body.map-full .tabbar, body.map-full .share-banner { display: none; }
.you-dot { box-sizing: border-box; }

/* land names on the map */
.gl-land { pointer-events: none; cursor: default; }
.land-label { font: 800 13px/1.1 var(--font-d); letter-spacing: .06em; text-transform: uppercase; color: rgba(14,42,92,.72); text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 2px #fff; white-space: nowrap; display: none; }
.map:not(.z-lo) .land-label { display: block; }
.map.z-hi .land-label { opacity: .55; font-size: 12px; }

/* ---------- Map batch 1 (v0.7.4) ---------- */
.chip-search { padding: 0 12px !important; }
.chip-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.chip-emo { font-size: 15px; line-height: 1; }
.map-filters.searching { visibility: hidden; }
.map-search { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 1150; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 4px 6px 4px 16px; box-shadow: 0 2px 10px rgba(14,42,92,.25); }
.map-search[hidden] { display: none; }
.map-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; min-height: 40px; background: transparent; }
.map-search-n { font-size: 13px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.map-search-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pale); font-size: 20px; color: var(--navy); cursor: pointer; flex: none; }
.pin.poi { background: #fff; border-color: #fff; box-shadow: 0 2px 8px rgba(14,42,92,.35); }
.pin.poi .emo, .pin.pin-gate .emo, .pin.car .emo { font-size: 18px; line-height: 1; }
.map.z-lo .pin.poi .emo { font-size: 14px; }
.pin.poi.c-restroom { box-shadow: 0 0 0 2px #1E5BD6, 0 2px 8px rgba(14,42,92,.35); }
.pin.poi.c-firstaid, .pin.poi.c-baby { box-shadow: 0 0 0 2px #B3261E, 0 2px 8px rgba(14,42,92,.35); }
.pin.poi.c-bus, .pin.poi.c-monorail, .pin.poi.c-train, .pin.poi.c-boat { box-shadow: 0 0 0 2px #0B7A72, 0 2px 8px rgba(14,42,92,.35); }
.pin.cluster.poi-cluster { background: #fff; color: var(--navy); }
.pin.pin-gate { width: 44px; height: 44px; background: var(--yellow); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy), 0 4px 12px rgba(14,42,92,.4); }
.gl-gate { flex-direction: column; align-items: center; }
.gate-name { position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 900 11.5px/1.1 var(--font-b); text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--navy); padding: 3px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(14,42,92,.3); pointer-events: none; }
.pin.car { width: 40px; height: 40px; background: #fff; box-shadow: 0 0 0 2px #6B3FA0, 0 3px 10px rgba(14,42,92,.35); }
.pin-badge { position: absolute; top: -4px; right: -6px; width: 18px; height: 18px; border-radius: 50%; color: #fff; font: 900 12px/18px var(--font-b); text-align: center; border: 2px solid #fff; pointer-events: none; }
.pin-badge.bad { background: var(--red); } .pin-badge.warn { background: #D97706; }
.pin-next { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--purple); color: #fff; font: 800 10.5px/1 var(--font-b); padding: 3px 6px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.map.z-lo .pin-next { display: none; }
.sheet.overlay > .ic.emo-ic { font-size: 24px; background: var(--pale); }
.sheet.kind-gate > .ic.emo-ic { background: var(--yellow); }
.sheet.kind-near { max-height: 70%; }
.near-list { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.near-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; min-height: 48px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: left; font: inherit; cursor: pointer; }
.near-row:hover { border-color: var(--blue); }
.near-row .w { font-size: 16px; padding: 3px 8px; border-radius: 10px; font-family: var(--font-d); font-weight: 600; }
.near-row .w.lo { background: var(--green-bg); color: var(--green); } .near-row .w.mid { background: var(--amber-bg); color: var(--amber); } .near-row .w.hi { background: var(--red-bg); color: var(--red); }
.show-times { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; }
.show-times span { background: var(--purple-bg); color: var(--purple); font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.show-times span.next { background: var(--purple); color: #fff; }
.best-time { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.bt-bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; padding-bottom: 14px; }
.bt-bar { position: relative; flex: 1; height: var(--h); background: var(--sky-2); border-radius: 4px 4px 0 0; min-width: 6px; }
.bt-bar.best { background: var(--green); } .bt-bar.now { background: var(--blue); }
.bt-bar i { position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); font: 700 10px var(--font-b); color: var(--ink-2); font-style: normal; }
/* night map */
.map.is-night .pin-name, .map.is-night .land-label { color: #E6ECFA; text-shadow: 0 0 3px #0E1428, 0 0 3px #0E1428, 0 0 2px #0E1428; }
.map.is-night .df-credit-t, .map.is-night .df-credit-i { background: rgba(28,36,64,.9); color: #C9D4EE; }
.map.is-night .df-credit-t a { color: #C9D4EE; }
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--sat-b) + 12px); z-index: 1900; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(14,42,92,.3); max-width: 520px; margin: 0 auto; }
.install-banner[hidden] { display: none; }
.install-banner img { border-radius: 10px; flex: none; }
.ib-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-2); }
.ib-text b { color: var(--navy); font-size: 15px; }
.ib-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--pale); color: var(--navy); font-size: 20px; cursor: pointer; flex: none; }
@media (min-width: 860px) { .install-banner { bottom: 20px; } }
body.map-full .install-banner { display: none; }
.map-card .maplibregl-ctrl-top-right, .map-card .maplibregl-ctrl-bottom-right, .map-card .maplibregl-ctrl-bottom-left, .map-card .maplibregl-ctrl-top-left { z-index: 300; }
.map-card .maplibregl-ctrl-top-right { top: 60px; }

/* ---------- Map batch 2 (v0.7.5) ---------- */
.chip-height[aria-pressed="true"], .chip-day[aria-pressed="true"] { background: var(--navy) !important; color: #fff; }
.gl-pin.too-short .pin { opacity: .35; filter: grayscale(.8); }
.gl-pin.too-short .pin-name { opacity: .6; }
.pin-height { position: absolute; bottom: -6px; right: -8px; font-size: 13px; line-height: 1; background: #fff; border-radius: 50%; padding: 2px; box-shadow: 0 1px 4px rgba(14,42,92,.3); pointer-events: none; }
.pin.day { background: var(--yellow); color: var(--navy); font: 900 15px var(--font-b); width: 36px; height: 36px; box-shadow: 0 0 0 2px var(--navy), 0 3px 8px rgba(14,42,92,.35); }
.pin.day.done { background: #fff; color: var(--green); box-shadow: 0 0 0 2px var(--green), 0 3px 8px rgba(14,42,92,.25); opacity: .8; }
.height-picks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.height-picks .chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.sheet.kind-day, .sheet.kind-near, .sheet.kind-height { max-height: 72%; overflow: auto; }
.day-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.day-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 32px 32px 32px 32px; gap: 4px; align-items: center; padding: 4px 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.day-list li.done { opacity: .6; }
.day-list li.done .day-name { text-decoration: line-through; }
.day-n { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 900 13px/26px var(--font-b); text-align: center; }
.day-list li.done .day-n { background: var(--green-bg); color: var(--green); }
.day-name { background: none; border: 0; text-align: left; font: inherit; font-weight: 800; color: var(--navy); min-height: 40px; cursor: pointer; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-list .w { font: 600 13px var(--font-d); padding: 2px 6px; border-radius: 8px; }
.day-list .w.lo { background: var(--green-bg); color: var(--green); } .day-list .w.mid { background: var(--amber-bg); color: var(--amber); } .day-list .w.hi { background: var(--red-bg); color: var(--red); }
.day-ctl { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--pale); color: var(--navy); font-weight: 900; cursor: pointer; }
.day-ctl.rm { color: var(--red); }
.sheet.kind-route > .ic.emo-ic { background: var(--sky-2); }
@media (max-width: 400px) { .day-list li { grid-template-columns: 26px minmax(0, 1fr) auto 28px 28px 28px 28px; gap: 3px; } .day-ctl { width: 28px; height: 30px; } }
.route-from { position: absolute; left: 10px; top: 58px; z-index: 1120; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 70px); padding: 4px 4px 4px 12px; background: var(--navy); color: #fff; border-radius: 999px; font-weight: 800; font-size: 13.5px; box-shadow: 0 2px 8px rgba(14,42,92,.3); }
.rf-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; cursor: pointer; flex: none; }
/* follow-me compass mode */
.you-wrap { position: relative; width: 22px; height: 22px; }
.you-wrap .you-dot { position: absolute; inset: 2px; width: auto; height: auto; }
.you-cone { position: absolute; left: 50%; bottom: 50%; width: 0; height: 0; transform: translateX(-50%); border-left: 16px solid transparent; border-right: 16px solid transparent; border-bottom: 40px solid rgba(30,91,214,.28); border-radius: 50%; display: none; transform-origin: 50% 100%; }
.you-cone.on { display: block; }
.follow-badge { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 1130; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font: 800 13.5px var(--font-b); box-shadow: 0 3px 12px rgba(14,42,92,.35); cursor: pointer; white-space: nowrap; }
/* walking navigation */
.nav-bar { position: absolute; top: 10px; left: 10px; right: 60px; z-index: 1160; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 4px 16px rgba(14,42,92,.4); }
.nb-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nb-t b { font: 600 20px/1.15 var(--font-d); }
.nb-t span { font-size: 13.5px; color: #C9D8F5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-end { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #fff; color: var(--red); font: 900 15px var(--font-b); cursor: pointer; flex: none; }
.map-wrap.navigating .map-filters, .map-wrap.navigating .route-from, .map-wrap.navigating .map-search { display: none !important; }
.map-wrap.navigating .follow-badge { bottom: 14px; }
.btn-start { font-weight: 900; }

/* v0.8.0: Family panel opens as a sheet over the map when the map is full screen or navigating */
body.map-full .party-panel:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3100; max-height: 72vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(14,42,92,.25); }
@keyframes pp-flash { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.55); } 100% { box-shadow: 0 0 0 14px rgba(37,99,235,0); } }
.party-panel.pp-flash { animation: pp-flash .9s ease-out 1; }

/* v0.8.2 news: bigger "read the full story" button, every source listed */
.story-acts { flex-direction: column; align-items: stretch; }
.story-src-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 12px 16px; border-radius: 14px; background: #eef3fe; border: 1.5px solid #cfdcf8; color: var(--blue); text-decoration: none; }
.story-src-btn:hover, .story-src-btn:focus-visible { background: #e2ebfd; }
.ssb-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.ssb-text small { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ssb-text strong { font-size: 16px; font-weight: 900; }
.story-src-btn svg { width: 18px; height: 18px; flex: none; }
.story-also { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.story-also-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--blue); min-height: 32px; }
.story-also-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.story-acts .story-ask { align-self: flex-start; }

/* v0.8.4 footer columns, support and legal pages */
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 4px; }
@media (min-width: 700px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 220px)); } }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-col h2 { margin: 6px 0 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #9DB3E0; font-weight: 800; }
.foot-col a, .foot-col button { color: #fff; font-weight: 700; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.foot-fine { margin: 6px 0 0; font-size: 12.5px; color: #9DB3E0; }
.foot-fine a { color: #C9D8F5; }
.support-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0; }
.support-card { display: flex; flex-direction: column; gap: 3px; padding: 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.support-card:hover, .support-card:focus-visible { border-color: var(--blue); }
.support-card strong { font-size: 16px; }
.support-card span { color: var(--blue); font-weight: 800; }
.support-card small { color: var(--ink-2); font-size: 13.5px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; min-height: 48px; display: flex; align-items: center; list-style-position: outside; }
.faq p { margin: 0 0 14px; }
.legal-list { list-style: none; padding: 0; display: grid; gap: 4px; }
.legal-list li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-list a { font-weight: 800; font-size: 16.5px; }
.legal-list span { color: var(--ink-2); font-size: 14.5px; }
.page .table { width: 100%; }
.page .support-card { display: flex !important; flex-direction: column; align-items: flex-start; }
.page .support-card > * { display: block; }

/* v0.8.5 Ask: one quiet line of help and legal links under the composer (the full footer is hidden on Ask) */
.ask-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 4px; margin: 2px 0 6px; font-size: 13px; }
.ask-links a { color: var(--ink-2); font-weight: 700; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; padding: 0 0 0 12px; }
.ask-links a:first-child { padding-left: 0; }
.ask-links a:hover, .ask-links a:focus-visible { color: var(--blue); text-decoration: underline; }
.ask-links a + a::before { content: '·'; margin: 0 12px 0 0; color: var(--ink-2); opacity: .6; text-decoration: none; display: inline-block; }

/* v0.8.6 AI Helper packages */
.packs .pack b { font-size: 17px; }
.packs .pack-topup { border-style: dashed; }
.buy-confirm .bc-head, .buy-confirm .bc-body { margin: 0 0 8px; display: block; }
.buy-confirm .bc-body a { display: inline; }

/* v0.8.7 About page */
.page article.about { max-width: 820px; gap: 14px; }
.about-hero { background: linear-gradient(135deg, var(--navy) 0%, #1E5BD6 100%); color: #fff; border-radius: 18px; padding: 28px 22px; margin: 0 0 6px; }
.about-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #BFD3FF; }
.about-hero h1 { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; }
.about-lead { margin: 0; font-size: 17px; line-height: 1.55; color: #E6EEFF; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #F7FAFF; }
.about-card h3 { margin: 6px 0 4px; font-size: 16.5px; }
.about-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.about-ico { font-size: 24px; }
.page article .about-values { list-style: none; padding: 0; gap: 10px; }
.about-values li { padding-left: 28px; position: relative; line-height: 1.5; }
.about-values li::before { content: '✓'; position: absolute; left: 4px; top: 0; color: #1E8E5A; font-weight: 900; }
.about-join { background: #FFF8E6; border: 1px solid #F3DFA8; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.about-join h2 { margin: 0; }
.about-join p { margin: 0; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0; }
.page article .about-actions .btn { display: inline-flex; padding-block: 0; margin-block: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.about-legal { margin-top: 4px; }
.page article .about-actions .btn { white-space: normal; text-align: center; max-width: 100%; }

/* v0.8.8 sales assistant: AI Helper offer inside the chat */
.offer { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.offer-pack { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; min-height: 56px; }
.offer-pack:hover, .offer-pack:focus-visible { border-color: var(--blue); }
.offer-pack b { font-size: 16px; }
.offer-pack span { color: var(--ink-2); font-size: 14px; }
.offer-pack.best { border-color: var(--blue); background: #EEF3FE; box-shadow: 0 2px 10px rgba(30,91,214,.12); }
.offer-pack .offer-tag { position: absolute; top: -9px; right: 12px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.offer-pack:disabled { opacity: .6; cursor: progress; }
.offer-fine { margin: 2px 0 0; }

/* v0.8.9 voice: microphone in the chat box, read-aloud on answers */
.ask-box .mic { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #EEF3FE; color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; cursor: pointer; }
.ask-box .mic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask-box .mic.listening { background: #E5484D; color: #fff; animation: mic-pulse 1.2s ease-out infinite; }
@keyframes mic-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.5); } 100% { box-shadow: 0 0 0 12px rgba(229,72,77,0); } }
.speak-btn { align-self: flex-start; margin-top: 8px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; min-height: 36px; }
.speak-btn:hover { border-color: var(--blue); color: var(--blue); }

/* v0.9.4 emergency reply */
.msg.bot.urgent { box-shadow: inset 4px 0 0 #B3261E, 0 1px 3px rgba(14,42,92,.08), 0 4px 14px rgba(14,42,92,.06); }
.msg.bot.urgent::before { background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E"), #B3261E; }

/* v0.9.5 analytics cookie notice */
.an-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1400; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 28px rgba(14,42,92,.18); padding: 14px 16px; display: grid; gap: 10px; }
.an-bar p { margin: 0; font-size: 14px; line-height: 1.45; }
.an-bar .btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
body.has-tabbar .an-bar { bottom: calc(var(--tab-h) + var(--sat-b) + 12px); }
@media (min-width: 860px) { body.has-tabbar .an-bar { bottom: 16px; } }

/* Pricing table and standalone help / legal pages shown behind the site gate (v0.9.13) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.price-table tbody th { font-family: var(--font-d); font-weight: 600; color: var(--navy); white-space: nowrap; }
.price-table td:nth-child(2) { font-weight: 800; white-space: nowrap; }
.gate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; font-size: 14px; margin-top: 4px; }
.gate-links a { color: var(--blue); padding-block: 8px; }
body.doc-standalone { background: var(--pale); margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.doc-head { background: var(--navy); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; }
.doc-brand { font-family: var(--font-d); font-weight: 700; font-size: 22px; color: #fff; text-decoration: none; }
.doc-brand span { color: var(--sky); }
.doc-head nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.doc-head nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding-block: 8px; }
.doc-head nav a:hover { text-decoration: underline; }
.doc-main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 20px 16px 32px; box-sizing: border-box; }
.doc-main article { margin: 0 auto; }
.doc-foot { padding: 16px; text-align: center; font-size: 13px; color: var(--ink-2); }
.doc-foot p { margin: 4px 0; }
@media (max-width: 640px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody { display: block; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table tbody th { font-size: 17px; }
  .price-table td:nth-child(2) { grid-column: 2; grid-row: 1; font-size: 17px; }
  .price-table td:nth-child(3), .price-table td:nth-child(4), .price-table td:nth-child(5) { grid-column: 1 / -1; color: var(--ink-2); }
  .price-table td:nth-child(3) { color: var(--ink); font-weight: 700; }
}
.offer-pack .offer-tag.soon { background: var(--ink-2); }
.offer-pack:disabled { opacity: .75; cursor: default; }
/* "Unofficial" note under the assistant's name (v0.9.19) */
.ask-hero-text .ask-unofficial { margin-top: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); opacity: .85; }
/* Was this helpful? (v0.9.22) */
.fb-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.fb-label { color: var(--ink-2); font-size: 13.5px; font-weight: 700; margin-right: 2px; }
.fb-btn { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; min-width: 44px; min-height: 40px; font-size: 16px; line-height: 1; cursor: pointer; }
.fb-btn:hover { background: var(--sky-2); }
.fb-thanks { color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.fb-form { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.fb-form input { flex: 1 1 200px; min-width: 0; min-height: 40px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 12px; font-size: 16px; }
/* Compare and book links under hotel and deal answers (v0.9.27) */
.search-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.chip-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 14px; text-decoration: none; background: #fff; }
.chip-link:hover { background: var(--sky-2); }
.chip-link::after { content: "↗"; margin-left: 6px; font-size: 12px; }

/* Trip-day briefings (v0.9.30) */
.brief-card .brief { display: flex; flex-direction: column; gap: 6px; }
.brief-card .brief + .brief { border-top: 1px solid var(--line, #D9E1EF); padding-top: 12px; margin-top: 12px; }
.brief-kicker { font-size: 13px; color: var(--muted, #4D5B7A); margin: 0; }
.brief-card h3 { margin: 0; font-size: 18px; }
.brief-list { margin: 0; padding-left: 20px; line-height: 1.5; }
.brief-list li { margin-bottom: 4px; }
.brief-tip { background: #EEF4FF; border-radius: 10px; padding: 8px 12px; margin: 0; }
.brief-more, .brief-parks { margin-top: 10px; }
.brief-more summary, .brief-parks summary { cursor: pointer; font-weight: 700; }
.brief-park-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.brief-park-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; min-width: 0; }
.brief-park-grid select { min-width: 0; width: 100%; }
