.auth {
	min-height: calc(100dvh - 24px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.auth-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.studio-chip {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--vip-ink);
	background: var(--vip-bg);
	border: 1.5px solid var(--vip-border);
	padding: 4px 12px;
	border-radius: 999px;
	box-shadow: 0 2px 0 var(--vip-border);
}
.auth-card {
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	border-radius: 22px;
	padding: 18px;
	box-shadow: var(--shadow-card);
}
.auth h1 { margin: 12px 0 6px; font-size: 24px; letter-spacing: -0.02em; }

.auth-scene-card {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	padding: 15px 15px 14px;
	margin-bottom: 14px;
	background: var(--scene-sky);
	border: 1.5px solid var(--line-strong);
	box-shadow: var(--shadow-ctrl);
}
.scene-art {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 92px;
	display: block;
	pointer-events: none;
}
.scene-sun { fill: var(--scene-sun); }
.scene-cloud { fill: var(--scene-cloud); }
.scene-cloud-sm { opacity: 0.85; }
.scene-hill-far { fill: var(--scene-hill-far); }
.scene-hill-mid { fill: var(--scene-hill-mid); }
.scene-hill-near { fill: var(--scene-hill-near); }
.auth-scene-row {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 20px;
}
.scene-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1.5px solid var(--vip-border);
	background: var(--vip-bg);
	color: var(--vip-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	white-space: nowrap;
	box-shadow: 0 2px 0 var(--vip-border);
}
.auth-scene-title {
	position: relative;
	z-index: 1;
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	border-radius: 13px;
	padding: 10px 13px;
	box-shadow: var(--shadow-ctrl);
}
.auth-scene-title h1 { margin: 0 0 2px; font-size: 21px; color: var(--ink); line-height: 1.2; }
.auth-scene-sub {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.mark {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--emblem-bg);
	border: 1.5px solid var(--line-strong);
	box-shadow: var(--shadow-ctrl);
}
.mark .ghibli-emblem { width: 26px; height: 26px; }

.bind { display: flex; flex-direction: column; gap: 7px; margin: 14px 0 6px; }
.bind label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.bind input {
	min-height: 48px;
	border: 1.5px solid var(--line-strong);
	border-radius: 13px;
	padding: 10px 14px;
	background: var(--surface-2);
	font-size: 17px;
	letter-spacing: 0.04em;
	transition: border-color 160ms ease, background-color 160ms ease;
}
.bind input:focus {
	background: var(--surface);
	border-color: var(--focus-ring);
	outline: 2px solid var(--brand-ring);
	outline-offset: 0;
}
.bind input.redeem-input,
#bootstrap-code {
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	border-radius: 13px;
}
.auth-tip { margin-top: 12px; }
.auth-link { margin-top: 6px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 6px; }

.step-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.step-num {
	order: 0;
	flex: none;
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 11px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--brand);
	background: var(--brand-weak);
	border: 1.5px solid var(--brand-ring);
	border-radius: 9px;
	padding: 2px 7px;
	letter-spacing: 0.08em;
	box-shadow: 0 2px 0 var(--brand-ring);
}
.step-head h2 {
	order: 1;
	flex: 0 1 auto;
	min-width: 0;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--ink);
	margin: 0;
	letter-spacing: -0.015em;
}
.step-head::after {
	content: "";
	order: 2;
	flex: 1;
	min-width: 14px;
	height: 1.5px;
	background: linear-gradient(90deg, var(--line-strong) 0%, transparent 100%);
}
.flow-badge {
	order: 3;
	flex: none;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	padding: 3px 10px;
}
.flow-badge.is-new { background: var(--brand-weak); color: var(--brand); border: 1.5px solid var(--brand-ring); }
.flow-badge.is-upgrade { background: var(--upgrade-weak); color: var(--upgrade-ink); border: 1.5px solid var(--upgrade-line); }

.intake-card {
	padding: 14px;
	border-radius: 22px;
}
.drop.ghibli-drop {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 14px 15px;
	border-radius: 18px;
	border: 1.5px dashed var(--line-strong);
	background: var(--surface-2);
	box-shadow: var(--shadow-ctrl);
	cursor: pointer;
	transition: transform 100ms var(--ease-out), border-color 160ms ease, background-color 160ms ease;
}
.drop.ghibli-drop:active:not(.off) { transform: translateY(1.5px); }
.drop.is-drag { border-style: solid; border-color: var(--brand); background: var(--brand-weak); }
.drop-stamp {
	position: absolute;
	top: 10px;
	right: 11px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--vip-ink);
	background: var(--vip-bg);
	border: 1.5px solid var(--vip-border);
	border-radius: 8px;
	padding: 2px 7px;
}
.drop-ico {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--surface);
	border: 1.5px solid var(--brand-ring);
	color: var(--brand);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 0 var(--brand-ring);
}
.drop-plate {
	width: 100%;
	margin: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.drop-plate b { display: block; font-size: 16px; color: var(--ink); letter-spacing: -0.015em; }
.drop.off { opacity: 0.56; cursor: progress; }
.drop:focus-within { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.fmt-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 6px; }
.fmt-pill {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 10.5px;
	font-weight: 700;
	color: var(--muted);
	background: var(--surface);
	border: 1.5px dashed var(--line-strong);
	border-radius: 7px;
	padding: 2px 6px;
}

.intake-sep { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; color: var(--subtle); font-size: 12px; font-weight: 600; }
.intake-sep::before, .intake-sep::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }

.paste-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.paste-head label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.paste-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.paste-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.detect-badge {
	font-size: 11px;
	font-weight: 700;
	color: var(--brand);
	background: var(--brand-weak);
	border: 1.5px solid var(--brand-ring);
	border-radius: 999px;
	padding: 2px 8px;
	white-space: nowrap;
	opacity: 1;
	transform: scale(1);
	transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
	@starting-style {
		opacity: 0;
		transform: scale(0.95);
	}
}
.mini-link { min-height: 30px; font-size: 12.5px; padding: 0 5px; color: var(--muted); }
.btn-kbd {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	background: var(--surface);
	border: 1.5px solid var(--line);
	border-radius: 7px;
	padding: 1px 6px;
}
@media (hover: none), (pointer: coarse), (max-width: 480px) {
	.btn-kbd { display: none; }
}

.intake-steps {
	list-style: none;
	margin: 16px 0 0;
	padding: 14px 0 0;
	border-top: 1.5px dashed var(--line);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	text-align: left;
}
.intake-step {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--subtle);
}
.intake-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	background: var(--surface-2);
	border: 1.5px solid var(--line-strong);
}
.intake-step.is-done { color: var(--ok); }
.intake-step.is-done .intake-dot { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.intake-step.is-active { color: var(--ink); }
.intake-step.is-active .intake-dot { background: var(--brand-weak); border-color: var(--brand); color: var(--brand); }

.chip-btn {
	min-height: 34px;
	border-radius: 999px;
	border: 1.5px solid var(--line-strong);
	background: var(--surface-2);
	color: var(--ink);
	padding: 4px 12px;
	font-size: 12.5px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	box-shadow: var(--shadow-ctrl);
	transition: transform 100ms var(--ease-out), border-color 150ms ease, background-color 150ms ease;
}
.chip-btn:active:not([disabled]) { transform: translateY(1.5px); }
.chip-btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

.paste-form textarea {
	display: block;
	width: 100%;
	resize: vertical;
	min-height: 86px;
	border: 1.5px solid var(--line-strong);
	border-radius: 13px;
	background: var(--surface-2);
	padding: 10px 12px;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 16px;
	line-height: 1.42;
	transition: border-color 160ms ease, background-color 160ms ease;
}
.paste-form textarea:focus {
	background: var(--surface);
	border-color: var(--focus-ring);
	outline: 2px solid var(--brand-ring);
	outline-offset: 0;
}

.acct-card {
	position: relative;
	overflow: hidden;
	padding-top: 20px;
}
.acct-ribbon {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	background: linear-gradient(90deg, #337A50 0%, #7BB88D 100%);
}
.acct-ribbon.is-upgrade {
	background: linear-gradient(90deg, #2E6996 0%, #6CA7D4 100%);
}
.acct-top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.acct-meta { display: flex; flex-direction: column; gap: 3px; width: 100%; min-width: 0; }
.acct-email {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.35;
	width: 100%;
	overflow-wrap: break-word;
	word-break: break-word;
}
.acct-tags { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin-left: 0; }
.tag.is-promo {
	background: var(--vip-bg);
	color: var(--vip-ink);
	border-color: var(--vip-border);
	box-shadow: 0 2px 0 var(--vip-border);
}
.acct-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1.5px dashed var(--line);
}

.studio-group { display: flex; flex-direction: column; gap: 14px; }
.half-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	border-radius: 15px;
	padding: 12px 13px;
	border: 1.5px solid var(--line-strong);
	background: var(--surface-2);
}
.half-banner.is-eligible {
	background: var(--ok-weak);
	border-color: var(--ok-ring);
}
.half-seal {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--emblem-bg);
	border: 1.5px solid var(--ok-ring);
}
.half-seal .ghibli-emblem { width: 18px; height: 18px; }
.half-banner.is-switch { background: var(--warn-weak); border-color: var(--warn-line); }
.half-banner.is-ineligible { background: var(--surface-2); border-color: var(--line); }
.half-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 170px; }
.half-copy b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.half-banner.is-switch .half-copy b { color: var(--warn); }
.half-copy span { font-size: 12.5px; line-height: 1.42; color: var(--muted); }
.half-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; flex: none; }
.half-act { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.half-banner.is-eligible .half-act { border-color: var(--ok-ring); color: var(--ok); }
.half-banner.is-switch .half-act { border-color: var(--warn-line); color: var(--warn); }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan-card {
	position: relative;
	min-height: 94px;
	border: 1.5px solid var(--line-strong);
	background: var(--plan-bg);
	color: var(--plan-ink);
	border-radius: 16px;
	padding: 12px;
	text-align: left;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 5px;
	cursor: pointer;
	box-shadow: var(--shadow-ctrl);
	transition: transform 100ms var(--ease-out), border-color 160ms ease, background-color 160ms ease;
}
.plan-card:active:not([disabled]) { transform: translateY(1.5px); }
.plan-grid > .plan-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.plan-card.on {
	background: var(--plan-on-bg);
	border-color: var(--plan-on-border);
	box-shadow: var(--plan-on-shadow);
}
.plan-card[disabled]:not(.on) { opacity: 0.46; cursor: not-allowed; box-shadow: none; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.plan-title-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; }
.plan-title { font-size: 14px; font-weight: 700; color: var(--plan-ink); }
.plan-badge {
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.2;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--vip-bg);
	color: var(--vip-ink);
	border: 1.5px solid var(--vip-border);
	white-space: nowrap;
}
.plan-dot { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--subtle); flex: none; }
.plan-card.on .plan-dot { border-color: var(--plan-on-dot); background: var(--plan-on-dot); box-shadow: inset 0 0 0 2.5px var(--surface); }
.plan-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plan-amt {
	font-size: 20.5px;
	font-weight: 750;
	color: var(--plan-ink);
	letter-spacing: -0.025em;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
}
.plan-card[disabled] .plan-amt {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--muted);
}
.plan-orig { font-size: 12px; color: var(--subtle); text-decoration: line-through; }
.plan-usd { font-size: 11.5px; font-weight: 700; color: var(--brand); }
.plan-card small { font-size: 11.5px; color: var(--muted); }

.sub-block { padding-top: 12px; border-top: 1.5px dashed var(--line); }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; }

.seg {
	position: relative;
	display: flex;
	background: var(--seg-bg);
	border: 1.5px solid var(--line-strong);
	border-radius: 15px;
	padding: 3px;
	gap: 3px;
}
.seg[data-count][data-idx]::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 3px;
	bottom: 3px;
	z-index: 0;
	width: calc((100% - 6px - (var(--seg-count, 2) - 1) * 3px) / var(--seg-count, 2));
	border-radius: 11px;
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	box-shadow: var(--shadow-seg);
	transform: translateX(calc(var(--seg-idx, 0) * 100% + var(--seg-idx, 0) * 3px));
	transition: transform 280ms var(--ease-spring), opacity 180ms ease;
	pointer-events: none;
}
.seg[data-count="1"] { --seg-count: 1; }
.seg[data-count="2"] { --seg-count: 2; }
.seg[data-count="3"] { --seg-count: 3; }
.seg[data-count="4"] { --seg-count: 4; }
.seg[data-count="5"] { --seg-count: 5; }
.seg[data-count="6"] { --seg-count: 6; }
.seg[data-idx="0"] { --seg-idx: 0; }
.seg[data-idx="1"] { --seg-idx: 1; }
.seg[data-idx="2"] { --seg-idx: 2; }
.seg[data-idx="3"] { --seg-idx: 3; }
.seg[data-idx="4"] { --seg-idx: 4; }
.seg[data-idx="5"] { --seg-idx: 5; }
.seg:not([data-idx])::before, .seg[data-idx="-1"]::before { opacity: 0; }
.seg button {
	position: relative;
	z-index: 1;
	flex: 1;
	min-width: 0;
	min-height: var(--tap);
	border: 0;
	background: none;
	border-radius: 11px;
	padding: 6px;
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	transition: transform 100ms var(--ease-out), color 180ms ease;
}
.seg button:active:not([disabled]) { transform: translateY(1.5px); }
.seg button.on { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--shadow-seg); }
.seg[data-count][data-idx] button.on { background: transparent; box-shadow: none; }
.seg button small { font-size: 11px; color: var(--muted); font-weight: 500; }
.seg button[disabled] { cursor: not-allowed; }
.seg button[disabled]:not(.on) { opacity: 0.48; }
.reg-iso { font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }

.is-fresh-draft .stagger-1 { animation: cardRiseIn 240ms var(--ease-out) 0ms both; }
.is-fresh-draft .stagger-2 { animation: cardRiseIn 240ms var(--ease-out) 35ms both; }
.is-fresh-draft .stagger-3 { animation: cardRiseIn 240ms var(--ease-out) 65ms both; }
.is-fresh-draft .stagger-4 { animation: cardRiseIn 240ms var(--ease-out) 90ms both; }
@keyframes cardRiseIn {
	from { opacity: 0; transform: translateY(10px) scale(0.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.opt {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	min-height: var(--tap);
	text-align: left;
	border: 1.5px solid var(--line-strong);
	background: var(--surface);
	border-radius: 15px;
	padding: 11px 13px;
	cursor: pointer;
	box-shadow: var(--shadow-ctrl);
	transition: transform 100ms var(--ease-out), border-color 160ms ease, background-color 160ms ease;
}
.opt:active:not([disabled]) { transform: translateY(1.5px); }
.opt.on {
	border-color: var(--brand);
	box-shadow: 0 3px 0 var(--brand-shadow);
	background: var(--brand-weak);
}
.opt[disabled] { opacity: 0.46; cursor: not-allowed; box-shadow: none; }
.opt small { display: block; color: var(--muted); font-size: 12.5px; }
.mode-copy, .step-caption { margin: 0; }

.card-pass {
	background: var(--surface-2);
	border: 1.5px solid var(--line-strong);
	border-radius: 20px;
	padding: 9px;
	box-shadow: var(--shadow-card);
}
.card-pass-face {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-width: 0;
	min-height: 158px;
	border-radius: 14px;
	padding: 13px 13px 11px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	color: #FFFDF6;
}
.card-pass-face::before,
.card-pass-face::after {
	content: "";
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
}
.card-pass-face::before {
	width: 240px;
	height: 150px;
	right: -52px;
	bottom: -76px;
	background: rgba(255, 253, 246, 0.14);
}
.card-pass-face::after {
	width: 190px;
	height: 130px;
	left: -48px;
	bottom: -82px;
	background: rgba(255, 253, 246, 0.10);
}
.card-pass.mode-reuse .card-pass-face {
	background: linear-gradient(135deg, #2E6647 0%, #498E64 100%);
	border: 1.5px solid #225437;
	box-shadow: 0 3px 0 #1F4A31;
}
.card-pass.mode-auto_existing .card-pass-face {
	background: linear-gradient(135deg, #376F9A 0%, #5C9AC0 100%);
	border: 1.5px solid #265173;
	box-shadow: 0 3px 0 #234968;
}
.card-pass.mode-auto_open .card-pass-face {
	background: linear-gradient(135deg, #BC5F3D 0%, #DE944B 100%);
	border: 1.5px solid #8A3F24;
	box-shadow: 0 3px 0 #7E381F;
}
.reuse-fallback .sub-head { margin-bottom: 0; }
.card-pass-top {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.card-chip {
	width: 34px;
	height: 24px;
	border-radius: 6px;
	flex: none;
	background:
		linear-gradient(90deg, transparent 31%, rgba(92, 58, 12, 0.35) 31% 35%, transparent 35% 65%, rgba(92, 58, 12, 0.35) 65% 69%, transparent 69%),
		linear-gradient(180deg, transparent 46%, rgba(92, 58, 12, 0.32) 46% 54%, transparent 54%),
		linear-gradient(135deg, #FCE4A2 0%, #E7B34B 52%, #C98E26 100%);
	border: 1.5px solid #8A5B14;
	box-shadow: 0 2px 0 rgba(36, 26, 16, 0.32);
}
.card-network {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #FFFDF6;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(34, 24, 18, 0.34);
	border: 1.5px solid rgba(255, 253, 246, 0.34);
}
.card-network span { min-width: 0; overflow-wrap: anywhere; }
.card-pass-num {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 14.5px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.05em;
	color: #FFFDF6;
	background: rgba(34, 24, 18, 0.30);
	border: 1.5px solid rgba(255, 253, 246, 0.28);
	border-radius: 9px;
	padding: 4px 10px;
	overflow-wrap: anywhere;
}
.card-pass-bot {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 8px;
	background: #FFFDF6;
	color: #2E241C;
	border: 1.5px solid rgba(46, 36, 28, 0.24);
	border-radius: 10px;
	padding: 6px 10px;
}
.card-holder {
	font-size: 11.5px;
	font-weight: 700;
	color: #2E241C;
	min-width: 0;
	overflow-wrap: anywhere;
}
.card-mode-badge {
	font-size: 10.5px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 999px;
	flex: none;
	white-space: nowrap;
	background: #2E6647;
	color: #FFFDF6;
}
.card-pass.mode-auto_existing .card-mode-badge { background: #2E6996; }
.card-pass.mode-auto_open .card-mode-badge { background: #B34E2B; }

.bin-list, .stack-list { display: flex; flex-direction: column; gap: 8px; }
.bin-card { background: var(--surface-2); }
.bin-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bin-row { display: flex; align-items: center; gap: 7px; }
.issuer-tag {
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 1px 7px;
	border-radius: 7px;
	background: var(--surface);
	border: 1.5px solid var(--line-strong);
	color: var(--muted);
}
.preview { max-width: 52%; overflow-wrap: anywhere; color: var(--muted); text-align: right; }

.fee-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 15px 16px 16px;
}
.fee-group-title { font-size: 12px; font-weight: 700; color: var(--subtle); letter-spacing: 0.04em; margin-bottom: 4px; }
.prefund-box {
	position: relative;
	margin: 2px -16px -16px;
	padding: 13px 16px 15px;
	background: var(--surface-2);
	border-top: 1.5px dashed var(--line-strong);
	border-radius: 0 0 18px 18px;
}
.prefund-box::before,
.prefund-box::after {
	content: "";
	position: absolute;
	top: -7px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--bg);
	border: 1.5px solid var(--line-strong);
	pointer-events: none;
}
.prefund-box::before { left: -7px; }
.prefund-box::after { right: -7px; }
.prefund-box p { margin-top: 6px; }

@media (hover: hover) and (pointer: fine) {
	.mini-link:hover { color: var(--ink); }
	.chip-btn:not([disabled]):hover { border-color: var(--brand); background: var(--surface); }
	.plan-card:not([disabled]):hover { border-color: var(--brand); }
	.opt:not([disabled]):hover { border-color: var(--brand); }
	.drop:not(.off):hover { border-color: var(--brand); background: var(--brand-weak); }
}

@media (prefers-reduced-motion: reduce) {
	.is-fresh-draft .stagger-1,
	.is-fresh-draft .stagger-2,
	.is-fresh-draft .stagger-3,
	.is-fresh-draft .stagger-4 {
		animation: cardFadeOnly 120ms ease both;
	}
	@keyframes cardFadeOnly {
		from { opacity: 0; }
		to { opacity: 1; }
	}
	.detect-badge {
		transform: none;
		transition: opacity 120ms ease;
		@starting-style { opacity: 0; transform: none; }
	}
	.bind input, .drop, .chip-btn, .paste-form textarea, .plan-card, .seg[data-count][data-idx]::before, .seg button, .opt {
		transition-property: opacity, color, background-color, border-color;
		transition-duration: 120ms;
		transition-timing-function: ease;
	}
	.drop.ghibli-drop:active:not(.off), .chip-btn:active:not([disabled]), .plan-card:active:not([disabled]), .seg button:active:not([disabled]), .opt:active:not([disabled]) {
		transform: none;
	}
}
