:root {
	--bg: #030304;
	--bg-soft: #0a0a0f;
	--surface: rgba(18, 18, 26, 0.72);
	--surface-solid: #12121a;
	--surface-hover: #1a1a26;
	--border: rgba(255, 255, 255, 0.07);
	--border-bright: rgba(255, 255, 255, 0.14);
	--text: #f8f6f2;
	--text-soft: rgba(248, 246, 242, 0.72);
	--text-muted: #8e8b9a;
	--gold: #e8c468;
	--gold-soft: rgba(232, 196, 104, 0.16);
	--violet: #a78bfa;
	--violet-soft: rgba(167, 139, 250, 0.18);
	--accent: linear-gradient(135deg, #e8c468 0%, #f0d78c 45%, #c9a84a 100%);
	--accent-text: #1a1408;
	--glow-gold: rgba(232, 196, 104, 0.28);
	--glow-violet: rgba(139, 92, 246, 0.22);
	--radius-xl: 28px;
	--radius-lg: 22px;
	--radius-md: 16px;
	--radius-sm: 12px;
	--shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
	--shadow-card: 0 24px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
	--font-ui: "DM Sans", system-ui, sans-serif;
	--font-display: "Syne", "DM Sans", sans-serif;
	--nav-h: 76px;
	--topbar-h: 72px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-ui);
	background: var(--bg);
	color: var(--text);
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse 55% 42% at 12% -8%, rgba(167, 139, 250, 0.14), transparent 58%),
		radial-gradient(ellipse 48% 38% at 88% 4%, rgba(232, 196, 104, 0.1), transparent 55%),
		radial-gradient(circle at 50% 120%, rgba(99, 102, 241, 0.08), transparent 42%);
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.35;
	background-image: 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.5'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

.app-shell {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	margin: 0 auto;
	padding-bottom: calc(var(--nav-h) + 32px);
}

.ambient {
	position: fixed;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
}

.ambient-1 {
	width: 320px;
	height: 320px;
	top: -80px;
	left: -60px;
	background: rgba(139, 92, 246, 0.12);
}

.ambient-2 {
	width: 280px;
	height: 280px;
	top: 30%;
	right: -80px;
	background: rgba(232, 196, 104, 0.08);
}

/* Top bar */
.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--topbar-h);
	padding: 0 clamp(16px, 3vw, 28px);
	margin: 12px clamp(12px, 2vw, 20px) 0;
	border-radius: 999px;
	background: rgba(10, 10, 15, 0.62);
	backdrop-filter: blur(24px) saturate(1.4);
	border: 1px solid var(--border);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.brand-mark {
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: var(--accent);
	box-shadow: 0 0 28px var(--glow-gold);
}

.brand-mark::after {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 9px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 55%);
}

.brand-text {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.search-pill {
	flex: 1;
	min-width: 0;
	max-width: 440px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 18px;
	height: 46px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	color: var(--text-muted);
	transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.search-pill:focus-within {
	border-color: rgba(232, 196, 104, 0.35);
	background: rgba(255, 255, 255, 0.06);
}

.search-pill input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	outline: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-pill input::placeholder {
	color: var(--text-muted);
}

.topbar-meta {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.85;
}

.pill-active {
	background: var(--gold-soft);
	color: var(--gold);
	border: 1px solid rgba(232, 196, 104, 0.28);
	box-shadow: 0 0 24px var(--glow-gold);
}

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

.pill-muted::before {
	opacity: 0.45;
}

.main-content {
	padding: 8px clamp(16px, 3vw, 28px) 40px;
}

/* Greeting strip */
.greeting-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 28px 4px 8px;
}

.greeting-copy h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.greeting-copy p {
	margin: 6px 0 0;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.greeting-stat {
	text-align: right;
}

.greeting-stat strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--gold);
	letter-spacing: -0.03em;
}

.greeting-stat span {
	font-size: 0.78rem;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Hero carousel */
.hero-carousel {
	position: relative;
	margin-bottom: 40px;
}

.hero-stage {
	position: relative;
	min-height: clamp(380px, 52vh, 520px);
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.hero-slide-bg {
	position: absolute;
	inset: -4%;
	background-size: cover;
	background-position: center top;
	transform: scale(1.08);
	animation: heroKen 18s ease-in-out infinite alternate;
}

@keyframes heroKen {
	from { transform: scale(1.08) translate3d(0, 0, 0); }
	to { transform: scale(1.14) translate3d(-1%, -1%, 0); }
}

.hero-slide-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.55) 42%, rgba(3, 3, 4, 0.15) 68%, rgba(3, 3, 4, 0.5) 100%),
		linear-gradient(to top, rgba(3, 3, 4, 0.95) 0%, transparent 48%);
}

.hero-slide-body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(380px, 52vh, 520px);
	padding: clamp(28px, 4vw, 44px);
	max-width: 620px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 12px;
	width: fit-content;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--gold);
	background: var(--gold-soft);
	border: 1px solid rgba(232, 196, 104, 0.22);
}

.hero-title {
	margin: 0 0 14px;
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.hero-desc {
	margin: 0 0 28px;
	max-width: 480px;
	color: var(--text-soft);
	font-size: clamp(1rem, 2vw, 1.12rem);
	line-height: 1.6;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.hero-dots {
	position: absolute;
	right: clamp(20px, 3vw, 32px);
	bottom: clamp(20px, 3vw, 32px);
	z-index: 3;
	display: flex;
	gap: 8px;
}

.hero-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.28);
	cursor: pointer;
	transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-dot.is-active {
	width: 28px;
	background: var(--gold);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	border: 0;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
}

.btn-primary {
	background: var(--accent);
	color: var(--accent-text);
	box-shadow: 0 14px 36px var(--glow-gold);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 44px var(--glow-gold);
}

.btn-primary:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	border: 1px solid var(--border-bright);
	backdrop-filter: blur(12px);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
}

.stat-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border);
	font-size: 0.84rem;
	color: var(--text-soft);
	backdrop-filter: blur(10px);
}

.stat-chip svg {
	opacity: 0.7;
}

/* Sections */
.section {
	margin-bottom: 44px;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.section.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.section.compact {
	margin-bottom: 28px;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.section-head h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 2.4vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.03em;
}

.section-head p {
	margin: 4px 0 0;
	font-size: 0.86rem;
	color: var(--text-muted);
}

.link-quiet {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--gold);
	transition: gap 0.2s var(--ease);
}

.link-quiet:hover {
	gap: 10px;
}

.link-quiet::after {
	content: "→";
}

/* Rails */
.rail-wrap {
	position: relative;
}

.rail {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	padding: 6px 2px 14px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar {
	display: none;
}

.rail .file-card {
	flex: 0 0 190px;
	scroll-snap-align: start;
}

.rail-fade {
	position: absolute;
	top: 0;
	right: 0;
	width: 72px;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(to left, var(--bg), transparent);
}

/* File cards */
.file-card {
	position: relative;
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface-solid);
	box-shadow: var(--shadow-card);
	transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.file-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 3;
}

.file-card:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 28px 56px rgba(0, 0, 0, 0.6), 0 0 40px var(--glow-violet);
}

.file-card-media {
	position: relative;
	aspect-ratio: 3 / 4.1;
	overflow: hidden;
	background: #0d0d14;
}

.file-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.file-card:hover .file-card-media img {
	transform: scale(1.06);
}

.file-card-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #1c1c28 0%, #0d0d14 100%);
}

.file-card-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.35) 38%, transparent 68%);
}

.file-card-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(14px);
	color: white;
	transform: translate(-50%, -50%) scale(0.85);
	opacity: 0;
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.file-card:hover .file-card-play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.file-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--gold);
	background: rgba(3, 3, 4, 0.62);
	border: 1px solid rgba(232, 196, 104, 0.25);
	backdrop-filter: blur(10px);
}

.file-card-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 18px 16px 16px;
}

.file-card-body h3 {
	margin: 0 0 4px;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.file-card-body p {
	margin: 0;
	font-size: 0.78rem;
	color: var(--text-soft);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.file-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

/* Categories */
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.category-grid.large {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.category-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 148px;
	padding: 18px 16px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface-solid);
	border: 1px solid var(--border);
	transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.category-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(145deg, rgba(167, 139, 250, 0.12), rgba(232, 196, 104, 0.06));
	opacity: 0.9;
}

.category-tile:hover {
	transform: translateY(-4px);
	border-color: rgba(232, 196, 104, 0.28);
}

.category-tile.with-image,
.category-tile.has-cover {
	padding: 0;
	min-height: 200px;
}

.category-tile-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--ease);
}

.category-tile:hover .category-tile-cover {
	transform: scale(1.06);
}

.category-tile-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.2) 55%, transparent 100%);
}

.category-tile-meta {
	position: relative;
	z-index: 1;
	padding: 16px;
}

.category-tile-name {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: -0.02em;
}

.category-tile-count {
	display: block;
	margin-top: 4px;
	font-size: 0.76rem;
	color: var(--text-muted);
}

.category-thumb {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: #0d0d14;
}

/* Page headers */
.page-head {
	padding: 32px 0 24px;
}

.page-head h1 {
	margin: 10px 0 8px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.04em;
}

.page-sub {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-muted);
	transition: color 0.2s;
}

.back-link:hover,
.back-link.light:hover {
	color: var(--gold);
}

.back-link.light {
	color: rgba(255, 255, 255, 0.72);
}

.search-wide {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.search-wide input {
	flex: 1;
	padding: 16px 20px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font: inherit;
	outline: none;
	transition: border-color 0.2s;
}

.search-wide input:focus {
	border-color: rgba(232, 196, 104, 0.4);
}

/* Detail page */
.detail-hero {
	position: relative;
	margin-bottom: 28px;
	min-height: clamp(440px, 58vh, 560px);
	border-radius: var(--radius-xl);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}

.detail-cover {
	position: absolute;
	inset: -4%;
	width: 104%;
	height: 104%;
	object-fit: cover;
	animation: heroKen 20s ease-in-out infinite alternate;
}

.detail-gradient {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(3, 3, 4, 0.94) 0%, rgba(3, 3, 4, 0.45) 45%, rgba(3, 3, 4, 0.2) 100%),
		linear-gradient(to top, rgba(3, 3, 4, 0.98) 0%, transparent 50%);
}

.detail-body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(440px, 58vh, 560px);
	padding: clamp(28px, 4vw, 44px);
	max-width: 680px;
}

.detail-body h1 {
	margin: 14px 0;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.detail-desc {
	margin: 0 0 24px;
	color: var(--text-soft);
	line-height: 1.65;
	font-size: 1.08rem;
	max-width: 540px;
}

.detail-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.plan-list {
	display: grid;
	gap: 12px;
}

.plan-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 20px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
}

.plan-card strong {
	font-family: var(--font-display);
}

.empty-state,
.error-page {
	padding: 80px 0;
	text-align: center;
	color: var(--text-muted);
}

.error-page h1 {
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 800;
}

/* Bottom nav */
.bottom-nav {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	width: min(460px, calc(100% - 28px));
	height: var(--nav-h);
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba(8, 8, 12, 0.78);
	backdrop-filter: blur(28px) saturate(1.5);
	border: 1px solid var(--border-bright);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
	z-index: 100;
}

.nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--text-muted);
	transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-item svg {
	opacity: 0.75;
	transition: opacity 0.2s;
}

.nav-item:hover,
.nav-item.is-active {
	color: var(--gold);
	background: rgba(232, 196, 104, 0.08);
}

.nav-item.is-active svg,
.nav-item:hover svg {
	opacity: 1;
}

@media (min-width: 900px) {
	.rail .file-card {
		flex-basis: 210px;
	}

	.file-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

@media (max-width: 720px) {
	.topbar {
		flex-wrap: wrap;
		height: auto;
		padding: 12px 16px;
		border-radius: var(--radius-lg);
	}

	.search-pill {
		order: 3;
		max-width: none;
		width: 100%;
	}

	.greeting-strip {
		flex-direction: column;
		align-items: flex-start;
	}

	.greeting-stat {
		text-align: left;
	}
}

/* PIN / OTP subscribe (Etisalat etc.) */
.pin-flow {
	display: grid;
	gap: 1rem;
	max-width: 28rem;
}

.pin-field {
	display: grid;
	gap: 0.35rem;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.pin-field input {
	padding: 0.75rem 0.9rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.25);
	color: var(--text);
	font: inherit;
}

.pin-plan-card {
	text-align: left;
	cursor: pointer;
	width: 100%;
	font: inherit;
	color: inherit;
	background: inherit;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pin-plan-card.is-selected {
	border-color: rgba(232, 196, 104, 0.55);
	box-shadow: 0 0 0 1px rgba(232, 196, 104, 0.25);
}

.pin-plan-cta {
	display: block;
	margin-top: 0.35rem;
	font-style: normal;
	font-size: 0.8rem;
	color: var(--gold);
}

.pin-otp-block {
	display: grid;
	gap: 0.75rem;
}

.pin-status {
	min-height: 1.25rem;
	font-size: 0.85rem;
	color: var(--text-muted);
}

.pin-status.is-error {
	color: #f0a0a0;
}
