/* maquette: the page around the map. Light type, hairlines, one accent. */
:root {
  --mq-ink: #1d1d1f; --mq-muted: #6c6c70; --mq-faint: #9a9a9f; --mq-line: rgba(29, 29, 31, 0.09);
  --mq-paper: #fbfaf8; --mq-paper-2: #f4f2ee; --mq-accent: #2f6df0; --mq-accent-ink: #f7f9ff;
  --mq-shadow: 0 1px 2px rgba(20, 20, 20, 0.05), 0 10px 30px rgba(20, 20, 20, 0.08);
  --mq-halo: rgba(251, 250, 247, 0.92);
  --mq-plate: rgba(22, 22, 25, 0.84); --mq-plate-solid: #18181b; --mq-plate-soft: rgba(22, 22, 25, 0.56);
  --mq-plate-ink: #fff; --mq-plate-muted: rgba(255, 255, 255, 0.64); --mq-water-ink: #d4e9f3;
  --mq-font: "Inter Tight", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mq-local: "Noto Sans Bengali", "Inter Tight", ui-sans-serif, system-ui, sans-serif;
}
.mq-root[data-night="1"] {
  --mq-ink: #ecebe7; --mq-muted: #a6a7ad; --mq-faint: #7c7e86; --mq-line: rgba(236, 235, 231, 0.12);
  --mq-paper: #17191f; --mq-paper-2: #1f2229; --mq-halo: rgba(14, 16, 22, 0.88);
  --mq-plate: rgba(16, 17, 21, 0.86); --mq-plate-soft: rgba(16, 17, 21, 0.6);
  --mq-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #f2eee6; }
.mq-root { position: fixed; inset: 0; font-family: var(--mq-font); color: var(--mq-ink); font-weight: 300; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; background: #eef0ee; }
.mq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.mq-i { display: block; flex: none; }
[lang="as"] { font-family: var(--mq-local); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--mq-accent); outline-offset: 2px; }

/* ---------- labels on the map ----------
   No text shadows and no halos: names sit on small solid plates, which read the same on the
   photo-real city, the white model and the night. Water keeps its italic, straight on the water. */
.mq-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mq-labels.mq-hidden { visibility: hidden; }
.mq-label { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.28s ease; will-change: transform, opacity; white-space: nowrap; }
.mq-label.mq-on { opacity: 1; }
.mq-label-in { display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); }
.mq-label-text { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.mq-name, .mq-local { display: block; }
/* places: an ink plate on a fine stem, over a ringed dot on the ground */
.mq-l-place .mq-label-in, .mq-l-poi .mq-label-in { flex-direction: column-reverse; }
.mq-l-place .mq-label-text { padding: 4px 8px 5px; border-radius: 7px; background: var(--mq-plate); color: var(--mq-plate-ink); transition: background-color 0.2s ease; }
.mq-l-place .mq-name { font-size: 12.5px; font-weight: 500; letter-spacing: -0.003em; }
.mq-l-place .mq-local { font-size: 10.5px; font-weight: 400; color: var(--mq-plate-muted); margin-top: 1px; }
.mq-dot { position: relative; flex: none; width: 8px; height: 8px; margin: 9px 0 -4px; border-radius: 50%; background: #fff; border: 2px solid var(--mq-plate-solid); }
.mq-dot::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 2px); width: 1.5px; height: 9px; transform: translateX(-50%); background: var(--mq-plate-solid); }
.mq-l-place.mq-clickable { pointer-events: auto; cursor: pointer; }
.mq-l-place.mq-clickable:not(.mq-on) { pointer-events: none; }
.mq-l-place:is(.mq-active, :hover) .mq-label-text { background: var(--mq-accent); color: #fff; }
.mq-l-place:is(.mq-active, :hover) .mq-local { color: rgba(255, 255, 255, 0.78); }
.mq-l-place:is(.mq-active, :hover) .mq-dot { border-color: var(--mq-accent); }
.mq-l-place:is(.mq-active, :hover) .mq-dot::before { background: var(--mq-accent); }
/* areas: smaller, quieter plates in capitals */
.mq-l-area .mq-label-in { transform: translate(-50%, -50%); }
.mq-l-area .mq-label-text { padding: 2px 6px 3px; border-radius: 5px; background: var(--mq-plate-soft); }
.mq-l-area .mq-name { font-size: 10px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.95); }
.mq-l-area.mq-l-big .mq-name { font-size: 11.5px; letter-spacing: 0.09em; }
.mq-l-area.mq-l-small .mq-name { font-size: 9.5px; }
.mq-l-area .mq-local { display: none; }
/* water: pale blue italic on a quiet plate */
.mq-l-water .mq-label-in { transform: translate(-50%, -50%); }
.mq-l-water .mq-label-text { padding: 2px 8px 3px; border-radius: 6px; background: var(--mq-plate-soft); }
.mq-l-water .mq-name { font-size: 14px; font-style: italic; font-weight: 500; color: var(--mq-water-ink); letter-spacing: 0.03em; }
.mq-l-water .mq-local { font-size: 11px; font-weight: 400; color: var(--mq-water-ink); opacity: 0.8; margin-top: 1px; }
.mq-l-island .mq-name { font-size: 11px; }
/* the named things close up: a small plate, no local line */
.mq-l-poi .mq-label-text { padding: 2px 6px 3px; border-radius: 5px; background: var(--mq-plate); }
.mq-l-poi .mq-name { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.94); }
.mq-l-poi .mq-local { display: none; }
.mq-l-poi .mq-dot { width: 6px; height: 6px; margin: 6px 0 -3px; border-width: 1.5px; }
.mq-l-poi .mq-dot::before { height: 6px; }
.mq-l-poi.mq-clickable.mq-on { pointer-events: auto; cursor: pointer; }
.mq-l-poi.mq-clickable:hover .mq-label-text { background: var(--mq-accent); }

/* ---------- the left column ---------- */
.mq-ui { position: absolute; inset: 0; pointer-events: none; }
.mq-ui > * { pointer-events: auto; }
.mq-left { position: absolute; left: 20px; top: 20px; width: 348px; display: flex; flex-direction: column; gap: 12px; pointer-events: none; max-height: calc(100% - 120px); }
.mq-left > * { pointer-events: auto; }
.mq-head { display: flex; flex-direction: column; gap: 12px; padding: 14px 12px 12px; border-radius: 14px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); }
.mq-brand { pointer-events: none !important; padding: 0 4px; }
.mq-left:has(.mq-panel:not([hidden])) .mq-sub { display: none; }
.mq-title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; display: flex; align-items: baseline; gap: 9px; }
.mq-title-local { font-size: 16px; font-weight: 400; color: var(--mq-muted); letter-spacing: 0; }
.mq-sub { margin: 5px 0 0; font-size: 12.5px; color: var(--mq-muted); line-height: 1.45; max-width: 310px; }
.mq-head .mq-field { height: 40px; background: var(--mq-paper-2); border-color: transparent; box-shadow: none; }
.mq-head .mq-field:focus-within { border-color: color-mix(in srgb, var(--mq-accent) 45%, transparent); background: var(--mq-paper); }
.mq-search { position: relative; }
.mq-field { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); color: var(--mq-muted); }
.mq-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 400; color: var(--mq-ink); }
.mq-field input::placeholder { color: var(--mq-faint); font-weight: 300; }
.mq-field input::-webkit-search-cancel-button { display: none; }
.mq-field kbd { font: 500 11px/1 var(--mq-font); color: var(--mq-faint); border: 1px solid var(--mq-line); border-radius: 5px; padding: 3px 6px; }
.mq-results { position: absolute; left: 0; right: 0; top: 48px; z-index: 5; padding: 6px; border-radius: 12px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); }
.mq-result { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px; }
.mq-result.mq-sel, .mq-result:hover { background: var(--mq-paper-2); }
.mq-r-name { font-size: 13.5px; font-weight: 400; }
.mq-r-alt { font-size: 12px; color: var(--mq-muted); margin-left: 4px; }
.mq-r-sub { font-size: 11.5px; color: var(--mq-faint); }
.mq-empty { margin: 8px 10px; font-size: 13px; color: var(--mq-muted); }
.mq-explore { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 10px; border-radius: 8px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); font-size: 13px; font-weight: 500; color: var(--mq-ink); }
.mq-explore:hover { border-color: color-mix(in srgb, var(--mq-ink) 22%, transparent); }

/* ---------- the panel ---------- */
.mq-panel { border-radius: 12px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); padding: 14px 18px 18px; overflow-y: auto; scrollbar-width: none; animation: mq-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); min-height: 0; }
.mq-panel::-webkit-scrollbar { display: none; }
.mq-panel.mq-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 30px), transparent); mask-image: linear-gradient(#000 calc(100% - 30px), transparent); }
/* a minimised card keeps its head and its title; a click on the title opens it again */
.mq-panel.mq-min { padding-bottom: 12px; overflow: hidden; }
.mq-panel.mq-min > :not(.mq-card-head, .mq-card-title) { display: none; }
.mq-panel.mq-min .mq-card-head { margin-bottom: 2px; }
.mq-panel.mq-min .mq-card-title { font-size: 16px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-panel.mq-list.mq-min { padding-bottom: 8px; }
@keyframes mq-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mq-card-head { display: flex; align-items: center; gap: 6px; margin: -4px -6px 8px -6px; }
.mq-card-head .mq-cap { flex: 1; padding-left: 6px; }
.mq-cap { font-size: 11.5px; font-weight: 400; color: var(--mq-faint); margin: 0; }
.mq-icon-btn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--mq-muted); }
.mq-icon-btn:hover { background: var(--mq-paper-2); color: var(--mq-ink); }
.mq-card-title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.mq-card-local { margin: 4px 0 0; font-size: 15px; font-weight: 400; color: var(--mq-muted); line-height: 1.4; }
.mq-card-text { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--mq-ink); }
.mq-card-text.mq-small { font-size: 13px; color: var(--mq-muted); }
.mq-facts { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--mq-line); }
.mq-facts li { padding: 10px 0; border-bottom: 1px solid var(--mq-line); font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 3px; }
.mq-facts a { font-size: 11.5px; color: var(--mq-faint); text-decoration: none; }
.mq-facts a:hover { color: var(--mq-accent); }
.mq-meta { margin: 12px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--mq-faint); font-variant-numeric: tabular-nums; }
.mq-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.mq-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--mq-line); font-size: 13px; font-weight: 500; text-decoration: none; color: var(--mq-ink); background: transparent; }
.mq-btn:hover { background: var(--mq-paper-2); }
.mq-btn.mq-on { color: var(--mq-accent); border-color: color-mix(in srgb, var(--mq-accent) 40%, transparent); }
.mq-primary { margin-top: 14px; height: 38px; padding: 0 16px; border-radius: 8px; background: var(--mq-accent); color: var(--mq-accent-ink); font-size: 13.5px; font-weight: 500; }
.mq-primary:hover { filter: brightness(1.06); }
.mq-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 0; border-top: 1px solid var(--mq-line); border-bottom: 1px solid var(--mq-line); }
.mq-stats div { padding: 10px 0; }
.mq-stats div + div { padding-left: 12px; border-left: 1px solid var(--mq-line); }
.mq-stats dt { font-size: 11px; color: var(--mq-faint); }
.mq-stats dd { margin: 3px 0 0; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mq-group { padding: 4px 0 8px; }
.mq-group + .mq-group { border-top: 1px solid var(--mq-line); padding-top: 10px; }
.mq-group .mq-cap { margin: 2px 0 4px; }
.mq-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 6px 8px; margin: 0 -8px; width: calc(100% + 16px); border-radius: 8px; font-size: 13.5px; font-weight: 400; }
.mq-item:hover { background: var(--mq-paper-2); }
.mq-item-local { font-size: 12px; color: var(--mq-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }

/* ---------- time of day ---------- */
.mq-time { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 14px; border-radius: 12px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); }
.mq-time-icon { color: var(--mq-muted); display: grid; place-items: center; }
.mq-time-label { min-width: 86px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mq-range { -webkit-appearance: none; appearance: none; width: clamp(150px, 16vw, 260px); height: 26px; background: transparent; cursor: pointer; margin: 0; }
.mq-range::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--mq-line) 0 var(--rise, 25%), color-mix(in srgb, #e8b04a 55%, var(--mq-line)) var(--rise, 25%) var(--set, 75%), var(--mq-line) var(--set, 75%)); }
.mq-range::-moz-range-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--mq-line) 0 var(--rise, 25%), color-mix(in srgb, #e8b04a 55%, var(--mq-line)) var(--rise, 25%) var(--set, 75%), var(--mq-line) var(--set, 75%)); }
.mq-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; background: var(--mq-paper); border: 1.5px solid var(--mq-ink); }
.mq-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--mq-paper); border: 1.5px solid var(--mq-ink); }
.mq-chip-btn { height: 30px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--mq-muted); }
.mq-chip-btn:hover { background: var(--mq-paper-2); color: var(--mq-ink); }
.mq-live.mq-on { color: var(--mq-accent); }
.mq-live.mq-on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; animation: mq-pulse 2.4s ease-in-out infinite; }
@keyframes mq-pulse { 50% { opacity: 0.35; } }

/* ---------- seat picker ---------- */
.mq-seat { position: absolute; z-index: 6; top: 16px; right: 16px; bottom: 16px; width: 440px; max-width: calc(100% - 32px); display: flex; flex-direction: column; border-radius: 14px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); overflow: hidden; animation: mq-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mq-seat-grab { display: none; }
.mq-seat-head { display: flex; align-items: center; gap: 6px; padding: 14px 12px 12px 18px; border-bottom: 1px solid var(--mq-line); }
.mq-seat-head .mq-icon-btn:first-child { margin-left: -10px; }
.mq-seat-title { flex: 1; min-width: 0; }
.mq-seat-title h2 { margin: 2px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; outline: 0; }
.mq-seat-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 18px 14px; scrollbar-width: thin; }
.mq-seat-lead { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--mq-muted); }
.mq-seat-hint { font-size: 12px; color: var(--mq-faint); }
.mq-seat-fine { margin: 14px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--mq-faint); }
.mq-seat-fine a { color: inherit; }
.mq-seat-foot { border-top: 1px solid var(--mq-line); padding: 10px 16px 12px; background: var(--mq-paper); }
.mq-seat-note { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: var(--mq-faint); }
.mq-seat-say { min-height: 0; font-size: 12px; color: var(--mq-accent); }
.mq-seat-say:not(:empty) { margin-bottom: 6px; }
/* the plan */
.mq-plan-wrap { border-radius: 10px; background: var(--mq-paper-2); padding: 6px; }
.mq-plan { display: block; width: 100%; height: auto; font-family: var(--mq-font); }
.mq-p-plinth { fill: color-mix(in srgb, var(--mq-ink) 5%, transparent); stroke: none; }
.mq-p-wall { fill: var(--mq-paper); stroke: color-mix(in srgb, var(--mq-ink) 28%, transparent); stroke-width: 0.6; }
.mq-p-field { fill: #4e8f55; }
.mq-p-rope { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 0.7; }
.mq-p-circle { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 0.5; stroke-dasharray: 2 2; }
.mq-p-pitch { fill: #c7b88c; }
.mq-p-conc-line { fill: none; stroke: color-mix(in srgb, var(--mq-ink) 18%, transparent); stroke-width: 0.4; }
.mq-p-block { cursor: pointer; outline: none; }
.mq-p-b { stroke: var(--mq-paper); stroke-width: 0.9; stroke-linejoin: round; transition: opacity 0.15s, stroke 0.15s; }
.mq-p-block.mq-few .mq-p-b { stroke: #e0a73a; stroke-width: 1.5; }
.mq-p-block.mq-closed { cursor: not-allowed; }
.mq-p-block.mq-closed .mq-p-b { fill: var(--mq-paper-2); stroke: color-mix(in srgb, var(--mq-ink) 15%, transparent); stroke-dasharray: 1.5 1.5; stroke-width: 0.6; }
.mq-p-block.mq-sold .mq-p-b { stroke: color-mix(in srgb, var(--mq-ink) 25%, transparent); stroke-width: 0.6; }
.mq-p-block:hover .mq-p-b, .mq-p-block.mq-hot .mq-p-b, .mq-p-block:focus-visible .mq-p-b { stroke: var(--mq-ink); stroke-width: 1.8; }
.mq-p-n { font-size: 6.2px; font-weight: 500; text-anchor: middle; dominant-baseline: central; fill: #fff; pointer-events: none; }
.mq-p-block.mq-sold .mq-p-n, .mq-p-block.mq-closed .mq-p-n { fill: var(--mq-faint); }
.mq-p-tag { font-size: 5.4px; font-weight: 500; letter-spacing: 0.12em; fill: var(--mq-faint); pointer-events: none; }
.mq-seat-hover { margin: 10px 0 0; min-height: 40px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--mq-muted); }
.mq-seat-hover b { font-size: 13.5px; font-weight: 500; color: var(--mq-ink); }
.mq-seat-hover em { font-style: normal; font-size: 11px; font-weight: 500; margin-left: 6px; padding: 2px 7px; border-radius: 99px; color: #fff; background: var(--tier); }
.mq-legend { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--mq-line); }
.mq-legend li { display: grid; grid-template-columns: 14px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--mq-line); font-size: 13px; }
.mq-legend i { width: 12px; height: 12px; border-radius: 3px; }
.mq-legend b { font-weight: 500; font-variant-numeric: tabular-nums; }
.mq-legend em { font-style: normal; min-width: 68px; text-align: right; font-size: 12px; color: var(--mq-faint); font-variant-numeric: tabular-nums; }
.mq-key { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; font-size: 12px; color: var(--mq-muted); }
.mq-key li { display: flex; align-items: center; gap: 7px; }
.mq-key i { width: 12px; height: 12px; border-radius: 3px; display: block; }
.mq-k-few { border: 1.5px solid #e0a73a; }
.mq-k-sold { background: repeating-linear-gradient(45deg, var(--mq-paper-2) 0 2px, color-mix(in srgb, var(--mq-ink) 22%, transparent) 2px 3px); }
.mq-k-closed { border: 1px dashed color-mix(in srgb, var(--mq-ink) 30%, transparent); }
/* the seat grid */
.mq-block-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mq-block-head b { font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; }
.mq-block-head .mq-seat-hint { margin-left: auto; }
.mq-tier { font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 99px; color: #fff; background: var(--tier); }
.mq-field-bar { position: relative; height: 26px; margin: 0 22px 8px; color: var(--mq-faint); }
.mq-field-bar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mq-field-bar path { fill: none; stroke: color-mix(in srgb, var(--mq-ink) 30%, transparent); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.mq-field-bar span { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font-size: 11px; }
.mq-grid-scroll { container-type: inline-size; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mq-grid { --cell: clamp(8px, calc((100cqw - 62px) / var(--cols) - 2px), 20px); --gap: 2px; display: flex; flex-direction: column; gap: 4px; width: max-content; min-width: 100%; }
.mq-grid.mq-big { --cell: 17px; --gap: 3px; }
.mq-row { display: flex; align-items: center; gap: 8px; }
.mq-rl { width: 12px; text-align: center; font-size: 11px; color: var(--mq-faint); font-variant-numeric: tabular-nums; flex: none; }
.mq-cells { display: flex; align-items: center; gap: var(--gap); margin: 0 auto; }
.mq-aisle { width: 10px; flex: none; }
.mq-s { position: relative; width: var(--cell); height: calc(var(--cell) * 1.3); flex: none; padding: 0; border-radius: 3px 3px 2px 2px; border: 1.5px solid var(--tier, var(--mq-accent)); background: transparent; transition: background 0.12s, transform 0.12s; }
.mq-s:hover:not([aria-disabled="true"]) { background: color-mix(in srgb, var(--mq-accent) 25%, transparent); border-color: var(--mq-accent); }
.mq-s.mq-sold { border-color: transparent; background: color-mix(in srgb, var(--mq-ink) 13%, transparent); cursor: not-allowed; }
.mq-s.mq-wc { border-style: dashed; border-color: #3aa3cc; }
.mq-s.mq-wc::after { content: ""; position: absolute; inset: 1px; background: #3aa3cc; mask: radial-gradient(circle at 50% 36%, #000 0 1.3px, transparent 1.6px), linear-gradient(#000, #000) 50% 78% / 55% 1.4px no-repeat; -webkit-mask: radial-gradient(circle at 50% 36%, #000 0 1.3px, transparent 1.6px), linear-gradient(#000, #000) 50% 78% / 55% 1.4px no-repeat; }
.mq-s.mq-on { background: var(--mq-accent); border-color: var(--mq-accent); }
.mq-s.mq-on::after { content: ""; position: absolute; left: 50%; top: 44%; width: 28%; height: 50%; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translate(-50%, -50%) rotate(45deg); background: none; mask: none; -webkit-mask: none; inset: auto; }
.mq-s:focus-visible { outline: 2px solid var(--mq-accent); outline-offset: 1px; z-index: 1; }
.mq-cn { display: flex; justify-content: center; width: var(--cell); flex: none; font-size: 9.5px; line-height: 1; color: var(--mq-faint); font-variant-numeric: tabular-nums; }
.mq-row.mq-head { margin-bottom: 1px; }
.mq-grid.mq-big .mq-s::before { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font-size: 8px; color: var(--mq-muted); font-variant-numeric: tabular-nums; }
.mq-grid.mq-big .mq-s.mq-on::before { color: #fff; }
.mq-grid.mq-big .mq-s.mq-sold::before { color: transparent; }
.mq-grid.mq-big .mq-s.mq-on::after { display: none; }
.mq-grid-tools { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.mq-grid-tools .mq-btn { height: 30px; font-size: 12.5px; }
.mq-ks { border: 1.5px solid var(--tier); background: transparent; }
.mq-ks-sold { border-color: transparent !important; background: color-mix(in srgb, var(--mq-ink) 13%, transparent) !important; }
.mq-ks-on { border-color: var(--mq-accent) !important; background: var(--mq-accent) !important; }
.mq-ks-wc { border: 1.5px dashed #3aa3cc !important; }
/* the summary */
.mq-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; max-height: 60px; overflow-y: auto; }
.mq-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; background: color-mix(in srgb, var(--mq-accent) 12%, transparent); color: var(--mq-accent); }
.mq-chip span { font-size: 14px; line-height: 1; opacity: 0.7; }
.mq-chip:hover span { opacity: 1; }
.mq-sum-row { display: flex; align-items: center; gap: 8px; }
.mq-sum-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mq-sum-t b { font-size: 15px; font-weight: 500; }
.mq-sum-t span { font-size: 12.5px; color: var(--mq-muted); font-variant-numeric: tabular-nums; }
.mq-sum-row .mq-primary { margin: 0; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.1; padding: 0 14px; }
.mq-sum-row .mq-primary small { font-size: 10.5px; opacity: 0.8; font-weight: 400; font-variant-numeric: tabular-nums; }
.mq-sum-row .mq-primary.mq-wide { flex: 1; flex-direction: row; }
.mq-sum-row .mq-btn { height: 40px; }
.mq-seat-step { display: flex; gap: 8px; margin: 10px 0 8px; }
.mq-seat-step .mq-btn { flex: 1; justify-content: center; height: 38px; }
.mq-seat-nav .mq-btn { display: none; }
.mq-seat-tag { position: absolute; z-index: 5; left: 0; right: 0; margin-inline: auto; width: max-content; bottom: 22px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 99px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); color: var(--mq-ink); font-size: 12.5px; font-weight: 500; animation: mq-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mq-seat-tag button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: inherit; }
.mq-seat-tag button:hover { background: var(--mq-paper-2); }
.mq-seat-tag-t { padding: 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mq-seat[data-view="seat"] { bottom: auto; }
.mq-seat[data-view="seat"] .mq-seat-body { flex: none; }
.mq-seat.mq-low :is(.mq-seat-body, .mq-seat-foot) { display: none; }
.mq-seat.mq-low .mq-seat-head { border-bottom: 0; }
@media (min-width: 721px) { .mq-seat.mq-low { bottom: auto; } }
/* a window too narrow for the left column and the seat panel side by side gives the stadium to the panel */
@media (min-width: 721px) and (max-width: 880px) { .mq-venue-on .mq-left { opacity: 0; visibility: hidden; } }
.mq-venue-on .mq-time { opacity: 0; pointer-events: none; }
.mq-tools { transition: right 0.3s ease; }
.mq-venue-on .mq-tools { right: 468px; }
.mq-venue-on:has(.mq-seat:is([data-view="seat"], .mq-low)) .mq-tools { right: 20px; }
/* short screens: the seat panel drops its explanations and the tools their last group, so both fit one above the other */
@media (max-height: 760px) { .mq-seat[data-view="seat"] :is(.mq-seat-lead, .mq-seat-hint) { display: none; } }
@media (max-height: 660px) { .mq-venue-on :is(.mq-tool[data-tour], .mq-tool[data-share], .mq-tool[data-capture], .mq-tool[data-help], .mq-tool-gap) { display: none; } }
.mq-venue-on .mq-foot { display: none; }
/* in the stadium the map's own title line steps back, and in the view from a seat the whole left column does */
.mq-venue-on .mq-sub { display: none; }
.mq-left { transition: opacity 0.3s ease, visibility 0.3s; }
.mq-venue-on:has(.mq-seat[data-view="seat"]) .mq-left { opacity: 0; visibility: hidden; }
.mq-time { transition: opacity 0.3s ease; }

/* ---------- tools ---------- */
.mq-tools { position: absolute; right: 20px; bottom: 22px; display: flex; flex-direction: column; padding: 4px; border-radius: 12px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); }
.mq-tool { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--mq-ink); }
.mq-tool:hover { background: var(--mq-paper-2); }
.mq-tool.mq-on { color: var(--mq-accent); }
.mq-tool-gap { height: 1px; margin: 4px 6px; background: var(--mq-line); }
.mq-compass svg { transition: transform 0.12s linear; }
.mq-needle-n { fill: #d9483b; }
.mq-needle-s { fill: var(--mq-faint); }

/* ---------- foot ---------- */
.mq-foot { position: absolute; left: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 5px; pointer-events: none !important; font-size: 11px; color: var(--mq-muted); max-width: calc(50% - var(--mq-time-half, 250px) - 44px); padding: 7px 10px 8px; border-radius: 9px; background: color-mix(in srgb, var(--mq-paper) 80%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--mq-line); }
.mq-foot:has(.mq-readout:empty) .mq-readout { display: none; }
.mq-foot a, .mq-foot button { pointer-events: auto; text-decoration: none; }
.mq-credit-more { margin-left: 8px; font-size: 11px; color: inherit; text-decoration: underline dotted; text-underline-offset: 2px; }
.mq-credit-rest { display: none; }
.mq-credits.mq-open .mq-credit-rest { display: inline; }
@media (min-width: 1560px) { .mq-credit-rest { display: inline; } .mq-credit-more { display: none; } }
.mq-foot a:hover { color: var(--mq-ink); }
.mq-readout { font-variant-numeric: tabular-nums; min-height: 14px; letter-spacing: 0.01em; white-space: pre; }
.mq-scale { display: flex; align-items: center; gap: 8px; }
.mq-scale-bar { height: 5px; border: 1px solid var(--mq-muted); border-top: 0; }
.mq-credits { color: var(--mq-faint); line-height: 1.4; }
.mq-credit-note { cursor: help; text-decoration: underline dotted; text-underline-offset: 2px; }

/* ---------- tip, toast, help ---------- */
.mq-tip { position: absolute; left: 0; top: 0; pointer-events: none !important; display: flex; gap: 8px; align-items: baseline; padding: 6px 9px; border-radius: 8px; background: rgba(29, 29, 31, 0.9); color: #f2f1ee; font-size: 12px; white-space: nowrap; }
.mq-tip b { font-weight: 500; }
.mq-tip span { color: #b9b8b4; }
.mq-toast { position: absolute; left: 50%; bottom: 84px; transform: translate(-50%, 8px); opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none !important; padding: 8px 14px; border-radius: 8px; background: rgba(29, 29, 31, 0.9); color: #f2f1ee; font-size: 12.5px; }
.mq-toast.mq-on { opacity: 1; transform: translate(-50%, 0); }
.mq-help { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 20, 22, 0.18); }
.mq-help[hidden] { display: none; }
.mq-help-card { width: min(420px, calc(100% - 32px)); padding: 14px 18px 12px; border-radius: 12px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); }
.mq-keys { margin: 0; }
.mq-keys div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--mq-line); font-size: 13px; }
.mq-keys dt { font-weight: 500; }
.mq-keys dd { margin: 0; color: var(--mq-muted); }

/* ---------- loader ---------- */
.mq-loader { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: #f3f1ec; transition: opacity 0.9s ease 0.2s; }
.mq-loader.mq-done { opacity: 0; pointer-events: none; }
.mq-loader-in { width: min(320px, 80vw); text-align: center; }
.mq-loader h1 { margin: 0; font-size: 34px; font-weight: 500; letter-spacing: -0.02em; color: #1d1d1f; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mq-loader h1 span { font-family: var(--mq-local); font-size: 18px; font-weight: 400; letter-spacing: 0; color: #6c6c70; }
.mq-bar { margin: 26px auto 0; height: 2px; background: rgba(29, 29, 31, 0.1); border-radius: 2px; overflow: hidden; }
.mq-bar i { display: block; height: 100%; width: 0; background: #1d1d1f; transition: width 0.4s ease; }
.mq-status { margin: 10px 0 0; font-family: var(--mq-font); font-size: 12px; color: #9a9a9f; }
.mq-error { color: #b3261e !important; }
/* with a poster: the picture of the opening view fills the screen and a small card counts the load */
.mq-loader.mq-poster { background: #e9e7e1 center / cover no-repeat; place-items: end center; }
.mq-poster .mq-loader-in { width: min(300px, calc(100% - 32px)); margin-bottom: 22px; padding: 12px 14px 11px; border-radius: 12px; text-align: left; background: #fbfaf8; border: 1px solid rgba(29, 29, 31, 0.09); box-shadow: 0 1px 2px rgba(20, 20, 20, 0.05), 0 10px 30px rgba(20, 20, 20, 0.12); }
.mq-poster h1 { flex-direction: row; align-items: baseline; gap: 8px; font-size: 16px; letter-spacing: -0.01em; }
.mq-poster h1 span { font-size: 13px; }
.mq-poster .mq-bar { margin: 10px 0 0; }
.mq-poster .mq-status { margin-top: 7px; font-size: 11.5px; color: #8a8a8f; }
.mq-ui { transition: opacity 0.8s ease; }
.mq-root.mq-intro .mq-ui, .mq-root.mq-intro .mq-labels { opacity: 0; pointer-events: none; }

/* ---------- phones ---------- */
@media (max-width: 720px) {
  .mq-left { left: 12px; right: 12px; top: 12px; width: auto; max-height: none; gap: 10px; }
  .mq-head { padding: 10px 10px 10px; gap: 8px; border-radius: 12px; }
  .mq-title { font-size: 18px; }
  .mq-title-local { font-size: 14px; }
  .mq-sub { display: none; }
  .mq-panel { position: fixed; left: 0; right: 0; bottom: 0; max-height: 58vh; border-radius: 14px 14px 0 0; padding: 12px 18px calc(18px + env(safe-area-inset-bottom)); z-index: 4; }
  .mq-time { left: 12px; right: 64px; transform: none; bottom: calc(14px + env(safe-area-inset-bottom)); gap: 8px; padding: 0 6px 0 10px; }
  .mq-range { width: auto; flex: 1; min-width: 60px; }
  .mq-time-label { min-width: 0; font-size: 12px; }
  .mq-chip-btn { padding: 0 6px; }
  .mq-tools { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  /* a minimised card is a slim bar along the bottom: the time bar and the tools sit just above it */
  .mq-ui:has(.mq-panel.mq-min:not([hidden])) :is(.mq-time, .mq-tools) { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .mq-tool { width: 36px; height: 36px; }
  .mq-tool[data-capture], .mq-tool[data-help], .mq-tool[data-share] { display: none; }
  .mq-foot { display: none; }
  .mq-venue-on .mq-tools, .mq-venue-on .mq-left { display: none; }
  .mq-seat { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 62vh; border-radius: 16px 16px 0 0; border-bottom: 0; z-index: 6; padding-bottom: env(safe-area-inset-bottom); }
  .mq-seat-grab { display: block; width: 100%; height: 18px; position: relative; }
  .mq-seat-grab i { position: absolute; left: 50%; top: 8px; width: 36px; height: 4px; border-radius: 2px; transform: translateX(-50%); background: color-mix(in srgb, var(--mq-ink) 18%, transparent); }
  .mq-seat-head { padding-top: 2px; }
  .mq-seat.mq-low .mq-seat-body { display: none; }
  .mq-seat[data-view="seat"] { top: auto; bottom: 0; }
  .mq-seat[data-view="seat"] .mq-seat-body { display: none; }
  .mq-seat-body { padding: 12px 14px; }
  .mq-seat-lead { display: none; }
  .mq-seat-note { display: none; }
  .mq-seat-hover { min-height: 36px; margin-top: 6px; }
  .mq-seat-nav .mq-btn { display: inline-flex; flex: 0 0 auto; padding: 0 10px; }
  .mq-seat-nav .mq-primary { flex: 1; }
  .mq-seat-tag { left: 50%; right: auto; margin-inline: 0; transform: translateX(-50%); bottom: auto; top: calc(12px + env(safe-area-inset-top)); max-width: calc(100% - 24px); animation: none; }
  .mq-legend li { padding: 6px 0; }
  .mq-plan-wrap { padding: 2px; }
  .mq-s { width: 13px; height: 13px; }
  .mq-grid { --cell: 13px; }
  .mq-grid.mq-big { --cell: 20px; }
  .mq-l-place .mq-name { font-size: 12px; }
  .mq-l-place .mq-local { display: none; }
  .mq-l-place.mq-active .mq-local { display: block; }
  .mq-tool[data-in], .mq-tool[data-out] { display: none; }
  .mq-ui, .mq-ui * { touch-action: manipulation; }
  .mq-explore { height: 32px; }
}

/* ---------- the embed's poster: shown until the visitor asks for the map ---------- */
.mq-facade { position: fixed; inset: 0; z-index: 30; background: #e9e7e1 center / cover no-repeat; font-family: var(--mq-font); color: var(--mq-ink); cursor: pointer; transition: opacity 0.6s ease; -webkit-tap-highlight-color: transparent; }
.mq-facade.mq-gone { opacity: 0; pointer-events: none; }
.mq-facade-head { position: absolute; left: 14px; top: 14px; display: flex; align-items: baseline; gap: 8px; padding: 8px 12px 9px; border-radius: 10px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); font-size: 15px; }
.mq-facade-head b { font-weight: 500; letter-spacing: -0.01em; }
.mq-facade-head span { font-size: 13px; color: var(--mq-muted); font-family: var(--mq-local); }
.mq-facade-go { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 15px; border-radius: 12px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); font-size: 14px; font-weight: 500; color: var(--mq-ink); white-space: nowrap; transition: transform 0.2s ease, background-color 0.2s ease; }
.mq-facade:hover .mq-facade-go:not(:disabled) { background: var(--mq-ink); color: var(--mq-paper); }
.mq-facade-go:disabled { cursor: progress; }
.mq-facade.mq-going .mq-facade-go span::after { content: ""; display: inline-block; width: 22px; margin-left: 10px; height: 2px; vertical-align: middle; border-radius: 2px; background: linear-gradient(90deg, currentColor 0 40%, transparent 40%) 0 0 / 200% 100%; animation: mq-load 0.9s linear infinite; }
@keyframes mq-load { to { background-position: -100% 0; } }
.mq-facade-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 10px 16px; border-radius: 10px; background: var(--mq-plate); color: #fff; font-size: 14px; font-weight: 500; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; white-space: nowrap; }
.mq-facade.mq-hinting .mq-facade-hint { opacity: 1; }
.mq-facade-credit { position: absolute; right: 10px; bottom: 8px; margin: 0; max-width: calc(100% - 20px); padding: 3px 7px; border-radius: 6px; background: color-mix(in srgb, var(--mq-paper) 82%, transparent); font-size: 10.5px; color: var(--mq-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-facade-credit a { color: inherit; text-decoration: none; }
@media (max-width: 560px) { .mq-facade-go { bottom: 34px; } .mq-facade-credit { left: 10px; right: 10px; text-align: center; } }
.mq-fail { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 40; max-width: 420px; margin: 0; padding: 14px 18px; border-radius: 12px; background: #fbfaf8; font: 14px/1.5 system-ui, sans-serif; color: #6c6c70; text-align: center; }

/* ---------- inside another page ---------- */
.mq-embed .mq-sub { display: none; }
.mq-coop { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none !important; opacity: 0; transition: opacity 0.3s ease; background: rgba(18, 18, 20, 0.28); }
.mq-coop.mq-on { opacity: 1; }
.mq-coop span { padding: 10px 16px; border-radius: 10px; background: var(--mq-plate); color: #fff; font-size: 14px; font-weight: 500; }
.mq-share-menu { position: absolute; right: calc(100% + 8px); display: flex; flex-direction: column; gap: 2px; padding: 4px; min-width: 176px; border-radius: 10px; background: var(--mq-paper); border: 1px solid var(--mq-line); box-shadow: var(--mq-shadow); }
.mq-share-menu button { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 400; text-align: left; white-space: nowrap; }
.mq-share-menu button:hover { background: var(--mq-paper-2); }

@media (prefers-reduced-motion: reduce) { .mq-ui *, .mq-label { transition: none !important; animation: none !important; } }
