/* Topcamp Bogstad – plasskart (Vixon Kart) */
:root {
  --green: #115740;
  --green-2: #0d4231;
  --leaf: #4c9d2f;
  --orange: #ff6900;
  --cream: #f9f4ea;
  --sand: #f4ead7;
  --paper: #ffffff;
  --ink: #2e2e2e;
  --muted: #6b6d68;
  --line: rgba(17, 87, 64, 0.12);
  --shadow: 0 14px 40px rgba(13, 40, 30, 0.2);
  --radius: 18px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --topbar: 68px;
  --panel-w: 372px;
}
* { box-sizing: border-box; }
html, body { height: 100%; height: var(--app-h, 100dvh); margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.kart-page { font-family: var(--font); color: var(--ink); background: var(--green-2); overflow: hidden; overscroll-behavior: none; -webkit-font-smoothing: antialiased; touch-action: manipulation; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }

/* ── topbar */
.topbar { position: fixed; inset: 0 0 auto 0; height: var(--topbar); z-index: 40; display: flex; align-items: center; gap: 28px; padding: var(--safe-t) max(24px, var(--safe-r)) 0 max(24px, var(--safe-l)); background: var(--cream); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand__mark { height: 34px; width: auto; display: block; }
.brand__text { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.brand__text strong { font-weight: 700; }
.topbar__nav { display: flex; gap: 4px; }
.topbar__nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--green); padding: 8px 14px; border-radius: 999px; transition: 0.2s; }
.topbar__nav a:hover { background: rgba(17, 87, 64, 0.08); }
.topbar__nav a.is-current { background: var(--green); color: #fff; }
.topbar__phone { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--green); text-decoration: none; }
.topbar__book { text-decoration: none; font-size: 14px; font-weight: 600; color: #fff; background: var(--orange); padding: 10px 20px; border-radius: 999px; box-shadow: 0 6px 16px rgba(255, 105, 0, 0.3); transition: 0.2s; }
.topbar__book:hover { transform: translateY(-1px); background: #f25f00; }

/* ── kart */
.kart { position: fixed; inset: var(--topbar) 0 0 0; background: #cfe0e6; }
.kart__scene { position: absolute; inset: 0; }
.kart__scene canvas { display: block; touch-action: none; cursor: grab; }
.kart__scene canvas.is-hot { cursor: pointer; }
.kart__scene canvas.is-drag { cursor: grabbing; }
.labels { position: absolute; inset: 0; z-index: 5; isolation: isolate; pointer-events: none; overflow: hidden; }
.labels > div { pointer-events: none; }

.kart__loading { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 40%, #16664b 0%, var(--green) 45%, var(--green-2) 100%); color: #fff; transition: opacity 0.9s ease; }
.kart__loading.is-done { opacity: 0; pointer-events: none; }
.kart__loading-inner { text-align: center; display: grid; gap: 22px; justify-items: center; }
.loading__mark { height: 64px; width: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3)); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05); } }
.kart__loading-inner p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.02em; min-height: 1.4em; }
.kart__loading-bar { width: 220px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.kart__loading-bar span { display: block; height: 100%; width: 0; background: var(--leaf); border-radius: 4px; transition: width 0.4s ease; }

/* ── dock */
.dock { position: absolute; left: 20px; bottom: 34px; z-index: 12; display: flex; align-items: center; gap: 4px; padding: 5px; background: rgba(13, 66, 49, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; box-shadow: var(--shadow); transition: opacity 0.3s; }
.dock__sep { width: 1px; height: 28px; margin: 0 6px; background: rgba(255, 255, 255, 0.16); }
.tools { display: flex; gap: 2px; }
.tool { position: relative; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, 0.82); display: grid; place-items: center; cursor: pointer; transition: 0.2s; }
.tool:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tool.is-on { background: rgba(255, 255, 255, 0.18); color: #fff; }
.tool[data-label]::after, .mode[data-label]::after { content: attr(data-label); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--green-2); color: #fff; white-space: nowrap; opacity: 0; pointer-events: none; transition: 0.15s; }
.tool:hover::after, .mode:hover::after { opacity: 1; }

.seg { display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, 0.08); }
.seg__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, 0.82); font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.15s; white-space: nowrap; }
.seg__btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.seg__btn[aria-pressed="true"] { background: #fff; color: var(--green); }
.seg--light { margin: 0 22px 10px; background: var(--cream); border: 1px solid var(--line); }
.seg--light .seg__btn { color: var(--green); font-size: 12.5px; padding: 0 6px; }
.seg--light .seg__btn:hover { background: rgba(17, 87, 64, 0.06); color: var(--green); }
.seg--light .seg__btn[aria-pressed="true"] { background: var(--green); color: #fff; }

/* ── panel */
.panel { position: absolute; top: 20px; right: 20px; bottom: 78px; width: var(--panel-w); z-index: 15; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s; }
.kart--panel-hidden .panel { transform: translateX(calc(100% + 40px)); opacity: 0; pointer-events: none; }
.panel__handle { display: none; }
.panel__header { padding: 22px 22px 10px; background: linear-gradient(180deg, var(--cream), #fff); }
.panel__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf); }
.panel__title { margin: 4px 0 4px; font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--green); letter-spacing: -0.01em; }
.panel__title em { font-style: normal; color: var(--leaf); }
.panel__lead { margin: 0; font-size: 13px; color: var(--muted); }
.dates { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; padding: 6px 22px 10px; }
.dates__field { display: grid; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.dates__field input { height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 8px; font: inherit; font-size: 13px; color: var(--green); background: var(--cream); outline: none; text-transform: none; letter-spacing: 0; min-width: 0; }
.dates__field input:focus { border-color: var(--leaf); background: #fff; }
.dates__nights { font-size: 12px; font-weight: 600; color: var(--green); padding: 0 2px 10px; white-space: nowrap; }
.panel__search { position: relative; margin: 0 22px 10px; }
.panel__search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.panel__search input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px 0 38px; font: inherit; font-size: 14px; background: var(--cream); outline: none; transition: 0.2s; -webkit-appearance: none; appearance: none; }
.panel__search input:focus { border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 3px rgba(76, 157, 47, 0.16); }
.panel__filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 22px 12px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 500; color: var(--green); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: 0.15s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #999); }
.chip:hover { border-color: rgba(17, 87, 64, 0.35); }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.chip[aria-pressed="true"] i { box-shadow: 0 0 0 2px #fff; }
.panel__scroll { flex: 1; overflow-y: auto; padding: 4px 12px 14px; border-top: 1px solid var(--line); }
.group { padding: 8px 6px 2px; }
.group__title { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 6px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.group__title small { font-weight: 600; letter-spacing: 0.02em; text-transform: none; font-size: 11.5px; color: var(--leaf); }
.trow { width: 100%; display: grid; grid-template-columns: 14px 1fr auto; grid-template-areas: 'dot name free' 'dot meta free'; column-gap: 12px; align-items: center; text-align: left; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; transition: 0.15s; }
.trow:hover { background: var(--cream); }
.trow.is-open { background: var(--cream); }
.trow i { grid-area: dot; width: 14px; height: 14px; border-radius: 4px; background: var(--c, #999); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.trow i.is-round { border-radius: 50%; }
.trow__name { grid-area: name; font-size: 14px; font-weight: 600; color: var(--ink); }
.trow__meta { grid-area: meta; font-size: 12px; color: var(--muted); }
.trow__free { grid-area: free; font-size: 11.5px; font-weight: 700; color: var(--leaf); background: rgba(76, 157, 47, 0.1); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.trow__free.is-none { color: var(--muted); background: rgba(0, 0, 0, 0.05); }
.nums { display: flex; flex-wrap: wrap; gap: 5px; padding: 4px 10px 12px 36px; }
.num { min-width: 40px; height: 30px; padding: 0 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--green); cursor: pointer; transition: 0.12s; }
.num:hover { border-color: var(--green); }
.num.is-busy { color: #a3a6a1; background: #f4f4f2; text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.2); }
.num.is-free { border-color: rgba(76, 157, 47, 0.5); }
.num.is-active { background: var(--green); color: #fff; border-color: var(--green); text-decoration: none; }
.frow { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; text-align: left; transition: 0.15s; }
.frow:hover { background: var(--cream); }
.frow__ico { width: 30px; height: 30px; border-radius: 9px; background: var(--green); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.frow__name { font-size: 14px; font-weight: 600; }
.frow__meta { font-size: 12px; color: var(--muted); }
.panel__empty { padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.panel__demo { margin: 6px 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--sand); color: #6a5a3a; font-size: 12px; line-height: 1.45; }
.panel__footer { display: flex; justify-content: space-between; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); background: var(--cream); }
.panel__footer a { color: var(--green); font-weight: 600; text-decoration: none; }
.panel-collapse { position: absolute; top: 32px; right: calc(var(--panel-w) + 32px); z-index: 16; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; color: var(--green); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; transition: 0.35s; }
.kart--panel-hidden .panel-collapse { right: 20px; transform: rotate(180deg); }

/* ── etiketter */
.lbl-wrap { pointer-events: none; }
.lbl-wrap > .lbl { animation: lblIn 0.45s ease backwards; }
@keyframes lblIn { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: translateY(-4px); } }
.lbl { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--green); font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 3px 12px rgba(10, 40, 25, 0.22); transform: translateY(-4px); cursor: pointer; transition: opacity 0.25s, transform 0.15s, background 0.15s; user-select: none; }
.lbl:hover { transform: translateY(-6px) scale(1.04); background: #fff; }
.lbl__ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; flex-shrink: 0; }
.lbl__ico svg { width: 14px; height: 14px; }
.lbl--service .lbl__ico { background: #f2c230; color: var(--green-2); font-weight: 800; font-size: 12px; }
.lbl.is-far { padding: 3px; }
.lbl.is-far .lbl__text { display: none; }
.lbl--place { background: transparent; box-shadow: none; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.35); cursor: default; padding: 0; }
.lbl--place:hover { transform: translateY(-4px); background: transparent; }
.lbl--place.is-big { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.lbl--water { color: #e8f4f8; font-style: italic; font-weight: 500; font-size: 16px; letter-spacing: 0.08em; }
.lbl--cabin { gap: 5px; padding: 2px 8px 2px 3px; font-size: 11px; font-weight: 700; color: var(--ink); }
.lbl--cabin b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: var(--c); color: #fff; font-size: 10.5px; }
.lbl--cabin { padding: 3px; }
.lbl--cabin .lbl__text { display: none; }
.lbl--cabin:hover, .lbl--cabin.is-active { padding: 2px 8px 2px 3px; z-index: 2; }
.lbl--cabin:hover .lbl__text, .lbl--cabin.is-active .lbl__text { display: inline; }
.lbl.is-dim { opacity: 0.25; }
.lbl.is-active { background: var(--green); color: #fff; }

/* ── hint / tooltip / credit */
.hint { position: absolute; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 11; display: flex; gap: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(13, 66, 49, 0.78); color: rgba(255, 255, 255, 0.86); font-size: 12px; pointer-events: none; animation: fadeHint 1s 9s forwards; white-space: nowrap; }
@keyframes fadeHint { to { opacity: 0; } }
.hint__item--mobile { display: none; }
.tooltip { position: fixed; z-index: 50; display: none; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 12px; background: var(--green-2); color: #fff; font-size: 13px; pointer-events: none; box-shadow: var(--shadow); }
.tooltip.is-visible { display: flex; }
.tooltip span { font-size: 11.5px; opacity: 0.75; }
.tooltip .is-free { color: #9fe07f; opacity: 1; font-weight: 600; }
.corner { position: absolute; right: 20px; bottom: 26px; z-index: 11; display: flex; align-items: center; gap: 10px; }
.modes { display: flex; gap: 8px; }
.mode { position: relative; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--green); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: 0.2s; }
.mode:hover { background: #fff; transform: translateY(-1px); }
.mode.is-on { background: var(--green); color: #fff; }
.credit { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--ink); font-size: 12px; text-decoration: none; box-shadow: var(--shadow); }
.credit__mark { width: 24px; height: 24px; border-radius: 50%; background: #1d1b1e; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.credit__pre { color: var(--muted); }
.attrib { position: absolute; left: 22px; bottom: 8px; margin: 0; z-index: 11; font-size: 10.5px; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.attrib a { text-decoration: none; }
.attrib a:hover { text-decoration: underline; }

.scene-pop { position: absolute; right: 20px; bottom: 74px; z-index: 12; display: grid; gap: 12px; min-width: 260px; padding: 12px; border-radius: 14px; background: rgba(13, 66, 49, 0.95); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); animation: popIn 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); transform-origin: bottom right; }
@keyframes popIn { from { opacity: 0; transform: translateY(6px) scale(0.97); } }
.scene-pop[hidden] { display: none; }
.scene-pop__group { display: grid; gap: 6px; }
.scene-pop__label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); font-weight: 600; }

/* omvisning */
.tour-caption { position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 12px); z-index: 13; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; opacity: 0; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; text-align: center; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.6); }
.tour-caption.is-visible { opacity: 1; transform: translate(-50%, 0); }
.tour-caption small { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #bfe6a8; font-weight: 600; }
.tour-caption span { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.kart--tour .panel, .kart--tour .hint, .kart--tour .dock, .kart--tour .panel-collapse { opacity: 0; pointer-events: none; }
.kart--tour .panel { transform: translateX(40px); }

/* ── infokort */
.modal { position: fixed; inset: var(--topbar) 0 0 0; z-index: 60; display: grid; place-items: center start; padding: 20px 20px 20px 24px; pointer-events: none; opacity: 0; transition: opacity 0.25s; }
.modal.is-open { opacity: 1; }
.modal__container { position: relative; width: min(400px, 100%); max-height: calc(var(--app-h, 100dvh) - var(--topbar) - 120px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32); transform: translateX(-24px); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: auto; }
.modal:not(.is-open) .modal__container { pointer-events: none; }
.modal.is-open .modal__container { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.2); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.modal__close:hover { background: rgba(255, 255, 255, 0.32); }
.modal__header { display: flex; gap: 16px; align-items: center; padding: 24px 24px 20px; background: var(--green); color: #fff; position: relative; overflow: hidden; }
.modal__header::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 120px; border-radius: 60px; background: rgba(255, 255, 255, 0.06); transform: rotate(-30deg); }
.modal__badge { min-width: 64px; height: 64px; padding: 0 10px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; font-weight: 800; background: var(--c, var(--leaf)); color: #fff; flex-shrink: 0; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25); }
.modal__badge.is-light { color: var(--ink); }
.modal__badge svg { width: 30px; height: 30px; }
.modal__kicker { margin: 0 0 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.modal__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; }
.modal__body { padding: 18px 22px 22px; display: grid; gap: 12px; }
.status { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); flex-shrink: 0; }
.status--free { background: rgba(76, 157, 47, 0.1); color: #3b7d22; }
.status--busy { background: #f4f2ee; color: #8a7f6c; }
.status small { margin-left: auto; font-weight: 500; font-size: 11.5px; opacity: 0.8; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); font-size: 13px; }
.feat svg { color: var(--green); flex-shrink: 0; }
.feat.is-off { color: #9a9a94; }
.feat.is-off svg { color: #b9b9b2; }
.feat strong { display: block; font-size: 13px; }
.feat small { display: block; font-size: 11px; color: var(--muted); }
.modal__desc { margin: 0; font-size: 14px; line-height: 1.55; color: #4a4a46; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: 999px; border: 0; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: 0.15s; }
.btn--book { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(255, 105, 0, 0.28); }
.btn--book:hover { background: #f25f00; transform: translateY(-1px); }
.btn--ghost { background: var(--cream); color: var(--green); }
.btn--ghost:hover { background: var(--sand); }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modal__note { margin: 0; font-size: 11.5px; color: var(--muted); text-align: center; }

/* ── fallback */
.kart__fallback { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: var(--green); color: #fff; padding: 20px; }
.kart__fallback[hidden] { display: none; }
.kart__fallback-inner { text-align: center; max-width: 420px; }

/* ── mobil */
@media (max-width: 900px) {
  :root { --topbar: calc(58px + var(--safe-t)); --panel-w: 100%; --sheet: 82px; }
  .topbar { gap: 12px; padding: var(--safe-t) max(14px, var(--safe-r)) 0 max(14px, var(--safe-l)); }
  .topbar__nav, .topbar__phone { display: none; }
  .topbar__book { margin-left: auto; padding: 8px 16px; }
  .brand__mark { height: 28px; }
  .brand__text { font-size: 16px; }
  .dock { left: max(12px, var(--safe-l)); right: max(12px, var(--safe-r)); bottom: calc(var(--sheet) + var(--safe-b) + 10px); justify-content: space-between; }
  .tools .tool:nth-child(n+3) { display: none; }
  .hint { bottom: calc(var(--sheet) + var(--safe-b) + 72px); }
  .hint__item--desktop { display: none; }
  .hint__item--mobile { display: inline; }
  .panel-collapse, .credit, .attrib { display: none; }
  .corner { right: max(12px, var(--safe-r)); bottom: calc(var(--sheet) + var(--safe-b) + 70px); }
  .scene-pop { right: 12px; left: 12px; bottom: calc(var(--sheet) + var(--safe-b) + 116px); min-width: 0; }
  .kart:has(.panel.is-open) .dock, .kart:has(.panel.is-open) .hint, .kart:has(.panel.is-open) .corner { opacity: 0; pointer-events: none; }
  .panel { top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: calc(var(--sheet) + var(--safe-b)); padding-bottom: var(--safe-b); border-radius: 22px 22px 0 0; transition: height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .kart--panel-hidden .panel { transform: none; opacity: 1; pointer-events: auto; }
  .panel.is-open { height: min(78dvh, calc(var(--app-h, 100dvh) - var(--topbar) - 8px)); }
  .panel__handle { display: block; height: 24px; border: 0; background: transparent; cursor: grab; flex-shrink: 0; }
  .panel__handle span { display: block; width: 44px; height: 4px; border-radius: 2px; background: rgba(17, 87, 64, 0.25); margin: 0 auto; }
  .panel__header { display: none; }
  .panel__search { margin: 0 16px 10px; order: -1; flex-shrink: 0; }
  .panel__search input { height: 46px; font-size: 16px; }
  .panel__handle { order: -2; }
  .dates, .seg--light { margin-left: 16px; margin-right: 16px; }
  .dates { padding: 0 0 10px; }
  .panel__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 16px 12px; }
  .panel__footer { display: none; }
  .modal { place-items: end center; padding: 12px 12px max(12px, var(--safe-b)); }
  .modal__container { width: 100%; max-height: min(72dvh, calc(var(--app-h, 100dvh) - var(--topbar) - 24px)); transform: translateY(24px); }
  .tour-caption { bottom: calc(var(--sheet) + var(--safe-b) + 80px); }
  .tour-caption span { font-size: 22px; }
}
html[data-quality="lite"] .dock, html[data-quality="lite"] .scene-pop { backdrop-filter: none; -webkit-backdrop-filter: none; }
