/* Hudson Happens — "Waterfront at night" theme
   Deep river navy, warm cream type, muted brick. Serif headlines, wave motif. */
:root {
  --bg: #0e1726;          /* river at night */
  --panel: #152135;       /* card */
  --panel-2: #1b2a42;     /* sunk / placeholder */
  --line: #233350;
  --line-strong: #33476a;
  --ink: #ebe3d3;         /* warm cream text */
  --muted: #9aa5b8;
  --dim: #6c7a91;
  --accent: #d46a4e;      /* muted brick */
  --accent-dark: #bb563c;
  --accent-light: #e8907a;
  --accent-ink: #0e1726;
  --accent-soft: rgba(212, 106, 78, .14);
  --free: #6fbf8e;
  --free-bg: rgba(111, 191, 142, .14);
  --jc: #6f9fd8;
  --hob: #5fae84;
  --bay: #d1a457;
  --bar: #0a111d;         /* header / footer */
  --on-bar: #ebe3d3;
  --on-bar-muted: #9aa5b8;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 4px 14px rgba(0, 0, 0, .25);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, .3), 0 10px 26px rgba(0, 0, 0, .4);
  --display: Fraunces, Georgia, "Times New Roman", serif;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='10' viewBox='0 0 40 10'%3E%3Cpath d='M0 5 Q10 0 20 5 T40 5' fill='none' stroke='%23d46a4e' stroke-width='2'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.55 "DM Sans", system-ui, -apple-system, sans-serif; overflow-x: hidden; }
a { color: inherit; }
img { display: block; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main { outline: none; }
.loading, .empty { color: var(--muted); text-align: center; padding: 80px 20px; font-style: italic; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--bar); color: var(--on-bar); box-shadow: 0 1px 0 var(--accent); }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.logo svg { color: var(--accent-light); flex: none; }
.logo span { font-style: italic; font-weight: 500; color: var(--accent-light); }
.mainnav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { text-decoration: none; color: var(--on-bar-muted); padding: 7px 12px; border-radius: 999px; white-space: nowrap; font-weight: 500; font-size: 14.5px; }
.mainnav a:hover { color: var(--on-bar); background: rgba(255, 255, 255, .08); }
.mainnav a[aria-current="page"] { color: var(--bar); background: var(--on-bar); }
.mainnav .nav-free { color: var(--free); }
.saved-count:not(:empty) { margin-left: 6px; font-size: 11px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 6px; font-weight: 700; }
.topsearch { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 0 14px; width: 260px; color: var(--on-bar-muted); }
.topsearch input { background: none; border: 0; color: var(--on-bar); font: inherit; padding: 8px 0; width: 100%; outline: none; }
.topsearch input::placeholder { color: var(--dim); }
.topsearch:focus-within { border-color: var(--accent-light); }

/* shared */
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin: 0 0 12px; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; margin: 0; }
.hl { color: var(--accent-light); font-style: italic; font-weight: 500; }
.page-head { padding: 44px 0 20px; }
.page-head h1 { font-size: clamp(36px, 5.4vw, 58px); }
.page-head p.sub { color: var(--muted); margin: 12px 0 0; font-size: 16.5px; max-width: 640px; }
.wave { height: 10px; background: var(--wave) repeat-x left center; margin: 22px 0 0; opacity: .85; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); padding: 7px 14px; border-radius: 4px; font-weight: 500; font-size: 14px; white-space: nowrap; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.gold { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.chip.gold-outline { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.chip .n { opacity: .6; font-size: 12px; }
.chip.sq[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.badge-free { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--free); background: var(--free-bg); padding: 2px 7px; border-radius: 3px; vertical-align: 2px; margin-left: 8px; }
.city-tag { display: inline-flex; align-items: center; gap: 5px; }
.city-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--dim); }
.city-tag.jc::before { background: var(--jc); }
.city-tag.hob::before { background: var(--hob); }
.city-tag.bay::before { background: var(--bay); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--panel-2); color: var(--ink); }
.icon-btn.heart[aria-pressed="true"] { color: var(--accent); }
.icon-btn.heart[aria-pressed="true"] svg path { fill: currentColor; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 11px 18px; border-radius: 4px; font-weight: 600; border: 1px solid var(--line-strong); background: var(--panel); cursor: pointer; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.open-link { color: var(--accent); font-weight: 600; font-size: 14px; }

/* home */
.hero { padding: 64px 0 34px; }
.hero h1 { font-size: clamp(46px, 8vw, 96px); max-width: 14ch; }
.hero-search { margin-top: 30px; max-width: 580px; display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 18px; color: var(--muted); box-shadow: var(--shadow); }
.hero-search input { background: none; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 16px; padding: 15px 0; width: 100%; }
.hero-search:focus-within { border-color: var(--ink); }
.hero .chips { margin-top: 18px; }
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 14px 0 8px; }
.city-card { text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; box-shadow: var(--shadow); border-top: 5px solid var(--dim); transition: box-shadow .15s, transform .15s; }
.city-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.city-card.jc { border-top-color: var(--jc); }
.city-card.hob { border-top-color: var(--hob); }
.city-card.bay { border-top-color: var(--bay); }
.city-card strong { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.city-card span { color: var(--muted); font-size: 14px; }

.shelf { margin: 52px 0 0; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.shelf-title { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.shelf-title .hl.green { color: var(--free); }
.view-all { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.view-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.shelf-wrap { position: relative; }
.tiles { list-style: none; margin: 0; padding: 12px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 280px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { position: relative; scroll-snap-align: start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-height: 132px; box-shadow: var(--shadow); transition: box-shadow .15s; }
.tile:hover { box-shadow: var(--shadow-hover); }
.tile-link { display: flex; gap: 14px; height: 100%; padding: 14px 14px 14px 14px; text-decoration: none; }
.stamp { flex: none; width: 54px; align-self: flex-start; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden; background: var(--panel); text-align: center; line-height: 1; }
.stamp b { width: 100%; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 4px 0 3px; }
.stamp strong { font-family: var(--display); font-size: 24px; font-weight: 700; padding: 5px 0 1px; }
.stamp i { font-style: normal; font-size: 10.5px; letter-spacing: .08em; color: var(--muted); padding: 0 0 5px; }
.tile-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.tile-top { display: flex; align-items: center; gap: 8px; padding-right: 30px; min-height: 18px; }
.tile-cat { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.tile-price { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--ink); }
.tile-price.free { color: var(--free); }
.tile-title { font-weight: 700; font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: auto; }
.tile-when, .tile-where { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .icon-btn { position: absolute; top: 8px; right: 8px; }
.tile.pick { border-left: 4px solid var(--accent); }
.shelf-next { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; box-shadow: var(--shadow); }

.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.guide { background: var(--panel); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 22px 24px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.guide:hover { background: var(--panel-2); }
.guide:hover h3 { color: var(--accent); }
.guide h3 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 700; }
.guide p { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.section-kicker { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin: 64px 0 6px; }
.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.spont-banner { margin-top: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--bar); color: var(--on-bar); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; position: relative; overflow: hidden; }
.spont-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 10px; background: var(--wave) repeat-x; opacity: .5; }
.spont-banner .kicker { color: var(--accent-light); }
.spont-banner h2 { margin: 0 0 4px; font-family: var(--display); font-size: 26px; font-weight: 700; }
.spont-banner p { margin: 0; color: var(--on-bar-muted); font-size: 14.5px; }

/* event rows */
.day { margin: 30px 0 0; }
.day-h { margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--line-strong); font-family: var(--display); font-size: 21px; font-weight: 700; }
.day-h small { font-family: "DM Sans", system-ui, sans-serif; color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 8px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.row-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 4px 6px 4px 0; }
.row-main:hover .row-title { color: var(--accent); }
.thumb { flex: none; width: 52px; height: 52px; border-radius: 4px; background: var(--panel-2); overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-text { min-width: 0; display: flex; flex-direction: column; }
.row-title { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub .city-tag { margin-left: 8px; font-size: 12.5px; }
.row-price { color: var(--muted); font-size: 13px; white-space: nowrap; }
.more-link { display: inline-block; margin: 8px 0 0; color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.show-more { display: flex; margin: 30px auto 0; }

/* events page */
.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; padding-top: 30px; }
.sidebar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px 14px; align-self: start; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; box-shadow: var(--shadow); }
.sidebar summary { display: none; }
.side-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 18px 0 6px; }
.side-h:first-of-type { margin-top: 10px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 4px; text-decoration: none; color: var(--ink); font-size: 14.5px; }
.side-list a:hover { background: var(--bg); }
.side-list a[aria-current="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.side-list a[aria-current="true"] .n { color: var(--bg); opacity: .65; }
.side-list .n { margin-left: auto; color: var(--dim); font-size: 13px; }
.side-list .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--dim); flex: none; }
.side-list a[aria-current="true"] .dot { background: var(--accent-dark); }
.side-list .dot.jc { background: var(--jc); } .side-list .dot.hob { background: var(--hob); } .side-list .dot.bay { background: var(--bay); } .side-list .dot.free { background: var(--free); }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.results-head h1 { font-size: clamp(32px, 4.6vw, 50px); }
.results-head .count { color: var(--muted); font-size: 14px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 18px 0 4px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--panel); padding: 3px; }
.seg a { text-decoration: none; padding: 6px 12px; border-radius: 3px; font-size: 14px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.seg a[aria-current="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.active-filters a { font-size: 13px; text-decoration: none; padding: 5px 10px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-light); border: 1px solid rgba(212, 106, 78, .35); }
.active-filters a::after { content: " ✕"; }
.grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card .media { aspect-ratio: 16/9; background: var(--panel-2); position: relative; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.card .media .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-style: italic; font-size: 30px; color: #33476a; background: var(--wave) repeat-x center 75%, var(--panel-2); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.card .cat { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--accent); text-transform: uppercase; padding-right: 76px; min-height: 16px; }
.card .ttl { font-weight: 700; font-size: 16px; line-height: 1.3; }
.card .meta { color: var(--muted); font-size: 13.5px; }
.card .acts { position: absolute; right: 8px; display: flex; z-index: 2; }

/* venues */
.venue-tools { display: flex; gap: 10px; align-items: center; margin: 6px 0 14px; }
.venue-tools .field { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 14px; color: var(--muted); }
.venue-tools .field input { background: none; border: 0; outline: none; color: var(--ink); font: inherit; padding: 11px 0; width: 100%; }
.venue-tools .field:focus-within { border-color: var(--ink); }
.venue-tools select { font: inherit; background: var(--panel); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 4px; padding: 10px 12px; }
.filter-row { display: flex; align-items: center; gap: 14px; margin: 8px 0; }
.filter-row .lbl { flex: 0 0 90px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.filter-row .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 2px; }
.filter-row .chip { font-size: 13px; padding: 5px 12px; }
.venue-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.venue-list li { border-bottom: 1px solid var(--line-strong); }
.venue-list a { display: flex; justify-content: space-between; gap: 16px; text-decoration: none; padding: 14px 4px; }
.venue-list a:hover strong { color: var(--accent); }
.venue-list strong { font-family: var(--display); font-size: 19px; font-weight: 700; display: block; }
.venue-list .vmeta { color: var(--muted); font-size: 14px; }
.venue-list .vcount { color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 14px; }

/* surprise me & detail */
.narrow { max-width: 680px; margin: 0 auto; }
.spont-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 24px; box-shadow: var(--shadow-hover); position: relative; }
.spont-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--wave) repeat-x; }
.spont-card .top { display: flex; justify-content: space-between; margin-top: 6px; }
.spont-card h2 { font-family: var(--display); font-size: 30px; line-height: 1.1; margin: 10px 0 8px; }
.spont-card .meta { color: var(--muted); }
.spont-actions { display: flex; gap: 10px; margin-top: 20px; align-items: center; }
.spont-actions .icon-btn { width: 44px; height: 44px; border: 1px solid var(--line-strong); }
.another { width: 100%; margin-top: 12px; justify-content: center; background: transparent; }
.detail { padding-top: 26px; }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--accent); }
.detail-hero { margin: 18px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--panel-2); box-shadow: var(--shadow); }
.detail-hero img { width: 100%; max-height: 380px; object-fit: cover; }
.detail h1 { font-family: var(--display); font-size: clamp(32px, 4.6vw, 50px); margin: 10px 0 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin: 24px 0; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.fact { padding: 14px 18px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fact .v { margin-top: 4px; font-weight: 500; }
.fact .v a { color: var(--accent); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-desc { color: #c8cfdb; white-space: pre-line; margin: 28px 0 0; font-size: 16.5px; line-height: 1.7; max-width: 760px; }
.source-note { color: var(--dim); font-size: 13px; margin-top: 18px; font-style: italic; }

/* footer & toast */
.footer { background: var(--bar); color: var(--on-bar-muted); margin-top: 90px; padding: 48px 0 64px; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; background: var(--wave) repeat-x; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer h4 { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--on-bar); margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.footer a { color: var(--on-bar-muted); text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--accent-light); }
.footer p { color: var(--on-bar-muted); font-size: 13.5px; margin: 0 0 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 4px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: var(--shadow-hover); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .topsearch { display: none; }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .topbar-inner { gap: 14px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 16px; }
  .sidebar { position: static; max-height: none; padding: 0 14px; }
  .sidebar summary { display: block; cursor: pointer; padding: 12px 0; font-weight: 600; }
  .sidebar[open] { padding-bottom: 12px; }
  .cities { grid-template-columns: 1fr; }
  .shelf-next { display: none; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .logo { font-size: 19px; }
  .hero { padding: 40px 0 22px; }
  .guides { grid-template-columns: 1fr; }
  .row-price, .row .icon-btn[data-act="cal"] { display: none; }
  .row-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .thumb { width: 44px; height: 44px; }
  .filter-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .filter-row .lbl { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .toast, .card, .city-card { transition: none; } .card:hover, .city-card:hover { transform: none; } }
