/* =========================================================================
   Clubr app styles. Everything is scoped to the Clubr shell document, which
   replaces the theme on the app page, so nothing here touches other pages.
   ========================================================================= */

:root {
	--bg: #050307;
	--bg-2: #0E0912;
	--card: #170E1D;
	--card-2: #24152D;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .16);
	--text: #FFFFFF;
	--muted: #B3A6BC;
	--c-primary: #FF2D95;
	--c-violet: #A93BFF;
	--c-magenta: #E62CC4;
	--danger: #FF5A4E;
	--grad: linear-gradient(120deg, var(--c-violet) 0%, var(--c-magenta) 52%, var(--c-primary) 100%);
	--glow: 0 10px 30px -10px color-mix(in srgb, var(--c-primary) 80%, transparent);
	--r-card: 28px;
	--r-tile: 20px;
	--r-field: 14px;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
	--safe-left: env(safe-area-inset-left, 0px);
	--safe-right: env(safe-area-inset-right, 0px);
	--tabbar-h: 62px;
	--font-display: "Unbounded", "Avenir Next", system-ui, sans-serif; /* brand only: wordmark and the welcome tagline */
	--font-heading: "Poppins", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* headings after sign-in */
	--font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html.clubr-html, body.clubr-body {
	margin: 0;
	height: 100%;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overscroll-behavior: none;
	-webkit-tap-highlight-color: transparent;
}
body.clubr-body { overflow: hidden; }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--c-violet); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
[hidden] { display: none !important; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.noscript { padding: 24px; text-align: center; }

:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 2px; }

.ic {
	width: 22px; height: 22px; flex: none;
	fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ic--eq { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.ic--eq rect { transform-box: fill-box; transform-origin: 50% 100%; }

/* ------------------------------------------------------------------ shell */

#clubr-root {
	position: fixed;
	inset: 0;
	margin: 0 auto;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	overflow: hidden;
	isolation: isolate;
}
.view-host {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
#clubr-root.has-tabs .view-host { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom)); }

.screen {
	min-height: 100%;
	padding: calc(var(--safe-top) + 14px) calc(16px + var(--safe-right)) 28px calc(16px + var(--safe-left));
	display: flex;
	flex-direction: column;
}

.boot-splash { position: absolute; inset: 0; display: grid; place-items: center; }
.boot-splash img { border-radius: 20px; animation: pulse 1.4s ease-in-out infinite; }

@media (min-width: 560px) {
	body.clubr-body {
		background:
			radial-gradient(60vw 60vh at 15% 20%, color-mix(in srgb, var(--c-primary) 18%, transparent), transparent 70%),
			radial-gradient(50vw 50vh at 85% 85%, rgba(192, 132, 252, .12), transparent 70%),
			#000000;
	}
	#clubr-root { border-left: 1px solid var(--line); border-right: 1px solid var(--line); box-shadow: 0 0 80px rgba(0, 0, 0, .6); }
}

/* --------------------------------------------------------------- buttons */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px;
	border: 0; border-radius: 999px;
	background: var(--card-2); color: var(--text);
	font-weight: 600; font-size: 15px; letter-spacing: .005em;
	text-decoration: none; white-space: nowrap;
	transition: transform .15s var(--ease), opacity .15s, background .2s;
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.is-busy { opacity: .65; cursor: progress; }
.btn--primary { background: var(--grad); box-shadow: var(--glow); }
.btn--ghost { background: transparent; border: 1px solid var(--line-2); }
.btn--text { background: transparent; color: var(--c-violet); min-height: 40px; padding: 0 8px; }
.btn--danger { background: #E2443A; }
.btn--lg { min-height: 54px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }
.btn .ic { width: 20px; height: 20px; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; flex: none;
	border: 0; border-radius: 50%; background: transparent; color: var(--text);
}
.icon-btn:active { background: var(--line); }

.round-btn {
	display: grid; place-items: center;
	width: 64px; height: 64px; border-radius: 50%;
	border: 1px solid var(--line-2); background: var(--card);
	transition: transform .15s var(--ease);
}
.round-btn:active { transform: scale(.92); }
.round-btn .ic { width: 28px; height: 28px; stroke-width: 2.2; }
.round-btn--pass { color: #fff; }
.round-btn--like { background: var(--grad); border-color: transparent; box-shadow: var(--glow); color: #fff; }
.round-btn--like .ic { fill: currentColor; }
.round-btn--info { width: 48px; height: 48px; color: var(--muted); }
.round-btn--info .ic { width: 22px; height: 22px; }

.spinner {
	display: inline-block; width: 22px; height: 22px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .18); border-top-color: #fff;
	animation: spin .8s linear infinite;
}
.spinner--lg { width: 36px; height: 36px; border-width: 3px; }

/* ------------------------------------------------------------------ type */

.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; display: inline-block; transform: skewX(-9deg); text-shadow: 0 0 18px color-mix(in srgb, var(--c-primary) 45%, transparent); }
.display-m { font-family: var(--font-heading); font-weight: 700; font-size: 26px; line-height: 1.18; letter-spacing: -.015em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fineprint { color: var(--muted); font-size: 13px; text-align: center; margin-top: 4px; }
.section-label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 26px 4px 10px; }
.pagehead { margin: 4px 0 18px; }
.pagehead__title { font-family: var(--font-heading); font-weight: 700; font-size: 28px; letter-spacing: -.015em; line-height: 1.15; }
.pagehead__sub { color: var(--muted); margin-top: 6px; }

/* ---------------------------------------------------------------- welcome */

.welcome {
	position: relative; min-height: 100%;
	padding-top: calc(var(--safe-top) + 18px);
	padding-bottom: calc(var(--safe-bottom) + 24px);
	justify-content: space-between;
	overflow: hidden;
}
.welcome__bg {
	position: absolute; inset: 0; z-index: -2;
	background: var(--welcome-bg) center 30% / cover no-repeat, var(--bg);
}
.welcome__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(5, 3, 7, .55) 0%, rgba(5, 3, 7, .05) 30%, rgba(5, 3, 7, .65) 58%, var(--bg) 88%),
		radial-gradient(80% 50% at 50% 100%, color-mix(in srgb, var(--c-primary) 22%, transparent), transparent 70%);
}
.welcome__beams { position: absolute; inset: -10% -30% 30%; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .55; }
.welcome__beams i {
	position: absolute; top: -10%; left: 50%; width: 34%; height: 120%;
	transform-origin: 50% 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--c-violet) 55%, transparent), transparent 75%);
	clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
	filter: blur(6px);
	animation: sweep 9s ease-in-out infinite alternate;
}
.welcome__beams i:nth-child(1) { --a: -38deg; transform: rotate(var(--a)); }
.welcome__beams i:nth-child(2) { --a: 4deg; transform: rotate(var(--a)); animation-delay: -3s; background: linear-gradient(180deg, color-mix(in srgb, var(--c-primary) 60%, transparent), transparent 70%); }
.welcome__beams i:nth-child(3) { --a: 34deg; transform: rotate(var(--a)); animation-delay: -6s; }
.welcome__brand { position: relative; display: flex; align-items: center; justify-content: center; margin: auto 0; } /* short screens: centred in the space above the text */
.welcome__brand::before { /* soft neon halo behind the icon */
	content: ""; position: absolute; left: 50%; top: 50%; width: 300px; height: 300px;
	transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, color-mix(in srgb, var(--c-magenta) 40%, transparent) 0%, color-mix(in srgb, var(--c-violet) 18%, transparent) 40%, transparent 70%);
}
.welcome__brand img { position: relative; width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 0 80px -8px color-mix(in srgb, var(--c-primary) 70%, transparent); }
/* Normal-height screens: a larger icon at the true vertical middle, centred left and right. Short screens keep the flow layout above so it can't overlap the text. */
@media (min-height: 760px) {
	.welcome__brand { position: absolute; top: 50%; left: 0; right: 0; margin: 0; transform: translateY(-50%); pointer-events: none; }
	.welcome__brand::before { width: 340px; height: 340px; }
	.welcome__brand img { width: 176px; height: 176px; border-radius: 38px; }
	.welcome .welcome__copy { margin-top: auto; }
}
/* Bundled Clubr logo (black background): screen-blend it into the scene so only the neon remains, no tile.
   The brand box must not use transform here: a transform would isolate the blend from the background behind it. */
.welcome--blend .welcome__brand::before { display: none; }
.welcome--blend .welcome__brand img { width: 220px; height: 220px; border-radius: 0; box-shadow: none; mix-blend-mode: screen; }
@media (max-height: 640px) {
	.welcome--blend .welcome__brand img { width: 180px; height: 180px; }
}
@media (min-height: 760px) {
	.welcome--blend .welcome__brand { top: calc(50% - 130px); height: 260px; transform: none; }
	.welcome--blend .welcome__brand img { width: 260px; height: 260px; }
}
.welcome__copy { margin-top: 0; padding-bottom: 28px; text-align: center; display: grid; justify-items: center; }
.welcome__title {
	font-family: var(--font-display);
	font-weight: 750;
	font-size: clamp(40px, 12.4vw, 62px);
	line-height: .98;
	letter-spacing: -.035em;
	text-wrap: balance;
	text-shadow: 0 0 28px color-mix(in srgb, var(--c-violet) 55%, transparent), 0 0 2px rgba(255, 255, 255, .6);
}
.welcome__sub { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.35; letter-spacing: -.01em; color: #fff; text-align: center; text-wrap: balance; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.welcome__accent { background: linear-gradient(120deg, #C46BFF 0%, #FF4DA6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
/* Buttons share one centred column (400px = Google's maximum button width), so Google and Email line up exactly. */
.welcome__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; max-width: 400px; margin: 0 auto; justify-items: stretch; }
/* The page is color-scheme: dark but Google's button iframe is light; a mismatch makes the browser paint the iframe opaque white. Declaring light here keeps it transparent. */
.google-slot { min-height: 40px; display: flex; justify-content: center; align-items: center; color-scheme: light; }
/* 40px = Google's large pill; the thin ring gives it an outline that matches the rounded Email button. */
.google-slot__btn { display: flex; justify-content: center; align-items: center; width: 100%; height: 40px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); color-scheme: light; background: transparent; }
.google-slot__btn iframe { color-scheme: light; background: transparent; }
.welcome__login { margin: -9px 0; text-align: center; font-size: 15px; color: #E6DCEB; }
.welcome__login-btn { min-height: 44px; padding: 0 6px 0 2px; border: 0; background: none; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.welcome__actions .fineprint { margin-top: 2px; line-height: 1.5; color: #CFC4D6; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.welcome__actions .fineprint--legal { margin-top: -8px; }

/* Welcome with events (1.6.0): the logo moves up, "Happening tonight" sits under it, the buttons stay at the bottom.
   The logo's size comes from the 2.1.4 block at the end: it takes whatever room the listings and buttons leave. */
.welcome.welcome--events { justify-content: flex-start; }
.welcome.welcome--events .welcome__brand { position: relative; top: auto; left: auto; right: auto; height: auto; margin: 0; transform: none; }
.welcome.welcome--events .welcome__brand::before { width: 220px; height: 220px; }
.welcome.welcome--events .welcome__brand img { border-radius: 24px; }
.welcome.welcome--events.welcome--blend .welcome__brand img { border-radius: 0; }
.welcome.welcome--events .welcome__copy { margin-top: auto; }
.welcome__events { position: relative; display: grid; gap: 10px; width: 100%; max-width: 400px; margin: 6px auto 22px; }

/* ----------------------------------------------------------------- events */

.ev-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ev-head__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F5E3FF; }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 10px var(--c-primary); }
.ev-head__all { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding-left: 12px; font-size: 14px; font-weight: 600; color: #FF7AD0; text-decoration: none; }
.ev-head__all .ic { width: 16px; height: 16px; stroke-width: 2.2; }

.ev-card {
	display: flex; align-items: center; gap: 14px;
	padding: 15px 16px; border-radius: var(--r-tile);
	background: rgba(255, 255, 255, .06); border: 1px solid color-mix(in srgb, var(--c-violet) 30%, transparent);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	color: var(--text); text-decoration: none;
	transition: transform .15s var(--ease), background .2s;
}
.ev-card.is-featured { border-color: color-mix(in srgb, var(--c-primary) 34%, transparent); }
.ev-card__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ev-card__meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ev-badge { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--grad); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.ev-card__when { font-size: 12px; font-weight: 600; color: #E9D6F2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-card__venue { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ev-card__title { font-size: 14px; color: #E4D3EC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-card__area { font-size: 12.5px; color: #C9B4D3; }
.ev-card__go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--c-violet) 20%, transparent); color: #D9B3FF; }
.ev-card.is-featured .ev-card__go { background: color-mix(in srgb, var(--c-primary) 18%, transparent); color: #FF9AE0; }
.ev-card__go .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.ev-card--compact { padding: 13px 16px; border-color: var(--line-2); -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--card); }
.ev-card--compact .ev-card__venue { font-family: var(--font-heading); font-size: 16px; }
.ev-card--compact .ev-card__go { width: 32px; height: 32px; background: transparent; color: var(--muted); }

.events { gap: 0; }
.events__head { display: flex; align-items: center; gap: 8px; margin: 0 0 0 -8px; }
.events__tabs { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; scrollbar-width: none; }
.events__tabs::-webkit-scrollbar { display: none; }
.events__tab { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 14px; font-weight: 600; color: #ECE1F1; }
.events__tab[aria-pressed="true"] { border-color: transparent; background: var(--grad); color: #fff; font-weight: 700; }
.events__list { flex: 1 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ev-group { margin: 16px 2px 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F5E3FF; }
.ev-skel { height: 92px; margin-top: 8px; border-radius: var(--r-tile); background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%) 0 0 / 200% 100%; animation: ev-shimmer 1.2s linear infinite; }
@keyframes ev-shimmer { to { background-position: -200% 0; } }
.events__foot {
	position: sticky; bottom: 0; display: grid; gap: 10px; text-align: center;
	margin: 16px calc(-16px - var(--safe-right)) -28px calc(-16px - var(--safe-left));
	padding: 18px calc(16px + var(--safe-right)) calc(20px + var(--safe-bottom)) calc(16px + var(--safe-left));
	background: linear-gradient(180deg, transparent 0%, var(--bg) 32%);
}
.events__foot p { font-size: 14px; color: #ECE1F1; }
/* Events tab (members): "I'm out tonight" nudge, pinned just above the tab bar. */
.events__nudge {
	position: sticky; bottom: 12px; z-index: 2; margin-top: 18px;
	display: flex; align-items: center; gap: 12px;
	padding: 12px 12px 12px 16px; border-radius: var(--r-tile);
	background: var(--card-2); border: 1px solid var(--line-2);
	box-shadow: 0 -12px 30px -6px var(--bg);
}
.events__nudge p { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.events__nudge .btn { flex: none; min-height: 44px; padding: 0 16px; font-size: 14px; }
.events__note { margin: 14px 2px 0; color: var(--muted); font-size: 14px; }
.events--tab .events__head { margin-left: 0; }

.gate { justify-content: center; }
.gate__inner { display: grid; gap: 14px; text-align: center; justify-items: center; max-width: 360px; margin: 0 auto; }
.gate__inner img { border-radius: 16px; margin-bottom: 6px; }
/* 2.6.2: in-app password reset */
.reset .gate__inner { width: 100%; }
.reset__state { display: grid; gap: 14px; width: 100%; justify-items: center; }
.reset__form { width: 100%; text-align: left; margin-top: 6px; }

/* ----------------------------------------------------------------- sheets */

.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(6, 4, 12, .62); opacity: 0; transition: opacity .25s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet__panel {
	position: absolute; left: 50%; bottom: 0;
	width: min(520px, 100%); max-height: calc(100dvh - var(--safe-top) - 24px);
	display: flex; flex-direction: column;
	background: var(--bg-2);
	border: 1px solid var(--line); border-bottom: 0;
	border-radius: 26px 26px 0 0;
	transform: translate(-50%, 100%);
	transition: transform .32s var(--ease);
	padding-bottom: var(--safe-bottom);
	outline: none;
}
.sheet__panel--tall { height: calc(100dvh - var(--safe-top) - 24px); }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: translate(-50%, 0); }
.sheet__head { display: flex; align-items: center; gap: 8px; padding: 14px 10px 6px 20px; position: relative; min-height: 56px; }
.sheet__grip { position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: var(--line-2); }
.sheet__title { flex: 1; font-family: var(--font-heading); font-size: 19px; font-weight: 700; letter-spacing: -.005em; }
.sheet__close { margin-left: auto; color: var(--muted); }
.sheet__body { overflow-y: auto; padding: 4px 20px 24px; overscroll-behavior: contain; flex: 1; }
.confirm { display: grid; gap: 12px; }

/* ------------------------------------------------------------------ forms */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; position: relative; }
.field__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .q textarea {
	width: 100%; min-height: 52px; padding: 13px 16px;
	background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-field);
	font-size: 16px; color: var(--text); outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.45; }
.field input:focus, .field textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 30%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 161, 181, .7); }
.field--short { max-width: 140px; }
.field__count { justify-self: end; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* Character counters sit inside the box so every question has the same gap below it. */
.form--questions .field__count { position: absolute; right: 14px; pointer-events: none; }
.form--questions .field:has(input) .field__count { top: 18px; }
.form--questions .field:has(textarea) .field__count { bottom: 10px; }
.form--questions .field input[name=nickname] { padding-right: 56px; }
.form--questions .field textarea { padding-bottom: 28px; }
.field__error, .form__error { color: var(--danger); font-size: 13.5px; min-height: 0; }
.field__error:empty, .form__error:empty { display: none; }
.has-error input, .has-error textarea { border-color: var(--danger); }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.check { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; }
.check input, .radio-row input { width: 22px; height: 22px; accent-color: var(--c-primary); flex: none; margin: 0; }
.check--sub { margin-top: 10px; font-size: 14.5px; align-items: flex-start; }
.check--sub > span { display: grid; gap: 2px; }
.check--sub small { color: var(--muted); font-size: 13px; }
.radio-list { display: grid; gap: 2px; background: var(--card); border-radius: 18px; padding: 4px; }
.radio-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; cursor: pointer; }
.radio-row:has(input:checked) { background: var(--card-2); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.segmented button { border: 0; background: transparent; padding: 11px 8px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.segmented button[aria-selected="true"] { background: var(--card-2); color: var(--text); }

/* Pull to refresh (1.6.3) */
.ptr {
	position: fixed; top: calc(var(--safe-top) + 8px); left: 50%; z-index: 40;
	width: 40px; height: 40px; pointer-events: none;
	transform: translate(-50%, -56px); opacity: 0;
}
.ptr__dot { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line-2); color: var(--muted); box-shadow: 0 6px 20px rgba(0, 0, 0, .45); transition: color .15s, background .15s; }
.ptr .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.ptr.is-ready .ptr__dot { color: #fff; background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.ptr.is-settling { transition: transform .25s var(--ease), opacity .25s; }
.ptr.is-loading .ic { animation: spin .7s linear infinite; }

/* Sign-up sheet: Google above the email form (1.6.2). */
.auth__google { display: grid; gap: 16px; margin-bottom: 18px; }
.auth__or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.form--questions { gap: 0; }
.q { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-row .field--short { max-width: none; }
.q__label { display: block; padding: 0; font-family: var(--font-heading); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; }
.q__hint { color: var(--muted); font-size: 13.5px; line-height: 1.4; margin: -2px 0 8px; }
.q__opt { white-space: nowrap; font-family: var(--font-body, "Instrument Sans", system-ui, sans-serif); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.field input[name=height_cm] { padding-right: 46px; }
/* 1.8.9: date of birth (native picker). */
.field input[type=date] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; text-align: left; color-scheme: dark; }
.field input[type=date]::-webkit-date-and-time-value { text-align: left; }
.q-row { align-items: start; }
/* "Hide my gender" sits right under Gender at sign-up; on its own in Edit profile. */
.q--follow { margin-top: -16px; }
.q[hidden] + .q--follow { margin-top: 0; }
.q--follow .check--sub { margin-top: 0; }
.summary__lock { margin: 14px 2px 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.field__unit { position: absolute; right: 16px; top: 26px; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--2 { display: grid; grid-template-columns: 1fr 1fr; }
.chips--2 .chip__ui { width: 100%; padding: 6px 12px; gap: 6px; font-size: 13.5px; line-height: 1.15; border-radius: 24px; justify-content: flex-start; }
.chips--2 .chip__ui .ic { flex: none; width: 18px; height: 18px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip__ui {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 46px; padding: 0 18px;
	border: 1px solid var(--line-2); border-radius: 999px;
	background: var(--card); font-weight: 600; font-size: 15px;
	transition: background .15s, border-color .15s, color .15s;
}
.chip__ui .ic { width: 19px; height: 19px; color: var(--muted); }
.chip input:checked + .chip__ui { background: color-mix(in srgb, var(--c-primary) 26%, var(--card)); border-color: var(--c-primary); }
.chip input:checked + .chip__ui .ic { color: #fff; }
.chip input:focus-visible + .chip__ui { outline: 2px solid var(--c-violet); outline-offset: 2px; }

.switch { position: relative; display: inline-block; width: 52px; height: 32px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch__ui { position: absolute; inset: 0; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); transition: background .2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch input:checked + .switch__ui { background: var(--grad); border-color: transparent; }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--c-violet); outline-offset: 2px; }
.switch input:disabled + .switch__ui { opacity: .45; }

/* ------------------------------------------------------------- onboarding */

.onb { padding-bottom: 0; }
.onb__head { display: flex; align-items: center; gap: 10px; margin: -6px -6px 22px; }
.progress { flex: 1; height: 5px; border-radius: 5px; background: var(--card-2); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); border-radius: 5px; transition: width .4s var(--ease); }
.onb__count { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; min-width: 74px; text-align: right; }
.onb__body { flex: 1; }
.onb__foot, .subpage__foot {
	position: sticky; bottom: 0; z-index: 2;
	margin: 0 -16px; padding: 18px 16px calc(var(--safe-bottom) + 16px);
	background: linear-gradient(180deg, transparent, var(--bg) 30%);
	display: grid; gap: 8px;
}

.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 14px; }
.ph {
	position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-tile); overflow: hidden;
	background: var(--card); border: 1px solid var(--line); padding: 0;
	display: grid; place-items: center; color: var(--muted);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--empty { border: 1.5px dashed var(--line-2); background: transparent; }
.ph--empty.is-next { border-color: color-mix(in srgb, var(--c-primary) 70%, transparent); background: color-mix(in srgb, var(--c-primary) 8%, transparent); color: var(--c-violet); }
.ph--empty .ic { width: 30px; height: 30px; }
.ph__main, .ph__num {
	position: absolute; left: 8px; bottom: 8px;
	display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 10px 4px 8px; border-radius: 999px;
	background: rgba(5, 3, 7, .78); color: #fff; font-size: 12.5px; font-weight: 600;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ph__main .ic { width: 14px; height: 14px; fill: var(--c-violet); stroke: var(--c-violet); }
.ph__num { padding: 4px 9px; }
/* Hold and drag to reorder (1.8.6). */
.ph[data-photo] { -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.ph[data-photo] img { pointer-events: none; }
.photo-grid.is-sorting .ph[data-photo] { transition: transform .2s var(--ease); }
.photo-grid.is-sorting .ph.is-dragging { transition: box-shadow .2s; z-index: 3; cursor: grabbing; border-color: var(--c-primary); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9), 0 0 0 2px var(--c-primary); }

.summary__preview { position: relative; height: min(440px, 58vh); margin-bottom: 18px; }
.summary__list { margin: 0; background: var(--card); border-radius: var(--r-tile); padding: 4px 16px; }
.summary__row { display: grid; grid-template-columns: 124px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.summary__row:last-child { border-bottom: 0; }
.summary__row dt { color: var(--muted); font-size: 14px; }
.summary__row dd { margin: 0; display: flex; justify-content: space-between; gap: 10px; min-width: 0; }
.summary__row dd span { overflow-wrap: anywhere; }
.summary__edit { font-size: 14px; font-weight: 600; text-decoration: none; flex: none; }

/* ------------------------------------------------------------------ swipe */

.swipe { height: 100%; min-height: 0; padding-bottom: 8px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.tonight-chip {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 0 14px;
	border: 1px solid var(--line-2); border-radius: 999px; background: var(--card);
	font-weight: 600; font-size: 14px; color: var(--muted);
}
.tonight-chip.is-on { color: #fff; border-color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 24%, var(--card)); box-shadow: 0 0 22px -6px var(--c-primary); }
.tonight-chip.is-on .ic--eq rect, .tonight-pill .ic--eq rect, .tonight-card.is-on .ic--eq rect, .tonight-dot .ic--eq rect { animation: eq 1.1s ease-in-out infinite; }
.ic--eq .eq2 { animation-delay: -.35s !important; }
.ic--eq .eq3 { animation-delay: -.7s !important; }

.deck { position: relative; flex: 1; min-height: 300px; margin: 12px 0 14px; }
.deck__loading { position: absolute; inset: 0; display: grid; place-items: center; }

.card {
	position: absolute; inset: 0;
	border-radius: var(--r-card); overflow: hidden;
	background: var(--card);
	box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
	touch-action: none; user-select: none; -webkit-user-select: none;
	transition: transform .3s var(--ease), opacity .3s;
	will-change: transform;
}
.card.is-top { z-index: 2; cursor: grab; }
/* Swipe: the card runs edge to edge (no side margins, square corners). */
.swipe .deck { margin-left: calc(-16px - var(--safe-left)); margin-right: calc(-16px - var(--safe-right)); }
.swipe .card { border-radius: 0; box-shadow: none; }
.swipe .card.is-next { transform: scale(.96) translateY(10px); }
.card.is-dragging { cursor: grabbing; }
.card.is-next { z-index: 1; transform: scale(.94) translateY(14px); opacity: .55; pointer-events: none; }
.card.is-leaving { z-index: 3; pointer-events: none; }
.card--preview { position: absolute; inset: 0; touch-action: auto; cursor: pointer; }
.card__media { position: absolute; inset: 0; background: var(--card-2); }
.card__media--empty { background: radial-gradient(circle at 30% 20%, var(--card-2), var(--card)); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; -webkit-user-drag: none; }
.card__media img.is-current { opacity: 1; }
.card__bars { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 1; }
.card__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .32); }
.card__bars i.is-on { background: #fff; }
.card__info {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 90px 20px 20px;
	background: linear-gradient(0deg, rgba(5, 3, 7, .96) 18%, rgba(5, 3, 7, .55) 62%, transparent);
	display: grid; gap: 8px; justify-items: start;
}
.card__name { font-family: var(--font-heading); font-weight: 700; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.card__age { font-weight: 300; opacity: .9; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__bio { color: rgba(255, 255, 255, .84); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__stamp {
	position: absolute; top: 38px; z-index: 2;
	font-family: var(--font-heading); font-weight: 700; font-size: 28px; letter-spacing: .03em;
	padding: 4px 14px; border: 3px solid currentColor; border-radius: 12px;
	opacity: 0; pointer-events: none;
}
.card__stamp--like { left: 22px; color: var(--c-violet); transform: rotate(-14deg); text-shadow: 0 0 18px var(--c-primary); box-shadow: 0 0 22px -4px var(--c-primary), inset 0 0 14px -4px var(--c-primary); }
.card__stamp--pass { right: 22px; color: var(--danger); transform: rotate(14deg); }
.card.show-like .card__stamp--like, .card.show-pass .card__stamp--pass { opacity: 1; }

.tag {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 5px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px; font-weight: 600; white-space: nowrap;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag .ic { width: 15px; height: 15px; }
.tag--loc { background: color-mix(in srgb, var(--c-primary) 22%, transparent); border-color: color-mix(in srgb, var(--c-violet) 35%, transparent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tonight-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 11px; border-radius: 999px;
	background: color-mix(in srgb, var(--c-primary) 30%, transparent);
	border: 1px solid color-mix(in srgb, var(--c-violet) 60%, transparent);
	color: #FFE3F3; font-size: 12.5px; font-weight: 700;
	box-shadow: 0 0 16px -4px var(--c-primary);
}

.swipe__actions { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 2px 0 6px; }
.swipe__actions.is-disabled { opacity: .3; pointer-events: none; }

/* ------------------------------------------------------------------ empty */

.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 12px; margin: auto 0; }
.empty__ic { width: 52px; height: 52px; color: var(--c-violet); stroke-width: 1.4; margin-bottom: 4px; }
.empty h2 { font-family: var(--font-heading); font-weight: 700; font-size: 21px; letter-spacing: -.005em; }
.empty p { color: var(--muted); max-width: 34ch; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.deck .empty { position: absolute; inset: 0; align-content: center; overflow-y: auto; padding: 16px 12px; }

/* ------------------------------------------------------------------ likes */

.likes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.like-tile {
	position: relative; aspect-ratio: 3 / 4; padding: 0; border: 0;
	border-radius: var(--r-tile); overflow: hidden; background: var(--card);
	text-align: left; color: #fff;
	transition: transform .25s var(--ease), opacity .25s;
}
.like-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.is-blurred { filter: blur(12px) saturate(1.25); transform: scale(1.18); }
.like-tile__blank { position: absolute; inset: 0; background: var(--grad); opacity: .3; }
.like-tile__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; background: linear-gradient(0deg, rgba(5, 3, 7, .92), transparent); display: grid; gap: 6px; }
.like-tile__info strong { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.like-tile__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.like-tile__tags .tag { font-size: 11.5px; padding: 3px 8px; }
.like-tile__tags .tag .ic { width: 13px; height: 13px; }
.like-tile__new { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 700; box-shadow: var(--glow); }
.tonight-dot { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(5, 3, 7, .7); color: var(--c-violet); }
.like-tile.is-gone { transform: scale(.9); opacity: 0; }

/* ------------------------------------------------------------------ chats */

.newmatches { margin-bottom: 8px; }
.newmatches__row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.newmatches__row::-webkit-scrollbar { display: none; }
.newmatch { display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--text); width: 76px; flex: none; scroll-snap-align: start; }
.newmatch__ring { padding: 3px; border-radius: 50%; background: var(--grad); }
.newmatch__ring.is-tonight { box-shadow: 0 0 18px -2px var(--c-primary); }
.newmatch__ring .avatar { width: 66px; height: 66px; border: 3px solid var(--bg); }
.newmatch__name { font-size: 13px; font-weight: 600; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { border-radius: 50%; object-fit: cover; background: var(--card-2); flex: none; }
.avatar--blank { display: inline-block; width: 52px; height: 52px; }
.convs { list-style: none; margin: 0; padding: 0; }
.conv { display: flex; align-items: center; gap: 14px; padding: 10px 4px; color: var(--text); text-decoration: none; border-radius: 16px; }
.conv:active { background: var(--card); }
.conv .avatar { width: 54px; height: 54px; }
.conv__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.conv__top, .conv__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.conv__name { font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv__time { font-size: 12.5px; color: var(--muted); flex: none; }
.conv__preview { color: var(--muted); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.conv.is-unread .conv__name { font-weight: 750; }
.conv.is-unread .conv__preview { color: var(--text); }
/* Chats: total matches under the title. */
.chats__count { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.chats__count .ic { width: 15px; height: 15px; fill: var(--c-primary); stroke: var(--c-primary); stroke-width: 2; }
.chats__count strong { color: var(--text); font-weight: 700; }
/* Chats: tighter spacing between the count, New matches and Messages. */
.chats .pagehead { margin-bottom: 4px; }
.chats .section-label { margin-top: 14px; }
.chats .newmatches { margin-bottom: 0; }
.pill { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }

/* ------------------------------------------------------------------- chat */

.chat { height: 100%; min-height: 0; padding: 0; }
.chat__head {
	display: flex; align-items: center; gap: 4px;
	padding: calc(var(--safe-top) + 6px) calc(8px + var(--safe-right)) 6px calc(6px + var(--safe-left));
	background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.chat__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 4px; text-align: left; border-radius: 12px; }
.chat__who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--card-2); }
.chat__who span { display: grid; min-width: 0; }
.chat__who strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat__who small { font-size: 12.5px; color: var(--c-violet); }
.chat__who small:empty { display: none; }
.chat__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 14px calc(14px + var(--safe-right)) 10px calc(14px + var(--safe-left)); overscroll-behavior: contain; display: flex; flex-direction: column; }
.chat__older { align-self: center; }
.chat__via { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; font-size: 13px; line-height: 1.35; text-align: center; color: #FFE3F3; background: color-mix(in srgb, var(--c-primary) 16%, var(--bg-2)); border-bottom: 1px solid var(--line); }
.chat__via .ic { width: 16px; height: 16px; flex: none; color: var(--c-violet); }
.chat__intro { margin: auto 0 18px; text-align: center; display: grid; gap: 6px; padding: 20px; color: var(--text); }
.msgs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.msgs__day { align-self: center; font-size: 12px; color: var(--muted); font-weight: 600; margin: 14px 0 6px; }
.msg { max-width: 80%; display: flex; flex-direction: column; }
.msg--mine { align-self: flex-end; align-items: flex-end; }
.msg--theirs { align-self: flex-start; align-items: flex-start; }
.msg__text { padding: 9px 14px; border-radius: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; }
.msg--mine .msg__text { background: var(--grad); border-bottom-right-radius: 6px; }
.msg--theirs .msg__text { background: var(--card-2); border-bottom-left-radius: 6px; }
.msg__time { font-size: 11px; color: var(--muted); margin: 2px 6px 0; }
.msg__receipt { font-size: 11.5px; color: var(--c-violet); margin: 0 6px; font-weight: 600; }
.msg.is-pending { opacity: .6; }
.msg.is-failed .msg__text { background: transparent; border: 1px solid var(--danger); }
.msg__retry { border: 0; background: none; color: var(--danger); font-size: 12px; padding: 2px 6px; }
.chat__notice { margin: 0; padding: 14px 16px calc(var(--safe-bottom) + 14px); text-align: center; color: var(--muted); background: var(--bg-2); border-top: 1px solid var(--line); }
.composer {
	display: flex; align-items: flex-end; gap: 8px;
	padding: 8px calc(10px + var(--safe-right)) calc(var(--safe-bottom) + 8px) calc(10px + var(--safe-left));
	border-top: 1px solid var(--line); background: var(--bg-2);
}
.composer textarea {
	flex: 1; min-height: 44px; max-height: 140px; resize: none;
	padding: 11px 16px; border-radius: 22px; border: 1px solid var(--line-2);
	background: var(--card); color: var(--text); font-size: 16px; line-height: 1.35; outline: none;
}
.composer textarea:focus { border-color: var(--c-primary); }
.send-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; transition: opacity .15s; }
.send-btn:disabled { opacity: .35; }
.send-btn .ic { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- profile */

.me-hero { display: flex; align-items: center; gap: 16px; margin: 2px 0 18px; }
.me-hero__photo { padding: 3px; border: 0; border-radius: 50%; background: transparent; flex: none; transition: box-shadow .3s var(--ease); }
/* Unused since 2.0.0 ("Looking to meet tonight" was removed). */
.me-hero__photo.is-tonight { background: var(--grad); box-shadow: 0 0 22px -4px var(--c-primary); }
.me-hero__photo img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--card-2); }
.me-hero__name { font-family: var(--font-heading); font-weight: 700; font-size: 25px; letter-spacing: -.015em; line-height: 1.15; }
.me-hero__age { font-weight: 300; }
.tonight-card {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 16px 16px 16px 18px; border-radius: 22px;
	background: var(--card); border: 1px solid var(--line);
	transition: border-color .2s, box-shadow .2s;
}
.tonight-card.is-on { border-color: color-mix(in srgb, var(--c-primary) 70%, transparent); box-shadow: 0 0 30px -12px var(--c-primary); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c-primary) 22%, var(--card)), var(--card)); }
.tonight-card__text { display: grid; gap: 4px; }
.tonight-card__text strong { display: flex; align-items: center; gap: 8px; }
.tonight-card__text .ic--eq { color: var(--c-violet); }
.tonight-card__text span { color: var(--muted); font-size: 14px; }
.open-card { margin-top: 0; }
.open-card .tonight-card__text strong .ic { width: 20px; height: 20px; color: var(--c-violet); }
.open-card.is-on .tonight-card__text strong .ic { color: #fff; }
.open-pill .ic { width: 15px; height: 15px; }

.rows { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: 20px; overflow: hidden; }
.rows > li + li { border-top: 1px solid var(--line); }
.row {
	display: flex; align-items: center; gap: 14px; width: 100%;
	padding: 14px 16px; min-height: 56px;
	background: transparent; border: 0; color: var(--text); text-decoration: none; text-align: left;
	font-size: 16px;
}
button.row:active, a.row:active { background: var(--card-2); }
.row > .ic:first-child { color: var(--muted); }
.row > span { flex: 1; display: grid; gap: 2px; min-width: 0; }
.row small { color: var(--muted); font-size: 13px; }
.row small:empty { display: none; }
.row__chev { color: var(--muted); width: 18px; height: 18px; }
.row--danger, .row--danger > .ic:first-child { color: var(--danger); }
.rows--sheet { background: var(--card); }

.subpage { padding-bottom: 0; }
.subpage__head { display: flex; align-items: center; gap: 6px; margin: -6px -6px 18px; }
.subpage__title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; }
.subpage__body { flex: 1; padding-bottom: 20px; }

/* -------------------------------------------------------- profile sheet */

.profile-sheet { display: grid; gap: 16px; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 82%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; scroll-snap-align: center; background: var(--card); }
.gallery img.is-blurred { transform: none; filter: blur(14px) saturate(1.2); aspect-ratio: 4 / 3; }
.gallery:has(img:only-child) img { flex-basis: 100%; }
.profile-sheet__info { display: grid; gap: 8px; justify-items: start; }
.profile-sheet__info .section-label { margin: 10px 0 0; }
.profile-sheet__name { font-family: var(--font-heading); font-size: 28px; font-weight: 700; letter-spacing: -.015em; }
.profile-sheet__bio { font-size: 16px; white-space: pre-wrap; }
.profile-sheet__actions { display: grid; gap: 10px; position: sticky; bottom: -24px; padding: 14px 0 6px; background: linear-gradient(180deg, transparent, var(--bg-2) 30%); }
.detail-actions { display: flex; justify-content: center; gap: 28px; }
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ------------------------------------------------------------------ tabbar */

.tabbar {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 10;
	height: calc(var(--tabbar-h) + var(--safe-bottom));
	padding: 0 var(--safe-right) var(--safe-bottom) var(--safe-left);
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
	background: rgba(5, 3, 7, .88);
	backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
	border-top: 1px solid var(--line);
}
.tab {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 600;
	position: relative; -webkit-tap-highlight-color: transparent;
}
.tab__icon { position: relative; display: grid; place-items: center; width: 30px; height: 28px; }
.tab .ic { width: 25px; height: 25px; transition: transform .2s var(--ease); }
.tab.is-active { color: #fff; }
.tab.is-active .ic { stroke: var(--c-violet); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c-primary) 80%, transparent)); }
.tab.is-active[data-tab="likes"] .ic { fill: color-mix(in srgb, var(--c-primary) 45%, transparent); }
.tab.is-active[data-tab="swipe"] .ic,
.tab.is-active[data-tab="events"] .ic { --ic-fill: color-mix(in srgb, var(--c-primary) 45%, transparent); }
.tab.is-active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px; background: var(--grad); }
.tab:active .ic { transform: scale(.9); }
.badge {
	position: absolute; top: -6px; left: 17px;
	min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; border: 2px solid var(--bg);
	font-size: 11px; font-weight: 800; line-height: 15px; text-align: center; color: #fff;
	background: var(--c-primary);
	box-sizing: border-box;
}
.badge[data-badge="chats"] { background: var(--c-violet); }
/* Events tab: a plain dot (no number) whenever something is on tonight. */
.badge--dot { top: -1px; left: 20px; min-width: 0; width: 12px; height: 12px; padding: 0; box-shadow: 0 0 8px var(--c-primary); }

/* ----------------------------------------------------------------- match */

.match {
	position: fixed; inset: 0; z-index: 60;
	display: grid; place-content: center; justify-items: center; gap: 18px;
	padding: calc(var(--safe-top) + 24px) 24px calc(var(--safe-bottom) + 24px);
	text-align: center;
	background: rgba(4, 2, 6, .95);
	opacity: 0; transition: opacity .28s;
}
.match.is-open { opacity: 1; }
.match__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 40% at 50% 38%, color-mix(in srgb, var(--c-primary) 45%, transparent), transparent 70%); }
.match__title {
	font-family: var(--font-heading); font-weight: 700;
	font-size: clamp(42px, 13vw, 66px); line-height: 1.02; letter-spacing: -.03em;
	background: linear-gradient(180deg, #fff 30%, var(--c-violet)); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c-primary) 80%, transparent));
}
.match__sub { color: rgba(255, 255, 255, .85); font-size: 17px; }
.match__faces { display: flex; justify-content: center; margin: 18px 0 26px; }
.match__faces img {
	width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
	border: 3px solid var(--c-violet); box-shadow: 0 0 34px -4px var(--c-primary);
	background: var(--card-2);
}
.match__faces img:first-child { transform: rotate(-8deg) translateX(14px); }
.match__faces img:last-child { transform: rotate(8deg) translateX(-14px); }
.match.is-open .match__faces img:first-child { animation: faceL .6s var(--ease) both; }
.match.is-open .match__faces img:last-child { animation: faceR .6s var(--ease) both; }
.match__actions { display: grid; gap: 10px; width: min(360px, 86vw); }

/* ------------------------------------------------------------- toasts etc */

.toasts { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 14px); z-index: 70; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast {
	max-width: 440px; padding: 12px 16px; border-radius: 14px;
	background: #2A1832; border: 1px solid var(--line-2); color: #fff; font-size: 14.5px; font-weight: 500;
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7);
	opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-in { opacity: 1; transform: none; }
.toast--error { border-color: color-mix(in srgb, var(--danger) 70%, transparent); }

.install-banner {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 16px; padding: 10px 6px 10px 12px; border-radius: 18px;
	background: var(--card-2); border: 1px solid var(--line-2);
}
.install-banner img { border-radius: 9px; }
.install-banner__text { flex: 1; display: grid; min-width: 0; }
.install-banner__text small { color: var(--muted); font-size: 12.5px; }
.install-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
.install-steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: s; }
.install-steps li .ic { color: var(--c-violet); margin-top: 1px; }
.install-steps li span::before { content: counter(s) ". "; color: var(--muted); }

/* iPhone / iPad install sheet and first-launch alerts prompt (assets/js/ios-install.js) */
.ios-install { display: grid; gap: 14px; }
.ios-install__lead { color: var(--muted); font-size: 15px; }
.ios-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ios-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.ios-step__n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 700; font-size: 14px; }
.ios-step__t { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.35; }
.ios-step__t strong { color: #FFD3EC; font-weight: 700; }
.ios-step__ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c-violet) 18%, var(--card)); color: #EADCF7; }
.ios-arrow { display: flex; justify-content: center; color: var(--c-primary); margin-bottom: -10px; }
.ios-arrow.is-right { justify-content: flex-end; padding-right: 14px; }
.ios-arrow .ic { width: 30px; height: 30px; animation: ios-bob 1.2s ease-in-out infinite; }
@keyframes ios-bob { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .ios-arrow .ic { animation: none; } }

/* --------------------------------------------------------------- motion */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .55; transform: scale(.96); } }
@keyframes eq { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
@keyframes sweep { from { transform: rotate(calc(var(--a) - 9deg)); } to { transform: rotate(calc(var(--a) + 9deg)); } }
@keyframes faceL { from { opacity: 0; transform: translateX(-60px) rotate(-20deg); } }
@keyframes faceR { from { opacity: 0; transform: translateX(60px) rotate(20deg); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.welcome__beams i { animation: none; }
}

/* ------------------------------------------------------------ responsive */

@media (max-height: 640px) {
	.welcome__title { font-size: clamp(34px, 10vw, 48px); }
	.welcome__copy { padding-bottom: 18px; }
	.round-btn { width: 56px; height: 56px; }
	.deck { min-height: 260px; margin: 8px 0 10px; }
	.match__faces img { width: 104px; height: 104px; }
}
@media (orientation: landscape) and (max-height: 500px) {
	#clubr-root { max-width: 720px; }
	.deck { min-height: 220px; }
	.card__info { padding-top: 40px; }
	.card__bio { display: none; }
	.welcome__copy { padding-bottom: 8px; }
	.match { grid-template-columns: auto auto; align-items: center; gap: 12px 32px; }
	.match__faces { margin: 0; }
}
@media (min-width: 400px) {
	.photo-grid { gap: 14px; }
}
.push-card > .ic { color: var(--c-primary); margin-left: 4px; }
.fineprint a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.fineprint--legal { margin-top: 2px; }
.form .fineprint--legal { text-align: left; margin: 0; }

/* ------------------------------------------------------------ drink offers (1.6.5) */

.swipe__actions { position: relative; z-index: 4; }
.swipe__actions.has-drink { padding-bottom: 22px; }
.drink-btn { position: relative; display: grid; justify-items: center; }
.round-btn--drink {
	position: relative; width: 54px; height: 54px;
	color: var(--c-primary);
	border: 1.5px solid var(--c-primary);
	background: color-mix(in srgb, var(--c-primary) 12%, var(--card));
	box-shadow: 0 0 22px -4px color-mix(in srgb, var(--c-primary) 75%, transparent);
}
.round-btn--drink .ic { width: 26px; height: 26px; stroke-width: 1.9; }
.round-btn--drink.is-empty, .drink-btn.is-empty .round-btn--drink { color: var(--muted); border-color: var(--line-2); background: var(--card); box-shadow: none; }
.drink-btn__count {
	position: absolute; top: -5px; right: -7px;
	min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	display: grid; place-items: center;
	background: #fff; color: #0B0A10; font-size: 11px; font-weight: 700; line-height: 1;
}
.drink-btn.is-empty .drink-btn__count { background: var(--card-2); color: var(--muted); }
.drink-btn__label {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 5px;
	font-size: 12px; font-weight: 600; white-space: nowrap; color: rgba(255, 255, 255, .9);
	pointer-events: none;
}

/* First-time tooltip, pointing at the glass. */
.drink-tip {
	position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%);
	width: min(284px, calc(100vw - 40px)); z-index: 10;
	display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px;
	background: #fff; color: #14111A; text-align: left;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .55);
	animation: tipIn .35s var(--ease) both;
}
.drink-tip::after {
	content: ""; position: absolute; left: 50%; bottom: -7px; width: 16px; height: 16px; margin-left: -8px;
	background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.drink-tip__head { display: flex; align-items: center; gap: 8px; }
.drink-tip__head strong { font-family: var(--font-heading); font-size: 16px; font-weight: 700; }
.drink-tip__new { padding: 3px 8px; border-radius: 999px; background: #FFE3F1; color: #B0005A; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.drink-tip__body { display: block; font-size: 13.5px; line-height: 1.45; color: #3B3546; }
.drink-tip__ok { justify-self: end; min-height: 44px; background: #14111A; color: #fff; }
@keyframes tipIn { from { opacity: 0; transform: translate(-50%, 8px); } }

/* Card: "Cheers!" stamp as it floats away, and the info button by the name. */
.card__stamp--drink { left: 50%; color: var(--c-primary); transform: translateX(-50%) rotate(-6deg); text-shadow: 0 0 18px var(--c-primary); box-shadow: 0 0 22px -4px var(--c-primary), inset 0 0 14px -4px var(--c-primary); white-space: nowrap; }
.card.show-drink .card__stamp--drink { opacity: 1; }
.card__more {
	display: inline-grid; place-items: center; vertical-align: 5px;
	width: 34px; height: 34px; margin-left: 10px; padding: 0;
	border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(5, 3, 7, .45); color: #fff;
}
.card__more .ic { width: 18px; height: 18px; }
.card__more { position: relative; }
.card__more::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; } /* 44px touch target, same look */

/* Confirm sheet. */
.drink-sheet { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 4px 8px; }
.drink-sheet__face { position: relative; margin-top: 4px; }
.drink-sheet__pic { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--card-2); border: 2px solid var(--line-2); color: var(--muted); }
.drink-sheet__pic img { width: 100%; height: 100%; object-fit: cover; }
.drink-sheet__pic .ic { width: 40px; height: 40px; }
.drink-sheet__badge {
	position: absolute; right: -10px; bottom: -6px;
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--grad); color: #fff; border: 3px solid var(--bg-2); box-shadow: var(--glow);
}
.drink-sheet__badge .ic { width: 22px; height: 22px; stroke-width: 2.1; }
.drink-sheet__title { font-family: var(--font-heading); font-size: 26px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.drink-sheet__body { color: var(--muted); max-width: 34ch; }
.drink-sheet__facts { list-style: none; margin: 0; padding: 14px 16px; width: 100%; display: grid; gap: 8px; border-radius: 16px; background: var(--card); text-align: left; font-size: 14px; }
.drink-sheet__facts li { display: flex; align-items: center; gap: 10px; }
.drink-sheet__facts .ic { width: 18px; height: 18px; color: #3DDC84; stroke-width: 2.2; }
.drink-sheet__left { font-size: 12.5px; color: var(--muted); margin-top: -4px; }

/* Ribbon used on Likes cards and the profile sheet. */
.drink-ribbon {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 11px 5px 8px; border-radius: 999px;
	background: var(--c-primary); color: #0B0A10; font-size: 12.5px; font-weight: 700;
	box-shadow: 0 0 16px -4px var(--c-primary);
}
.drink-ribbon .ic { width: 15px; height: 15px; stroke-width: 2.3; }

/* Likes: tonight's drink offers above the other likes. */
.likes__section { grid-column: 1 / -1; margin: 6px 4px 0; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.likes__section--drinks { color: var(--c-primary); }
.likes__note { grid-column: 1 / -1; margin: -6px 4px 0; font-size: 13px; color: var(--muted); }
.drink-card {
	grid-column: 1 / -1; display: flex; gap: 14px; padding: 12px;
	border-radius: var(--r-tile);
	background: color-mix(in srgb, var(--c-primary) 9%, var(--card));
	border: 1.5px solid color-mix(in srgb, var(--c-primary) 75%, transparent);
	box-shadow: 0 0 26px -10px var(--c-primary);
	transition: transform .25s var(--ease), opacity .25s;
}
.drink-card.is-gone { transform: scale(.96); opacity: 0; }
.drink-card__face { position: relative; flex: none; width: 104px; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--card-2); }
.drink-card__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drink-card__face .like-tile__new { top: 8px; left: 8px; }
.drink-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.drink-card__name { padding: 0; border: 0; background: none; color: var(--text); text-align: left; font-family: var(--font-heading); font-size: 20px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.drink-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.drink-card__tags .tag { font-size: 11.5px; padding: 3px 8px; }
.drink-card__tags .tag .ic { width: 13px; height: 13px; }
.drink-card__actions { display: flex; gap: 8px; width: 100%; margin-top: auto; }
.drink-card__actions .btn { flex: 1; min-height: 44px; padding: 0 12px; }
.like-tile__drink { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #0B0A10; }
.like-tile__drink .ic { width: 16px; height: 16px; stroke-width: 2.3; }

/* Chats: new-match ring badge, and the banner at the top of a conversation. */
.newmatch__ring { position: relative; }
.newmatch__drink { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-primary); color: #0B0A10; border: 2px solid var(--bg); }
.newmatch__drink .ic { width: 14px; height: 14px; stroke-width: 2.3; }
.chat__drink {
	margin: auto auto 16px; max-width: 320px;
	display: grid; justify-items: center; gap: 6px; text-align: center;
	padding: 16px 20px; border-radius: 20px;
	background: color-mix(in srgb, var(--c-primary) 10%, var(--card));
	border: 1px solid color-mix(in srgb, var(--c-primary) 45%, transparent);
}
.chat__drink-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow); margin-bottom: 2px; }
.chat__drink-ic .ic { width: 22px; height: 22px; stroke-width: 2.1; }
.chat__drink strong { font-family: var(--font-heading); font-size: 17px; font-weight: 700; }
.chat__drink .muted { font-size: 13.5px; color: var(--muted); }

@media (max-height: 640px) {
	.swipe__actions.has-drink { padding-bottom: 20px; }
}

/* Swipe card of someone who offered you a drink tonight: neon border that gently pulses. */
.card--drink {
	box-shadow:
		0 0 0 2.5px var(--c-primary),
		0 0 34px -4px color-mix(in srgb, var(--c-primary) 85%, transparent),
		0 24px 50px -24px rgba(0, 0, 0, .9);
}
.card--drink::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 0 40px -12px var(--c-primary);
}
.card--drink.is-top { animation: drinkGlow 2.4s ease-in-out infinite; }
/* Edge-to-edge card: the outer glow would be cut off by the screen edge, so the neon border goes inside. */
.swipe .card--drink, .swipe .card--drink.is-top { box-shadow: none; animation: none; }
.swipe .card--drink::after { box-shadow: inset 0 0 0 3px var(--c-primary), inset 0 0 44px -8px var(--c-primary); animation: drinkGlowIn 2.4s ease-in-out infinite; }
.swipe .card--drink.is-dragging::after, .swipe .card--drink.is-leaving::after { animation: none; }
@keyframes drinkGlowIn {
	50% { box-shadow: inset 0 0 0 3px var(--c-primary), inset 0 0 64px -4px var(--c-primary); }
}
.card--drink.is-dragging, .card--drink.is-leaving { animation: none; }
.card__info .drink-ribbon { margin-bottom: 2px; }
@keyframes drinkGlow {
	50% { box-shadow: 0 0 0 2.5px var(--c-primary), 0 0 52px 2px color-mix(in srgb, var(--c-primary) 70%, transparent), 0 24px 50px -24px rgba(0, 0, 0, .9); }
}

/* Pills side by side on one row (swipe card and profile sheet). */
.card__pills { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.card__pills .tonight-pill { white-space: nowrap; }

/* ------------------------------------------------------------ intro messages (1.6.5) */

.swipe__actions.has-intro { padding-bottom: 22px; }
.round-btn--intro {
	position: relative; width: 54px; height: 54px;
	color: #E3C7FF;
	border: 1.5px solid var(--c-violet);
	background: color-mix(in srgb, var(--c-violet) 14%, var(--card));
	box-shadow: 0 0 22px -4px color-mix(in srgb, var(--c-violet) 75%, transparent);
}
.round-btn--intro .ic { width: 25px; height: 25px; stroke-width: 1.9; }
.round-btn--intro.is-empty, .intro-btn.is-empty .round-btn--intro { color: var(--muted); border-color: var(--line-2); background: var(--card); box-shadow: none; }

.card__stamp--intro { left: 50%; color: var(--c-violet); transform: translateX(-50%) rotate(-6deg); text-shadow: 0 0 18px var(--c-violet); box-shadow: 0 0 22px -4px var(--c-violet), inset 0 0 14px -4px var(--c-violet); white-space: nowrap; }
.card.show-intro .card__stamp--intro { opacity: 1; }

/* Compose sheet. */
.intro-sheet__field { position: relative; width: 100%; }
.intro-sheet__input {
	display: block; width: 100%; min-height: 96px; resize: none;
	padding: 14px 16px 28px; border-radius: var(--r-field);
	border: 1px solid var(--line-2); background: var(--card); color: var(--text);
	font-size: 16px; line-height: 1.4; text-align: left;
}
.intro-sheet__input:focus { outline: none; border-color: var(--c-violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-violet) 30%, transparent); }
.intro-sheet__count { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: var(--muted); pointer-events: none; }
.intro-sheet__ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.chip-btn {
	min-height: 36px; padding: 0 12px; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--c-violet) 45%, transparent);
	background: color-mix(in srgb, var(--c-violet) 12%, transparent);
	color: var(--text); font-size: 13px; font-weight: 600;
}
.chip-btn:active { transform: scale(.97); }
.intro-sheet .drink-sheet__badge { background: linear-gradient(120deg, var(--c-violet), var(--c-magenta)); }

/* The intro text, on Likes cards and in the profile sheet. */
.intro-quote {
	position: relative; margin: 0; padding: 10px 12px 10px 14px;
	border-radius: 4px 14px 14px 14px;
	background: color-mix(in srgb, var(--c-violet) 16%, var(--card-2));
	color: #F4ECFF; font-size: 14.5px; line-height: 1.4;
	overflow-wrap: anywhere;
}
.drink-card .intro-quote { width: 100%; }
.profile-sheet__intro { display: grid; gap: 6px; width: 100%; }
.drink-ribbon--intro { background: var(--c-violet); color: #fff; box-shadow: 0 0 16px -4px var(--c-violet); }
.drink-card--intro {
	background: color-mix(in srgb, var(--c-violet) 9%, var(--card));
	border-color: color-mix(in srgb, var(--c-violet) 70%, transparent);
	box-shadow: 0 0 26px -10px var(--c-violet);
}
.likes__section--intros { color: #CFA3FF; }


/* ------------------------------------------------------------ action row sizes (1.6.5)
   Rewind · Pass · Drink · Like · Intro. Drink is the big one in the centre; the
   other four share one medium size. Same scheme in the full profile sheet. */
.swipe__actions { gap: 12px; }
.swipe__actions .round-btn,
.detail-actions .round-btn { width: 56px; height: 56px; }
.swipe__actions .round-btn .ic,
.detail-actions .round-btn .ic { width: 24px; height: 24px; }
.swipe__actions .round-btn--drink,
.detail-actions .round-btn--drink { width: 74px; height: 74px; }
.swipe__actions .round-btn--drink .ic,
.detail-actions .round-btn--drink .ic { width: 34px; height: 34px; }
.round-btn--drink .drink-btn__count { top: -3px; right: -4px; min-width: 22px; height: 22px; font-size: 12px; }
.detail-actions { gap: 14px; align-items: center; }

.round-btn--rewind { color: #FFC24B; border: 1.5px solid rgba(255, 194, 75, .5); background: var(--card); }
.round-btn--rewind .ic { stroke-width: 2.2; }
.round-btn--rewind.is-off { opacity: .35; border-color: var(--line-2); box-shadow: none; }
.round-btn--rewind.is-off:active { transform: none; }

@media (max-height: 640px) {
	.swipe__actions .round-btn { width: 50px; height: 50px; }
	.swipe__actions .round-btn--drink { width: 64px; height: 64px; }
}
@media (max-width: 360px) {
	.swipe__actions { gap: 8px; }
	.swipe__actions .round-btn { width: 50px; height: 50px; }
	.swipe__actions .round-btn--drink { width: 64px; height: 64px; }
	.swipe__actions .round-btn--drink .ic { width: 30px; height: 30px; }
}
/* Keep all medium buttons exactly the same size (never squeezed unevenly). */
.swipe__actions > * { flex: none; }
@media (max-width: 340px) {
	.swipe__actions { gap: 6px; }
	.swipe__actions .round-btn { width: 46px; height: 46px; }
	.swipe__actions .round-btn .ic { width: 21px; height: 21px; }
	.swipe__actions .round-btn--drink { width: 58px; height: 58px; }
	.swipe__actions .round-btn--drink .ic { width: 28px; height: 28px; }
}
/* Line the "Intro" label up with "Drink?" under the bigger drink button. */
.swipe__actions .intro-btn .drink-btn__label { margin-top: 14px; }
@media (max-height: 640px) { .swipe__actions .intro-btn .drink-btn__label { margin-top: 12px; } }
@media (max-width: 360px) { .swipe__actions .intro-btn .drink-btn__label { margin-top: 12px; } }
@media (max-width: 340px) { .swipe__actions .intro-btn .drink-btn__label { margin-top: 11px; } }

/* "Recently active": used Clubr in the last 3 days. */
.recent-pill {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	padding: 5px 11px; border-radius: 999px;
	background: rgba(5, 3, 7, .55); border: 1px solid rgba(255, 255, 255, .18);
	color: #E6FFF0; font-size: 12.5px; font-weight: 700;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.recent-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 8px #3DDC84; }

/* -------------------------------------------- swipe filters (1.8.4) */
/* Filter button: replaces the wordmark at the top left of Swipe. */
.filter-btn {
	position: relative; display: grid; place-items: center; flex: none;
	width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--text);
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.filter-btn .ic { width: 22px; height: 22px; }
.filter-btn.is-on { border: 1.5px solid var(--c-magenta); background: color-mix(in srgb, var(--c-magenta) 16%, var(--card)); box-shadow: 0 0 22px -8px var(--c-primary); }
.filter-btn:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 2px; }
.filter-btn__count {
	position: absolute; top: -5px; right: -5px;
	min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box;
	border-radius: 999px; border: 2px solid var(--bg); background: var(--c-primary);
	color: #fff; font-size: 11px; font-weight: 800; line-height: 15px; text-align: center;
}

/* Filter sheet. */
.filters { display: grid; gap: 24px; }
.filters__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.filters__label { font-weight: 700; font-size: 16px; }
.frange__val { color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; }
.frange__val.is-set { color: #fff; font-weight: 700; }
.filters__sep { height: 1px; background: var(--line); }
.filters__unset { margin-top: 12px; min-height: 44px; font-size: 14px; color: #D9CEE0; }
.filters__reset { min-height: 44px; padding: 0 8px; border: 0; background: none; color: #FF6BB5; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.filters__reset:disabled { color: var(--muted); opacity: .55; cursor: default; }
.filters__foot { position: sticky; bottom: -24px; z-index: 4; margin-top: -8px; padding: 14px 0 6px; background: linear-gradient(180deg, transparent, var(--bg-2) 30%); }
.chips--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips--3 .chip__ui { width: 100%; padding: 6px 10px; gap: 6px; font-size: 13.5px; line-height: 1.15; border-radius: 24px; justify-content: center; }
.chips--3 .chip__ui .ic { flex: none; width: 18px; height: 18px; }
.filters .chips--2 .chip__ui, .filters .chips--3 .chip__ui { min-height: 44px; }

/* Two-thumb range: two stacked native range inputs, only their thumbs take touches. */
.frange__track { --a: 0; --b: 1; position: relative; height: 28px; }
.frange__rail, .frange__fill { position: absolute; top: 12px; height: 4px; border-radius: 4px; pointer-events: none; }
.frange__rail { left: 13px; right: 13px; background: rgba(255, 255, 255, .14); }
.frange__fill { left: calc(13px + (100% - 26px) * var(--a)); width: calc((100% - 26px) * (var(--b) - var(--a))); background: linear-gradient(90deg, var(--c-violet), var(--c-primary)); }
.frange__track.is-any .frange__fill { display: none; }
.frange__track input[type=range] {
	position: absolute; inset: 0; z-index: 2; width: 100%; height: 28px; margin: 0; padding: 0;
	background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; outline: none;
}
.frange__track input[type=range]::-webkit-slider-runnable-track { height: 28px; background: transparent; border: 0; }
.frange__track input[type=range]::-moz-range-track { height: 28px; background: transparent; border: 0; }
.frange__track input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; pointer-events: auto; cursor: grab;
	width: 26px; height: 26px; margin-top: 1px; box-sizing: border-box;
	border-radius: 50%; background: #fff; border: 3px solid var(--c-magenta);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.frange__track input[type=range]::-moz-range-thumb {
	pointer-events: auto; cursor: grab;
	width: 26px; height: 26px; box-sizing: border-box;
	border-radius: 50%; background: #fff; border: 3px solid var(--c-magenta);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.frange__track.is-any input[type=range]::-webkit-slider-thumb { background: var(--card-2); border: 2px solid rgba(255, 255, 255, .45); box-shadow: none; }
.frange__track.is-any input[type=range]::-moz-range-thumb { background: var(--card-2); border: 2px solid rgba(255, 255, 255, .45); box-shadow: none; }
.frange__track input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-violet) 60%, transparent); }
.frange__track input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-violet) 60%, transparent); }
.frange__ends { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 13px; }


/* =========================================================================
   2.0.0: plans. RSVP to an event, "I'm going" to a club night, or "I'm out".
   A plan is private: lists show a head count behind blurred placeholder faces,
   and a plan is shown to another member only on the match screen.
   ========================================================================= */

/* Event cards: who's going (blurred) and the RSVP button. */
.ev-going { display: inline-flex; align-items: center; gap: 8px; min-width: 0; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: #E9D6F2; white-space: nowrap; }
.ev-faces { display: inline-flex; flex: none; }
.ev-faces span { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; border: 2px solid #1B1021; background: var(--card-2); }
.ev-faces span + span { margin-left: -9px; }
/* Placeholder faces: a blurred head-and-shoulders shape in a few colours. Never a member's photo. */
.ev-face {
	display: block; width: 100%; height: 100%; filter: blur(2.5px) saturate(1.2); transform: scale(1.35);
	background:
		radial-gradient(circle at 50% 40%, var(--f-skin, #F0C4A8) 0 24%, transparent 25%),
		radial-gradient(circle at 50% 30%, var(--f-hair, #2A1A22) 0 34%, transparent 35%),
		radial-gradient(ellipse at 50% 108%, var(--f-top, #FF2D95) 0 48%, transparent 49%),
		var(--f-bg, #3A2347);
}
.ev-face--2 { --f-skin: #D9A27F; --f-hair: #17101A; --f-top: #A93BFF; --f-bg: #24152D; }
.ev-face--3 { --f-skin: #F5D3BD; --f-hair: #5B3524; --f-top: #32C8E6; --f-bg: #40203F; }
.ev-face--4 { --f-skin: #C68B63; --f-hair: #0F0A12; --f-top: #FFB03A; --f-bg: #2D1B3A; }
.ev-faces--lg span { width: 34px; height: 34px; }
.ev-faces--lg span + span { margin-left: -11px; }
.ev-badge--night { padding: 2px 8px; background: transparent; border: 1px solid color-mix(in srgb, var(--c-violet) 60%, transparent); color: #E3C7FF; }
.ev-card__rsvp { flex: none; min-height: 44px; padding: 0 18px; font-size: 14px; }
.ev-card--compact .ev-card__rsvp { padding: 0 16px; }
.ev-card__rsvp.is-mine { gap: 6px; padding: 0 14px; border-color: color-mix(in srgb, var(--c-primary) 70%, transparent); color: #FF9AE0; }
.ev-card__rsvp.is-mine .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.ev-card.is-mine { border-color: color-mix(in srgb, var(--c-primary) 70%, transparent); box-shadow: 0 0 24px -12px var(--c-primary); }
a.ev-card__go { text-decoration: none; }
.ev-hook { margin: 2px 0 0; text-align: center; font-size: 13.5px; font-weight: 600; color: #FFE3F3; text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
/* Welcome with RSVP listings (2.0.0; the layout itself is in the 2.1.4 block at the end). */
.welcome.welcome--rsvp .welcome__events { margin-bottom: 18px; }

/* Confirm sheet: RSVP / I'm going / I'm out. */
.rsvp { display: grid; gap: 14px; }
.rsvp .ev-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
.rsvp__match { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--c-primary) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--c-primary) 45%, transparent); font-size: 14px; line-height: 1.4; }
.rsvp__match-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.rsvp__match-ic .ic { width: 19px; height: 19px; fill: currentColor; }
.rsvp__privacy { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--card); font-size: 13px; line-height: 1.45; color: #D9CEE0; }
.rsvp__privacy .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--c-violet); }
.rsvp__mine { display: flex; align-items: center; gap: 8px; margin: -4px 2px; font-size: 14px; font-weight: 700; color: #FF9AE0; }
.rsvp__mine .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.rsvp__replace { margin: -4px 2px; font-size: 13px; }

/* Swipe (2.1.0): the filter button and my own plan tonight share the top row. The plan is private. */
.topbar--plan { justify-content: flex-start; gap: 10px; }
.plan-chip { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.plan-chip > .ic { flex: none; width: 16px; height: 16px; color: var(--c-violet); }
.plan-chip__text { flex: 1; min-width: 0; display: grid; line-height: 1.15; }
.plan-chip__label { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FF9AE0; }
.plan-chip__text strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-chip .plan-chip__chev { color: var(--muted); }
.plan-chip.is-empty { border-color: color-mix(in srgb, var(--c-primary) 55%, transparent); }
.plan-chip.is-empty > .ic:first-child { display: none; }
.plan-chip:active { background: var(--card-2); }
/* Likes left tonight, on the Like button from 5 down. */
.round-btn--like { position: relative; }
.like-count { position: absolute; top: -4px; right: -5px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: #fff; color: #0B0A10; font-size: 12px; font-weight: 700; line-height: 1; border: 2px solid var(--bg); }

/* Match screen: the first view of a new chat. */
.chat__head-tools { display: flex; align-items: center; flex: none; }
.chat--match .chat__head { background: transparent; border-bottom: 0; }
.chat--match .chat__who { visibility: hidden; }
.chat--match .chat__scroll { padding-top: 0; padding-bottom: 14px; }
.chat__plan .ic { color: #FF9AE0; }
.mhero { margin: auto 0; display: grid; justify-items: center; text-align: center; padding-bottom: 6px; }
.mhero[hidden] { display: none; }
.mhero__title {
	font-family: var(--font-heading); font-weight: 700; font-size: 36px; line-height: 1.1; letter-spacing: -.025em;
	background: linear-gradient(180deg, #fff 30%, var(--c-violet)); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c-primary) 80%, transparent));
}
.mhero__sub { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.mhero__faces { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 14px; }
.mhero__face { padding: 3px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 30px -4px var(--c-primary); }
.mhero__face img, .mhero__blank { display: block; width: 108px; height: 108px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); background: var(--card-2); }
.mhero__heart { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); border: 3px solid var(--bg); box-shadow: var(--glow); color: #fff; }
.mhero__heart .ic { width: 22px; height: 22px; fill: currentColor; }
.mhero__scene { position: relative; width: calc(100% + 28px); height: 176px; margin: -38px -14px 0; overflow: hidden; }
.mhero__scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.mhero__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 3, 7, 0) 34%, rgba(5, 3, 7, 0) 52%, var(--bg) 100%); }
.mhero__lead { position: relative; max-width: 320px; margin-top: -34px; font-family: var(--font-heading); font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.mhero--plain .mhero__faces { margin-bottom: 6px; }
@media (max-height: 700px) {
	.mhero__title { font-size: 30px; }
	.mhero__face img, .mhero__blank { width: 88px; height: 88px; }
	.mhero__scene { height: 132px; margin-top: -30px; }
}
.plan-card {
	display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 14px 16px;
	border-radius: var(--r-tile); text-align: left;
	background: color-mix(in srgb, var(--c-primary) 9%, var(--card));
	border: 1.5px solid color-mix(in srgb, var(--c-primary) 75%, transparent);
	box-shadow: 0 0 26px -10px var(--c-primary);
}
.plan-card__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--c-primary) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c-primary) 45%, transparent); color: #FF9AE0; }
.plan-card__ic .ic { width: 24px; height: 24px; }
.plan-card__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.plan-card__meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.plan-card__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: .01em; text-transform: uppercase; overflow-wrap: anywhere; }
.plan-card__sub { font-size: 13.5px; font-weight: 600; color: #FF9AE0; }
.ice { display: grid; gap: 8px; width: 100%; margin-top: 16px; text-align: left; }
.ice__label { margin: 0 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ice__btn {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 6px 12px 6px 14px;
	border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c-violet) 45%, transparent);
	background: color-mix(in srgb, var(--c-violet) 12%, transparent);
	color: var(--text); font-size: 15px; font-weight: 600; text-align: left;
}
.ice__btn > span { flex: 1; min-width: 0; }
.ice__btn .ic:first-child { flex: none; color: var(--c-primary); }
.ice__btn .ic:last-child { flex: none; width: 18px; height: 18px; color: var(--muted); }
/* The match pop-up (a match that arrives while you're doing something else). */
.match__plan { max-width: 320px; margin: -8px auto 4px; font-family: var(--font-heading); font-weight: 700; font-size: 19px; line-height: 1.25; text-wrap: balance; color: #FFE3F3; }

/* Chats: matches that share tonight's plan. */
.newmatch__plan { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-violet); color: #fff; border: 2px solid var(--bg); }
.newmatch__plan--left { right: auto; left: -2px; }
.newmatch__plan .ic { width: 14px; height: 14px; stroke-width: 2.3; }
.conv__plan { display: inline-flex; align-items: center; gap: 5px; min-width: 0; font-size: 12.5px; font-weight: 600; color: #FF9AE0; }
.conv__plan .ic { flex: none; width: 14px; height: 14px; }
.conv__plan span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Profile: tonight's plan (private). */
.row__link { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; font-size: 14px; font-weight: 600; color: #FF7AD0; text-decoration: none; }
.section-label__note { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.section-label__note .ic { width: 13px; height: 13px; }
.profile .me-hero + .section-label { margin-top: 8px; }

/* Events tab: every category stays on screen. Two items per group, "Show more" in the group heading, "No plan yet" pinned above the tab bar. */
.events__privline { display: flex; align-items: flex-start; gap: 8px; margin: 10px 2px 0; font-size: 13px; line-height: 1.35; color: #D9CEE0; }
.events__privline .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--c-violet); }
.ev-grouphead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 2px 0; }
.ev-grouphead .ev-group { margin: 0; }
.ev-more { position: relative; flex: none; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; color: #FF7AD0; }
.ev-more::after { content: ""; position: absolute; inset: -14px -8px; }
.events--tab .events__list { gap: 8px; }
.events--tab .events__list .ev-card { padding-top: 8px; padding-bottom: 8px; }
.events__noplan { margin-top: 12px; padding: 10px 12px 10px 16px; border: 1.5px solid color-mix(in srgb, var(--c-primary) 75%, transparent); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c-primary) 24%, var(--card)), var(--card)); box-shadow: 0 0 30px -10px var(--c-primary), 0 -12px 30px -6px var(--bg); }
.events__noplan[hidden] { display: none; }
.events__noplan p { display: grid; gap: 1px; font-family: var(--font-heading); font-weight: 700; font-size: 15px; }
.events__noplan-label { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF9AE0; }
.events__noplan .ev-going { margin-top: 2px; font-family: var(--font-ui); }
.events__noplan .ev-going[hidden] { display: none; }
.events__noplan .ev-faces span { border-color: var(--card-2); width: 22px; height: 22px; }
.ev-all { display: grid; gap: 8px; }
.ev-all .ev-card { padding-top: 10px; padding-bottom: 10px; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* 2.0.1: tonight's likes are used up. The button still works (a like back is always allowed), it just steps back. */
.round-btn--like.is-empty { background: var(--card); color: var(--muted); border: 1px solid var(--line-2); box-shadow: none; }

/* 2.0.4: the day and time are never cut off ("Tonight · till 4…"). When they don't fit beside the badge they drop to their own line. */
.ev-card__meta, .plan-card__meta { flex-wrap: wrap; row-gap: 4px; }
.ev-card__when { flex: none; max-width: 100%; overflow: visible; text-overflow: clip; }

/* ========================= 2.1.0 ========================= */

/* Home on a night with listings: no tagline, so the RSVP line is the one message. */
.welcome--notag .welcome__sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.welcome--notag .welcome__copy { padding-bottom: 0; }
.welcome--notag .ev-hook { margin-top: 6px; font-size: 15px; }

/* Events: once I have a plan, the pinned bar shows it. */
.events__myplan .ev-going { gap: 5px; color: var(--muted); }
.events__myplan .ev-going .ic { width: 13px; height: 13px; color: var(--c-violet); }

/* After sign-up: "Going out tonight?" */
.planstep { gap: 0; }
.planstep__head { display: grid; gap: 6px; }
.planstep__step { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF9AE0; }
.planstep__sub { font-size: 15px; line-height: 1.4; color: #D9CEE0; }
.planstep .events__list { flex: 0 0 auto; margin-top: 14px; gap: 8px; }
.planstep .events__list .ev-card { padding-top: 10px; padding-bottom: 10px; }
.planstep__all { align-self: center; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: #FF7AD0; text-decoration: none; }
.planstep__out { position: static; margin-top: auto; }
.planstep .events__list + .planstep__out { margin-top: auto; }
.planstep__skip { margin-top: 6px; color: var(--muted); }

/* ========================= 2.1.2 ========================= */

/* RSVP button on listing cards: smaller and flat, so the featured border and the "I'm out" bar lead.
   The area you can tap stays 44px tall (an invisible zone around the pill). */
.ev-card__rsvp:not(.is-mine) { position: relative; min-height: 36px; height: 36px; padding: 0 16px; font-size: 13.5px; box-shadow: none; }
.ev-card__rsvp:not(.is-mine)::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
/* "EVENT" badge: a soft pink tint, so the button is the brighter pink on the card. "CLUB NIGHT" is unchanged. */
.ev-badge:not(.ev-badge--night) { padding: 2px 8px; background: color-mix(in srgb, var(--c-primary) 22%, transparent); color: #FF9AE0; font-size: 9.5px; }

/* Age check after a Google sign-up: the same agreement line as the email form. */
.gate .fineprint--legal { margin: 2px 0 0; }

/* ========================= 2.1.4 ========================= */

/* Events tab: events and club nights share one card (same font, size and style). The small grey card is now only the "I'm out" card in the sheet. */

/* Home ("Happening tonight"): short two-line rows, so the listings take little height and the logo gets the room.
   Line 1: venue · event name. Line 2: badge · time · head count. The RSVP pill stays on the right. */
.ev-card--row { gap: 12px; padding: 10px 12px 10px 14px; }
.ev-card--row .ev-card__body { gap: 5px; }
.ev-row__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-width: 0; line-height: 1.25; } /* a long event name wraps to a second line; nothing is cut short of that */
.ev-row__name strong { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.ev-row__name span { font-size: 14px; color: #E4D3EC; }
.ev-row__name span::before { content: " · "; color: #B79BC6; }
.ev-row__sub { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.ev-row__sub .ev-card__when, .ev-row__sub .ev-going { flex: none; } /* the time is never shortened (2.0.4) */
.ev-row__sub .ev-going { margin: 0 0 0 auto; gap: 6px; font-size: 12px; }
.ev-row__sub .ev-faces span { width: 20px; height: 20px; border-width: 1.5px; }
.ev-row__sub .ev-faces span + span { margin-left: -7px; }
@media (max-width: 374px) { .ev-row__sub .ev-faces { display: none; } } /* narrow phones: the count alone, so it fits beside the time */
.welcome.welcome--rsvp .welcome__events { gap: 8px; margin-bottom: 14px; }
.welcome.welcome--rsvp .welcome__events .ev-head__all { min-height: 40px; }

/* The logo takes whatever height is left once the listings and the buttons have theirs, up to a cap.
   The image is positioned inside the brand box (so its height can follow the box) rather than
   sizing the box by container units: a size container is a stacking context, which would cut the
   screen-blended logo off from the scene behind it and show its black square. */
.welcome.welcome--events .welcome__brand { flex: 1 1 0; min-height: 120px; margin: 0 0 6px; }
.welcome.welcome--events .welcome__brand::before { width: 260px; height: 260px; }
.welcome.welcome--events .welcome__brand img { position: absolute; inset: 0; margin: auto; width: auto; height: 100%; max-width: 84%; max-height: 200px; border-radius: 20%; }
.welcome.welcome--events.welcome--blend .welcome__brand img { max-width: 92%; max-height: 320px; border-radius: 0; }
.welcome.welcome--events.welcome--notag .welcome__copy { margin-top: 0; }
@media (max-height: 600px) {
	/* Very short screens: the top listing only (an event whenever one is on), so the sign-up buttons stay on screen. */
	.welcome.welcome--rsvp .welcome__events .ev-card ~ .ev-card { display: none; }
	.welcome.welcome--events .welcome__brand { min-height: 96px; }
}

/* ========================= 2.1.6 ========================= */

/* Listing cards, three lines: badge · time / venue / event name (club night: area) · head count.
   A long event name wraps onto a second line; only that card grows. */
.ev-card__line { display: block; margin-top: 1px; font-size: 14px; line-height: 1.5; color: #E4D3EC; }
.ev-card__dot { margin: 0 6px; color: #8F7A9C; }
.ev-card__line .ev-going { display: inline-flex; vertical-align: middle; margin: 0; gap: 6px; font-size: 12.5px; }
.ev-card__line .ev-faces span { width: 20px; height: 20px; border-width: 1.5px; }
.ev-card__line .ev-faces span + span { margin-left: -7px; }

/* Each group (Events, Club nights, a "Show more" sheet, "Going out tonight?") is one panel, with a thin line between listings. */
.ev-panel { display: block; border-radius: var(--r-tile); border: 1px solid color-mix(in srgb, var(--c-violet) 30%, transparent); background: rgba(255, 255, 255, .05); overflow: hidden; }
.ev-panel > .ev-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-top: 11px; padding-bottom: 11px; }
.ev-panel > .ev-card + .ev-card { border-top: 1px solid var(--line-2); }
.ev-panel > .ev-card.is-mine { box-shadow: inset 3px 0 0 var(--c-primary); }
.ev-all.ev-panel { gap: 0; }

/* Venue and plan names: Poppins, the app's heading font. Unbounded (wide, unusual letters such as its E) is kept for the brand only. */
.ev-card__venue, .ev-row__name strong, .plan-card__name { font-family: var(--font-heading); font-weight: 700; letter-spacing: -.01em; }
.ev-card__venue { font-size: 19px; }
.plan-card__name { text-transform: none; }

/* ========================= 2.1.7 ========================= */

/* Home: the listings use the Events tab cards in one panel; the logo is capped at 210px (it was up to 320px in 2.1.4–2.1.6)
   and is centred in the room above "Happening tonight". */
.welcome.welcome--events.welcome--blend .welcome__brand img { max-height: 210px; }
.welcome.welcome--events .welcome__brand img { max-height: 160px; }


/* ========================= 2.2.0 ========================= */

/* "What are you open to?" (sign-up and Edit profile). Two boxes; each opens its own "with" choice. */
.q__hint--lock { display: flex; gap: 8px; align-items: flex-start; }
.q__hint--lock .ic { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--c-violet); }
.open-opt { margin-top: 10px; border: 1px solid var(--line-2); border-radius: var(--r-tile); background: var(--card); transition: border-color .15s, background .15s; }
.open-opt.is-on { border-color: color-mix(in srgb, var(--c-primary) 70%, transparent); background: color-mix(in srgb, var(--c-primary) 10%, var(--card)); }
.open-opt__head { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; cursor: pointer; }
.open-opt__head input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.open-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1.5px solid var(--line-2); border-radius: 7px; }
.open-box .ic { width: 15px; height: 15px; stroke-width: 3; color: #fff; opacity: 0; }
.open-opt__head input:checked + .open-box { background: var(--grad); border-color: transparent; }
.open-opt__head input:checked + .open-box .ic { opacity: 1; }
.open-opt__head input:focus-visible + .open-box { outline: 2px solid var(--c-violet); outline-offset: 2px; }
.open-opt__t { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.open-opt__d { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.open-opt__sub { padding: 0 16px 14px 52px; }
.open-opt__sub[hidden] { display: none; }
.open-opt__sub b { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #E4D3EC; }
.open-opt__sub .chip__ui { min-height: 40px; padding: 0 15px; font-size: 14px; }

/* ========================= 2.3.4 ========================= */

/* Profile → Discovery: answers shown as tags; "What are you open to?" has its privacy line (lock) above them. */
.row__note { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; line-height: 1.3; color: #B79BC6; }
.row__note .ic { flex: none; width: 12px; height: 12px; color: var(--c-violet); }
.row__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.row__tag { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-primary) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c-primary) 55%, transparent); font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #FFD6EF; }
.row__empty { margin: 0; color: var(--muted); }

/* ========================= 2.3.6 ========================= */

/* About me page: the member's gender, shown under the text, not editable. */
.locked-row { display: grid; gap: 2px; margin-top: 4px; padding: 14px 16px; border-radius: var(--r-tile); border: 1px solid var(--line-2); background: var(--card); }
.locked-row__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.locked-row__value { font-family: var(--font-heading); font-weight: 700; font-size: 16px; }
.locked-row__note { color: var(--muted); font-size: 13px; }

/* ========================= 2.3.7 ========================= */

/* Home tagline: under the listings, or under the logo when nothing is on. The headline is always one line
   (sized to the screen width); the two lines under it are smaller and each stays on one line. */
.welcome__sub { display: none; }
.welcome__tagline { justify-self: stretch; margin: 2px 0 14px; text-align: center; }
.welcome__headline { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 700; font-size: min(17.5px, 4.45vw); line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); }
.welcome__lines { margin: 0; font-size: min(14px, 3.55vw); line-height: 1.4; color: #D9C4E6; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.welcome__lines span { display: block; white-space: nowrap; }

.welcome--events .welcome__tagline { margin: 4px 0 16px; }
@media (max-height: 740px) {
	.welcome--events .welcome__tagline { margin: 0 0 10px; }
	.welcome.welcome--rsvp .welcome__events { margin-bottom: 8px; }
}
@media (max-height: 700px) {
	.welcome--events .welcome__tagline { margin: 0 0 6px; }
	.welcome--events .welcome__headline { margin-bottom: 3px; }
	.welcome--events .welcome__lines { font-size: min(13px, 3.3vw); line-height: 1.3; }
	.welcome.welcome--rsvp .welcome__events { margin-bottom: 4px; }
}
@media (max-height: 600px) {
	.welcome--events .welcome__lines { display: none; } /* very short screens: the headline and the buttons only */
}

/* 2.3.8: more room around the home tagline (it looked squeezed between the listings and the
   Google button on Android, e.g. Galaxy S22 Ultra). The logo gives up the space. */
.welcome--events .welcome__tagline { margin: 30px 0 32px; }
.welcome:not(.welcome--events) .welcome__tagline { margin: 6px 0 26px; }
/* The gaps around the tagline never drop below 24px above / 26px below: on shorter screens the logo shrinks instead
   (and on very short ones the two small lines hide, as before). 2.3.9: more room again. */
@media (max-height: 760px) { .welcome--events .welcome__tagline { margin: 26px 0 28px; } }
@media (max-height: 700px) { .welcome--events .welcome__tagline { margin: 24px 0 26px; } .welcome.welcome--rsvp .welcome__events { margin-bottom: 0; } .welcome.welcome--events .welcome__brand { min-height: 72px; } }
@media (max-height: 640px) { .welcome--events .welcome__lines { display: none; } }

/* 2.3.10: in a phone browser (address and tab bars take height) the listings get a little more compact,
   so the logo keeps more of its size; the gaps around the tagline stay as they are. */
@media (max-height: 720px) {
	.welcome__events .ev-head { margin-bottom: 6px; }
	.welcome__events .ev-panel > .ev-card { padding-top: 8px; padding-bottom: 8px; }
	.welcome__events .ev-card__body { gap: 1px; }
	.welcome__events .ev-card__venue { font-size: 18px; }
	.welcome__events .ev-card__rsvp:not(.is-mine) { min-height: 34px; height: 34px; }
	.welcome.welcome--rsvp .welcome__events .ev-head__all { min-height: 30px; }
	.welcome.welcome--events { padding-top: calc(var(--safe-top) + 10px); }
}

/* ========================= 2.3.11 ========================= */

/* Smaller "Event" / "Club night" badges, both the same height (about 15px, was 18px and 21px), with a fixed
   4px gap before the venue name so the badge never touches it (on Android the club night badge covered the
   top of "Yang Club"). */
.ev-badge, .ev-badge:not(.ev-badge--night), .ev-badge--night { font-size: 9px; line-height: 13px; letter-spacing: .1em; padding: 1px 7px; }
.ev-badge--night { padding: 0 7px; }
.ev-card__meta { margin-bottom: 3px; }
.ev-card__meta .ev-card__when { line-height: 15px; }
@media (max-height: 720px) { .welcome__events .ev-card__meta { margin-bottom: 5px; } }

/* ========================= 2.3.12 ========================= */

/* Home re-arranged: logo → "Find your people before you hit the club." → listings → the two small lines → buttons.
   "before you hit the club." takes the neon gradient. With nothing listed, the headline and the lines sit together
   above the buttons. The headline stays on one line. */
.welcome__headline { position: relative; text-align: center; }
.welcome__headline .welcome__accent { background: linear-gradient(100deg, #D07BFF 0%, #FF4FB0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .55)); }
.welcome--events .welcome__headline { margin: 12px 0 16px; }
.welcome--events .welcome__tagline { margin: 16px 0 28px; }
.welcome:not(.welcome--events) .welcome__headline { margin: auto 0 6px; }
.welcome:not(.welcome--events) .welcome__copy { margin-top: 0; }
.welcome:not(.welcome--events) .welcome__tagline { margin: 0 0 26px; }
@media (max-height: 760px) {
	.welcome--events .welcome__headline { margin: 10px 0 14px; }
	.welcome--events .welcome__tagline { margin: 16px 0 26px; }
}
@media (max-height: 700px) {
	.welcome--events .welcome__headline { margin: 8px 0 12px; }
	.welcome--events .welcome__tagline { margin: 16px 0 26px; }
}
@media (max-height: 640px) {
	.welcome--events .welcome__tagline { margin: 0 0 22px; } /* the small lines are hidden here */
}
/* The logo sits at the bottom of its space, right above the headline (spare room goes above the logo, not between them). */
.welcome.welcome--events .welcome__brand img { margin: auto auto 0; }
/* 2.3.13: the headline is two lines, as in the mockup: "Find your people" / "before you hit the club." (gradient). */
.welcome__headline { font-size: min(20px, 5.4vw); line-height: 1.22; white-space: normal; }
.welcome__headline .welcome__accent { display: block; white-space: nowrap; }
@media (max-height: 700px) { .welcome--events .welcome__headline { font-size: min(18.5px, 5vw); } }
/* Two lines take more height: tighter gaps around the headline so the logo keeps its size. */
.welcome--events .welcome__headline { margin: 6px 0 14px; }
@media (max-height: 760px) { .welcome--events .welcome__headline { margin: 4px 0 12px; } }
@media (max-height: 700px) { .welcome--events .welcome__headline { margin: 2px 0 10px; } }
/* Nothing listed: the logo moves up a little so the two-line headline has room under it. */
.welcome:not(.welcome--events) .welcome__headline { margin-bottom: 10px; }
@media (min-height: 760px) { .welcome--blend:not(.welcome--events) .welcome__brand { top: calc(50% - 175px); } }

/* ========================= 2.7.0 ========================= */
/* Events tab: one night at a time (day strip), my plan pinned at the top, "Switch" with Undo,
   "Your spots", and every club open that night in "All N clubs". */
.ev-days { display: flex; gap: 8px; margin: 16px -16px 2px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.ev-days::-webkit-scrollbar { display: none; }
.ev-day { position: relative; flex: none; display: grid; place-content: center; justify-items: center; gap: 1px; width: 56px; height: 60px; padding: 0; border-radius: 16px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-family: var(--font-heading); font-size: 16px; font-weight: 600; line-height: 1.1; }
.ev-day small { font-family: var(--font-ui); font-size: 11px; font-weight: 500; color: var(--muted); }
.ev-day--tonight { width: 80px; }
.ev-day[aria-pressed="true"] { border-color: transparent; background: var(--grad); box-shadow: var(--glow); }
.ev-day[aria-pressed="true"] small { color: #fff; }
.ev-day__dot { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.ev-day[aria-pressed="true"] .ev-day__dot { background: #fff; }
.ev-day:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 2px; }

/* My plan for the night. */
.ev-myplan { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 12px 14px 16px; border-radius: var(--r-tile); border: 1.5px solid color-mix(in srgb, var(--c-primary) 75%, transparent); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c-primary) 22%, var(--card)), var(--card)); box-shadow: 0 0 26px -12px var(--c-primary); }
.ev-myplan__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ev-myplan__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF9AE0; }
.ev-myplan__name { font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ev-myplan__sub { font-size: 13.5px; color: #E4D3EC; }
.ev-myplan__lock { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.ev-myplan__lock .ic { width: 13px; height: 13px; color: var(--c-violet); }
.ev-myplan__change { flex: none; min-height: 44px; padding: 0 16px; font-size: 14px; }

/* "Switch": I already have a plan that night; one tap swaps it. */
.ev-card__rsvp.is-switch { border: 1.5px solid color-mix(in srgb, var(--c-primary) 75%, transparent); background: transparent; color: #FF7AD0; }

/* Star (All clubs list). */
.ev-card--star { padding-left: 4px; gap: 8px; }
.ev-star { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -4px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.ev-star .ic { width: 20px; height: 20px; }
.ev-star.is-on { color: var(--c-primary); }
.ev-star.is-on .ic { fill: currentColor; }
.ev-star:focus-visible { outline: 2px solid var(--c-violet); }

/* Search, sorting and section headings in the sheets. */
.ev-search { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: var(--r-field); background: var(--card); border: 1px solid var(--line-2); }
.ev-search .ic { flex: none; width: 18px; height: 18px; color: var(--muted); }
.ev-search__input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.ev-search:focus-within { border-color: color-mix(in srgb, var(--c-violet) 70%, transparent); }
.ev-sorts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ev-sorts::-webkit-scrollbar { display: none; }
.ev-sort { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: #ECE1F1; font-size: 13.5px; font-weight: 600; }
.ev-sort[aria-pressed="true"] { border-color: #F4F1F8; background: #F4F1F8; color: #0B0A10; }
.ev-allwrap, .ev-pickwrap { display: grid; gap: 12px; }
.ev-alllist, .ev-picklist { display: grid; gap: 8px; }
.ev-allhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 2px 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F5E3FF; }
.ev-allhead__n { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ev-alllist .ev-panel > .ev-card { padding-top: 9px; padding-bottom: 9px; }

/* Pick sheet ("Change"). */
.ev-pickhint { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; color: #D9CEE0; }
.ev-pickhint .ic { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--c-violet); }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 13.5px; font-weight: 600; }
.ev-chip .ic { width: 14px; height: 14px; color: var(--c-primary); fill: currentColor; }
.ev-chip.is-on { border-color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 16%, var(--card)); }
.ev-pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 11px 16px; border: 0; background: transparent; color: var(--text); text-align: left; }
.ev-pick + .ev-pick { border-top: 1px solid var(--line-2); }
.ev-pick.is-on { background: color-mix(in srgb, var(--c-primary) 10%, transparent); }
.ev-pick__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ev-pick__name { font-family: var(--font-heading); font-weight: 700; font-size: 16.5px; line-height: 1.25; overflow-wrap: anywhere; }
.ev-pick__sub { font-size: 13px; color: #E4D3EC; }
.ev-pick__radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #5A4870; }
.ev-pick.is-on .ev-pick__radio { border: 7px solid var(--c-primary); }
.ev-pick:focus-visible { outline: 2px solid var(--c-violet); outline-offset: -2px; }
.ev-pickfoot { display: grid; gap: 4px; margin-top: 4px; padding-bottom: 8px; }
.ev-pickout { min-height: 50px; border: 1px dashed #5A4870; background: transparent; color: var(--text); font-weight: 600; }
.ev-pickout.is-on { border-style: solid; border-color: var(--c-primary); color: #FF9AE0; }
.ev-pickoff { color: var(--muted); }

/* Toast with an action ("Switched to Zouk · Undo"). */
.toast--act { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; pointer-events: auto; }
.toast__msg { flex: 1; min-width: 0; }
.toast__act { flex: none; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: #FF7AD0; font: inherit; font-weight: 700; }
.toast__act:focus-visible { outline: 2px solid var(--c-violet); }

.empty--inline { margin: 24px 0 0; padding: 24px 12px; }
/* All clubs list: every row is Clubbing, so no badge, and the count without faces keeps each club to three short lines. */
.ev-allwrap .ev-badge--night, .ev-allwrap .ev-faces { display: none; }
.ev-allwrap .ev-card__line .ev-going { gap: 0; }

/* ------------------------------------------------------------------ */
/* 2.8.0: tap a card for its details (address, hours, age rule, links) */
/* ------------------------------------------------------------------ */
.ev-card__open { cursor: pointer; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
.ev-card__open:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 3px; }
.ev-card__open:active { opacity: .75; }
.ev-detail { display: grid; gap: 18px; padding-bottom: 6px; }
.ev-detail__head { display: grid; gap: 6px; }
.ev-detail__venue { margin: 0; font-family: var(--font-heading); font-size: 22px; line-height: 1.2; color: #fff; }
.ev-detail__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; color: #F3E6FB; }
.ev-detail__rows { display: grid; gap: 14px; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; background: color-mix(in srgb, var(--c-violet) 7%, transparent); }
.ev-detail__row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ev-detail__ic { color: #C9A6F2; padding-top: 1px; }
.ev-detail__ic .ic { width: 20px; height: 20px; }
.ev-detail__txt { display: grid; gap: 2px; min-width: 0; }
.ev-detail__label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ev-detail__val { font-size: 15px; line-height: 1.4; color: #fff; overflow-wrap: anywhere; }
.ev-detail__maps { justify-self: start; margin-top: 2px; font-size: 14px; font-weight: 600; color: #FF9AE0; text-decoration: underline; text-underline-offset: 3px; }
.ev-detail__links { display: grid; gap: 8px; }
.ev-detail__link { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.ev-detail__link .ic { width: 16px; height: 16px; }
.btn--quiet { background: transparent; border: 1px solid transparent; color: #D9B3FF; }
.ev-detail__mine { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* 2.8.3: Confirm your email + staff screen */
.verify .gate__inner, .staff .gate__inner { width: 100%; }
.verify .gate__inner > div { width: 100%; display: grid; gap: 12px; }
.verify .form { width: 100%; text-align: left; margin-top: 6px; }
.verify__code { font-size: 28px; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.verify .btn--ghost, .verify .btn--text, .staff .btn--ghost { margin-top: 10px; }
.verify__hint { margin-top: 18px; font-size: 13px; }
.verify strong { color: var(--text, #fff); overflow-wrap: anywhere; }
