/* Palette: white, Bengali red, ink, soft cream, muted gold. Phone: full-screen map, floating search pill, bottom-sheet list. Desktop: list left, map right. Posters only, always credited to their organisers. */
:root {
  --white: #FFFFFF;
  --red: #C62835;
  --red-deep: #A51F2B;
  --ink: #222222;
  --cream: #F7F1E8;
  --gold: #C7A15A;
  --mute: #6B6459;
  --line: #E8E1D5;
  --f-display: "Tiro Bangla", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bar-h: 58px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 2px 12px rgba(34, 34, 34, .2);
}
@media (min-width: 960px) { :root { --bar-h: 76px; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

#app { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; }

/* Header */
#brandbar { flex: none; height: var(--bar-h); background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 0 14px; z-index: 25; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand-w { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-t { font-family: var(--f-display); font-size: 18px; white-space: nowrap; }
.brand-s { display: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }

/* Search pill */
#searchPill { color: var(--ink); position: absolute; top: calc(var(--bar-h) + 12px); left: 12px; right: 12px; z-index: 22; height: 54px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; padding: 0 7px 0 20px; text-align: left; }
.pill-txt { flex: 1; min-width: 0; }
.pill-t1 { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-t2 { display: block; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.pill-go svg { width: 18px; height: 18px; }

/* Split */
#split { flex: 1; min-height: 0; position: relative; }
#mapPane { position: absolute; inset: 0; background: #F2EEE6; }
#map { position: absolute; inset: 0; }
.maplibregl-ctrl-attrib { font-family: var(--f-body); }
#mapNote { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 12px; font-size: 12px; color: var(--mute); z-index: 3; white-space: nowrap; }
#locate { position: absolute; right: 12px; top: 84px; z-index: 20; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; }
#locate svg { width: 20px; height: 20px; }

/* Pins */
.mk { z-index: 1; }
.mk.sel { z-index: 6; }
.pin { display: block; height: 30px; padding: 0 12px; border-radius: 15px; font-size: 13px; font-weight: 600; line-height: 26px; white-space: nowrap; box-shadow: 0 1px 5px rgba(34, 34, 34, .4); transition: transform .12s; }
.pin.ok { background: var(--red); color: #fff; border: 2px solid #fff; }
.pin.soft { background: #fff; color: var(--red); border: 1.5px solid var(--red); line-height: 27px; }
.pin:hover, .pin.hov { transform: scale(1.1); }
.mk.sel .pin { background: var(--ink); color: #fff; border: 2px solid #fff; transform: scale(1.14); }
.clu { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; border: 3px solid #fff; box-shadow: var(--shadow); outline: 2px dotted var(--gold); outline-offset: 3px; }
.you { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(34, 34, 34, .2); }
.area-dot { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; box-shadow: 0 0 0 5px rgba(34, 34, 34, .15); }

/* Peek card and pick list */
#peek, #pick { position: absolute; left: 12px; right: 12px; bottom: calc(14px + var(--safe-b)); z-index: 41; background: #fff; border-radius: 18px; box-shadow: 0 6px 28px rgba(34, 34, 34, .35); overflow: hidden; }
.peek-in { display: flex; gap: 12px; align-items: stretch; padding: 10px; text-align: left; width: 100%; border: 0; background: none; }
.peek-cov { flex: none; width: 92px; border-radius: 12px; overflow: hidden; }
.peek-cov .cover { height: 100%; min-height: 92px; aspect-ratio: auto; }
.peek-txt { flex: 1; min-width: 0; padding: 2px 28px 2px 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.peek-txt h3 { font-size: 15.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sub { font-size: 13.5px; color: var(--mute); }
.x-btn { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 4px rgba(34, 34, 34, .3); display: grid; place-items: center; z-index: 2; }
.x-btn svg { width: 14px; height: 14px; }
#pick { padding: 14px 14px 8px; }
#pick h3 { font-size: 14px; margin-bottom: 6px; padding-right: 36px; }
.pick-row { display: flex; width: 100%; justify-content: space-between; gap: 10px; text-align: left; padding: 10px 4px; border: 0; border-top: 1px solid var(--line); background: none; font-weight: 600; }
.pick-row span { font-weight: 400; color: var(--mute); font-size: 13px; }

/* Subtle "missing" pill over the map (phone only) */
#mapmiss { position: absolute; left: 50%; bottom: calc(80px + var(--safe-b)); transform: translateX(-50%); z-index: 39; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 16px; padding: 5px 13px; font-size: 12.5px; color: var(--mute); white-space: nowrap; box-shadow: 0 1px 6px rgba(34, 34, 34, .15); }
#mapmiss b { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#app.peeking #mapmiss, #app.list-open #mapmiss { display: none; }

/* List */
#listPane { position: absolute; left: 0; right: 0; bottom: 0; height: 84%; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 30px rgba(34, 34, 34, .28); transform: translateY(103%); transition: transform .28s ease; z-index: 30; display: flex; flex-direction: column; }
#app.list-open #listPane { transform: none; }
.sheet-handle { flex: none; padding: 10px 0 2px; display: grid; place-items: center; border: 0; background: none; width: 100%; }
.sheet-handle i { width: 40px; height: 4px; border-radius: 2px; background: var(--line); }
.list-head { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 18px 12px; }
.list-head h2 { font-size: 15px; font-weight: 600; }
.mini { display: flex; gap: 4px; background: var(--cream); border-radius: 16px; padding: 3px; }
.mini button { border: 0; background: none; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.mini button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(34, 34, 34, .2); font-weight: 600; }
#cards { flex: 1; overflow: auto; padding: 4px 16px calc(96px + var(--safe-b)); display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-content: start; overscroll-behavior: contain; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 10px; color: var(--mute); display: grid; gap: 12px; justify-items: center; }
.more { grid-column: 1 / -1; justify-self: center; }
#toggle { position: absolute; left: 50%; bottom: calc(22px + var(--safe-b)); transform: translateX(-50%); z-index: 40; height: 46px; padding: 0 22px; border: 0; border-radius: 23px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 4px 16px rgba(34, 34, 34, .4); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
#toggle svg { width: 16px; height: 16px; }
#app.peeking #toggle { display: none; }
.endsec { grid-column: 1 / -1; background: var(--cream); border-radius: 18px; padding: 22px 18px; text-align: center; display: grid; gap: 6px; justify-items: center; }
.endsec b { font-size: 16px; }
.endsec span { font-size: 14px; color: var(--mute); }
.endsec .btn { margin-top: 8px; }
.endd { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1.5px solid var(--ink); background: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn svg { width: 20px; height: 20px; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.em { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Cards (tiles) */
.card { display: block; text-decoration: none; min-width: 0; border-radius: 16px; }
.cover { position: relative; overflow: hidden; width: 100%; display: grid; place-items: center; border-radius: 16px; }
.card .cover { aspect-ratio: 4 / 3; }
.card.sel .cover { outline: 3px solid var(--red); outline-offset: 2px; }
.cover svg { width: 100%; height: 100%; transform: scale(1.16); }
.cover.pc { background: var(--cream); }
.cover.pc img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; filter: drop-shadow(0 2px 6px rgba(34, 34, 34, .25)); }
.cover.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chip.alt { background: rgba(34, 34, 34, .78); }
.chip { position: absolute; left: 9px; top: 9px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 10px; }
.card-meta { padding: 10px 2px 0; display: grid; gap: 2px; }
.card-t { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.card-t h3 { font-size: 15.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dist { flex: none; font-size: 13.5px; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 500; }
.card-meta .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Details */
#detail { position: absolute; inset: 0; z-index: 60; background: #fff; overflow: auto; overscroll-behavior: contain; animation: rise .26s ease; }
@keyframes rise { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
.d-top { position: sticky; top: 0; height: 0; z-index: 8; }
.rbtn { position: absolute; top: 12px; height: 40px; min-width: 40px; border-radius: 20px; border: 0; background: rgba(255, 255, 255, .96); box-shadow: 0 1px 6px rgba(34, 34, 34, .35); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; font-weight: 600; font-size: 14px; }
.rbtn svg { width: 18px; height: 18px; }
.rbtn.l { left: 12px; }
.rbtn.r { right: 12px; }
.rbtn .lbl { display: none; }
.backrow { display: none; }
.d-wrap { padding: 0 0 24px; max-width: 1180px; margin: 0 auto; }
.d-pad { padding: 0 18px; }
/* Gallery (phone: swipe carousel, desktop: Airbnb-style grid) */
.carwrap { position: relative; background: var(--cream); }
.car { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.car .sl.pp { padding: 0; }
.car .sl { flex: none; width: 100%; scroll-snap-align: center; position: relative; height: 420px; display: grid; place-items: center; padding: 62px 20px 74px; }
.sl.pp img { max-height: none; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; box-shadow: none; border-radius: 0; }
.sl img { max-width: 100%; max-height: 290px; border-radius: 3px; box-shadow: 0 2px 12px rgba(34, 34, 34, .28); cursor: zoom-in; }
.lbl { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 11px; padding: 6px 11px; font-size: 12.5px; box-shadow: 0 1px 5px rgba(34, 34, 34, .2); line-height: 1.3; }
.lbl b { display: block; font-size: 13px; }
.lbl span { color: var(--mute); }
.cnt { position: absolute; right: 12px; bottom: 90px; background: rgba(34, 34, 34, .78); color: #fff; font-size: 12.5px; font-weight: 600; border-radius: 12px; padding: 2px 10px; pointer-events: none; }
.gal { display: none; }
.showall { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; border: 1px solid var(--ink); border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.disc { font-size: 12.5px; color: var(--mute); margin: 10px 18px 0; }
.d-title { font-family: var(--f-display); font-weight: 400; font-size: 29px; line-height: 1.18; margin-top: 20px; text-wrap: balance; }
.d-sub { margin-top: 6px; color: var(--mute); font-size: 15px; }
.d-grid { display: grid; gap: 0; }
.d-main { min-width: 0; }
.official { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--cream); border: 1px solid var(--gold); display: grid; gap: 10px; }
.official b { display: block; font-size: 16px; }
.official span.t { display: block; font-size: 14.5px; color: var(--mute); margin-top: 2px; }
.official .btn { width: 100%; }
.hl { display: grid; gap: 12px; margin-top: 18px; grid-template-columns: minmax(0, 1fr); }
.hl > div { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.hl svg { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.hl b { display: block; font-size: 15px; color: var(--ink); }
.hl .tx { font-size: 14.5px; color: var(--mute); overflow-wrap: anywhere; }
.sec { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.sec h2 { font-family: var(--f-display); font-weight: 400; font-size: 22px; margin-bottom: 8px; }
.lead { font-size: 14px; color: var(--mute); margin-bottom: 12px; }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.t th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); background: var(--cream); padding: 10px 12px; }
.t td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.t td.d { border-left: 3px solid var(--gold); font-weight: 600; width: 112px; background: #fff; }
.t td.d small { display: block; font-weight: 400; color: var(--mute); font-size: 12.5px; }
.t td.tm { white-space: nowrap; width: 150px; }
.t tr.first td { border-top: 1px solid var(--line); }
.t .nt { color: var(--mute); }
.mapbox { height: 210px; border-radius: 16px; overflow: hidden; background: var(--cream); position: relative; }
.addr { font-size: 15.5px; margin-top: 12px; overflow-wrap: anywhere; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.eats { display: grid; gap: 10px; }
.eat { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; }
.eat b { display: block; font-size: 15px; overflow-wrap: anywhere; }
.eat small { color: var(--mute); font-size: 13px; }
.eat svg { flex: none; width: 16px; height: 16px; }
.note { font-size: 12.5px; color: var(--mute); margin-top: 10px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.verify { margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1.5px dashed var(--gold); }
.verify h2 { font-family: var(--f-display); font-weight: 400; font-size: 19px; margin-bottom: 6px; }
.verify p { font-size: 14.5px; }
.verify .links { margin-top: 12px; }
.foot { margin-top: 30px; padding: 18px; border-radius: 16px; background: var(--cream); text-align: center; font-size: 13.5px; color: var(--mute); line-height: 1.6; }
.side { display: none; }
.bbar { position: sticky; bottom: 0; z-index: 7; display: flex; gap: 12px; align-items: center; padding: 10px 16px calc(10px + var(--safe-b)); background: #fff; border-top: 1px solid var(--line); }
.bbar .btn { flex: 1; padding: 0 10px; } .bbar .btn.primary { flex: 1.5; }
.bbar .bi { flex: 1; min-width: 0; }

/* Lightbox */
#lb { position: absolute; inset: 0; z-index: 95; background: rgba(34, 34, 34, .94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 14px 18px; }
#lb img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
#lb .lc { color: #fff; text-align: center; font-size: 14px; padding-top: 12px; }
#lb .lc small { display: block; opacity: .75; font-size: 12.5px; }
#lb button { position: absolute; background: rgba(255, 255, 255, .95); border: 0; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; font-size: 20px; }
#lbx { top: 12px; right: 12px; }
#lbp { left: 10px; top: 50%; }
#lbn { right: 10px; top: 50%; }

/* Search modal */
.modal { position: absolute; inset: 0; z-index: 80; background: rgba(34, 34, 34, .5); display: grid; align-items: end; }
.modal-card { background: #fff; border-radius: 22px 22px 0 0; max-height: 94%; overflow: auto; padding: 16px 18px calc(18px + var(--safe-b)); animation: rise .24s ease; display: grid; gap: 16px; align-content: start; }
.modal-h { display: flex; align-items: center; justify-content: space-between; }
.modal-h strong { font-family: var(--f-display); font-weight: 400; font-size: 21px; }
.modal-h .x-btn { position: static; background: var(--cream); box-shadow: none; }
.field { display: grid; gap: 6px; }
.lab { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
#q { width: 100%; height: 50px; border: 1.5px solid var(--ink); border-radius: 14px; padding: 0 14px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.row-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); text-align: left; font-weight: 600; }
.row-btn svg { width: 20px; height: 20px; flex: none; }
#sugg { display: grid; max-height: 230px; overflow: auto; margin: -6px 0; }
.sg { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-size: 15px; width: 100%; }
.sg small { color: var(--mute); font-size: 13px; flex: none; }
.sg.on { font-weight: 700; color: var(--red); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg[aria-disabled="true"] button { opacity: .45; pointer-events: none; }
.hint { font-size: 13px; color: var(--mute); }
.modal-f { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.link { border: 0; background: none; text-decoration: underline; font-weight: 600; padding: 8px 0; }

#toast { position: absolute; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translateX(-50%); z-index: 99; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 14px; max-width: 88%; text-align: center; overflow-wrap: anywhere; box-shadow: var(--shadow); }

/* Desktop */
@media (min-width: 960px) {
  #brandbar { padding: 0 28px; justify-content: flex-start; gap: 24px; }
  .brand { flex: 1; }
  .brand img { height: 42px; }
  .brand-t { font-size: 22px; }
  .brand-s { display: block; }
  #searchPill { position: static; flex: none; width: min(560px, 42vw); height: 52px; }
  #brandbar::after { content: ""; flex: 1; }
  #split { display: grid; grid-template-columns: minmax(520px, 806px) 1fr; }
  #listPane { order: -1; }
  #mapPane { position: relative; inset: auto; }
  #listPane { position: static; transform: none; height: auto; border-radius: 0; box-shadow: none; background: #fff; border-right: 1px solid var(--line); min-height: 0; transition: none; }
  .sheet-handle { display: none; }
  .list-head { padding: 18px 24px 14px; }
  .list-head h2 { font-size: 17px; }
  #cards { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 24px 40px; gap: 28px 18px; }
  #toggle, #mapmiss { display: none; }
  .endsec { display: none; }
  .endd { display: block; grid-column: 1 / -1; text-align: center; font-size: 13.5px; color: var(--mute); padding: 6px 0 4px; }
  #locate { top: 14px; right: 14px; }
  #peek, #pick { left: 16px; right: auto; width: 380px; bottom: 28px; }
  .card:hover .cover { filter: brightness(1.03); }
  .card.hov .cover { outline: 3px solid var(--red); outline-offset: 2px; }
  .modal { align-items: start; justify-items: center; padding-top: 90px; }
  .modal-card { width: min(560px, 92vw); border-radius: 22px; max-height: calc(100% - 130px); }
  #toast { bottom: 30px; }
  #detail { top: var(--bar-h); }
  .d-top { display: none; }
  .backrow { display: flex; justify-content: space-between; padding: 22px 32px 16px; }
  .backrow button { border: 0; background: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
  .backrow svg { width: 18px; height: 18px; }
  .d-pad { padding: 0 32px; }
  .carwrap { display: none; }
  .gal { display: grid; gap: 8px; margin: 0 32px; border-radius: 20px; overflow: hidden; position: relative; height: 420px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .gal .sl { position: relative; overflow: hidden; background: var(--cream); display: grid; place-items: center; padding: 0; height: auto; }
  .gal .sl.big { grid-row: 1 / 3; }
  .gal.g1 { grid-template-columns: 1fr; grid-template-rows: 1fr; } .gal.g1 .sl.big { grid-row: auto; }
  .gal.g2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; } .gal.g2 .sl.big { grid-row: auto; }
  .gal.g3 { grid-template-columns: 2fr 1fr; } 
  .gal.g4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; } .gal.g4 .sl:nth-child(4) { grid-column: 2 / 4; }
  .gal .sl.pt { padding: 14px 14px 62px; }
  .gal .sl.pt img { position: absolute; left: 14px; top: 14px; width: calc(100% - 28px); height: calc(100% - 76px); max-height: none; object-fit: contain; box-shadow: none; filter: drop-shadow(0 2px 6px rgba(34, 34, 34, .3)); border-radius: 0; }
  .gal .sl.pp img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; box-shadow: none; border-radius: 0; cursor: zoom-in; }
  .gal .sl.pp .lbl { background: linear-gradient(transparent, rgba(34,34,34,.78)); color: #fff; box-shadow: none; border-radius: 0; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; }
  .gal .sl.pp .lbl span { color: rgba(255,255,255,.85); }
  .gal .sl:not(.big) .lbl b { font-size: 12.5px; } .gal .sl:not(.big) .lbl span { font-size: 11.5px; }
  .disc { margin: 10px 32px 0; }
  .d-title { font-size: 38px; margin-top: 26px; }
  .d-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
  .official { grid-template-columns: 1fr auto; align-items: center; }
  .official .btn { width: auto; }
  .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side { display: block; position: sticky; top: 24px; align-self: start; margin-top: 26px; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: #fff; box-shadow: 0 6px 24px rgba(34, 34, 34, .12); }
  .side h3 { font-family: var(--f-display); font-weight: 400; font-size: 20px; margin-bottom: 8px; }
  .side .kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
  .side .kv b { color: var(--ink); text-align: right; }
  .side .btn { width: 100%; margin-top: 14px; }
  .side .row2 { display: flex; gap: 10px; }
  .bbar { display: none; }
  #lb { padding: 56px 70px 18px; }
}
@media (max-width: 959px) { .maplibregl-ctrl-top-right, .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group { display: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.intro{flex:none;padding:0 18px 10px;font-size:13px;color:var(--mute)}
.intro h1{font-family:var(--f-body);font-size:13px;font-weight:600;color:var(--ink);display:inline}
.faq dt{font-weight:600;margin-top:14px}
.faq dd{margin:4px 0 0;color:var(--mute);font-size:14.5px}
.more-list{display:flex;flex-wrap:wrap;gap:8px}
.more-list a{border:1px solid var(--line);border-radius:18px;padding:6px 13px;font-size:14px;text-decoration:none}

/* Share page */
body.sharepage { overflow: auto; height: auto; }
.sh-wrap { max-width: 720px; margin: 0 auto; padding: 22px 18px 60px; }
.sh-wrap h1 { font-family: var(--f-display); font-size: 30px; line-height: 1.15; margin: 12px 0 8px; font-weight: 400; }
.sh-back { font-size: 14px; color: var(--mute); text-decoration: none; }
.sh-lead { color: var(--mute); margin-bottom: 22px; }
.sh-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }
.sh-grid .field input, .sh-grid .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.sh-grid .field input:focus, .sh-grid .field textarea:focus { outline: none; border-color: var(--red); }
.lab em { text-transform: none; letter-spacing: 0; font-weight: 400; }
.sh-photos { margin-bottom: 20px; }
.sh-hint { font-size: 13.5px; color: var(--mute); margin: 2px 0 10px; }
.sh-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sh-th { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--cream); }
.sh-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-th button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; line-height: 1; }
.sh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0 16px; }
.sh-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.sh-err { background: #FDECEE; color: var(--red-deep); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.sh-go { width: 100%; }
.sh-note { font-size: 13px; color: var(--mute); margin-top: 16px; }
.sh-done { padding: 30px 0; } .sh-done h2 { font-family: var(--f-display); font-size: 28px; font-weight: 400; margin-bottom: 8px; } .sh-done p { color: var(--mute); margin-bottom: 18px; }
@media (min-width: 640px) { .sh-grid { grid-template-columns: 1fr 1fr; } .sh-grid .wide { grid-column: 1 / -1; } .sh-go { width: auto; min-width: 220px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }
