/* Booking-appen: kun hold, køb, profil og studie */

html, body { height: 100%; }
body { overscroll-behavior-y: none; }
.app { max-width: 560px; margin: 0 auto; min-height: 100%; padding: calc(env(safe-area-inset-top) + 8px) 20px calc(110px + env(safe-area-inset-bottom)); }

.a-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.a-top .brand { display: flex; align-items: center; gap: 10px; color: var(--clay); }
.a-top .lotus { width: 34px; }
.a-top .wordmark { width: 118px; }
.a-top .icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.a-top .icon-btn:active { background: var(--shade); }
.theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }

.hello { margin: 18px 0 4px; font: 300 44px/1 var(--serif); letter-spacing: -.02em; font-variation-settings: 'SOFT' 80, 'opsz' 144; }
.hello em { color: var(--clay); }
.sub { margin: 0; color: var(--ink-2); font-size: 15px; }

.view { display: none; animation: vin .45s var(--ease); }
.view.on { display: block; }
@keyframes vin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Næste hold, stort */
.spot { margin: 26px 0 8px; padding: 22px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.spot .eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.spot .t { font: 300 54px/1 var(--serif); font-variant-numeric: lining-nums; }
.spot .n { font-weight: 600; font-size: 17px; }
.spot .m { font-size: 14px; color: var(--ink-2); }
.spot .btn { grid-row: 2 / span 2; grid-column: 2; }

/* Dage */
.a-days { display: flex; gap: 8px; overflow-x: auto; margin: 22px -20px 0; padding: 4px 20px 6px; scroll-padding-inline: 20px; scrollbar-width: none; scroll-snap-type: x proximity; }
.a-days::-webkit-scrollbar { display: none; }
.a-day { flex: none; width: 58px; padding: 10px 0 12px; border-radius: 18px; text-align: center; color: var(--muted); scroll-snap-align: start; transition: background-color .25s, color .25s, box-shadow .25s; }
.a-day b { display: block; margin-top: 2px; font: 400 24px/1 var(--serif); font-variant-numeric: lining-nums; color: inherit; }
.a-day[aria-selected="true"] { box-shadow: var(--sh-sm); }
.a-day small { font-size: 12px; font-weight: 600; }
.a-day .d { display: block; width: 4px; height: 4px; margin: 6px auto 0; border-radius: 50%; background: transparent; }
.a-day.has .d { background: var(--clay); }
.a-day[aria-selected="true"] { background: var(--ink); color: var(--on-ink); }
.a-day[aria-selected="true"] .d { background: var(--on-ink); }

.a-chips { display: flex; gap: 6px; overflow-x: auto; margin: 16px -20px 0; padding: 0 20px; scrollbar-width: none; }
.a-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; }

.a-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.a-cls { display: grid; grid-template-columns: 62px 1fr auto; gap: 4px 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); animation: vin .4s var(--ease) both; }
.a-cls time { font: 400 22px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.a-cls time small { display: block; margin-top: 5px; font: 500 12px var(--sans); color: var(--muted); }
.a-cls h4 { margin: 0; font: 600 16px/1.3 var(--sans); display: flex; align-items: center; gap: 8px; }
.a-cls h4 .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.a-cls .meta { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.a-cls .meta.low { color: var(--warn); }
.a-cls .ticks { margin-top: 8px; }
.a-cls .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.a-cls.full .btn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.a-empty { padding: 48px 0; text-align: center; color: var(--muted); font: 300 24px/1.3 var(--serif); }

/* Køb */
.grp { margin-top: 30px; }
.grp h3 { margin: 0 0 4px; font: 300 32px/1 var(--serif); }
.grp p { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.p-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.p-row:last-child { border-bottom: 1px solid var(--line); }
.p-row b { font-weight: 600; }
.p-row small { display: block; font-size: 13px; color: var(--ink-2); }
.p-row .amt { font: 400 22px/1 var(--serif); text-align: right; font-variant-numeric: lining-nums; }
.p-row .amt small { font: 500 12px var(--sans); color: var(--muted); }
.p-row .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.secure { display: flex; gap: 10px; margin-top: 26px; font-size: 13px; color: var(--ink-2); }
.secure svg { color: var(--ok); flex: none; }

/* Profil + studie: store rækker */
.rows { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.rows a { display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows a:active { background: var(--shade); }
.rows .ri { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--clay); }
.rows b { font-weight: 600; display: block; }
.rows small { font-size: 13px; color: var(--ink-2); }
.rows .go { color: var(--muted); }
.studio-pic { margin-top: 24px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; box-shadow: var(--sh-lg); }
/* Beskær mod huset, så kranerne i himlen fylder mindre */
.studio-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }

.install { display: none; margin-top: 28px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); gap: 14px; align-items: center; }
.install.on { display: flex; }
.install .btn { margin-left: auto; height: 40px; padding: 0 16px; font-size: 14px; }

.ver { margin-top: 40px; text-align: center; font-size: 12px; color: var(--muted); }
.ver a { border-bottom: 1px solid var(--line-strong); }

/* Bundmenu */
.tabbar { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20; width: min(520px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 999px; background: var(--ink); color: var(--on-ink); box-shadow: 0 14px 40px rgba(0, 0, 0, .25); }
.tabbar button { height: 54px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: color-mix(in srgb, var(--on-ink) 65%, transparent); transition: background-color .25s, color .25s; }
.tabbar button svg { width: 21px; height: 21px; }
.tabbar button[aria-selected="true"] { background: color-mix(in srgb, var(--on-ink) 14%, transparent); color: var(--on-ink); }
