/* ==========================================================================
   receipt-gate

   Arcade-cabinet energy on the OpAgent lobby palette. The colour tokens are
   the lobby's, unchanged; what changes is the geometry and the physics.

   The language is a cabinet marquee, not a neon sign: hard edges, marquee
   bulbs, halftone print texture, scoreboard numerals, and buttons with a
   solid bevel that actually compresses when you press them. No glow, no
   glass, no blur - those read as cheap on a money screen.
   ========================================================================== */

:root {
	--lobby-content-width: 560px;
	--lobby-ink: oklch(15% 0.018 260);
	--lobby-surface: oklch(18% 0.019 260);
	--lobby-surface-raised: oklch(21% 0.021 260);
	--lobby-surface-hover: oklch(25% 0.024 260);
	--lobby-line: oklch(37% 0.022 260);
	--lobby-text: oklch(94% 0.012 85);
	--lobby-text-muted: oklch(73% 0.02 85);
	--lobby-gold: oklch(78% 0.16 80);
	--lobby-gold-strong: oklch(71% 0.17 73);
	--lobby-gold-shadow: oklch(43% 0.1 78);
	--lobby-focus: oklch(84% 0.13 92);
	--lobby-danger: oklch(68% 0.19 25);
	--lobby-good: oklch(76% 0.16 150);

	/* Hard-edged geometry. Arcade cabinets are cut, not moulded. */
	--r-sm: 3px;
	--r-md: 5px;
	--r-lg: 8px;

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-press: cubic-bezier(0.34, 1.2, 0.64, 1);

	--cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC";
	--beng: "Noto Sans Bengali", "Kohinoor Bangla", "Bangla Sangam MN", "Nirmala UI";
	/* Type is in rem so it grows with the reader's own phone setting. Borders,
	   radii and padding stay in px - the chrome should not inflate with it. */
	--font: "Avenir Next", "Segoe UI", var(--cjk), var(--beng), sans-serif;
	--display: "Archivo", "Avenir Next", "Segoe UI", var(--cjk), var(--beng), sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

	/* Bevel depth for pressable surfaces. */
	--bevel: 4px;
	/* Resting edges are neutral. Gold is reserved for the balance, the primary
	   button and the launch affordance - if everything is gold, nothing is. */
	--edge: oklch(30% 0.02 260);
	--edge-soft: oklch(26% 0.02 260);
	--bevel-dark: oklch(11% 0.014 260);
}

/* Marquee-wide display, condensed for labels. One family, two axes. */
.u-display {
	font-family: var(--display);
	font-variation-settings: "wdth" 118, "wght" 800;
	letter-spacing: -0.01em;
}

.u-stencil {
	font-family: var(--display);
	font-variation-settings: "wdth" 80, "wght" 700;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

* { box-sizing: border-box; }

html {
	min-height: 100%;
	background: var(--lobby-ink);
	-webkit-text-size-adjust: 100%;
}

body {
	position: relative;
	min-height: 100vh;
	margin: 0;
	background:
		radial-gradient(ellipse 120% 60% at 50% -10%, oklch(28% 0.045 260) 0%, transparent 60%),
		var(--lobby-ink);
	background-attachment: fixed;
	color: var(--lobby-text);
	font: 400 1rem/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}

/* Halftone print texture - what makes it feel screenprinted rather than flat. */
body::before {
	content: "";
	position: fixed; inset: 0;
	z-index: 0;
	background-image: radial-gradient(oklch(94% 0.012 85 / 12%) 0.7px, transparent 0.8px);
	background-size: 5px 5px;
	opacity: 0.55;
	pointer-events: none;
}

.shell {
	position: relative;
	z-index: 1;
	max-width: var(--lobby-content-width);
	margin: 0 auto;
	padding:
		max(14px, env(safe-area-inset-top))
		max(12px, env(safe-area-inset-right))
		max(28px, env(safe-area-inset-bottom))
		max(12px, env(safe-area-inset-left));
}

.sprite { display: none; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

svg:not(.sprite) {
	display: block; width: 22px; height: 22px;
	fill: none; stroke: currentColor; stroke-width: 2;
	stroke-linecap: round; stroke-linejoin: round;
}

.view[hidden] { display: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid var(--lobby-focus);
	outline-offset: 2px;
}

/* --------------------------------------------------------- language ----- */
.topbar {
	display: flex; justify-content: flex-end;
	margin-bottom: 8px;
}

.lang {
	position: relative;
	display: inline-flex; gap: 6px; align-items: center;
	min-height: 48px;   /* 2px borders leave the select itself at 44 */
	padding: 0 10px 0 12px;
	border: 2px solid var(--edge-soft);
	border-radius: var(--r-sm);
	background: var(--lobby-ink);
	color: var(--lobby-text-muted);
	cursor: pointer;
	transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.lang:hover { border-color: var(--edge); color: var(--lobby-text); }
.lang:focus-within { outline: 3px solid var(--lobby-focus); outline-offset: 2px; }

.lang-globe { flex: none; width: 14px; height: 14px; }
.lang-caret { flex: none; width: 12px; height: 12px; transform: rotate(90deg); }

/* A native select so phones get their own picker wheel. */
.lang-select {
	appearance: none; -webkit-appearance: none;
	align-self: stretch;          /* the hit area is the chip, not the text */
	padding: 0; border: 0; outline: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-family: var(--font);
	font-size: 1rem; font-weight: 600;
	line-height: 1;
}
.lang-select option { background: var(--lobby-surface); color: var(--lobby-text); }

/* CJK and Bengali have no case, and wide tracking reads badly in them. */
:root:lang(zh) .u-stencil,
:root:lang(bn) .u-stencil,
html:lang(zh) .cell-label, html:lang(zh) .link-group-title, html:lang(zh) .link-badge,
html:lang(bn) .cell-label, html:lang(bn) .link-group-title, html:lang(bn) .link-badge {
	letter-spacing: 0.06em;
	text-transform: none;
}
html:lang(zh) .msg-title, html:lang(bn) .msg-title,
html:lang(zh) .load-text, html:lang(bn) .load-text {
	letter-spacing: 0.01em;
	text-transform: none;
}

/* ---------------------------------------------------------- entrance ---- */
/* One orchestrated reveal. --i is set per element in app.js. */
@keyframes rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}
.stagger > *,
.stagger-cards .link-card {
	animation: rise 420ms var(--ease-out) backwards;
	animation-delay: calc(var(--i, 0) * 45ms);
}

/* ============================================================ LOCK ====== */

.msg-card {
	position: relative;
	margin-top: max(4vh, 12px);
	padding: 30px 20px 24px;
	border: 2px solid var(--edge);
	border-radius: var(--r-lg);
	background:
		repeating-linear-gradient(
			135deg,
			transparent 0 14px,
			oklch(94% 0.012 85 / 2.5%) 14px 15px
		),
		var(--lobby-surface);
	box-shadow: 0 var(--bevel) 0 var(--bevel-dark), 0 18px 40px oklch(7% 0.012 260 / 55%);
	text-align: center;
}

.msg-badge {
	display: grid; place-items: center;
	width: 56px; height: 56px;
	margin: 0 auto 16px;
	border: 2px solid var(--edge);
	border-radius: var(--r-md);
	background: var(--lobby-ink);
	box-shadow: 0 3px 0 var(--bevel-dark);
	color: var(--lobby-gold);
}
.msg-badge svg { width: 26px; height: 26px; }

.msg-badge {
	border-color: var(--lobby-danger);
	box-shadow: 0 3px 0 oklch(38% 0.11 25);
	color: var(--lobby-danger);
}

.msg-title {
	margin: 0 0 8px;
	font-family: var(--display);
	font-variation-settings: "wdth" 112, "wght" 800;
	font-size: clamp(24px, 7.5vw, 30px);
	line-height: 1.05;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	color: var(--lobby-text);
}

.msg-body {
	margin: 0 auto 20px;
	max-width: 34ch;
	color: var(--lobby-text-muted);
	font-size: 1rem; line-height: 1.6;
}

.btn-ghost {
	min-height: 46px; padding: 0 22px;
	border: 2px solid var(--edge);
	border-radius: var(--r-md);
	background: var(--lobby-ink);
	box-shadow: 0 3px 0 var(--bevel-dark);
	color: var(--lobby-text);
	cursor: pointer;
	font-family: var(--display);
	font-variation-settings: "wdth" 100, "wght" 700;
	font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
	transition: transform 90ms var(--ease-press), box-shadow 90ms var(--ease-press);
}
.btn-ghost:active { transform: translateY(3px); box-shadow: 0 0 0 var(--bevel-dark); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========================================================= RECEIPT ====== */

.hero {
	position: relative;
	margin-bottom: 10px;
	padding: 10px 0 0;
	border: 2px solid var(--edge);
	border-radius: var(--r-lg);
	background: var(--lobby-surface);
	box-shadow: 0 var(--bevel) 0 var(--bevel-dark), 0 16px 34px oklch(7% 0.012 260 / 45%);
	overflow: hidden;
}

/* ---------------------------------------------------- marquee bulbs ----- */
/* Lamps along the top of the hero. They glow rather than chase: every bulb
   runs the same slow fade, but the delays are scrambled in app.js so no
   direction emerges. A constant step between neighbours is what made the
   first version read as a progress bar. No scaling either - size change
   pulls the eye harder than brightness does. */
.bulbs {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	height: 6px;
	padding: 0 16px;
}

.bulbs i {
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--lobby-gold);
	box-shadow: 0 0 5px oklch(78% 0.16 80 / 55%);
	animation: glow 3s ease-in-out infinite;
	animation-delay: var(--d, 0ms);
}

@keyframes glow {
	0%, 100% { opacity: 0.35; }
	50% { opacity: 0.95; }
}

/* Reduced motion gets a lit sign rather than a frozen half-faded one. */
@media (prefers-reduced-motion: reduce) {
	.bulbs i { animation-name: none; opacity: 0.7; }
}

/* A soft wash behind the logo, like a lamp over a cabinet marquee. */
.hero-top::before {
	content: "";
	position: absolute; inset: -40% 40% -40% -14%;
	background: radial-gradient(ellipse at 40% 50%, oklch(78% 0.16 80 / 12%), transparent 70%);
	pointer-events: none;
}

.hero-top {
	position: relative;
	z-index: 1;
	display: flex; gap: 14px; align-items: center; justify-content: space-between;
	min-height: 64px;
	padding: 14px;
}

.hero-brand {
	display: flex; align-items: center;
	flex: 0 0 auto;               /* never the thing that collapses */
	min-height: 46px;
	color: var(--lobby-gold);
}
.hero-brand img {
	display: block;
	width: auto; max-width: 190px; max-height: 52px;
	object-fit: contain; object-position: left center;
}
/* The name in plain type beside the mark, because several provider logos are
   stylised enough to be hard to read at a glance. Hidden when the logo itself
   failed, since the fallback wordmark is already the name. */
.hero-name {
	flex: 1 1 auto; min-width: 0;   /* the name wraps, the logo does not shrink */
	color: var(--lobby-text);
	font-family: var(--display);
	font-variation-settings: "wdth" 96, "wght" 700;
	font-size: 1.125rem;
	line-height: 1.15;
	text-align: right;
}
.hero-name:empty { display: none; }

/* Shown if the logo 404s - reads as a wordmark rather than a broken image. */
.hero-brand-text {
	font-family: var(--display);
	font-variation-settings: "wdth" 118, "wght" 900;
	font-size: clamp(22px, 7.4vw, 32px);
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--lobby-gold);
}
/* No logo at all: the receipt glyph sits in its tile, as before. */
.hero-brand > svg {
	flex: none;
	width: 46px; height: 46px;
	padding: 11px;
	border: 2px solid var(--edge);
	border-radius: var(--r-md);
	background: var(--lobby-ink);
	box-sizing: border-box;
}

/* ------------------------------------------------------ launch panel --- */

.links-block {
	position: relative;
	margin-bottom: 10px;
	padding: 14px 12px 12px;
	border: 2px solid var(--edge-soft);
	border-radius: var(--r-lg);
	background: oklch(16.5% 0.018 260);
	box-shadow: 0 var(--bevel) 0 oklch(11% 0.014 260);
}

.links { display: grid; gap: 18px; }

.link-group { display: grid; gap: 8px; }

.link-group-title {
	margin: 0 0 2px;
	color: var(--lobby-text-muted);
	font-family: var(--display);
	font-variation-settings: "wdth" 82, "wght" 700;
	font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* The hero interaction. Chunky, numbered, and it presses. */
.link-card {
	position: relative;
	display: flex; gap: 12px; align-items: center;
	min-height: 60px;
	padding: 11px 12px;
	overflow: hidden;
	border: 2px solid var(--edge);
	border-radius: var(--r-md);
	background: linear-gradient(180deg, var(--lobby-surface-raised) 0%, var(--lobby-surface) 100%);
	box-shadow: 0 var(--bevel) 0 var(--bevel-dark);
	color: inherit; text-decoration: none;
	transition: transform 90ms var(--ease-press), box-shadow 90ms var(--ease-press), background-color 160ms var(--ease-out);
}
.link-card:active {
	transform: translateY(var(--bevel));
	box-shadow: 0 0 0 var(--bevel-dark);
}
@media (hover: hover) and (pointer: fine) {
	.link-card:hover { background: var(--lobby-surface-hover); }
	.link-card:hover .link-go { transform: translateX(3px); }
}

/* Downloads are the quieter sibling. With the card borders now neutral, the
   gold icon tile is the only thing marking a launch - so downloads drop it. */
.link-card[data-kind="download"] .link-icon {
	border-color: var(--edge);
	color: var(--lobby-text-muted);
}
.link-card[data-kind="download"] .link-go { color: var(--lobby-text-muted); }

.link-icon {
	display: grid; place-items: center;
	flex: none; width: 40px; height: 40px;
	border: 2px solid var(--lobby-gold);
	border-radius: var(--r-sm);
	background: var(--lobby-ink);
	color: var(--lobby-gold);
}
.link-icon svg { width: 20px; height: 20px; }

.link-body { flex: 1; min-width: 0; }

.link-badge {
	color: var(--lobby-text-muted);
	font-family: var(--display);
	font-variation-settings: "wdth" 78, "wght" 700;
	font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}

.link-label {
	margin-top: 1px;
	font-family: var(--display);
	font-variation-settings: "wdth" 114, "wght" 800;
	font-size: 1.125rem;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

/* Only the deep link carries a second line, and it is an explanation rather
   than an address - "Open in app" does not say what happens without the app. */
.link-note {
	margin-top: 2px;
	color: var(--lobby-gold);
	font-size: 0.8125rem;
}

.link-go {
	flex: none;
	color: var(--lobby-gold);
	transition: transform 160ms var(--ease-out);
}
.link-go svg { width: 20px; height: 20px; stroke-width: 2.4; }

/* ---------------------------------------------------- detail ledger ---- */
/* One panel with internal rules, not six identical cards. */

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	/* Matches the hero's margin so the three panels keep one rhythm. Without it
	   the ledger and the launch panel sit flush, borders touching. */
	margin-bottom: 10px;
	overflow: hidden;
	border: 2px solid var(--lobby-line);
	border-radius: var(--r-lg);
	background: var(--lobby-surface);
	box-shadow: 0 var(--bevel) 0 oklch(11% 0.014 260);
}

.cell {
	display: flex; gap: 10px; align-items: center;
	grid-column: span 1;
	min-width: 0;
	padding: 12px 13px;
	border-top: 1px solid oklch(26% 0.02 260);
	border-right: 1px solid oklch(26% 0.02 260);
}
.cell.wide { grid-column: 1 / -1; border-right: 0; }
.cell:nth-child(-n + 2) { border-top: 0; }
.cell:nth-child(2n) { border-right: 0; }

/* The balance is the scoreboard - it gets the gold, nothing else does. */
.cell.good {
	position: relative;
	background:
		repeating-linear-gradient(
			90deg,
			transparent 0 6px,
			oklch(78% 0.16 80 / 4%) 6px 7px
		),
		oklch(17% 0.022 265);
}
.cell.good::before {
	content: "";
	position: absolute; inset: 0 auto 0 0;
	width: 3px;
	background: var(--lobby-gold);
}
.cell.good .cell-icon { border-color: var(--lobby-gold); color: var(--lobby-gold); }

.cell-icon {
	display: grid; place-items: center;
	flex: none; width: 34px; height: 34px;
	border: 2px solid oklch(30% 0.02 260);
	border-radius: var(--r-sm);
	background: var(--lobby-ink);
	color: var(--lobby-text-muted);
}
.cell-icon svg { width: 17px; height: 17px; }

/* The balance is measured against the box it actually has, so it cannot
   overflow whether the row is half width or full. */
.cell-body { flex: 1; min-width: 0; container-type: inline-size; }

.cell-label {
	color: var(--lobby-text-muted);
	font-family: var(--display);
	font-variation-settings: "wdth" 78, "wght" 700;
	font-size: 0.8125rem; letter-spacing: 0.07em; text-transform: uppercase;
}

.cell-value {
	margin-top: 2px;
	color: var(--lobby-text);
	font-family: var(--display);
	font-variation-settings: "wdth" 104, "wght" 700;
	font-size: 1.125rem;
	letter-spacing: -0.005em;
}
.cell-value.mono {
	font-family: var(--mono);
	font-size: 1.125rem; font-weight: 600;
	letter-spacing: 0.01em;
}
.cell-value.big {
	font-variation-settings: "wdth" 122, "wght" 800;
	font-size: clamp(15px, 17cqi, 28px);
	line-height: 1.02;
	font-variant-numeric: tabular-nums;
	overflow-wrap: normal;
	word-break: keep-all;
	color: var(--lobby-gold);
}
.cell-value a {
	display: inline-flex; align-items: center;
	min-height: 44px;             /* the member-site link is a touch target too */
	color: var(--lobby-gold); text-decoration: none;
}
.cell-value a:hover { text-decoration: underline; }

.cell-prefix {
	margin-right: 5px;
	color: var(--lobby-text-muted);
	font-variation-settings: "wdth" 80, "wght" 700;
	font-size: 0.8125rem; letter-spacing: 0.05em;
	white-space: nowrap;
	vertical-align: 0.22em;
}


.cell-actions { display: flex; flex: none; gap: 4px; }

.icon-btn {
	display: grid; place-items: center;
	width: 44px; height: 44px;   /* reveal + copy: full touch target */
	border: 2px solid oklch(30% 0.02 260);
	border-radius: var(--r-sm);
	background: var(--lobby-ink);
	color: var(--lobby-text-muted);
	cursor: pointer;
	transition: color 140ms var(--ease-out), border-color 140ms var(--ease-out), transform 90ms var(--ease-press);
}
.icon-btn:hover { border-color: var(--lobby-gold); color: var(--lobby-gold); }
.icon-btn:active { transform: translateY(2px); }
.icon-btn.done { border-color: var(--lobby-good); color: var(--lobby-good); }
.icon-btn svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------- foot ---- */

.foot { margin-top: 14px; text-align: center; }

.foot-note {
	margin: 0 auto;
	max-width: 38ch;
	color: var(--lobby-text-muted);
	font-size: 0.875rem; line-height: 1.5;
}

/* ------------------------------------------------------------ toast ---- */

.toast {
	position: fixed; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%;
	z-index: 50;
	padding: 10px 16px;
	border: 2px solid var(--edge);
	border-radius: var(--r-sm);
	background: var(--lobby-ink);
	box-shadow: 0 3px 0 var(--bevel-dark);
	color: var(--lobby-text);
	font-family: var(--display);
	font-variation-settings: "wdth" 92, "wght" 700;
	font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
	opacity: 0;
	transform: translateX(-50%) translateY(10px);
	transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
	pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------ small phones --- */

@media (max-width: 339px) {
	.grid { grid-template-columns: 1fr; }
	.cell { grid-column: 1 / -1; border-right: 0; }
	.cell:nth-child(-n + 2) { border-top: 1px solid oklch(26% 0.02 260); }
	.cell:first-child { border-top: 0; }
}

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

/* ---------------------------------------------------- demo mode (?demo) */

body.has-demo-flag .shell { padding-top: 42px; }

.demo-flag {
	position: fixed; top: 0; left: 50%;
	z-index: 60;
	display: flex; gap: 8px; align-items: center;
	max-width: min(92vw, 520px);
	padding: 5px 12px 6px;
	border: 2px solid var(--lobby-gold);
	border-top: 0;
	border-radius: 0 0 var(--r-md) var(--r-md);
	background: var(--lobby-gold);
	box-shadow: 0 3px 0 var(--lobby-gold-shadow);
	font-family: var(--display);
	font-variation-settings: "wdth" 90, "wght" 800;
	font-size: 10px; letter-spacing: 0.16em;
}
.demo-flag a { color: var(--lobby-ink); text-decoration: none; }
.demo-flag span {
	overflow: hidden;
	color: var(--lobby-ink);
	font-variation-settings: "wdth" 90, "wght" 600;
	letter-spacing: 0.02em; text-transform: none;
	white-space: nowrap; text-overflow: ellipsis;
	opacity: 0.7;
}

.msg-badge.neutral {
	border-color: var(--lobby-gold);
	box-shadow: 0 3px 0 var(--lobby-gold-shadow);
	color: var(--lobby-gold);
}

.demo-list { display: grid; gap: 7px; margin-top: 4px; text-align: left; }

.demo-item {
	display: block;
	min-height: 44px;
	padding: 10px 12px;
	border: 2px solid var(--lobby-line);
	border-radius: var(--r-sm);
	background: var(--lobby-ink);
	box-shadow: 0 3px 0 oklch(11% 0.014 260);
	text-decoration: none;
	transition: border-color 140ms var(--ease-out), transform 90ms var(--ease-press);
}
.demo-item:hover { border-color: var(--lobby-gold); }
.demo-item:active { transform: translateY(3px); box-shadow: none; }

.demo-item-title {
	display: block;
	color: var(--lobby-text);
	font-family: var(--display);
	font-variation-settings: "wdth" 100, "wght" 700;
	font-size: 15px;
}
.demo-item-note { display: block; margin-top: 1px; color: var(--lobby-text-muted); font-size: 11.5px; }

/* ------------------------------------------------------------- loading -- */

.load-card {
	display: grid; gap: 16px; place-items: center;
	margin-top: max(18vh, 80px);
	text-align: center;
}

.spinner-lg {
	width: 38px; height: 38px;
	border: 3px solid oklch(94% 0.012 85 / 14%);
	border-top-color: var(--lobby-gold);
	border-radius: 50%;
	animation: spin 900ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.load-text {
	margin: 0;
	color: var(--lobby-text-muted);
	font-family: var(--display);
	font-variation-settings: "wdth" 86, "wght" 700;
	font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ----------------------------------------------------------- deep link -- */
/* The shortest way in for anyone who already has the app, so it carries the
   gold the way a launch link does - but its own glyph, because it leaves the
   browser entirely. */

.link-card[data-kind="deeplink"] .link-icon {
	border-color: var(--lobby-gold);
	background: color-mix(in oklch, var(--lobby-surface-raised) 82%, var(--lobby-gold));
	color: var(--lobby-gold);
}

/* Flashed when a deep link finds no app, to point at the installer instead. */
@keyframes flash {
	0%, 100% { border-color: var(--edge); }
	25%, 75% { border-color: var(--lobby-gold); }
}
.link-card.flash { animation: flash 900ms var(--ease-out) 2; }
