/* BookAgain Pro — customer app (v3 design system) */

/* ------------------------------------------------------------------ tokens */
:root {
	--brand: #1e3a8a;
	--brand2: #22d3ee;
	--on-brand: #fff;
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
	--brand-soft: color-mix(in srgb, var(--brand) 11%, transparent);
	--brand-ink: var(--brand);
	--brand-deep: color-mix(in srgb, var(--brand) 78%, #000);
	--grad: linear-gradient(125deg, var(--brand) 0%, color-mix(in srgb, var(--brand) 55%, var(--brand2)) 70%, var(--brand2) 130%);
	--bg: #f4f4f8;
	--surface: #ffffff;
	--surface-2: #f2f2f6;
	--ink: #0d0d12;
	--ink-2: #3a3a44;
	--muted: #858591;
	--line: rgba(60, 60, 67, .13);
	--bar: rgba(255, 255, 255, .78);
	--success: #1fa463;
	--danger: #e5383b;
	--warning: #e48a07;
	--shadow: 0 1px 2px rgba(16, 16, 40, .04), 0 8px 24px rgba(16, 16, 40, .07);
	--shadow-lg: 0 2px 6px rgba(16, 16, 40, .06), 0 22px 48px rgba(16, 16, 40, .14);
	--r: 20px;
	--r-sm: 14px;
	--r-lg: 26px;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
	--appbar: calc(58px + var(--safe-top));
	--tabbar-space: calc(64px + 14px + var(--safe-bottom));
	--logo-h: 30px;
	color-scheme: light;
}
html[data-radius="soft"] { --r: 14px; --r-sm: 10px; --r-lg: 18px; }
html[data-radius="square"] { --r: 6px; --r-sm: 4px; --r-lg: 8px; }
html[data-theme="dark"] {
	--bg: #050507;
	--surface: #17171b;
	--surface-2: #232329;
	--ink: #f5f5f7;
	--ink-2: #d4d4da;
	--muted: #8f8f99;
	--line: rgba(120, 120, 130, .28);
	--bar: rgba(28, 28, 32, .78);
	/* In dark mode the accent carries the colour, so very dark brand colours still read well. */
	--brand-soft: color-mix(in srgb, var(--brand2) 20%, transparent);
	--brand-ink: color-mix(in srgb, var(--brand2) 65%, #fff);
	--shadow: none;
	--shadow-lg: 0 18px 40px rgba(0, 0, 0, .5);
	color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); overflow-x: hidden; max-width: 100vw; }
body {
	font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.4;
	-webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; overscroll-behavior: none; overflow: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
svg { display: block; flex: none; }
.app { position: fixed; inset: 0; overflow: hidden; }

@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -320px 0; } 100% { background-position: 320px 0; } }
@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18px, 14px) scale(1.08); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(16px, -10px) scale(.94); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand2) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.12); } }

/* ------------------------------------------------------------------ splash */
.splash {
	position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
	background: var(--grad); color: #fff; transition: opacity .5s ease, visibility .5s;
}
.splash__glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); animation: glow 2.4s ease-in-out infinite; }
.splash__icon { position: relative; width: 96px; height: 96px; border-radius: 24px; background: #fff; object-fit: cover; box-shadow: 0 16px 44px rgba(0,0,0,.28); animation: pop .6s cubic-bezier(.2,.9,.3,1.3) both; }
.splash__logo { position: relative; max-width: 72%; max-height: 150px; object-fit: contain; animation: pop .6s cubic-bezier(.2,.9,.3,1.3) both; filter: drop-shadow(0 8px 24px rgba(0,0,0,.2)); }
.splash__pill { position: relative; display: flex; padding: 20px 28px; border-radius: 24px; background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.25); animation: pop .6s cubic-bezier(.2,.9,.3,1.3) both; }
.splash__pill .splash__logo { max-width: 66vw; max-height: 120px; animation: none; filter: none; }
.splash__name { position: relative; font-size: 21px; font-weight: 800; letter-spacing: -.01em; opacity: 0; animation: fadeUp .5s .2s ease forwards; }
/* Splash / welcome logo sizes (App design → Logo). */
html[data-splash="medium"] .splash__logo { max-height: 100px; max-width: 60%; }
html[data-splash="medium"] .splash__pill .splash__logo { max-height: 80px; }
html[data-splash="medium"] .welcome__logo { max-height: 84px; }
html[data-splash="xl"] .splash__logo { max-height: 220px; max-width: 86%; }
html[data-splash="xl"] .splash__pill .splash__logo { max-height: 170px; max-width: 74vw; }
html[data-splash="xl"] .welcome__logo { max-height: 160px; max-width: 84%; }
html[data-splash="medium"] .splash__icon, html[data-splash="medium"] .welcome__icon { width: 92px; height: 92px; }
html[data-splash="large"] .splash__icon, html[data-splash="large"] .welcome__icon { width: 120px; height: 120px; border-radius: 28px; }
html[data-splash="xl"] .splash__icon, html[data-splash="xl"] .welcome__icon { width: 150px; height: 150px; border-radius: 34px; }
.splash { cursor: pointer; }
.splash.is-gone { opacity: 0; visibility: hidden; }

/* ------------------------------------------------------------------ app bar */
.appbar {
	position: absolute; top: 0; left: 0; right: 0; z-index: 30; height: var(--appbar); padding: var(--safe-top) 14px 0 16px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	background: var(--grad); color: var(--on-brand);
}
html[data-header="solid"] .appbar { background: var(--brand); }
html[data-header="light"] .appbar {
	background: var(--bar); color: var(--ink); box-shadow: 0 .5px 0 var(--line);
	-webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.brandmark { display: flex; align-items: center; gap: 10px; min-width: 0; height: 100%; }
.brandmark__logo { display: block; height: var(--logo-h); max-width: 52vw; object-fit: contain; object-position: left center; }
.brandmark__pill { display: flex; align-items: center; padding: 6px 11px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.brandmark__icon { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.brandmark__name { font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__right { display: flex; align-items: center; gap: 10px; flex: none; }
.appbar__title { font-weight: 700; font-size: 16px; letter-spacing: -.005em; animation: fadeUp .3s ease both; }
.avatar {
	width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px;
	background: rgba(255,255,255,.2); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
}
html[data-header="light"] .avatar { background: var(--grad); box-shadow: none; }
.avatar:active { transform: scale(.94); }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff; }
html[data-header="light"] .icon-btn { background: var(--brand-soft); color: var(--brand-ink); }

/* ------------------------------------------------------------- screens */
.screen { position: absolute; inset: 0; background: var(--bg); }
.scroll {
	position: absolute; top: var(--appbar); left: 0; right: 0; bottom: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain; padding-bottom: calc(var(--tabbar-space) + 24px);
}
.screen--enter .scroll > * { animation: fadeUp .45s cubic-bezier(.2,.8,.2,1) both; }
.screen--enter .scroll > *:nth-child(2) { animation-delay: .04s; }
.screen--enter .scroll > *:nth-child(3) { animation-delay: .08s; }
.screen--enter .scroll > *:nth-child(4) { animation-delay: .12s; }
.screen--enter .scroll > *:nth-child(5) { animation-delay: .16s; }

/* Brand panel under the app bar */
.panel {
	position: relative; overflow: hidden; padding: 18px 20px 86px; color: var(--on-brand);
	background: var(--grad); border-radius: 0 0 34px 34px; animation: none !important;
}
html[data-header="solid"] .panel { background: var(--brand); }
html[data-header="light"] .panel { background: linear-gradient(180deg, var(--brand-soft), transparent); color: var(--ink); padding-top: 22px; }
.panel--short { padding-bottom: 70px; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.blob--1 { width: 230px; height: 230px; right: -70px; top: -90px; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand2) 70%, #fff), transparent 70%); opacity: .55; animation: float1 9s ease-in-out infinite; }
.blob--2 { width: 170px; height: 170px; left: -60px; bottom: -70px; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 70%); opacity: .5; animation: float2 11s ease-in-out infinite; }
html[data-header="light"] .blob--2 { background: radial-gradient(circle, var(--brand-soft), transparent 70%); }
.panel__hello { position: relative; font-size: 15px; font-weight: 600; opacity: .85; }
.panel__name { position: relative; margin: 2px 0 6px; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.panel__sub { position: relative; font-size: 15px; opacity: .88; }
.panel__chip { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html[data-header="light"] .panel__chip { background: var(--surface); box-shadow: var(--shadow); }

/* Floating cards overlapping the panel */
.float { position: relative; z-index: 2; margin: -64px 16px 0; }
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.card--lift { box-shadow: var(--shadow-lg); border-radius: var(--r-lg); }
.section { padding: 0 16px; margin-top: 22px; }
.section__label { margin: 0 6px 9px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Next appointment */
.next { padding: 18px 18px 16px; }
.next__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand-ink); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand2); animation: pulseDot 1.6s ease-out infinite; }
.next__service { margin: 14px 0 6px; font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
.next__meta { display: flex; flex-direction: column; gap: 7px; color: var(--ink-2); font-size: 15px; }
.next__meta div { display: flex; align-items: center; gap: 9px; }
.next__meta svg { color: var(--brand-ink); }
.count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 14px; }
.count__tile { padding: 10px 6px 8px; border-radius: var(--r-sm); text-align: center; background: var(--surface-2); }
.count__num {
	font-size: 26px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
	background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-theme="dark"] .count__num { background: linear-gradient(120deg, var(--brand-ink), var(--brand2)); -webkit-background-clip: text; background-clip: text; }
.count__lbl { margin-top: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.next__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.next__actions > :only-child { grid-column: 1 / -1; }

/* Quick actions */
.quick { display: flex; justify-content: space-around; padding: 4px 8px; margin-top: 18px; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); min-width: 76px; }
.quick__ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); color: var(--brand-ink); box-shadow: var(--shadow); transition: transform .15s; }
html[data-radius="square"] .quick__ic { border-radius: 8px; }
.quick button:active .quick__ic { transform: scale(.92); }

/* Rows & lists */
.list { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.row { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; min-height: 62px; text-align: left; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 74px; right: 0; height: .5px; background: var(--line); }
.row--simple + .row--simple::before { left: 16px; }
button.row:active { background: var(--surface-2); }
.row__main { flex: 1; min-width: 0; }
.row__title { font-weight: 650; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sub { color: var(--muted); font-size: 14px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__chev { color: #c4c4c9; }
.row--past { opacity: .6; }
.row--canceled .row__title { text-decoration: line-through; }
.row--stagger { animation: fadeUp .4s cubic-bezier(.2,.8,.2,1) both; }

.datebadge { flex: none; width: 46px; height: 50px; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.datebadge b { font-size: 19px; font-weight: 800; }
.datebadge span { font-size: 11px; font-weight: 800; text-transform: uppercase; margin-top: 3px; letter-spacing: .04em; }

.pill { flex: none; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.pill--pending { background: color-mix(in srgb, var(--warning) 16%, transparent); color: var(--warning); }
.pill--canceled { background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); }
.pill--ok { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }

.segmented { position: relative; display: flex; padding: 3px; border-radius: calc(var(--r-sm) - 2px); background: rgba(118,118,128,.12); margin: 0 2px 12px; }
.segmented__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: calc(var(--r-sm) - 5px); background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .3s cubic-bezier(.3,.8,.3,1.1); }
html[data-theme="dark"] .segmented__thumb { background: #4a4a52; }
.segmented button { position: relative; flex: 1; padding: 8px 0; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.segmented button.is-active { color: var(--ink); }

.empty { text-align: center; padding: 30px 22px 26px; }
.empty__art { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 28px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 30px color-mix(in srgb, var(--brand) 35%, transparent); transform: rotate(-6deg); }
html[data-radius="square"] .empty__art { border-radius: 10px; }
.empty h3 { margin: 0 0 6px; font-size: 19px; }
.empty p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 14px 20px;
	border-radius: var(--r-sm); background: var(--grad); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 28%, transparent); transition: transform .12s, opacity .2s;
}
html[data-header="solid"] .btn { background: var(--brand); }
.btn:active { transform: scale(.98); opacity: .92; }
.btn:disabled { opacity: .5; }
.btn--soft { background: var(--brand-soft); color: var(--brand-ink); box-shadow: none; font-size: 15px; min-height: 46px; padding: 11px 10px; gap: 7px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.btn svg { flex: none; }
.btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.btn__brand { width: 24px; height: 24px; object-fit: contain; flex: none; }
.btn--dir .w3w-mark { font-size: 17px; margin-right: 0; }
html[data-header="solid"] .btn--soft { background: var(--brand-soft); }
.btn--white { background: #fff; color: var(--brand); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn--inline { width: auto; min-height: 42px; padding: 10px 18px; font-size: 15px; }
.link-btn { color: var(--brand-ink); font-weight: 650; font-size: 16px; padding: 10px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.skeleton { border-radius: var(--r-sm); background: linear-gradient(90deg, var(--surface-2) 0, var(--surface) 50%, var(--surface-2) 100%); background-size: 640px 100%; animation: shimmer 1.2s infinite linear; }

/* Floating tab bar */
.tabbar {
	position: absolute; z-index: 40; left: 12px; right: 12px; bottom: calc(var(--safe-bottom) + 10px); height: 64px; padding: 6px;
	display: flex; border-radius: 24px; background: var(--bar); box-shadow: 0 10px 34px rgba(16,16,40,.16), 0 0 0 .5px var(--line);
	-webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
}
html[data-radius="square"] .tabbar { border-radius: 10px; }
.tabbar__thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 18px; background: var(--brand-soft); transition: transform .38s cubic-bezier(.3,.85,.3,1.15), width .2s; }
html[data-radius="square"] .tabbar__thumb { border-radius: 6px; }
.tab { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .01em; transition: color .2s; }
.tab.is-active { color: var(--brand-ink); }
.tab svg { width: 25px; height: 25px; transition: transform .25s cubic-bezier(.3,.8,.3,1.4); }
.tab.is-active svg { transform: translateY(-1px) scale(1.06); }
.tab:active svg { transform: scale(.86); }
.tab__badge { position: absolute; top: 4px; left: calc(50% + 7px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--surface); }

/* ------------------------------------------------------------- welcome */
.welcome { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.welcome__art {
	position: relative; flex: 1 1 58%; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
	background: var(--grad); border-radius: 0 0 40px 40px; padding-top: var(--safe-top); color: #fff;
}
.welcome__logo { position: relative; max-width: 74%; max-height: 120px; object-fit: contain; animation: pop .6s cubic-bezier(.2,.9,.3,1.3) both; filter: drop-shadow(0 6px 18px rgba(0,0,0,.18)); }
.welcome__logo--pill { padding: 14px 20px; border-radius: 20px; background: #fff; max-height: 150px; }
.welcome__icon { position: relative; width: 92px; height: 92px; border-radius: 22px; background: #fff; object-fit: cover; box-shadow: 0 16px 40px rgba(0,0,0,.25); animation: pop .6s cubic-bezier(.2,.9,.3,1.3) both; }
.mock-notif {
	position: relative; z-index: 1; width: min(320px, 84%); margin-top: 26px; padding: 12px 14px; border-radius: 18px; display: flex; gap: 12px; align-items: flex-start;
	background: rgba(255,255,255,.94); color: #111; box-shadow: 0 14px 34px rgba(0,0,0,.22); text-align: left;
	animation: notifIn .7s .5s cubic-bezier(.2,.9,.3,1.2) both;
}
.mock-notif + .mock-notif { margin-top: 10px; transform: scale(.94); opacity: .78; animation-delay: .85s; }
@keyframes notifIn { from { transform: translateY(-26px) scale(.96); opacity: 0; } }
.mock-notif img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.mock-notif__app { display: flex; justify-content: space-between; font-size: 12px; color: #6b6b70; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.mock-notif__title { font-weight: 700; font-size: 15px; margin-top: 2px; }
.mock-notif__body { font-size: 14px; color: #333; }
.welcome__body { padding: 28px 24px calc(var(--safe-bottom) + 24px); text-align: center; }
.welcome__body h1 { margin: 0 0 10px; font-size: 29px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.welcome__body p { margin: 0 0 24px; color: var(--muted); font-size: 16px; }

/* ------------------------------------------------------------- sign in */
.auth-screen { position: absolute; inset: 0; overflow-y: auto; background: var(--bg); }
.auth { position: relative; padding: calc(var(--safe-top) + 64px) 24px calc(var(--safe-bottom) + 24px); display: flex; flex-direction: column; min-height: 100%; }
.auth__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 20px; box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 30%, transparent); }
html[data-radius="square"] .auth__icon { border-radius: 8px; }
.auth h1 { margin: 0 0 8px; font-size: 29px; font-weight: 800; letter-spacing: -.02em; }
.auth p { margin: 0 0 24px; color: var(--muted); }
.field { display: block; width: 100%; padding: 16px; border-radius: var(--r-sm); background: var(--surface); border: 1.5px solid transparent; font-size: 17px; box-shadow: var(--shadow); outline: none; transition: border-color .15s; }
.field:focus { border-color: var(--brand); }
.auth__error { min-height: 22px; margin: 10px 2px 0; color: var(--danger); font-size: 14px; }
.auth__footer { margin-top: auto; padding-top: 20px; }
.otp { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp__box { height: 60px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 26px; font-weight: 800; border: 1.5px solid transparent; transition: border-color .15s, transform .15s; }
.otp__box.is-current { border-color: var(--brand); }
.otp__box.is-filled { transform: scale(1.04); }
.otp input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; }
.otp.is-error .otp__box { border-color: var(--danger); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.back { position: absolute; top: calc(var(--safe-top) + 10px); left: 8px; display: flex; align-items: center; gap: 4px; color: var(--brand-ink); font-size: 17px; font-weight: 600; padding: 8px; }

/* ------------------------------------------------------ full-screen prompts */
.prompt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--safe-top) + 24px) 28px calc(var(--safe-bottom) + 24px); background: var(--bg); overflow-y: auto; }
.prompt__art { width: 116px; height: 116px; border-radius: 34px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 20px 44px color-mix(in srgb, var(--brand) 40%, transparent); margin-bottom: 28px; }
.prompt__art svg { width: 54px; height: 54px; animation: ring 2.4s 1s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 30% { transform: rotate(9deg); } 40% { transform: rotate(-6deg); } 50% { transform: rotate(3deg); } }
.prompt h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.prompt p { margin: 0 0 28px; color: var(--muted); max-width: 340px; }
.prompt__actions { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 6px; }
.install-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 14px 34px rgba(0,0,0,.18); margin-bottom: 22px; object-fit: cover; background: #fff; }
.steps { width: 100%; max-width: 360px; text-align: left; margin-bottom: 18px; }
.step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.step + .step { border-top: .5px solid var(--line); }
.step__num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.step__text { flex: 1; font-size: 15px; }
.step__glyph { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); color: #0a84ff; overflow: hidden; }
.pointer { position: absolute; bottom: calc(var(--safe-bottom) + 6px); left: 50%; transform: translateX(-50%); color: var(--brand-ink); animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------------------------------------------------------------- sheet */
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.38); opacity: 0; transition: opacity .25s; }
.sheet-backdrop.is-open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 90%; overflow-y: auto; background: var(--bg); border-radius: 26px 26px 0 0; padding: 8px 16px calc(var(--safe-bottom) + 20px); transform: translateY(100%); transition: transform .34s cubic-bezier(.2,.8,.2,1); }
.sheet.is-open { transform: none; }
.sheet__grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(120,120,128,.35); margin: 0 auto 12px; }
.sheet h2 { margin: 6px 4px 14px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.detail-hero { margin: 4px 0 14px; padding: 18px; border-radius: var(--r); background: var(--grad); color: #fff; display: flex; gap: 14px; align-items: center; }
html[data-header="solid"] .detail-hero { background: var(--brand); }
.detail-hero .datebadge { background: rgba(255,255,255,.2); color: #fff; width: 56px; height: 60px; }
.detail-hero .datebadge b { font-size: 24px; }
.detail-hero h2 { margin: 0; color: #fff; }
.detail-hero p { margin: 2px 0 0; opacity: .9; }
.kv { display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.kv + .kv { border-top: .5px solid var(--line); }
.kv svg { color: var(--brand-ink); }
.kv span { color: var(--muted); font-size: 13px; display: block; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.btn-row > :only-child { grid-column: 1 / -1; }

/* Switch */
.switch { position: relative; flex: none; width: 51px; height: 31px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 16px; background: rgba(120,120,128,.32); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .25s cubic-bezier(.3,.7,.4,1.3); }
.switch input:checked + span { background: var(--success); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .45; }

/* Reminders panel */
.panel__status { position: relative; display: flex; align-items: center; gap: 14px; }
.panel__badge { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.2); color: #fff; }
html[data-header="light"] .panel__badge { background: var(--grad); }
.panel__badge--on { background: #fff; color: var(--success); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.panel__status h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.panel__status p { margin: 2px 0 0; font-size: 14px; opacity: .88; }
.panel__cta { position: relative; margin-top: 16px; display: flex; gap: 10px; }
.notif-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.notif-time { flex: none; align-self: flex-start; font-size: 13px; color: var(--muted); padding-top: 2px; }
.row--notif { align-items: flex-start; }
.row--notif .row__sub { white-space: normal; }

/* Banner, toast, book frame, pull to refresh, confetti */
.banner { margin: 16px 16px 0; padding: 12px 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.banner img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.banner div { flex: 1; font-size: 14px; color: var(--muted); }
.banner b { display: block; font-size: 15px; color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-space) + 14px); z-index: 90; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 14px; background: rgba(28,28,32,.94); color: #fff; font-size: 15px; font-weight: 600; max-width: 88%; text-align: center; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.book-frame { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); }
.app.is-booking .tabbar { display: none; }
.book-frame iframe { width: 100%; height: 100%; border: 0; background: transparent; }
.book-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-ink); }
.ptr { height: 0; overflow: hidden; display: grid; place-items: center; color: var(--muted); transition: height .2s; }
.ptr.is-active { height: 52px; }
.footer-note { text-align: center; color: var(--muted); font-size: 12px; margin: 28px 0 0; }
.mapcard__map { position: relative; height: 170px; background: var(--surface-2); }
.mapcard__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
html[data-theme="dark"] .mapcard__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8); }
.mapcard__info { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 12px; }
.mapcard__text { flex: 1; min-width: 0; }
.mapcard__name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.mapcard__addr { margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.mapcard__w3w { margin-top: 4px; font-size: 14px; font-weight: 650; color: var(--ink-2); overflow-wrap: anywhere; }
.w3w-mark { color: #e11f26; font-weight: 800; letter-spacing: -.04em; margin-right: 2px; }
.mapcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px; }
.mapcard__actions--one { grid-template-columns: 1fr; }
.app-footer { text-align: center; padding: 6px 0 4px; }
.app-footer .footer-note { margin-top: 26px; }
.credit {
	display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 12px; border-radius: 999px;
	font-size: 12px; color: var(--muted); text-decoration: none; background: transparent; transition: background .2s, color .2s;
}
.credit b { font-weight: 700; color: var(--ink-2); }
.credit:active, .credit:hover { background: var(--brand-soft); color: var(--brand-ink); }
.welcome__body .credit { margin-top: 14px; }
.confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; }

@media (min-width: 700px) {
	.app, .sheet, .splash { max-width: 480px; margin: 0 auto; }
	.app { box-shadow: 0 0 0 .5px var(--line), 0 30px 80px rgba(0,0,0,.12); }
	body { background: color-mix(in srgb, var(--brand) 6%, var(--bg)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------- rewards */
.rw-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.rw-bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .8s cubic-bezier(.2,.8,.2,1); }
html[data-theme="dark"] .rw-bar span { background: linear-gradient(90deg, var(--brand-ink), var(--brand2)); }
.rw-bar--lg { height: 10px; margin-top: 16px; }

/* Home strip */
.rw-strip { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; text-align: left; color: inherit; }
.rw-strip:active { transform: scale(.99); }
.rw-strip__icon { width: 46px; height: 46px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.12)); }
.rw-strip__main { flex: 1; min-width: 0; }
.rw-strip__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.rw-strip__top b { font-size: 16px; }
.rw-strip__top span { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.rw-strip__sub { margin-top: 7px; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hero score */
.rw-panel { text-align: left; }
.rw-score { position: relative; display: flex; align-items: baseline; gap: 6px; margin: 2px 0 4px; }
.rw-score b { font-size: 56px; line-height: 1; font-weight: 850; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rw-score span { font-size: 22px; font-weight: 700; opacity: .75; }

/* Stamp card */
.rw-card { padding: 16px 16px 18px; }
.rw-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamps--dense { gap: 7px; }
.stamp {
	position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
	background: var(--surface-2); border: 2px dashed color-mix(in srgb, var(--muted) 45%, transparent);
}
html[data-radius="square"] .stamp { border-radius: 8px; }
.stamp img { width: 74%; height: 74%; object-fit: contain; filter: grayscale(1); opacity: .16; transition: opacity .3s, filter .3s; }
.stamp i { position: absolute; font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); }
.stamp.is-on { background: var(--brand-soft); border: 2px solid color-mix(in srgb, var(--brand2) 55%, transparent); }
.stamp.is-on img { filter: drop-shadow(0 3px 4px rgba(0,0,0,.18)); opacity: 1; }
.stamp.is-on i { display: none; }
.stamp.is-pop { animation: stampPop .55s cubic-bezier(.3,1.6,.4,1) both; }
.stamp.is-new { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand2) 60%, transparent); animation: stampPop .55s cubic-bezier(.3,1.6,.4,1) both, stampGlow 1.4s ease-out .5s 2; }
@keyframes stampPop { 0% { transform: scale(.3) rotate(-25deg); opacity: 0; } 70% { transform: scale(1.12) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes stampGlow { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand2) 60%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.rw-ready { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); font-weight: 650; font-size: 14.5px; }
.rw-ready svg { flex: none; margin-top: 2px; }

/* Voucher tickets */
.ticket {
	position: relative; display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; padding: 16px 18px;
	border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow);
	background-image: radial-gradient(circle at 0 50%, var(--bg) 10px, transparent 10.5px), radial-gradient(circle at 100% 50%, var(--bg) 10px, transparent 10.5px);
	border-left: 5px solid var(--brand2);
}
.ticket__kicker { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink); }
.ticket__code { margin: 6px 0 4px; font: 800 26px/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; word-break: break-all; }
.ticket__sub { font-size: 13.5px; color: var(--muted); }
.ticket__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding-top: 14px; border-top: 1.5px dashed var(--line); }
.ticket__actions .btn { min-height: 46px; font-size: 15px; padding: 11px 10px; }
.ticket.is-used { opacity: .55; border-left-color: var(--muted); box-shadow: none; }
.ticket.is-used .ticket__code { text-decoration: line-through; }
.ticket.is-used .ticket__kicker { color: var(--muted); }

/* How it works + history */
.rw-how { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.rw-how__ic { flex: none; color: var(--brand-ink); margin-top: 1px; }
.rw-how p { margin: 0; color: var(--ink-2); font-size: 15px; }
.rw-row__ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.rw-row__ic img { width: 30px; height: 30px; object-fit: contain; }
.rw-row__pts { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
.rw-row__pts.is-plus { color: var(--success); }
.rw-row + .rw-row::before { left: 72px; }
.notif-icon--rw img { width: 24px; height: 24px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .stamp.is-pop, .stamp.is-new { animation: none; } }

/* ------------------------------------------------------------- messages (shared with the staff app) */
.screen--chat { --composer-h: 58px; --kb: 0px; }
.chat-scroll { padding: 14px 14px calc(var(--tabbar-space) + var(--composer-h) + 18px); display: flex; flex-direction: column; }
.chat-list { display: flex; flex-direction: column; gap: 3px; margin-top: auto; }
.chat-intro { display: flex; gap: 12px; align-items: center; padding: 14px; margin: 2px 0 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.chat-intro img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; background: #fff; }
.chat-intro b { display: block; font-size: 15px; }
.chat-intro p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.chat-ideas { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.chat-ideas .chip, .chip { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; background: var(--brand-soft); color: var(--brand-ink); }
.chat-loading { display: grid; place-items: center; padding: 30px; color: var(--muted); }
.chat-day { text-align: center; margin: 14px 0 8px; }
.chat-day span { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; }
.chat-who { font-size: 12px; font-weight: 700; color: var(--muted); margin: 8px 0 2px 12px; }
.bubble { position: relative; max-width: 80%; padding: 9px 13px 7px; border-radius: 20px; font-size: 16px; line-height: 1.35; word-wrap: break-word; overflow-wrap: anywhere; animation: fadeUp .25s ease both; }
.bubble__text a { color: inherit; text-decoration: underline; }
.bubble__time { display: block; margin-top: 2px; font-size: 11px; opacity: .65; text-align: right; }
.bubble--me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 20px; }
.bubble--me.bubble--tail { border-bottom-right-radius: 6px; margin-bottom: 6px; }
.bubble--them { align-self: flex-start; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.bubble--them.bubble--tail { border-bottom-left-radius: 6px; margin-bottom: 6px; }
.bubble.is-pending { opacity: .6; }
.bubble.is-failed { background: var(--danger); cursor: pointer; }
.bubble.is-new { animation: bubbleIn .35s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
.chat-status { align-self: flex-end; font-size: 12px; color: var(--muted); margin: -2px 6px 6px 0; }
.composer {
	position: absolute; z-index: 35; left: 12px; right: 12px; bottom: calc(var(--tabbar-space) + 4px);
	display: flex; align-items: flex-end; gap: 8px; padding: 7px 7px 7px 16px; border-radius: 26px;
	background: var(--bar); box-shadow: 0 6px 24px rgba(16,16,40,.12), 0 0 0 .5px var(--line);
	-webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
	transition: bottom .2s ease;
}
html[data-radius="square"] .composer { border-radius: 10px; }
.composer__input { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.35; padding: 8px 0; max-height: 132px; }
.composer__send { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; transition: transform .15s, opacity .15s; }
.composer__send:disabled { opacity: .35; }
.composer__send:not(:disabled):active { transform: scale(.9); }
/* While typing, the tab bar steps aside and the composer sits on the keyboard. */
.screen--chat.is-typing .composer { bottom: calc(max(var(--kb), var(--safe-bottom)) + 8px); }
.screen--chat.is-typing .chat-scroll { padding-bottom: calc(max(var(--kb), var(--safe-bottom)) + var(--composer-h) + 20px); }
.app:has(.screen--chat.is-typing) .tabbar { transform: translateY(16px); opacity: 0; visibility: hidden; pointer-events: none; }
.app { overflow: clip; }
.tabbar { transition: transform .25s ease, opacity .2s; }

/* ------------------------------------------------------------- register */
.auth--register form { display: flex; flex-direction: column; flex: 1; }
.reg label { display: block; margin-bottom: 14px; }
.reg label > span { display: block; margin: 0 2px 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.reg label > span em { font-style: normal; font-weight: 600; color: var(--muted); margin-left: 4px; }
.reg__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reg__row .field { min-width: 0; }
.reg .reg__consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 2px 0; font-size: 15px; color: var(--ink-2); }
.reg .reg__consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand); }
.reg .reg__consent span { margin: 1px 0 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.reg .reg__consent a { color: var(--brand-ink); font-weight: 650; }
.empty--first .empty__art { transform: rotate(-6deg) scale(1.05); }

/* Account: alert sound */
.row__val { margin-left: auto; padding-left: 10px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.row__val + .row__chev { margin-left: 6px; }
.sheet-note { margin: 0 4px 14px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.sound-list .row { width: 100%; }
.sound-tick { margin-left: auto; color: var(--brand); display: flex; align-items: center; min-width: 22px; }

/* ------------------------------------------- desktop: open on your phone */
html.is-desk, html.is-desk body { overflow: hidden; }
html.is-desk #app { display: none; }
.desk { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px 24px; overflow-y: auto; font-family: var(--font); color: var(--ink);
	background: radial-gradient(1200px 700px at 15% 10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%), radial-gradient(900px 600px at 90% 95%, color-mix(in srgb, var(--brand2) 26%, transparent), transparent 60%), var(--bg); }
.desk__glow { position: absolute; width: 520px; height: 520px; right: 8%; top: 50%; transform: translateY(-50%); border-radius: 50%; background: var(--grad, linear-gradient(135deg, var(--brand), var(--brand2))); filter: blur(110px); opacity: .28; pointer-events: none; animation: deskPulse 6s ease-in-out infinite; }
@keyframes deskPulse { 50% { opacity: .42; transform: translateY(-50%) scale(1.08); } }
.desk__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) auto; gap: 48px; align-items: center; max-width: 940px; width: 100%; padding: 48px 52px; border-radius: 32px; background: color-mix(in srgb, var(--surface, #fff) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 0 1px var(--line, rgba(0,0,0,.06)), 0 40px 100px rgba(0,0,0,.14); animation: fadeUp .6s cubic-bezier(.2,.8,.2,1) both; }
.desk__logo { display: block; max-height: 64px; max-width: 240px; object-fit: contain; margin-bottom: 22px; }
.desk__logo--pill { background: #fff; padding: 10px 16px; border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.desk__icon { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.desk__name { font-weight: 800; font-size: 20px; margin: 10px 0 20px; }
.desk__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--brand-ink, var(--brand)); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.desk__tag svg { width: 16px; height: 16px; }
.desk h1 { margin: 16px 0 12px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.desk p { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 470px; }
.desk__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.desk__steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.desk__steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--grad, var(--brand)); }
.desk__qrside { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.desk__qr { position: relative; width: 280px; height: 280px; padding: 14px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 16%, transparent), 0 24px 60px rgba(0,0,0,.18); }
.desk__qr svg { display: block; width: 100%; height: 100%; }
.desk__qricon { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 12px; border: 4px solid #fff; background: #fff; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.desk__url { font-size: 14px; font-weight: 650; color: var(--muted); word-break: break-all; text-align: center; max-width: 300px; }
.desk__skip { position: relative; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 8px 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.desk__skip:hover { color: var(--ink); }
.desk .credit { position: relative; }
@media (max-width: 860px) {
	.desk__card { grid-template-columns: 1fr; gap: 30px; padding: 34px 28px; text-align: center; }
	.desk__logo, .desk__icon { margin-left: auto; margin-right: auto; }
	.desk p { margin-left: auto; margin-right: auto; }
	.desk__steps { justify-content: center; }
	.desk__qr { width: 240px; height: 240px; }
}
