/*
 * The joining screens of a brand that signs creators up on its own dashboard
 * address, and the dashboard's welcome tour (K-6f7885eb). Laid out after Sam's
 * onboarding designs of 26 Sep 2026 — "Onboarding (Desktop)" and "Mobile v2":
 * a 390px phone frame and a 1280px desktop frame, one column centred.
 *
 * Every colour, size and radius is a design-system token (`--brand-button`,
 * `--radius-md`, …) set on `.hd` by the brand's own stylesheet (for Heduno,
 * /brands/heduno/heduno.css). The neutral values below are only a fallback for
 * a brand without one: `:where()` keeps them from outranking it, whichever
 * stylesheet a page loads first.
 */
:where(.hd) {
	--brand: var(--join-brand, #e9256b);
	--brand-button: var(--join-brand, #e0205f);
	--brand-hover: color-mix(in srgb, var(--brand-button) 85%, black);
	--brand-text: color-mix(in srgb, var(--brand-button) 88%, black);
	--brand-tint: color-mix(in srgb, var(--brand-button) 12%, white);
	--brand-tint-ink: color-mix(in srgb, var(--brand-button) 75%, black);
	--on-brand: #ffffff;
	--ground: #f7f7f6;
	--surface: #ffffff;
	--fill: #f0f0ee;
	--line: #e6e6e4;
	--line-strong: #d0d0cf;
	--ink: #0f0f0f;
	--ink-2: #4a4a4a;
	--muted: #6b6b6b;
	--subtle: #a0a0a0;
	--online-text: #047857;
	--danger: #d92d20;
	--shadow-card: 0 8px 30px rgba(15, 15, 15, 0.06);
	--shadow-modal: 0 24px 60px rgba(15, 15, 15, 0.18);
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-pill: 999px;
	--font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: var(--font-body);
}

/* ------------------------------------------------------------------ page */
.join-page .hidden,
.join-page [hidden] {
	display: none !important;
}
body.join-page {
	margin: 0;
	min-height: 100vh;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}
.join-page *,
.join-page *::before,
.join-page *::after {
	box-sizing: border-box;
}
.join-shell {
	width: 100%;
	max-width: 684px;
	margin: 0 auto;
	padding: 24px 20px 48px;
}
.join-shell--wide {
	max-width: 821px;
}
@media (min-width: 768px) {
	.join-shell {
		padding-top: 40px;
	}
}

/* The top row: back arrow on the left, the six-step progress in the middle. */
.join-top {
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	align-items: center;
	height: 32px;
}
.join-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-left: -6px;
	border-radius: var(--radius-pill);
	color: var(--ink);
}
.join-back:hover {
	background: var(--fill);
}
.join-back svg {
	width: 20px;
	height: 20px;
}
.join-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.join-steps li {
	width: 5px;
	height: 5px;
	border-radius: var(--radius-pill);
	background: var(--line);
}
.join-steps li.is-done {
	background: var(--brand);
}
.join-steps li.is-current {
	width: 22px;
	background: var(--brand);
}

.join-brand {
	display: flex;
	justify-content: center;
	margin: 20px 0 4px;
}
.join-brand img {
	height: 28px;
	width: auto;
}
.join-brand span {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 800;
	color: var(--brand);
}

.join-title {
	margin: 32px 0 6px;
	font-family: var(--font-display);
	font-size: 28px;
	line-height: 34px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--ink);
}
@media (min-width: 768px) {
	.join-title {
		font-size: 32px;
		line-height: 38px;
	}
}
.join-lead {
	margin: 0 0 20px;
	font-size: 15px;
	color: var(--ink-2);
}
.join-lead strong {
	color: var(--ink);
	font-weight: 700;
}
.join-form {
	margin-top: 20px;
}

/* ---------------------------------------------------------------- fields */
.join-field {
	margin-bottom: 16px;
}
.join-label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ink);
}
.join-label .join-optional {
	font-weight: 400;
	color: var(--muted);
}
.join-eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}
.join-input,
.join-select {
	display: block;
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink);
	font: 400 15px/1.4 var(--font-body);
	outline: none;
	appearance: none;
}
.join-input::placeholder {
	color: var(--subtle);
}
.join-input:focus,
.join-select:focus,
.join-combo-button:focus-visible,
.join-combo.is-open .join-combo-button {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.join-select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.join-select:invalid,
.join-select.is-placeholder {
	color: var(--muted);
}
.join-input.is-invalid,
.join-select.is-invalid,
.join-combo.is-invalid .join-combo-button,
.join-picture.is-invalid .join-picture-frame {
	border-color: var(--danger);
}
.join-hint {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--ink-2);
}
.join-error {
	display: flex;
	gap: 6px;
	align-items: flex-start;
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 18px;
	color: var(--danger);
}
.join-error::before {
	content: "";
	flex: 0 0 14px;
	height: 14px;
	margin-top: 2px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.join-error a {
	color: inherit;
	font-weight: 600;
}
.join-alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: var(--radius-md);
	background: color-mix(in srgb, var(--danger) 9%, var(--surface));
	color: var(--danger);
	font-size: 14px;
}

/* The password with its show/hide eye. */
.join-affix {
	position: relative;
}
.join-affix .join-input {
	padding-right: 48px;
}
.join-eye {
	position: absolute;
	top: 0;
	right: 4px;
	width: 42px;
	height: 46px;
	border: 0;
	background: transparent;
	color: var(--ink-2);
	cursor: pointer;
}
.join-eye svg {
	width: 20px;
	height: 20px;
}

/* "@" in front of the username, "Available" behind it. */
.join-handle {
	position: relative;
}
.join-handle .join-input {
	padding-left: 32px;
	padding-right: 110px;
}
.join-handle-at {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ink-2);
	font-size: 15px;
}
.join-available {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--online-text);
	font-size: 13px;
	font-weight: 700;
}
.join-available[hidden] {
	display: none;
}
.join-available svg {
	width: 14px;
	height: 14px;
}
.join-address {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--ink-2);
}
.join-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}
.join-chip {
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--ink);
	font: 600 14px/1 var(--font-body);
	cursor: pointer;
}
.join-chip:hover {
	border-color: var(--brand);
}

/* The referral code, one line until opened. */
.join-referral-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 20px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: 400 15px/1.4 var(--font-body);
	cursor: pointer;
}
.join-referral-toggle svg {
	width: 16px;
	height: 16px;
}

/* --------------------------------------------------------------- buttons */
.join-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--radius-md);
	background: var(--brand-button);
	color: var(--on-brand);
	font: 600 16px/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
}
.join-btn:hover {
	background: var(--brand-hover);
}
.join-btn:focus-visible,
.join-chip:focus-visible,
.join-link:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}
/* A step's "Continue" before there is anything to continue to. */
.join-btn--waiting,
.join-btn--waiting:hover,
.join-btn[disabled] {
	background: var(--fill);
	color: var(--ink);
	font-weight: 500;
	cursor: default;
}
.join-btn--outline,
.join-btn--outline:hover {
	background: var(--surface);
	color: var(--brand-text);
	border: 1.5px solid var(--brand);
	font-size: 15px;
}
.join-btn--outline:hover {
	background: var(--brand-tint);
}
.join-btn--secondary,
.join-btn--secondary:hover {
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line-strong);
}
.join-btn svg {
	width: 16px;
	height: 16px;
}
.join-text-button {
	display: block;
	width: 100%;
	margin-top: 20px;
	padding: 6px;
	border: 0;
	background: none;
	color: var(--ink);
	font: 400 15px/1.4 var(--font-body);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.join-link {
	color: var(--brand-text);
	font-weight: 700;
	text-decoration: none;
}
.join-link:hover {
	text-decoration: underline;
}
.join-legal {
	margin: 16px 0 0;
	font-size: 13px;
	text-align: center;
	color: var(--ink-2);
}
.join-legal a {
	color: var(--brand-text);
	text-decoration: underline;
}
.join-signin {
	margin: 24px 0 0;
	font-size: 15px;
	text-align: center;
	color: var(--ink);
}

/* ------------------------------------------------------ check your email */
.join-code {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 24px 0 14px;
}
.join-code input {
	width: 44px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink);
	font: 700 20px/1 var(--font-body);
	text-align: center;
	outline: none;
}
@media (min-width: 768px) {
	.join-code input {
		width: 56px;
		height: 58px;
		font-size: 22px;
	}
}
.join-code input:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.join-code.is-invalid input {
	border-color: var(--danger);
}
.join-paste {
	display: flex;
	justify-content: center;
}
.join-paste button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 18px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--ink);
	font: 500 14px/1 var(--font-body);
	cursor: pointer;
}
.join-paste svg {
	width: 16px;
	height: 16px;
}
.join-code-note {
	margin: 16px 0;
	font-size: 14px;
	text-align: center;
	color: var(--ink-2);
}
.join-code-note.is-error {
	color: var(--danger);
}
.join-code-note button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--brand-text);
	font: 700 14px/1.4 var(--font-body);
	cursor: pointer;
}
.join-code-note button[disabled] {
	color: var(--muted);
	cursor: default;
}

/* ---------------------------------------------------------- your details */
.join-dob {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 96px;
	gap: 6px;
}
@media (min-width: 768px) {
	.join-dob {
		grid-template-columns: 64px 190px 96px;
	}
}
.join-dob .join-input {
	text-align: center;
	padding: 0 8px;
}

/* A list you can search: the nationality. */
.join-combo {
	position: relative;
}
.join-combo-button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink);
	font: 400 15px/1.4 var(--font-body);
	text-align: left;
	cursor: pointer;
	outline: none;
}
.join-combo-button .join-combo-value {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.join-combo-button .join-combo-value.is-placeholder {
	color: var(--muted);
}
.join-combo-button svg {
	width: 16px;
	height: 16px;
	color: var(--ink-2);
	transition: transform 0.15s;
}
.join-combo.is-open .join-combo-button svg {
	transform: rotate(180deg);
}
.join-combo-panel {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-modal);
}
.join-combo-panel[hidden] {
	display: none;
}
.join-combo-search {
	position: relative;
	margin-bottom: 6px;
}
.join-combo-search svg {
	position: absolute;
	left: 12px;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	color: var(--ink-2);
}
.join-combo-search input {
	width: 100%;
	height: 40px;
	padding: 0 12px 0 36px;
	border: 1px solid var(--brand);
	border-radius: var(--radius-md);
	font: 400 14px/1 var(--font-body);
	color: var(--ink);
	outline: none;
}
.join-combo-list {
	max-height: 232px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}
.join-combo-list li {
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--ink);
	cursor: pointer;
}
.join-combo-list li[aria-selected="true"],
.join-combo-list li:hover,
.join-combo-list li.is-active {
	background: var(--fill);
}
.join-combo-list li[hidden] {
	display: none;
}
.join-combo-empty {
	padding: 9px 12px;
	font-size: 14px;
	color: var(--muted);
}

/* ------------------------------------------------------- verify your age */
.join-card {
	margin: 24px 0 16px;
	padding: 18px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}
.join-card-head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 12px;
}
.join-card-icon {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	height: 36px;
	border-radius: var(--radius-md);
	background: var(--brand-tint);
	color: var(--brand-text);
}
.join-card-icon svg {
	width: 18px;
	height: 18px;
}
.join-card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
}
.join-card-sub {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}
.join-ticks {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}
.join-ticks li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 5px 0;
	font-size: 14px;
	color: var(--ink);
}
.join-ticks svg {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin-top: 3px;
	color: var(--brand-text);
}
.join-note {
	margin: 10px 0 0;
	font-size: 13px;
	text-align: center;
	color: var(--ink-2);
}
.join-status {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border-radius: var(--radius-md);
	font-size: 14px;
}
.join-status + .join-btn {
	margin-top: 12px;
}
.join-status--pending {
	background: var(--fill);
	color: var(--ink-2);
}
.join-status--pending strong {
	display: block;
	color: var(--ink);
}
.join-status--failed {
	background: color-mix(in srgb, var(--danger) 9%, var(--surface));
	color: var(--danger);
}
.join-status--passed {
	background: var(--brand-tint);
	color: var(--brand-tint-ink);
	font-weight: 700;
}
.join-status-mark {
	display: flex;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
	height: 26px;
	border-radius: var(--radius-pill);
	background: var(--brand-button);
	color: var(--on-brand);
}
.join-status-mark svg {
	width: 14px;
	height: 14px;
}
.join-spinner {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 2px solid color-mix(in srgb, var(--brand) 25%, transparent);
	border-top-color: var(--brand);
	border-radius: 50%;
	animation: join-spin 0.9s linear infinite;
}
@keyframes join-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------------------------------------------------- set up your profile */
.join-profile {
	display: grid;
	gap: 16px;
}
@media (min-width: 768px) {
	.join-profile {
		grid-template-columns: 284px minmax(0, 1fr);
		gap: 24px 32px;
		align-items: start;
	}
}
.join-picture-frame {
	position: relative;
	display: block;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--surface);
}
.join-picture-slot {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: 1.5px dashed var(--line-strong);
	border-radius: 12px;
	background: var(--fill);
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
}
.join-picture.is-invalid .join-picture-slot {
	border-color: var(--danger);
}
.join-picture-slot small {
	max-width: 120px;
	font-size: 13px;
	font-weight: 400;
	color: var(--ink-2);
}
.join-picture-slot svg {
	width: 22px;
	height: 22px;
	color: var(--ink-2);
}
.join-picture-slot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.join-picture.has-picture .join-picture-slot {
	border-style: solid;
	border-color: transparent;
}
.join-picture-change {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	border-radius: var(--radius-pill);
	background: rgba(15, 15, 15, 0.62);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.join-picture-status {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--ink-2);
}

/* The 3:4 crop: a sheet on a phone, a dialog on a computer. */
.join-sheet {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgba(15, 15, 15, 0.45);
}
.join-sheet[hidden] {
	display: none;
}
.join-sheet-panel {
	width: 100%;
	max-width: 420px;
	padding: 20px;
	border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	background: var(--surface);
	box-shadow: var(--shadow-modal);
}
@media (min-width: 768px) {
	.join-sheet {
		align-items: center;
	}
	.join-sheet-panel {
		border-radius: var(--radius-xl);
	}
}
.join-sheet-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
}
.join-crop {
	position: relative;
	width: 100%;
	max-width: 260px;
	margin: 16px auto;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 10px;
	background: var(--fill);
	touch-action: none;
	cursor: grab;
}
.join-crop img {
	position: absolute;
	left: 0;
	top: 0;
	max-width: none;
	transform-origin: 0 0;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}
.join-crop::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(to right, transparent 33.1%, rgba(255, 255, 255, 0.75) 33.3%, transparent 33.5%, transparent 66.5%, rgba(255, 255, 255, 0.75) 66.7%, transparent 66.9%),
		linear-gradient(to bottom, transparent 33.1%, rgba(255, 255, 255, 0.75) 33.3%, transparent 33.5%, transparent 66.5%, rgba(255, 255, 255, 0.75) 66.7%, transparent 66.9%);
}
.join-zoom {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--ink-2);
}
.join-zoom svg {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}
.join-zoom input {
	flex: 1;
	accent-color: var(--brand-button);
}
.join-sheet-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* ------------------------------------------------ the welcome tour (dashboard) */
.tour-scrim {
	position: fixed;
	inset: 0;
	z-index: 190;
	background: rgba(15, 15, 15, 0.45);
}
.tour-welcome {
	position: fixed;
	z-index: 200;
	left: 50%;
	top: 50%;
	width: min(460px, calc(100vw - 32px));
	padding: 28px 24px 18px;
	transform: translate(-50%, -50%);
	border-radius: var(--radius-xl);
	background: var(--surface);
	box-shadow: var(--shadow-modal);
	color: var(--ink);
	font-family: var(--font-body);
	text-align: center;
}
@media (max-width: 767px) {
	.tour-welcome {
		top: auto;
		bottom: 0;
		width: 100%;
		transform: translateX(-50%);
		border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	}
}
.tour-welcome img {
	height: 30px;
	width: auto;
	margin: 0 auto 16px;
}
.tour-welcome h2 {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.tour-welcome p {
	margin: 0 0 20px;
	font-size: 15px;
	color: var(--ink-2);
}
.tour-spot {
	position: fixed;
	z-index: 195;
	border: 2px solid var(--brand);
	border-radius: var(--radius-md);
	background: transparent;
	/* The page around the item is dimmed; the item itself stays bright. */
	box-shadow:
		0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent),
		0 0 0 9999px rgba(15, 15, 15, 0.45);
	pointer-events: none;
	transition: all 0.2s ease;
}
.tour-lift {
	background: var(--surface) !important;
	color: var(--brand-text) !important;
	font-weight: 600;
}
.tour-pop {
	position: fixed;
	z-index: 200;
	width: min(340px, calc(100vw - 32px));
	padding: 16px;
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-modal);
	color: var(--ink);
	font-family: var(--font-body);
}
.tour-pop::before {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	background: var(--surface);
	transform: rotate(45deg);
}
.tour-pop[data-side="right"]::before {
	left: -6px;
	top: 22px;
}
.tour-pop[data-side="below"]::before {
	top: -6px;
	left: 28px;
}
.tour-pop-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.tour-pop-dots {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tour-pop-dots li {
	width: 5px;
	height: 5px;
	border-radius: var(--radius-pill);
	background: var(--line);
}
.tour-pop-dots li.is-done {
	background: var(--brand);
}
.tour-pop-dots li.is-current {
	width: 16px;
	background: var(--brand);
}
.tour-pop-count {
	font-size: 12px;
	color: var(--muted);
}
.tour-pop .tour-pop-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
}
.tour-pop-icon {
	display: flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	height: 30px;
	border-radius: 8px;
	background: var(--brand-tint);
	color: var(--brand-text);
}
.tour-pop-icon svg {
	width: 16px;
	height: 16px;
}
.tour-pop p:not(.tour-pop-title) {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 20px;
	color: var(--ink-2);
}
.tour-pop-foot {
	display: flex;
	align-items: center;
	gap: 8px;
}
.tour-skip {
	margin-right: auto;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--muted);
	font: 400 13px/1.3 var(--font-body);
	cursor: pointer;
}
.tour-pop .join-btn {
	width: auto;
	height: 40px;
	padding: 0 16px;
	font-size: 14px;
}
