
.pwa-sheet, .pwa-sheet *, .pwa-sheet *::before, .pwa-sheet *::after {
	box-sizing: border-box;
}

.pwa-sheet {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	pointer-events: none;
}
.pwa-sheet[hidden] { display: none; }

.pwa-sheet__scrim {
	position: absolute;
	inset: 0;
	background: rgba(3, 4, 7, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	opacity: 0;
	transition: opacity 0.28s ease;
	pointer-events: auto;
}
.pwa-sheet.is-open .pwa-sheet__scrim { opacity: 1; }

.pwa-sheet__panel {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	max-width: 460px;
	margin: 0 auto;
	padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
	background: var(--ink1, #0A0C12);
	border: 1px solid var(--line-2, rgba(241, 243, 246, 0.20));
	border-bottom: none;
	border-radius: var(--r, 14px) var(--r, 14px) 0 0;
	box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.7);
	color: var(--tx, #F1F3F6);
	font-family: var(--body, "Archivo", "Segoe UI", system-ui, sans-serif);
	overflow: hidden;
	pointer-events: auto;
	transform: translateY(110%);
	transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.pwa-sheet.is-open .pwa-sheet__panel { transform: translateY(0); }

.pwa-sheet__panel::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--grad, linear-gradient(96deg, #B8FF2E 4%, #00E0FF 56%, #FF8A3C 98%));
}

.pwa-sheet__glow {
	position: absolute;
	top: -70px; left: 50%;
	width: 340px; height: 230px;
	margin-left: -170px;
	background:
		radial-gradient(closest-side, rgba(184, 255, 46, 0.30), rgba(184, 255, 46, 0) 70%),
		radial-gradient(closest-side, rgba(0, 224, 255, 0.26), rgba(0, 224, 255, 0) 70%);
	background-position: 18% 0, 82% 30%;
	background-repeat: no-repeat;
	background-size: 70% 100%, 70% 100%;
	filter: blur(8px);
	opacity: 0.5;
	pointer-events: none;
}

.pwa-sheet__grip {
	position: absolute;
	top: 9px; left: 50%;
	width: 42px; height: 4px;
	margin-left: -21px;
	border-radius: 999px;
	background: var(--line-2, rgba(241, 243, 246, 0.20));
}

.pwa-sheet__close {
	position: absolute;
	top: 14px; right: 14px;
	width: 32px; height: 32px;
	display: flex; align-items: center; justify-content: center;
	font-size: 18px; line-height: 1;
	color: var(--mu, #8B929F);
	background: transparent;
	border: 1px solid var(--line-2, rgba(241, 243, 246, 0.20));
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.18s ease, border-color 0.18s ease;
}
.pwa-sheet__close:hover {
	color: var(--lime, #B8FF2E);
	border-color: var(--lime, #B8FF2E);
}

.pwa-sheet__head {
	position: relative;
	text-align: center;
	margin: 6px 0 16px;
}
.pwa-sheet__icon {
	display: block;
	width: 66px; height: 66px;
	margin: 0 auto 12px;
	filter: drop-shadow(0 6px 18px rgba(0, 224, 255, 0.22));
}
.pwa-sheet__title {
	font-family: var(--disp, "Unbounded", "Archivo", "Segoe UI", system-ui, sans-serif);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: var(--tx, #F1F3F6);
}
.pwa-sheet__title .pwa-mark {
	background: var(--grad, linear-gradient(96deg, #B8FF2E 4%, #00E0FF 56%, #FF8A3C 98%));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--lime, #B8FF2E);
}
.pwa-sheet__sub {
	margin-top: 6px;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--mu, #8B929F);
}

.pwa-sheet__body[hidden] { display: none; }

.pwa-perks {
	list-style: none;
	margin: 0 auto 18px;
	padding: 0;
	display: grid;
	gap: 9px;
	width: max-content;
	max-width: 100%;
	text-align: left;
}
.pwa-perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: var(--tx, #F1F3F6);
}
.pwa-perks li span { min-width: 0; overflow-wrap: anywhere; }
.pwa-perks svg { flex: 0 0 auto; color: var(--lime, #B8FF2E); }

.pwa-steps {
	margin: 0 auto 18px;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
	counter-reset: pwa-step;
	width: max-content;
	max-width: 100%;
	text-align: left;
}
.pwa-steps li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.92rem;
	line-height: 1.35;
	color: var(--tx, #F1F3F6);
	min-width: 0;
	overflow-wrap: anywhere;
}
.pwa-steps li::before {
	counter-increment: pwa-step;
	content: counter(pwa-step);
	flex: 0 0 auto;
	width: 26px; height: 26px;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--tech, ui-monospace, Consolas, monospace);
	font-size: 0.76rem; font-weight: 500;
	color: var(--ink0, #05060A);
	background: var(--lime, #B8FF2E);
	border-radius: 999px;
}
.pwa-steps strong { color: var(--lime, #B8FF2E); }
.pwa-ios-share {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px; height: 26px;
	margin: 0 2px;
	vertical-align: middle;
	color: #0a84ff;
	background: rgba(241, 243, 246, 0.10);
	border-radius: 7px;
}

.pwa-sheet__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 6px;
}
.pwa-btn {
	appearance: none;
	width: 100%;
	padding: 12px 20px;
	border: 1px solid var(--line-2, rgba(241, 243, 246, 0.20));
	border-radius: 99px;
	background: transparent;
	color: var(--tx, #F1F3F6);
	font-family: var(--disp, "Unbounded", "Archivo", "Segoe UI", system-ui, sans-serif);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: -0.02em;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease, color 0.2s ease;
}
.pwa-btn--primary {
	background: var(--lime, #B8FF2E);
	border-color: var(--lime, #B8FF2E);
	color: var(--ink0, #05060A);
}
.pwa-btn--primary:hover {
	color: var(--ink0, #05060A);
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(184, 255, 46, 0.28);
}
.pwa-btn--primary:active { transform: translateY(0); }
.pwa-btn--ghost:hover { border-color: var(--lime, #B8FF2E); color: var(--lime, #B8FF2E); }

.pwa-never {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 6px;
	font-size: 0.78rem;
	color: var(--mu-2, #69707E);
	background: none;
	border: none;
	cursor: pointer;
	text-align: center;
}
.pwa-never:hover { color: var(--mu, #8B929F); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
	.pwa-sheet__panel { transition: none; }
}
