@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
	--black: #050508;
	--surface: #0c0c14;
	--surface-raised: #12121e;
	--surface-glass: rgba(18, 18, 30, 0.7);
	--border: rgba(255, 255, 255, 0.06);
	--border-hover: rgba(255, 255, 255, 0.12);

	--text: #e8e6f0;
	--text-dim: #7a7890;
	--text-faint: #4a485a;

	--neon: #ff2d8a;
	--neon-soft: #ff6bb5;
	--neon-glow: rgba(255, 45, 138, 0.35);
	--neon-subtle: rgba(255, 45, 138, 0.08);

	--mint: #3dffc2;
	--mint-dim: rgba(61, 255, 194, 0.15);
	--amber: #ffb547;
	--amber-dim: rgba(255, 181, 71, 0.15);
	--red: #ff4757;
	--red-dim: rgba(255, 71, 87, 0.12);

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'DM Sans', system-ui, sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--radius-xs: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background: var(--black);
	color: var(--text);
	min-height: 100dvh;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* ── Noise & atmosphere ── */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 45, 138, 0.07), transparent),
		radial-gradient(ellipse 60% 40% at 80% 100%, rgba(61, 255, 194, 0.03), transparent);
	pointer-events: none;
	z-index: 0;
}

body::after {
	content: '';
	position: fixed;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 0;
}

.app {
	position: relative;
	z-index: 1;
	max-width: 480px;
	margin: 0 auto;
	padding: 0 20px env(safe-area-inset-bottom);
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

/* ── Header ── */
.header {
	padding: 48px 0 12px;
	text-align: center;
	animation: fadeDown 0.6s ease-out;
}

.header-eyebrow {
	font-family: var(--font-body);
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--neon);
	margin-bottom: 8px;
}

.header h1 {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.15;
	color: var(--text);
}

.header h1 em {
	font-style: italic;
	font-weight: 400;
	background: linear-gradient(135deg, var(--neon), var(--neon-soft));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.header-sub {
	font-size: 0.8rem;
	color: var(--text-dim);
	margin-top: 6px;
	letter-spacing: 0.02em;
}

/* ── Cards (glass) ── */
.card {
	background: var(--surface-glass);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
	margin-bottom: 16px;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
	pointer-events: none;
}

.card-title {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 6px;
}

.card-desc {
	font-size: 0.85rem;
	color: var(--text-dim);
	line-height: 1.5;
}

/* ── Login form ── */
.login-card {
	animation: fadeUp 0.5s ease-out 0.15s both;
}

.input-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin-top: 20px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.2s;
}

.input-row:focus-within {
	border-color: var(--neon);
	box-shadow: 0 0 0 3px var(--neon-subtle);
}

.input-row input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--text);
	padding: 14px 16px;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	outline: none;
	min-width: 0;
}

.input-row input::placeholder {
	color: var(--text-faint);
}

.input-suffix {
	display: flex;
	align-items: center;
	padding: 0 14px;
	font-size: 0.7rem;
	color: var(--text-faint);
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.02);
	border-left: 1px solid var(--border);
	user-select: none;
}

.btn {
	display: block;
	width: 100%;
	padding: 14px 24px;
	border: none;
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.btn-neon {
	margin-top: 14px;
	background: linear-gradient(135deg, var(--neon), #e8156e);
	color: white;
	box-shadow: 0 4px 24px var(--neon-glow);
}

.btn-neon:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 32px var(--neon-glow);
}

.btn-neon:active {
	transform: translateY(0);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	border: 1px solid var(--border);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--border-hover);
}

.btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

/* ── Profile section ── */
.profile-card {
	animation: fadeUp 0.5s ease-out 0.1s both;
}

.profile-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.profile-stat {
	background: rgba(255, 255, 255, 0.02);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	border: 1px solid var(--border);
}

.profile-email-row {
	background: rgba(255, 255, 255, 0.02);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	border: 1px solid var(--border);
}

.profile-email-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.profile-stat-label {
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-faint);
	margin-bottom: 6px;
}

.profile-stat-value {
	font-size: 0.9rem;
	font-weight: 500;
	word-break: break-all;
}

.profile-stat-value.email-val {
	font-size: 0.85rem;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 8px;
}

.profile-email-header .badge {
	font-size: 0.6rem;
	padding: 2px 8px;
	gap: 4px;
}

.profile-email-header .badge::before {
	width: 4px;
	height: 4px;
}

.btn-copy {
	background: none;
	border: 1px solid var(--border);
	border-radius: 6px;
	color: var(--text-dim);
	cursor: pointer;
	padding: 3px 6px;
	display: inline-flex;
	align-items: center;
	transition: all 0.2s;
	flex-shrink: 0;
}

.btn-copy:hover {
	border-color: var(--border-hover);
	color: var(--text);
}

.btn-copy.copied {
	border-color: var(--mint);
	color: var(--mint);
}

.profile-stat-note {
	font-size: 0.68rem;
	color: var(--text-faint);
	margin-top: 6px;
}

.profile-stat-note a {
	color: var(--amber);
	text-decoration: none;
}

.profile-stat-note a:hover {
	text-decoration: underline;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.badge-ok {
	background: var(--mint-dim);
	color: var(--mint);
}

.badge-wait {
	background: var(--amber-dim);
	color: var(--amber);
}

.badge-action {
	background: var(--amber);
	color: var(--black);
	text-decoration: none;
	cursor: pointer;
}

.badge-action:hover {
	filter: brightness(1.1);
	text-decoration: none;
}

.badge::before {
	content: '';
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

/* ── Notification toggle row ── */
.toggle-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
}

.toggle-label {
	font-size: 0.8rem;
	color: var(--text-dim);
}

.push-row-disabled {
	display: grid;
	grid-template-columns: 1fr;
}

.push-row-overlay,
.push-row-hint {
	grid-row: 1;
	grid-column: 1;
	display: flex;
	align-items: center;
}

.push-row-overlay {
	justify-content: space-between;
	width: 100%;
	opacity: 0.25;
	filter: blur(1px);
	pointer-events: none;
}

.push-row-hint {
	justify-content: center;
	width: 100%;
	gap: 8px;
	font-size: 0.8rem;
	color: var(--text-dim);
	z-index: 1;
	text-shadow: 0 0 12px var(--black), 0 0 24px var(--black);
}

.push-row-hint a {
	color: var(--amber);
	text-decoration: none;
}

.push-row-hint a:hover {
	text-decoration: underline;
}

.toggle {
	position: relative;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-track {
	position: absolute;
	inset: 0;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.1);
	cursor: pointer;
	transition: background 0.25s;
}

.toggle-track::after {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	top: 3px;
	border-radius: 50%;
	background: white;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle input:checked + .toggle-track {
	background: var(--neon);
}

.toggle input:checked + .toggle-track::after {
	transform: translateX(20px);
}

/* ── Categories ── */
.section-label {
	font-family: var(--font-body);
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-faint);
	margin-bottom: 14px;
	margin-top: 8px;
	padding-left: 2px;
}

.category-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--surface-glass);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	text-decoration: none;
	color: var(--text);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.cat-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 50%);
	pointer-events: none;
}

.cat-card:hover {
	border-color: var(--border-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cat-card:active {
	transform: translateY(0);
}

.cat-ring {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.cat-ring svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.cat-ring-icon {
	font-size: 1.1rem;
	z-index: 1;
}

.cat-info {
	flex: 1;
	min-width: 0;
}

.cat-name {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 3px;
}

.cat-status {
	font-size: 0.78rem;
	font-weight: 500;
}

.cat-status-available { color: var(--mint); }
.cat-status-cooldown { color: var(--amber); }
.cat-status-loading { color: var(--text-faint); }

.cat-arrow {
	color: var(--text-faint);
	font-size: 1.1rem;
	flex-shrink: 0;
	transition: transform 0.2s;
}

.cat-card:hover .cat-arrow {
	transform: translateX(3px);
	color: var(--text-dim);
}

/* ── Vote panel (category page) ── */
.vote-hero {
	text-align: center;
	padding: 20px 0 8px;
}

.vote-hero-label {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 900;
	margin-bottom: 4px;
}

.vote-hero-sub {
	font-size: 0.8rem;
	color: var(--text-dim);
}

.countdown-ring-wrap {
	display: flex;
	justify-content: center;
	padding: 24px 0;
}

.countdown-ring {
	width: 160px;
	height: 160px;
	position: relative;
}

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

.countdown-ring-bg {
	fill: none;
	stroke: rgba(255, 255, 255, 0.05);
	stroke-width: 4;
}

.countdown-ring-progress {
	fill: none;
	stroke: var(--amber);
	stroke-width: 4;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s linear;
}

.countdown-ring-progress.done {
	stroke: var(--mint);
}

.countdown-ring-text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.countdown-time {
	font-family: var(--font-body);
	font-size: 1.6rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	color: var(--text);
}

.countdown-label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--text-faint);
	margin-top: 2px;
}

.btn-vote {
	padding: 16px;
	font-size: 1rem;
	border-radius: var(--radius-sm);
}

.btn-vote-ready {
	background: var(--mint);
	color: var(--black);
	font-weight: 700;
	box-shadow: 0 4px 24px rgba(61, 255, 194, 0.2);
}

.btn-vote-ready:hover {
	box-shadow: 0 6px 32px rgba(61, 255, 194, 0.3);
	transform: translateY(-1px);
}

.btn-vote-cooldown {
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-faint);
	border: 1px solid var(--border);
	cursor: not-allowed;
}

.btn-vote-register {
	background: var(--amber);
	color: var(--black);
	font-weight: 700;
	box-shadow: 0 4px 24px rgba(255, 183, 77, 0.2);
	text-align: center;
	text-decoration: none;
	display: block;
	transition: all 0.4s ease;
}

.btn-vote-register:hover {
	box-shadow: 0 6px 32px rgba(255, 183, 77, 0.3);
	transform: translateY(-1px);
	text-decoration: none;
}

.btn-vote-register.btn-vote-register-disabled {
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-faint);
	box-shadow: none;
	border: 1px solid var(--border);
	cursor: not-allowed;
	pointer-events: none;
}

.btn-vote-register.btn-vote-register-disabled:hover {
	box-shadow: none;
	transform: none;
}

.btn-vote-register-hint {
	display: block;
	font-size: 0.7rem;
	font-weight: 400;
	margin-top: 2px;
	opacity: 0.7;
}

.vote-meta {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 16px;
	font-size: 0.75rem;
	color: var(--text-faint);
}

.vote-meta-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.vote-meta-num {
	font-weight: 600;
	color: var(--text-dim);
}

.gallery-link {
	display: block;
	text-align: center;
	margin-top: 12px;
	font-size: 0.78rem;
	color: var(--neon-soft);
	text-decoration: none;
	transition: color 0.2s;
}

.gallery-link:hover { color: var(--neon); }

.token-notice {
	text-align: center;
	padding: 16px;
	border-radius: var(--radius-sm);
	background: var(--amber-dim);
	color: var(--amber);
	font-size: 0.82rem;
	font-weight: 500;
	margin-bottom: 16px;
	line-height: 1.6;
}

.token-notice-email {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 4px 0;
}

.token-notice-email-addr {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--text);
}

.btn-copy-email {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: none;
	border: 1px solid var(--amber);
	border-radius: var(--radius-xs);
	color: var(--amber);
	cursor: pointer;
	padding: 6px 16px;
	font-size: 0.8rem;
	font-weight: 600;
	font-family: var(--font-body);
	transition: all 0.2s;
	margin-top: 8px;
}

.btn-copy-email:hover {
	background: var(--amber-dim);
}

.btn-copy-email.copied {
	border-color: var(--mint);
	color: var(--mint);
	background: var(--mint-dim);
}

.token-notice-step {
	font-size: 0.85rem;
	color: var(--text);
	font-weight: 600;
	letter-spacing: 0.3px;
	margin-bottom: 10px;
	text-align: center;
}

/* ── Install section ── */
.install-card {
	animation: fadeUp 0.5s ease-out 0.3s both;
}

.install-card .card-desc {
	margin-bottom: 14px;
}

.ios-steps {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.ios-step {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.82rem;
	color: var(--text-dim);
}

.ios-step-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--neon-subtle);
	color: var(--neon);
	font-size: 0.7rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
}

/* ── Back link ── */
.back-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	color: var(--text-dim);
	text-decoration: none;
	padding: 8px 0;
	transition: color 0.2s;
}

.back-btn:hover { color: var(--text); }
.back-btn svg { width: 14px; height: 14px; }

/* ── Footer ── */
.footer {
	margin-top: auto;
	padding: 32px 0 24px;
	text-align: center;
	font-size: 0.7rem;
	color: var(--text-faint);
}

.footer a {
	color: var(--neon-soft);
	text-decoration: none;
}

/* ── Modal ── */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(5, 5, 8, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: fadeIn 0.15s ease-out;
}

.modal-box {
	background: var(--surface-raised);
	border: 1px solid var(--border-hover);
	border-radius: var(--radius);
	padding: 28px 24px;
	max-width: 360px;
	width: 100%;
	animation: fadeUp 0.2s ease-out;
}

.modal-msg {
	font-size: 0.9rem;
	color: var(--text);
	line-height: 1.6;
	margin-bottom: 20px;
}

.modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.btn-modal {
	width: auto;
	padding: 10px 20px;
	font-size: 0.82rem;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ── Animations ── */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.18s; }
.stagger-3 { animation-delay: 0.26s; }
.stagger-4 { animation-delay: 0.34s; }

/* ── Utilities ── */
[hidden] { display: none !important; }

.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;
}

/* ── Loading skeleton ── */
.skeleton {
	background: linear-gradient(90deg, var(--surface-raised) 25%, rgba(255,255,255,0.04) 50%, var(--surface-raised) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	border-radius: var(--radius-xs);
}

@keyframes shimmer {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}

/* ── Responsive ── */
@media (max-width: 400px) {
	.app { padding: 0 14px; }
	.header h1 { font-size: 1.7rem; }
	.card { padding: 22px 18px; }
	.profile-grid { grid-template-columns: 1fr; }
	.input-suffix { font-size: 0.62rem; padding: 0 10px; }
}

@media (min-width: 481px) {
	.app { padding: 0 32px; }
	.header { padding: 56px 0 16px; }
	.header h1 { font-size: 2.3rem; }
}

/* ── Error toast ── */
#error-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(100px);
	background: var(--red);
	color: #fff;
	padding: 12px 24px;
	border-radius: 12px;
	font: 500 0.85rem var(--font-body);
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: transform 0.3s ease, opacity 0.3s ease;
	max-width: calc(100vw - 48px);
	text-align: center;
}

#error-toast.show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	pointer-events: auto;
}

/* ── Category tracking badge (home page card) ── */
.cat-tracking {
	font-size: 0.65rem;
	color: var(--text-dim);
	margin-top: 2px;
	padding-left: 0;
}

/* ── Vote tracking info (category detail page) ── */
.vote-tracking {
	margin-top: 16px;
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.8rem;
}

.vote-tracking-row {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
}

.vote-tracking-row + .vote-tracking-row {
	border-top: 1px solid var(--border);
}

.vote-tracking-label {
	color: var(--text-dim);
}

.vote-tracking-value {
	color: var(--text);
	font-weight: 500;
}

/* ── Safe area for PWA standalone ── */
@media (display-mode: standalone) {
	.header { padding-top: calc(env(safe-area-inset-top) + 20px); }
	.footer { padding-bottom: calc(env(safe-area-inset-bottom) + 24px); }
}
