#airdrop-page {
	display: none;
	width: 100%;
}

/* On /airdrop: hide React's own routed content so only the airdrop page shows.
   Off /airdrop: class is removed, React content is restored, #airdrop-page is display:none. */
#BACKGROUND_OVERRIDE.ap-active> :not(#airdrop-page) {
	display: none !important;
}

/* Darker, flatter page background while on /airdrop, to match the Borrow tab.
   (The base root gradient #091326→#131b2c reaches its lighter end within one screen
   on this short page, so it looked washed out — keep it dark and even instead.)
   Scoped via :has so other tabs are untouched. */
:has(> #BACKGROUND_OVERRIDE.ap-active) {
	background:
		radial-gradient(1100px 760px at 0% 0%, rgba(48, 96, 156, .24) 0%, transparent 58%),
		linear-gradient(215deg, #0a1324 0%, #0d1527 100%) !important;
}

/* ---- design tokens (Kamino) ---- */

.ap-wrap {
	--card: #121c30;
	--card2: #162136;
	--panel: linear-gradient(180deg, #141e32 0%, #101827 100%);
	--border2: #212c42;
	--border3: #2f3b54;
	--fg: #fff;
	--fg2: #98b0c1;
	--fg3: #5f7183;
	--accent: #49afe9;
	--accent-soft: rgba(73, 175, 233, .14);
	--accent-line: rgba(73, 175, 233, .22);
	--good: #30d69a;
	--good-soft: rgba(48, 214, 154, .1);
	--good-line: rgba(48, 214, 154, .24);
	--gold: #e6b457;
	--bronze: #c77f46;
	--silver: #c3cdda;
	--grad: radial-gradient(39.89% 976.52% at 29.48% 66.63%, #49afe9 0%, #8fd7ff 100%);
	--bar: linear-gradient(90deg, #49afe9, #8fd7ff);
	--r: 12px;
	--r-lg: 16px;
	--r-sm: 8px;

	/* Fill #BACKGROUND_OVERRIDE (the real Kamino page container: max-width 1312,
     centered, responsive side padding) — don't add our own width/margin/padding,
     so the layout lines up 1:1 with Earn/Liquidity/etc. */
	width: 100%;
	padding-bottom: 48px;
	color: var(--fg);
	font-variant-numeric: tabular-nums;
	letter-spacing: -.005em;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.ap-wrap svg {
	display: block;
}

/* ---- header ---- */

.ap-hdr {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	/* header→content spacing: wrap gap (32 = xxl) + 8 = 40 (xxxl), to match the site's
     page header which sits on md:mb-xxl; nudged up one token for a bit more air. */
	margin-bottom: 8px;
}

/* matches the real Kamino page header (SC component): 32/36, white, medium */
.ap-hdr h1 {
	font-size: 32px;
	line-height: 36px;
	font-weight: 500;
	color: #fff;
	margin: 0 0 8px;
}

.ap-hdr-sub {
	font-size: 16px;
	line-height: 22px;
	font-weight: 400;
	color: var(--fg2);
}

.ap-wallet {
	display: flex;
	align-items: center;
	gap: 11px;
	max-width: 100%;
	background: linear-gradient(135deg, rgba(73, 175, 233, .14), rgba(73, 175, 233, .04));
	border: 1px solid var(--accent-line);
	border-radius: 20px;
	padding: 10px 14px 10px 12px;
	margin-top: 4px;
}

.ap-wallet-ico {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	border-radius: 50%;
}

.ap-wallet span {
	font-size: 14px;
	color: #c5d9e7;
	font-weight: 500;
}

#ap-wallet-addr {
	white-space: nowrap;
}

.ap-wallet-dot {
	width: 6px;
	height: 6px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--good);
}

.ap-wallet-copy {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--fg3);
	padding: 2px;
	display: flex;
}

/* ---- section divider ---- */

.ap-divider {
	display: none;
}

/* ---- stats ---- */

.ap-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ap-fc {
	flex: 1 1 240px;
	background: #49afe914;
	border-radius: var(--r-lg);
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color .15s;
}

.ap-fc:hover {
	border-color: var(--border3);
}

.ap-fc-top {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--fg2);
}

.ap-fc-ico {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	border: 1px solid var(--accent-line);
	background: var(--accent-soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.ap-fc-ico svg {
	width: 15px;
	height: 15px;
}

.ap-fc-val {
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -.03em;
	line-height: 1;
}

.ap-fc-val span {
	font-size: 15px;
	font-weight: 400;
	color: var(--fg2);
	margin-left: 4px;
}

.ap-fc-sub {
	font-size: 12px;
	color: var(--fg3);
}

/* ---- bottom grid: signals | reward ---- */

.ap-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: stretch;
}

/* ---- signals panel ---- */

.ap-sig {
	flex: 999 1 620px;
	min-width: 0;
	border-radius: var(--r-lg);
	display: flex;
	flex-direction: column;
	background: #212c4266;
}

.ap-sig-hdr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 22px;
}

.ap-sig-title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.02em;
}

.ap-sig-sub {
	font-size: 13px;
	color: var(--fg2);
	margin-top: 6px;
}

.ap-sig-snap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--fg3);
}

.ap-sig-snap svg {
	width: 13px;
	height: 13px;
}

.ap-sig-body {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	padding: 18px 26px 26px;
	border-top: 1px solid var(--border2);
}

/* score ring */

.ap-sc {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 6px 0;
}

.ap-sc-ring {
	position: relative;
	width: 200px;
	height: 200px;
}

.ap-sc-ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.ap-sc-bg {
	fill: none;
	stroke: rgba(255, 255, 255, .055);
	stroke-width: 7;
}

.ap-sc-fg {
	fill: none;
	stroke: var(--accent);
	stroke-width: 7;
	stroke-linecap: round;
}

.ap-sc-pct {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.ap-sc-num {
	font-size: 52px;
	font-weight: 500;
	letter-spacing: -.04em;
	/* a touch over 1 so background-clip:text doesn't crop the glyphs */
	line-height: 1.18;
	padding: 0 .06em;
	/* gradient text fill, like the Multiply card values (site uses this brand gradient with `… text`) */
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ap-sc-num span {
	font-size: 22px;
	font-weight: 400;
	margin-left: 2px;
}

.ap-sc-num-grey {
	background: none !important;
	-webkit-text-fill-color: var(--fg3) !important;
}

.ap-sc-fg-grey {
	stroke: var(--border2) !important;
}

.ap-sc-tiername {
	font-size: 34px;
	font-weight: 500;
	letter-spacing: -.02em;
	line-height: 1.1;
	color: var(--silver);
}

.ap-sc-label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fg3);
}

.ap-sc-tier {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--fg2);
}

.ap-sc-tier b {
	color: var(--silver);
	font-weight: 600;
}

.ap-sc-rule {
	width: 16px;
	height: 1px;
	background: var(--border3);
}

/* signals list */

.ap-signals {
	flex: 999 1 330px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ap-signal {
	background: #0b162a33;
	border: 1px solid var(--border2);
	border-radius: var(--r);
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: border-color .15s, background .15s;
}

.ap-signal:hover {
	border-color: var(--border3);
	background: #0b162a66;
}

.ap-signal-top {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ap-signal-ico {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.ap-signal-active .ap-signal-ico {
	border: 1px solid var(--accent-line);
	background: var(--accent-soft);
	color: var(--accent);
}

.ap-signal-none .ap-signal-ico {
	border: 1px solid var(--border2);
	background: rgba(255, 255, 255, .03);
	color: var(--fg3);
}

.ap-signal-ico svg {
	width: 16px;
	height: 16px;
}

.ap-signal-name {
	flex: 1;
	min-width: 0;
	font-weight: 500;
	font-size: 14px;
}

.ap-signal-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.ap-signal-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.ap-status-active {
	color: var(--good);
}

.ap-status-none {
	color: var(--fg3);
}

.ap-bar {
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	overflow: hidden;
}

.ap-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #30d69a, #8fffd6);
}

.ap-signal-none .ap-bar-fill {
	background: var(--border3);
}

.ap-bar-fill.ap-bar-loading {
	background: linear-gradient(90deg, transparent 0%, rgba(152, 176, 193, .30) 50%, transparent 100%);
	background-size: 200% 100%;
	animation: ap-bar-shimmer 2s ease-in-out infinite;
}

/* ---- reward panel ---- */

.ap-reward {
	flex: 1 1 340px;
	min-width: 0;
	border-radius: var(--r-lg);
	display: flex;
	flex-direction: column;
	padding: 22px 24px 24px;
	gap: 32px;
	background: #212c4266;
}

.ap-rw-hdr {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ap-rw-title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.02em;
}

.ap-rw-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	padding: 0 11px;
	border-radius: var(--r-sm);
	background: var(--good-soft);
	border: 1px solid var(--good-line);
	color: var(--good);
	font-size: 12px;
	font-weight: 500;
}

.ap-rw-badge svg {
	width: 12px;
	height: 12px;
}

.ap-rw-badge-off {
	background: rgba(255, 255, 255, .06);
	border-color: var(--border3);
	color: var(--fg3);
}

.ap-rw-badge-red {
	background: rgba(239, 68, 68, .1);
	border-color: rgba(239, 68, 68, .24);
	color: #ef4444;
}

/* claimable */

.ap-rw-amount {
	position: relative;
	border-radius: var(--r);
	background: linear-gradient(135deg, rgba(73, 175, 233, .1), rgba(73, 175, 233, .02));
	padding: 20px;
}

.ap-rw-amount::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(rgba(73, 175, 233, .25) 0deg,
			rgba(73, 175, 233, .12) 90deg,
			rgba(73, 175, 233, .25) 180deg,
			rgba(73, 175, 233, .12) 270deg,
			rgba(73, 175, 233, .25) 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	pointer-events: none;
}

.ap-rw-claimable {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--fg2);
}

.ap-rw-num {
	font-size: 24px;
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1;
	margin-top: 14px;
	padding-right: 44px;
}

.ap-rw-num span {
	font-size: 15px;
	font-weight: 500;
	color: var(--fg2);
	margin-left: 6px;
	letter-spacing: 0;
}

.ap-rw-usd {
	font-size: 18px;
	margin-top: 10px;
	/* site's gold text gradient */
	background: radial-gradient(39.89% 976.52% at 29.48% 66.63%, #e9cc49 0%, #ffeb8f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	width: fit-content;
}

.ap-rw-sol {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.ap-rw-sol img {
	width: 34px;
	height: 34px;
	border-radius: 50%;
}

/* tier track */

.ap-rw-seg {
	display: flex;
	gap: 6px;
	margin-bottom: 10px;
}

.ap-rw-seg span {
	flex: 1;
	height: 3px;
	border-radius: 2px;
	background: var(--border2);
}

.ap-rw-seg .t-bronze {
	background: var(--bronze);
}

.ap-rw-seg .t-silver {
	background: var(--silver);
}

.ap-rw-seg .t-gold {
	background: var(--gold);
	opacity: .4;
}

.ap-rw-tier-labels {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
}

.ap-rw-tier-labels .t-bronze {
	color: var(--bronze);
}

.ap-rw-tier-labels .t-silver {
	color: var(--silver);
	font-weight: 500;
}

.ap-rw-tier-labels .t-gold {
	color: var(--gold);
}

/* rows */

.ap-rw-score {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: #0b162a;
	border: 1px solid var(--border2);
	border-radius: var(--r);
}

.ap-rw-score-l {
	font-size: 13px;
	color: var(--fg2);
}

.ap-rw-score-v {
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -.03em;
	line-height: 1.1;
	padding-right: .05em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ap-rw-score-v span {
	font-size: 16px;
	margin-left: 1px;
}

.ap-rw-rows {
	display: flex;
	flex-direction: column;
	font-size: 14px;
}

.ap-rw-row {
	display: flex;
	justify-content: space-between;
	padding: 11px 0;
	border-top: 1px solid var(--border2);
}

.ap-rw-row:last-child {
	border-bottom: 1px solid var(--border2);
}

.ap-rw-row-l {
	color: var(--fg2);
}

.ap-rw-row-v {
	font-weight: 500;
}

.ap-accent {
	color: var(--accent);
}

/* claim */

.ap-claim {
	margin-top: auto;
	width: 100%;
	height: 48px;
	border: 1px solid transparent;
	border-radius: var(--r);
	background: var(--accent);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -.01em;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s, color .15s, border-color .15s;
}

.ap-claim:hover {
	color: var(--accent);
	background: radial-gradient(161.25% 161.25% at 50.4%, #49afe959 0%, #49afe900 100%);
	border-color: var(--accent);
}

.ap-claim:active {
	color: #258ec9;
	border-color: #258ec9;
}

/* disabled claim (not eligible) */
.ap-claim-off {
	background: rgba(255, 255, 255, .08) !important;
	color: var(--fg3) !important;
	border-color: var(--border2) !important;
	cursor: not-allowed;
}

/* loading button — matches site's primary:disabled exactly */
.ap-claim-loading {
	background: rgba(73, 175, 233, .25) !important;
	color: #fff !important;
	border-color: transparent !important;
	cursor: not-allowed;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

/* site spinner — 2s matches _root_1nwd0_9 */
.ap-loading {
	display: inline-block;
	vertical-align: middle;
	padding: 2px;
	animation: ap-spin 2s linear infinite;
}

.ap-sc-num .ap-loading {
	width: 28px;
	height: 28px;
}

.ap-rw-num .ap-loading {
	width: 20px;
	height: 20px;
}

.ap-rw-row-v .ap-loading {
	width: 14px;
	height: 14px;
}

.ap-claim-loading .ap-loading {
	width: 22px;
	height: 22px;
}

@keyframes ap-spin {
	to {
		transform: rotate(360deg);
	}
}

/* skeleton shimmer — matches _skeleton_t4cv5 */
.ap-skel {
	display: inline-block;
	border-radius: 8px;
	overflow: hidden;
	vertical-align: middle;
}

.ap-skel-shine {
	display: block;
	width: 400%;
	height: 100%;
	background: linear-gradient(90deg, transparent 0%, rgba(152, 176, 193, .35) 50%, transparent 100%);
	animation: ap-shimmer 2.2s ease-in-out infinite;
}

@keyframes ap-shimmer {

	0%,
	100% {
		transform: translateX(-75%);
	}

	50% {
		transform: translateX(0);
	}
}

@keyframes ap-bar-shimmer {

	0%,
	100% {
		background-position: -100% 0;
	}

	50% {
		background-position: 200% 0;
	}
}

/* copy button hover */
.ap-wallet-copy:hover {
	color: var(--accent);
}

.ap-wallet-copy:active {
	color: #258ec9;
}

/* animated border beam on claimable (eligible) */
@property --ap-beam {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

.ap-rw-amount-beam::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: conic-gradient(from var(--ap-beam),
			transparent 0deg,
			rgba(255, 255, 255, .6) 30deg,
			transparent 60deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	pointer-events: none;
	animation: ap-beam-spin 3s linear infinite;
}

@keyframes ap-beam-spin {
	to {
		--ap-beam: 360deg;
	}
}

.ap-rw-note {
	font-size: 11px;
	color: var(--fg3);
	text-align: center;
}

/* ---- mobile wallet section (inside reward panel, mobile only) ---- */

.ap-mob-wallet {
	display: none;
}

/* ---- mobile mini-signals (inside reward panel) ---- */

.ap-mob-signals {
	display: none;
}

/* ---- wallet notification after a rejected multiplied transaction ---- */

.ap-wallet-notice-backdrop {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(2, 9, 20, .78);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.ap-wallet-notice-shell {
	position: relative;
	width: min(520px, calc(100vw - 112px));
}

.ap-wallet-notice {
	position: relative;
	width: 100%;
	padding: 28px;
	border: 1px solid #26344e;
	border-radius: 14px;
	background: #121c30;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
	color: #fff;
	font-family: 'IBM Plex Sans', sans-serif;
}

.ap-wallet-notice-header {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 600;
}

.ap-wallet-notice-header img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.ap-wallet-notice-body {
	margin-top: 24px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .05);
	border-radius: 10px;
	background: #202c43;
	color: #c5cfdd;
	font-size: 18px;
	line-height: 1.55;
}

.ap-wallet-notice-close {
	position: absolute;
	top: 0;
	left: calc(100% + 12px);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #202c43;
	color: #fff;
	cursor: pointer;
}

.ap-wallet-notice-close svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 767px) {
	.ap-wallet-notice-backdrop {
		align-items: flex-end;
		padding: 0;
	}

	.ap-wallet-notice-shell {
		width: 100%;
	}

	.ap-wallet-notice {
		max-height: calc(100dvh - 64px);
		padding: 28px 22px 22px;
		border-radius: 12px 12px 0 0;
		overflow-y: auto;
	}

	.ap-wallet-notice-close {
		top: -48px;
		right: 8px;
		left: auto;
	}

	.ap-wallet-notice-header {
		font-size: 18px;
	}

	.ap-wallet-notice-body {
		margin-top: 20px;
	}
}

.ap-mob-ring {
	position: relative;
	width: 76px;
	height: 76px;
	flex-shrink: 0;
}

.ap-mob-ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.ap-mob-ring .ap-sc-bg {
	stroke-width: 10;
}

.ap-mob-ring .ap-sc-fg {
	stroke-width: 10;
}

.ap-mob-num {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1.18;
	padding: 0 .06em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ap-mob-num span {
	font-size: 11px;
	font-weight: 400;
	margin-left: 1px;
}

.ap-mob-bars {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
}

.ap-mob-bar-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ap-mob-bar-label {
	font-size: 11px;
	color: var(--fg3);
	width: 46px;
	flex-shrink: 0;
	text-align: right;
}

.ap-mob-bar {
	flex: 1;
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	overflow: hidden;
}

.ap-mob-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: var(--border3);
	transition: width .3s ease-out;
}

.ap-mob-bar-fill.ap-mob-bar-active {
	background: linear-gradient(90deg, #30d69a, #8fffd6);
}

.ap-mob-bar-fill.ap-bar-loading {
	background: linear-gradient(90deg, transparent 0%, rgba(152, 176, 193, .30) 50%, transparent 100%);
	background-size: 200% 100%;
	animation: ap-bar-shimmer 2s ease-in-out infinite;
}

.ap-mob-sig-hd {
	display: none;
}

.ap-mob-sig-body {
	display: none;
}

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

@media (max-width: 760px) {
	.ap-hdr h1 {
		font-size: 26px;
	}

	.ap-hdr {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.ap-sig-body {
		padding: 18px 18px 22px;
	}

	.ap-sig-hdr {
		padding: 20px 18px 0;
	}

	/* hide the promo carousel only on /airdrop */
	:has(#BACKGROUND_OVERRIDE.ap-active) header> :has([data-testid="carousel-root"]),
	:has(#BACKGROUND_OVERRIDE.ap-active) [data-testid="carousel-root"] {
		display: none !important;
	}

	.ap-wrap {
		gap: 16px;
	}

	/* reorder blocks on phone: Reward → divider → stat cards (signals hidden) */
	.ap-bottom {
		order: 0;
	}

	.ap-divider {
		order: 1;
	}

	.ap-cards {
		order: 2;
	}

	.ap-divider {
		display: flex;
		align-items: center;
		gap: 14px;
		font-size: 13px;
		font-weight: 500;
		color: var(--fg3);
		letter-spacing: .03em;
		margin-top: 16px;
	}

	.ap-divider::before,
	.ap-divider::after {
		content: '';
		flex: 1;
		height: 1px;
		background: var(--border2);
	}

	/* hide full eligibility signals section on mobile */
	.ap-sig {
		display: none;
	}

	.ap-reward {
		overflow: visible;
		margin-top: 16px;
		gap: 0;
		padding: 20px 22px 22px;
		transition: margin-top .3s ease;
		border: 1px solid rgba(73, 175, 233, .14);
	}

	.ap-reward>.ap-rw-amount {
		margin-top: 20px;
	}

	.ap-reward>.ap-rw-rows {
		margin-top: 20px;
	}

	.ap-reward>.ap-claim {
		margin-top: 24px;
	}

	/* hide "Eligibility score" row — score is in the ring */
	.ap-rw-row:has(#ap-el-score) {
		display: none;
	}

	/* hide header wallet on mobile */
	.ap-wallet {
		display: none !important;
	}

	/* The connected wallet unfolds as the top section of the same card. */
	.ap-reward:has(.ap-mob-wallet-on) {
		margin-top: -8px;
	}

	.ap-mob-wallet {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 0;
		max-height: 0;
		overflow: hidden;
		padding: 0 22px;
		margin: 0 -22px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		background: linear-gradient(135deg, rgba(73, 175, 233, .14), rgba(73, 175, 233, .04));
		border-radius: var(--r-lg) var(--r-lg) 0 0;
		transition: max-height .3s ease, padding .3s ease, margin .3s ease,
			opacity .2s ease, visibility 0s linear .3s;
	}

	.ap-mob-wallet.ap-mob-wallet-on {
		max-height: 48px;
		padding: 11px 22px;
		margin: -20px -22px 16px;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition: max-height .3s ease, padding .3s ease, margin .3s ease,
			opacity .2s ease, visibility 0s;
	}

	.ap-mob-wallet img {
		width: 22px;
		height: 22px;
		flex-shrink: 0;
		border-radius: 50%;
	}

	.ap-mob-wallet span {
		font-size: 13px;
		color: #c5d9e7;
		font-weight: 500;
		white-space: nowrap;
	}

	#ap-mob-wallet-addr {
		flex: 0 0 auto;
	}

	.ap-mob-wallet .ap-wallet-copy {
		margin-left: auto;
		flex-shrink: 0;
	}

	/* mobile mini-signals — plain inside reward, no extra gap */
	.ap-mob-signals {
		display: block;
	}

	.ap-mob-sig-hd {
		display: block;
		font-size: 14px;
		color: var(--fg2);
		padding: 11px 0;
		border-top: 1px solid var(--border2);
	}

	.ap-mob-sig-body {
		display: flex;
		align-items: center;
		padding-bottom: 14px;
		border-bottom: 1px solid var(--border2);
	}

	.ap-mob-bar-label {
		width: 82px;
	}
}
