/*
Theme Name: GFX Download
Description: Custom dark-first asset-hub theme — fixed left rail, search topbar, studio hero, category cards, latest drops, CTA panels.
Author: GFX Download
Version: 0.3.0
Text Domain: blenderhub
*/

:root {
	--font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;

	--bg: #0b0d0a;
	--rail-bg: #10130d;
	--canvas-bg: #0b0d0a;
	--panel: #141810;
	--panel-2: #1a1f14;
	--surface: #12160e;
	--surface-2: #1c2216;
	--text: #eef2e6;
	--text-soft: #9aa48c;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);

	--accent: #cdf34c;
	--accent-ink: #cdf34c;
	--accent-dark: #a5c92e;
	--accent-soft: rgba(205, 243, 76, 0.1);
	--accent-2: #f5792a;
	--accent-2-soft: rgba(245, 121, 42, 0.14);
	--thumb-grad: linear-gradient(135deg, #2b1f42 0%, #4a2a3f 55%, #b4552d 130%);
	--glow: 0 6px 30px rgba(205, 243, 76, 0.15);
	--link: #cdf34c;

	--radius: 14px;
	--radius-lg: 20px;
	--shadow: 0 12px 44px rgba(0, 0, 0, 0.5);
	--rail-w: 288px;
}

[data-theme="light"] {
	--bg: #f3f5ec;
	--rail-bg: #ffffff;
	--canvas-bg: #f3f5ec;
	--panel: #ffffff;
	--panel-2: #f6f8ef;
	--surface: #ffffff;
	--surface-2: #eef1e3;
	--text: #171b10;
	--text-soft: #626b52;
	--border: rgba(23, 27, 16, 0.1);
	--border-strong: rgba(23, 27, 16, 0.2);
	--accent: #7fa312;
	--accent-ink: #5d7a0e;
	--accent-dark: #6d8c10;
	--accent-soft: rgba(127, 163, 18, 0.12);
	--accent-2: #d4560e;
	--accent-2-soft: rgba(212, 86, 14, 0.1);
	--thumb-grad: linear-gradient(135deg, #d9d2ee 0%, #e8d3c4 60%, #f0b48a 130%);
	--glow: 0 6px 30px rgba(127, 163, 18, 0.18);
	--link: #5d7a0e;
	--shadow: 0 12px 44px rgba(23, 27, 16, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--canvas-bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.15; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #10130d; }

/* =====================================================
   Left rail (fixed)
   ===================================================== */
.ah-rail {
	position: fixed;
	inset: 0 auto 0 0;
	width: var(--rail-w);
	z-index: 90;
	display: flex;
	flex-direction: column;
	background: var(--rail-bg);
	border-right: 1px solid var(--border);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.ah-rail__logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 1.4rem 1.4rem 1.1rem;
	font-family: var(--font-head);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--text);
	letter-spacing: 0.02em;
}
.ah-rail__logo-mark {
	width: 2rem;
	height: 2rem;
	border-radius: 8px;
	background: var(--accent);
	color: #10130d;
	display: grid;
	place-items: center;
	font-size: 1rem;
	flex-shrink: 0;
}
.ah-rail__logo:hover { color: var(--text); }

.ah-rail__section { padding: 0.9rem 0.9rem 0.4rem; }
.ah-rail__label {
	padding: 0 0.55rem 0.5rem;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-soft);
}

/* accordion */
.ah-acc { padding: 0 0.5rem; }
.ah-acc__list { margin: 0; padding: 0; list-style: none; }
.ah-acc__row {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 0.5rem 0.65rem;
	background: none;
	border: none;
	color: var(--text-soft);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
	gap: 0.55rem;
	border-radius: 10px;
	transition: all 0.18s ease;
}
.ah-acc__row:hover { color: var(--text); background: var(--surface-2); }
.ah-acc__row a { color: inherit; flex: 1; display: flex; align-items: center; gap: 0.55rem; }
.ah-acc__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	opacity: 0.55;
	flex-shrink: 0;
	transition: all 0.2s ease;
}
.ah-acc__row:hover .ah-acc__dot { opacity: 1; box-shadow: 0 0 8px var(--accent); }
.ah-acc__sign {
	flex-shrink: 0;
	width: 1.3rem;
	height: 1.3rem;
	display: grid;
	place-items: center;
	border-radius: 6px;
	border: 1px solid var(--border-strong);
	background: transparent;
	font-size: 0.8rem;
	color: var(--text-soft);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ah-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.ah-acc__panel > ul { overflow: hidden; min-height: 0; margin: 0; padding: 0; list-style: none; }
.ah-acc__item.open > .ah-acc__panel { grid-template-rows: 1fr; }
.ah-acc__item.open > .ah-acc__row { color: var(--text); }
.ah-acc__item.open > .ah-acc__row .ah-acc__sign { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #10130d; }

.ah-acc__panel a {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.42rem 0.65rem 0.42rem 2rem;
	border-radius: 9px;
	font-size: 0.84rem;
	color: var(--text-soft);
	transition: all 0.18s ease;
}
.ah-acc__panel a::before { content: "—"; opacity: 0.35; font-size: 0.75rem; }
.ah-acc__panel a:hover { color: var(--text); background: var(--surface-2); }

/* quick links */
.ah-rail__links { display: flex; flex-direction: column; gap: 2px; padding: 0 0.5rem; }
.ah-rail__links a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.5rem 0.65rem;
	border-radius: 10px;
	color: var(--text-soft);
	font-size: 0.88rem;
	font-weight: 500;
	transition: all 0.18s ease;
}
.ah-rail__links a:hover { color: var(--text); background: var(--surface-2); }
.ah-rail__links .ico { width: 1.1rem; text-align: center; opacity: 0.7; }

/* credits card */
.ah-credits-card {
	margin: auto 1rem 0.6rem;
	margin-top: auto;
	padding-top: 1.1rem;
	padding: 1.1rem 1.15rem;
	border-radius: var(--radius-lg);
	background: linear-gradient(150deg, var(--panel-2), var(--panel));
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}
.ah-credits-card::before {
	content: "";
	position: absolute;
	top: -40%; right: -30%;
	width: 160px; height: 160px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(205, 243, 76, 0.18), transparent 65%);
	pointer-events: none;
}
.ah-credits-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-soft);
	margin-bottom: 0.5rem;
}
.ah-credits-card__top .tag {
	padding: 0.14rem 0.55rem;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-ink);
	border: 1px solid rgba(205, 243, 76, 0.25);
}
[data-theme="light"] .ah-credits-card__top .tag { border-color: rgba(127, 163, 18, 0.3); }
.ah-credits-card__value {
	font-family: var(--font-head);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text);
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}
.ah-credits-card__value small { font-size: 0.8rem; color: var(--text-soft); font-weight: 500; margin-left: 0.3rem; }
.ah-credits-card__bar {
	height: 5px;
	border-radius: 999px;
	background: var(--surface-2);
	margin: 0.7rem 0 0.45rem;
	overflow: hidden;
}
.ah-credits-card__bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--accent-dark), var(--accent));
	transition: width 1s ease;
}
.ah-credits-card__note { font-size: 0.74rem; color: var(--text-soft); }
.ah-credits-card__note a { color: var(--accent-ink); font-weight: 600; }

/* profile row */
.ah-rail__profile {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 1rem 1.4rem 1.3rem;
	border-top: 1px solid var(--border);
}
.ah-rail__profile img { border-radius: 50%; }
.ah-rail__profile-name { font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.ah-rail__profile-name a { color: inherit; }
.ah-rail__profile-sub { font-size: 0.72rem; color: var(--text-soft); }

/* =====================================================
   Canvas + topbar
   ===================================================== */
.ah-canvas { margin-left: var(--rail-w); min-height: 100vh; display: flex; flex-direction: column; }

.ah-topbar {
	position: sticky;
	top: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 2.2rem;
	background: color-mix(in srgb, var(--canvas-bg) 82%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}
.ah-topbar__crumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.84rem; color: var(--text-soft); font-weight: 500; white-space: nowrap; }
.ah-topbar__crumb b { color: var(--text); font-weight: 600; }

.ah-search { flex: 1; max-width: 420px; margin-left: auto; position: relative; }
.ah-search input {
	width: 100%;
	padding: 0.52rem 1rem 0.52rem 2.3rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-size: 0.86rem;
	transition: all 0.2s ease;
}
.ah-search input::placeholder { color: var(--text-soft); }
.ah-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ah-search::before {
	content: "⌕";
	position: absolute;
	left: 0.85rem;
	top: 50%;
	transform: translateY(-52%);
	color: var(--text-soft);
	font-size: 1rem;
	pointer-events: none;
}

.ah-topbar__actions { display: flex; align-items: center; gap: 0.55rem; }
.ah-credits-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.36rem 0.9rem;
	border-radius: 999px;
	background: var(--accent-soft);
	border: 1px solid rgba(205, 243, 76, 0.28);
	color: var(--accent-ink);
	font-weight: 700;
	font-size: 0.82rem;
	white-space: nowrap;
}
[data-theme="light"] .ah-credits-chip { border-color: rgba(127, 163, 18, 0.3); }
.ah-theme-toggle {
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	cursor: pointer;
	font-size: 0.95rem;
	transition: all 0.25s ease;
	flex-shrink: 0;
}
.ah-theme-toggle:hover { transform: rotate(25deg) scale(1.08); border-color: var(--accent); color: var(--accent); }
.ah-account { display: flex; gap: 0.6rem; align-items: center; }
.ah-account a { font-weight: 600; font-size: 0.84rem; color: var(--text-soft); white-space: nowrap; }
.ah-account a:hover { color: var(--text); }
.ah-topbar__burger {
	display: none;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
	font-size: 1rem;
	flex-shrink: 0;
}

/* page container — fluid full width */
.ah-page { width: 100%; padding: 2.2rem 2.6rem 3rem; flex: 1; }

/* =====================================================
   Hero
   ===================================================== */
.ah-hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: radial-gradient(120% 160% at 85% -20%, rgba(124, 58, 237, 0.22) 0%, transparent 50%),
		radial-gradient(90% 120% at 10% 110%, rgba(245, 121, 42, 0.14) 0%, transparent 55%),
		var(--panel);
	padding: 3.2rem 3rem 0;
}
[data-theme="light"] .ah-hero {
	background: radial-gradient(120% 160% at 85% -20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
		radial-gradient(90% 120% at 10% 110%, rgba(212, 86, 14, 0.08) 0%, transparent 55%),
		var(--panel);
}

.ah-hero__inner { position: relative; z-index: 2; max-width: 560px; padding: 0 0 3rem; }

.ah-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent-ink);
	margin-bottom: 1.1rem;
}
.ah-hero__eyebrow::before { content: ""; width: 1.4rem; height: 2px; background: var(--accent); }

.ah-hero h1 {
	margin: 0 0 0.9rem;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--text);
}
.ah-hero h1 em { font-style: normal; color: var(--accent-ink); }

.ah-hero p { margin: 0 0 1.6rem; color: var(--text-soft); font-size: 0.98rem; max-width: 440px; }

.ah-hero__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.ah-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.68rem 1.5rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.9rem;
	font-family: var(--font-head);
	border: 1px solid var(--border-strong);
	color: var(--text);
	background: transparent;
	transition: all 0.22s ease;
	cursor: pointer;
}
.ah-btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-ink); }
.ah-btn--primary {
	background: var(--accent);
	border-color: var(--accent);
	color: #10130d;
	box-shadow: var(--glow);
}
[data-theme="light"] .ah-btn--primary { color: #fff; }
.ah-btn--primary:hover { color: #10130d; box-shadow: 0 8px 40px rgba(205, 243, 76, 0.3); }
[data-theme="light"] .ah-btn--primary:hover { color: #fff; }
.ah-btn--danger { background: rgba(214, 69, 69, 0.12); border-color: rgba(214, 69, 69, 0.4); color: #ff8589; }

/* hero scene — 3D viewport feel (Blender/Unreal) */
.ah-hero__scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }

.ah-scene__grid {
	position: absolute;
	left: -20%; right: -20%; bottom: -12%;
	height: 62%;
	background-image:
		linear-gradient(rgba(205, 243, 76, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(205, 243, 76, 0.09) 1px, transparent 1px);
	background-size: 44px 44px;
	transform: perspective(560px) rotateX(58deg);
	transform-origin: 50% 100%;
	mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
	-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
}
[data-theme="light"] .ah-scene__grid {
	background-image:
		linear-gradient(rgba(95, 121, 14, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(95, 121, 14, 0.12) 1px, transparent 1px);
}

.ah-scene__globe {
	position: absolute;
	right: 6%; top: 6%;
	width: 300px; height: 300px;
	border-radius: 50%;
	border: 1px solid rgba(205, 243, 76, 0.28);
	box-shadow: inset 0 0 60px rgba(205, 243, 76, 0.07);
	background:
		radial-gradient(circle at 30% 28%, rgba(245, 121, 42, 0.35), transparent 55%),
		repeating-linear-gradient(0deg, rgba(205, 243, 76, 0.14) 0 1px, transparent 1px 26px),
		repeating-linear-gradient(90deg, rgba(205, 243, 76, 0.1) 0 1px, transparent 1px 26px);
	animation: ah-float 9s ease-in-out infinite;
}
[data-theme="light"] .ah-scene__globe {
	border-color: rgba(95, 121, 14, 0.35);
	background:
		radial-gradient(circle at 30% 28%, rgba(212, 86, 14, 0.2), transparent 55%),
		repeating-linear-gradient(0deg, rgba(95, 121, 14, 0.15) 0 1px, transparent 1px 26px),
		repeating-linear-gradient(90deg, rgba(95, 121, 14, 0.1) 0 1px, transparent 1px 26px);
}

.ah-scene__sun {
	position: absolute;
	right: 14%; top: 16%;
	width: 110px; height: 110px;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, #ffd9a8 0%, #f5792a 45%, #7c2d12 100%);
	box-shadow: 0 24px 70px rgba(245, 121, 42, 0.45);
	animation: ah-float 7s ease-in-out infinite reverse;
}

/* hero engine chips */
.ah-hero__engines { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ah-hero__engines span {
	padding: 0.28rem 0.8rem;
	border-radius: 6px;
	border: 1px solid var(--border-strong);
	background: var(--surface-2);
	color: var(--text-soft);
	font-family: var(--font-head);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* hero collage of real previews */
.ah-hero__collage {
	position: absolute;
	right: 3rem; bottom: 7rem;
	width: 300px;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
}
.ah-hero__shot {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border-strong);
	box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
	transition: all 0.3s ease;
	background: var(--surface);
}
.ah-hero__shot:hover { transform: translateY(-4px) scale(1.02); border-color: var(--accent); }
.ah-hero__shot img { display: block; width: 100%; height: 82px; object-fit: cover; }
.ah-hero__shot.shot-1 { grid-column: 1 / -1; }
.ah-hero__shot.shot-1 img { height: 168px; }

/* hero stat strip */
.ah-hero__stats {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--border);
	margin: 0 -3rem;
	padding: 0 3rem;
}
.ah-hero__stats .cell {
	padding: 1.15rem 1.6rem;
	border-right: 1px solid var(--border);
}
.ah-hero__stats .cell:last-child { border-right: none; }
.ah-hero__stats .num { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.ah-hero__stats .lbl { font-size: 0.74rem; color: var(--text-soft); }
.ah-hero__stats .num em { font-style: normal; color: var(--accent-ink); }

/* =====================================================
   Section headers
   ===================================================== */
.ah-section { margin-bottom: 3.5rem; }
.ah-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.ah-section__eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.35rem; }
.ah-section__title { margin: 0; font-size: 1.7rem; font-weight: 700; }
.ah-section__title em { font-style: normal; color: var(--accent-ink); }
.ah-section__more { font-size: 0.84rem; font-weight: 600; color: var(--text-soft); }
.ah-section__more:hover { color: var(--accent-ink); }

/* =====================================================
   Category cards
   ===================================================== */
.ah-catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ah-catcard {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 1.25rem;
	border-radius: var(--radius-lg);
	background: var(--panel);
	border: 1px solid var(--border);
	color: var(--text);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ah-catcard:hover { transform: translateY(-4px); border-color: rgba(205, 243, 76, 0.4); box-shadow: var(--glow); }
[data-theme="light"] .ah-catcard:hover { border-color: rgba(127, 163, 18, 0.45); }
.ah-catcard__top { display: flex; align-items: center; justify-content: space-between; }
.ah-catcard__icon {
	width: 2.1rem;
	height: 2.1rem;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--accent-ink);
	font-size: 0.95rem;
}
.ah-catcard__plus {
	width: 1.45rem;
	height: 1.45rem;
	display: grid;
	place-items: center;
	border-radius: 6px;
	border: 1px solid var(--border-strong);
	color: var(--accent-ink);
	font-size: 0.8rem;
}
.ah-catcard h3 { margin: 0; font-size: 1.02rem; }
.ah-catcard p { margin: 0; font-size: 0.82rem; color: var(--text-soft); flex: 1; }
.ah-catcard__chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ah-catcard__chips a,
.ah-catcard__chips span {
	padding: 0.18rem 0.6rem;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text-soft);
	font-size: 0.7rem;
	font-weight: 600;
	transition: all 0.18s ease;
}
.ah-catcard__chips a:hover { color: var(--accent-ink); border-color: var(--accent); }
.ah-catcard__more { font-size: 0.78rem; font-weight: 700; color: var(--accent-ink); }

/* =====================================================
   Asset cards (drops / blocks)
   ===================================================== */
.ah-drops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.ah-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--panel);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
}
.ah-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }

.ah-card__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		radial-gradient(90% 70% at 50% 108%, rgba(245, 121, 42, 0.35), transparent 62%),
		linear-gradient(rgba(205, 243, 76, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(205, 243, 76, 0.06) 1px, transparent 1px),
		#0e1114;
	background-size: auto, 34px 34px, 34px 34px, auto;
}
[data-theme="light"] .ah-card__thumb {
	background:
		radial-gradient(90% 70% at 50% 108%, rgba(212, 86, 14, 0.22), transparent 62%),
		linear-gradient(rgba(95, 121, 14, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(95, 121, 14, 0.1) 1px, transparent 1px),
		#e9ecdf;
	background-size: auto, 34px 34px, 34px 34px, auto;
}
.ah-card__thumb .ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	font-family: var(--font-head);
	font-size: 1.7rem;
	font-weight: 700;
	color: rgba(238, 242, 230, 0.4);
	letter-spacing: -0.04em;
}
.ah-card__thumb .ph i { font-style: normal; }
.ah-card__thumb .ph::after {
	content: "";
	width: 46px; height: 3px;
	border-radius: 3px;
	background: var(--accent);
	opacity: 0.6;
}
.ah-card.has-video-only .ph { color: var(--accent); }
.ah-card.has-video-only .ph::after { display: none; }
.ah-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.ah-card:hover .ah-card__thumb img { transform: scale(1.07); }

.ah-card__badge {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 2;
	padding: 0.16rem 0.55rem;
	border-radius: 6px;
	background: var(--accent);
	color: #10130d;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ah-card__price {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	z-index: 2;
	padding: 0.18rem 0.6rem;
	border-radius: 999px;
	background: rgba(10, 12, 8, 0.75);
	backdrop-filter: blur(6px);
	color: var(--accent);
	font-family: var(--font-head);
	font-size: 0.72rem;
	font-weight: 700;
}
[data-theme="light"] .ah-card__price { background: rgba(255, 255, 255, 0.85); color: var(--accent-ink); }

.ah-card__body { padding: 0.85rem 1rem 0.55rem; flex: 1; }
.ah-card__title { font-size: 0.92rem; font-weight: 700; margin: 0 0 0.3rem; line-height: 1.35; }
.ah-card__title a { color: var(--text); }
.ah-card__title a:hover { color: var(--accent-ink); }
.ah-card__meta { font-size: 0.74rem; color: var(--text-soft); display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.ah-card__meta .sep { opacity: 0.4; }
.ah-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.55rem 1rem;
	border-top: 1px solid var(--border);
	font-size: 0.74rem;
	color: var(--text-soft);
}
.ah-card__foot .dl { display: inline-flex; align-items: center; gap: 0.3rem; }
.ah-card__foot .price { font-family: var(--font-head); font-weight: 700; color: var(--accent-ink); }

/* =====================================================
   Blocks (category collections)
   ===================================================== */
.ah-block {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	margin-bottom: 2.5rem;
}
.ah-block__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.ah-block__title { margin: 0; font-size: 1.7rem; font-weight: 700; display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
.ah-block__title a { color: var(--text); }
.ah-block__title a:hover { color: var(--accent-ink); }
.ah-block__chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.ah-chip {
	border: 1px solid var(--border);
	background: var(--panel);
	color: var(--text-soft);
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.ah-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.ah-chip.active { background: var(--accent); border-color: var(--accent); color: #10130d; }
.ah-block__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; min-height: 120px; }
.ah-block__grid.loading { opacity: 0.4; pointer-events: none; }
.ah-block__empty { grid-column: 1/-1; color: var(--text-soft); }

/* =====================================================
   Content / single
   ===================================================== */
.ah-article {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
}
.ah-article h1 { margin-top: 0; font-size: 1.9rem; }

/* =====================================================
   Badges
   ===================================================== */
.ah-badge {
	display: inline-block;
	padding: 0.14rem 0.6rem;
	border-radius: 999px;
	font-size: 0.66rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	vertical-align: middle;
}
.ah-badge--trusted { background: rgba(63, 185, 105, 0.15);  color: #3fb969; }
.ah-badge--elite   { background: rgba(155, 90, 235, 0.16); color: #b78bff; }
.ah-badge--flagged { background: rgba(229, 72, 77, 0.15);  color: #ff8589; }

/* =====================================================
   Footer CTA panels
   ===================================================== */
.ah-cta-panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.1rem; margin: 1rem 0 3rem; }
.ah-cta-panel {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	padding: 2.2rem;
}
.ah-cta-panel--earn {
	background: radial-gradient(100% 140% at 0% 100%, rgba(205, 243, 76, 0.1) 0%, transparent 60%), var(--panel);
}
.ah-cta-panel--support {
	background: radial-gradient(100% 140% at 100% 100%, rgba(245, 121, 42, 0.1) 0%, transparent 60%), var(--panel);
}
.ah-cta-panel h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.ah-cta-panel h3 em { font-style: normal; color: var(--accent-ink); }
.ah-cta-panel p { margin: 0 0 1.3rem; color: var(--text-soft); font-size: 0.9rem; max-width: 420px; }

/* footer */
.ah-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.3rem 1rem;
	justify-self: center;
}

@media (max-width: 900px) {
	.ah-footer {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
	.ah-footer > span:first-child,
	.ah-footer__legal {
		justify-self: start;
		justify-content: flex-start;
	}
}

.ah-footer__legal a {
	color: var(--text-soft);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}

.ah-footer__legal a:hover,
.ah-footer__legal a:focus-visible {
	color: var(--text);
	border-bottom-color: var(--border);
}

.ah-footer {
	border-top: 1px solid var(--border);
	padding: 1.6rem 2.2rem;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	color: var(--text-soft);
	font-size: 0.8rem;
}

.ah-footer > span:first-child {
	justify-self: start;
	white-space: nowrap;
}

/* =====================================================
   Requests board
   ===================================================== */
.ah-req-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.ah-req-tabs__item {
	padding: 0.5rem 1.15rem;
	border-radius: 999px;
	background: var(--panel);
	border: 1px solid var(--border);
	color: var(--text-soft);
	font-size: 0.86rem;
	font-weight: 600;
	transition: all 0.2s ease;
}
.ah-req-tabs__item.active, .ah-req-tabs__item:hover { color: var(--accent-ink); border-color: var(--accent); }

.ah-req-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.ah-req-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--panel);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	color: var(--text);
}
.ah-req-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.ah-req-card__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--thumb-grad); display: grid; place-items: center; overflow: hidden; }
.ah-req-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.ah-req-card:hover .ah-req-card__thumb img { transform: scale(1.07); }
.ah-req-card__body { padding: 0.9rem 1rem 0.5rem; flex: 1; }
.ah-req-card__title { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.35rem; }
.ah-req-card__meta { font-size: 0.76rem; color: var(--text-soft); display: flex; gap: 0.6rem; flex-wrap: wrap; }
.ah-req-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; border-top: 1px solid var(--border); }
.ah-req-card__offer { color: var(--accent-ink); font-weight: 800; font-size: 0.9rem; font-family: var(--font-head); }

.ah-req__badge {
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0.22rem 0.7rem;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.ah-req__badge--open      { background: rgba(63, 185, 105, 0.15);  color: #3fb969; }
.ah-req__badge--delivered { background: rgba(240, 170, 30, 0.16);  color: #f0a81e; }
.ah-req__badge--closed    { background: rgba(90, 140, 255, 0.15);  color: #5a8cff; }
.ah-req__badge--disputed  { background: rgba(229, 72, 77, 0.14);   color: #ff8589; }
.ah-req__badge--refunded  { background: var(--surface-2);           color: var(--text-soft); }

.ah-req-detail { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; }
.ah-req-detail__thumb img { border-radius: var(--radius); width: 100%; max-height: 420px; object-fit: cover; }
.ah-req-detail h1 { margin-top: 1rem; }
.ah-req-detail__meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 0.5rem 0 1.5rem; }
.ah-req-detail__specs { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; margin: 1.5rem 0; }
.ah-req-detail__specs dt { font-weight: 700; color: var(--text-soft); }
.ah-req-detail__specs dd { margin: 0; }

.ah-req__notice {
	padding: 0.9rem 1.15rem;
	border-radius: var(--radius);
	background: var(--accent-soft);
	border: 1px solid rgba(205, 243, 76, 0.25);
	margin: 1.25rem 0;
	font-size: 0.92rem;
}
[data-theme="light"] .ah-req__notice { border-color: rgba(127, 163, 18, 0.3); }
.ah-req__notice--ok    { background: rgba(63, 185, 105, 0.1);  border-color: rgba(63, 185, 105, 0.3); }
.ah-req__notice--error { background: rgba(229, 72, 77, 0.1);   border-color: rgba(229, 72, 77, 0.3); }
.ah-req__warn { font-size: 0.82rem; color: #ff8589; }
.ah-req-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0; }

/* =====================================================
   Forms
   ===================================================== */
.ah-req-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	width: 100%;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
}
.ah-req-form label { display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; font-size: 0.86rem; }
.ah-req-form input[type="text"],
.ah-req-form input[type="url"],
.ah-req-form input[type="number"],
.ah-req-form input[type="date"],
.ah-req-form input[type="password"],
.ah-req-form textarea {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 0.65rem 0.9rem;
	background: var(--surface-2);
	color: var(--text);
	font: inherit;
	width: 100%;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ah-req-form input:focus, .ah-req-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}
.ah-req-form small { color: var(--text-soft); font-weight: 400; }
.ah-req-form button[type="submit"] {
	align-self: flex-start;
	padding: 0.7rem 1.9rem;
	border: none;
	border-radius: 999px;
	background: var(--accent);
	color: #10130d;
	font-weight: 700;
	font-family: var(--font-head);
	font-size: 0.92rem;
	cursor: pointer;
	box-shadow: var(--glow);
	transition: all 0.22s ease;
}
[data-theme="light"] .ah-req-form button[type="submit"] { color: #fff; }
.ah-req-form button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(205, 243, 76, 0.3); }
.ah-req-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .ah-req-form__row { grid-template-columns: 1fr; } }

/* =====================================================
   Dashboard
   ===================================================== */
.ah-dash { max-width: 960px; }
.ah-dash__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}
.ah-dash__head .ah-credits-chip { margin-left: auto; font-size: 1rem; }
.ah-dash__avatar img { border-radius: 50%; display: block; border: 2px solid var(--accent); padding: 2px; }
.ah-dash__name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.ah-dash__tier { font-size: 0.84rem; color: var(--text-soft); }

.ah-dash__tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.ah-dash__tab {
	padding: 0.5rem 1.05rem;
	border-radius: 999px;
	background: var(--panel);
	border: 1px solid var(--border);
	color: var(--text-soft);
	font-size: 0.85rem;
	font-weight: 600;
	transition: all 0.2s ease;
}
.ah-dash__tab.active, .ah-dash__tab:hover { color: var(--accent-ink); border-color: var(--accent); }
.ah-dash__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.2rem;
	height: 1.2rem;
	padding: 0 0.3rem;
	margin-left: 0.3rem;
	border-radius: 999px;
	background: var(--accent);
	color: #10130d;
	font-size: 0.68rem;
}
.ah-dash__panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.ah-dash__h { margin-top: 1.75rem; }
.ah-dash__h:first-child { margin-top: 0; }
.ah-dash__empty { color: var(--text-soft); }

.ah-dash__stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.85rem; }
.ah-dash__stat {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.15rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	transition: all 0.25s ease;
}
.ah-dash__stat:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.ah-dash__stat-v {
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent-ink);
	font-variant-numeric: tabular-nums;
}
.ah-dash__stat-l { font-size: 0.7rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.07em; }

.ah-dash__list { list-style: none; margin: 0; padding: 0; }
.ah-dash__list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.25rem;
	border-bottom: 1px solid var(--border);
	flex-wrap: wrap;
	transition: padding-left 0.2s ease;
}
.ah-dash__list li:hover { padding-left: 0.6rem; }
.ah-dash__list li:last-child { border-bottom: none; }
.ah-dash__list-meta { color: var(--text-soft); font-size: 0.8rem; white-space: nowrap; }

.ah-dash__table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ah-dash__table th, .ah-dash__table td { text-align: left; padding: 0.55rem 0.65rem; border-bottom: 1px solid var(--border); }
.ah-dash__table th { color: var(--text-soft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.ah-dash__table .amount-in { color: #3fb969; font-weight: 700; }
.ah-dash__table .amount-out { color: #ff8589; font-weight: 700; }

.ah-dash__pager { display: flex; gap: 0.4rem; margin-top: 1.25rem; flex-wrap: wrap; }
.ah-dash__pager a {
	padding: 0.35rem 0.8rem;
	border-radius: 10px;
	border: 1px solid var(--border);
	color: var(--text-soft);
	font-size: 0.84rem;
	font-weight: 600;
	transition: all 0.2s ease;
}
.ah-dash__pager a.active, .ah-dash__pager a:hover { color: var(--accent-ink); border-color: var(--accent); }

.ah-notifs { list-style: none; margin: 0; padding: 0; }
.ah-notifs__item { padding: 0.95rem 0; border-bottom: 1px solid var(--border); }
.ah-notifs__item:last-child { border-bottom: none; }
.ah-notifs__item.unread .ah-notifs__title { font-weight: 800; }
.ah-notifs__title { font-weight: 600; display: flex; align-items: center; gap: 0.45rem; }
.ah-notifs__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); display: inline-block; }
.ah-notifs__body { color: var(--text-soft); font-size: 0.9rem; margin-top: 0.25rem; }
.ah-notifs__meta { font-size: 0.77rem; color: var(--text-soft); margin-top: 0.3rem; }

/* =====================================================
   Bookmarks / gate / comments
   ===================================================== */
.ah-bookmark {
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text-soft);
	padding: 0.5rem 1.2rem;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.ah-bookmark:hover { border-color: var(--accent); color: var(--accent-ink); }
.ah-bookmark.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }

.ah-gate {
	margin: 2.25rem 0;
	padding: 2rem;
	border-radius: var(--radius-lg);
	background: var(--surface-2);
	border: 1px solid var(--border);
	text-align: center;
}
.ah-gate__btn {
	cursor: pointer;
	font-family: var(--font-head);
	font-size: 0.95rem !important;
	font-weight: 700;
	padding: 0.7rem 2rem !important;
	border-radius: 999px !important;
	border: none !important;
	background: var(--accent) !important;
	color: #10130d !important;
	box-shadow: var(--glow);
	transition: all 0.22s ease;
}
[data-theme="light"] .ah-gate__btn { color: #fff !important; }
.ah-gate__btn:hover { transform: translateY(-2px); }
.ah-gate__timer {
	font-family: var(--font-head);
	font-size: 1.9rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--accent-ink);
}
.ah-gate__download {
	display: inline-block;
	padding: 0.7rem 2rem;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 700;
	background: var(--accent);
	color: #10130d !important;
	box-shadow: var(--glow);
	transition: all 0.22s ease;
}
[data-theme="light"] .ah-gate__download { color: #fff !important; }
.ah-gate__download:hover { transform: translateY(-2px); }

.ah-comments { margin-top: 1.75rem; }
.ah-comments__title { font-size: 1.15rem; }
.ah-comments__list { list-style: none; margin: 0; padding: 0; }
.ah-comments__list .comment-body {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.9rem 1.1rem;
	margin-bottom: 0.8rem;
}
.ah-comments__list .comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 0.4rem; }
.ah-comments__closed { color: var(--text-soft); }
.ah-comments .comment-form input:not([type="submit"]):not([type="checkbox"]),
.ah-comments .comment-form textarea {
	width: 100%;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 0.55rem 0.85rem;
}
.ah-comments .comment-form .submit {
	background: var(--accent);
	border: none;
	border-radius: 999px;
	color: #10130d;
	font-weight: 700;
	padding: 0.6rem 1.8rem;
	cursor: pointer;
}


/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1280px) {
	.ah-drops, .ah-block__grid { grid-template-columns: repeat(3, 1fr); }
	.ah-catgrid { grid-template-columns: repeat(2, 1fr); }
	.ah-hero__stats { grid-template-columns: repeat(2, 1fr); }
	.ah-hero__stats .cell:nth-child(2n) { border-right: none; }
	.ah-hero__stats .cell { border-bottom: 1px solid var(--border); }
	.ah-cta-panels { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
	.ah-rail {
		transform: translateX(-100%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
	}
	.ah-rail.open { transform: translateX(0); }
	.ah-canvas { margin-left: 0; }
	.ah-topbar__burger { display: grid; place-items: center; }
	.ah-topbar { padding: 0.8rem 1.2rem; }
	.ah-page { padding: 1.6rem 1.2rem 2.5rem; }
}

@media (max-width: 760px) {
	.ah-drops, .ah-block__grid { grid-template-columns: repeat(2, 1fr); }
	.ah-hero { padding: 2.2rem 1.5rem 0; }
	.ah-hero__inner { padding-bottom: 2rem; }
	.ah-hero__stats { margin: 0 -1.5rem; padding: 0 1.5rem; }
	.ah-orb--big { width: 150px; height: 150px; right: -8%; }
	.ah-orb--ring { right: 55%; }
	.ah-article, .ah-req-detail, .ah-dash__panel { padding: 1.4rem; }
	.ah-dash__table { font-size: 0.8rem; }
	.ah-dash__table th:nth-child(3), .ah-dash__table td:nth-child(3) { display: none; }
	.ah-search { max-width: none; }
	.ah-account a:not(:last-child) { display: none; }
}

@media (max-width: 480px) {
	.ah-drops, .ah-block__grid { grid-template-columns: 1fr; }
	.ah-catgrid { grid-template-columns: 1fr; }
}

/* =====================================================
   Media counts on cards + single gallery/videos
   ===================================================== */
.ah-card__media {
	position: absolute;
	left: 0.6rem;
	bottom: 0.6rem;
	z-index: 2;
	display: flex;
	gap: 0.35rem;
}
.ah-card__media span {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.14rem 0.5rem;
	border-radius: 6px;
	background: rgba(10, 12, 8, 0.78);
	backdrop-filter: blur(4px);
	color: #eef2e6;
	font-size: 0.68rem;
	font-weight: 700;
}
.ah-card__media span.is-video { color: var(--accent); }
[data-theme="light"] .ah-card__media span { background: rgba(255, 255, 255, 0.85); color: #171b10; }
[data-theme="light"] .ah-card__media span.is-video { color: var(--accent-ink); }

.ah-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.8rem;
}
.ah-gallery img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--border);
	transition: all 0.25s ease;
}
.ah-gallery img:hover { transform: translateY(-3px); border-color: var(--accent); }

.ah-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0.9rem; }
.ah-videos__item iframe, .ah-videos__item video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	border: 1px solid var(--border);
}

/* =====================================================
   Media slider (single product)
   ===================================================== */
.ah-slider { margin: 0.4rem 0 1.6rem; }

.ah-slider__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	max-height: 580px;
	width: 100%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #0e1114;
	border: 1px solid var(--border);
}
[data-theme="light"] .ah-slider__stage { background: #e9ecdf; }

.ah-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}
.ah-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ah-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-slide__fallback { position: absolute; inset: 0; background: var(--thumb-grad); }

.ah-slide__play {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	width: 4.4rem;
	height: 4.4rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--accent);
	color: #10130d;
	font-size: 1.5rem;
	box-shadow: var(--glow);
	transition: transform 0.2s ease;
	pointer-events: none;
}
.ah-slide:hover .ah-slide__play { transform: translate(-50%, -50%) scale(1.1); }

.ah-slide__player { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ah-slide__player:has(iframe), .ah-slide__player:has(video) { pointer-events: auto; }
.ah-slide__player iframe,
.ah-slide__player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.ah-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	background: rgba(10, 12, 8, 0.6);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}
[data-theme="light"] .ah-slider__arrow { background: rgba(255, 255, 255, 0.75); color: #171b10; }
.ah-slider__arrow--prev { left: 0.9rem; }
.ah-slider__arrow--next { right: 0.9rem; }
.ah-slider__arrow:hover { background: var(--accent); color: #10130d; border-color: var(--accent); }

.ah-slider__thumbs {
	display: flex;
	gap: 0.55rem;
	margin-top: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.3rem;
	scrollbar-width: thin;
}
.ah-slider__thumbs button {
	position: relative;
	flex: 0 0 auto;
	width: 108px;
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
	background: var(--surface-2);
	cursor: pointer;
	padding: 0;
	transition: all 0.2s ease;
	opacity: 0.6;
}
.ah-slider__thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ah-slider__thumbs button:hover { opacity: 1; }
.ah-slider__thumbs button.is-active { border-color: var(--accent); opacity: 1; }
.ah-slider__thumbs button i {
	position: absolute;
	right: 0.3rem;
	bottom: 0.25rem;
	font-style: normal;
	font-size: 0.6rem;
	color: #fff;
	background: rgba(10, 12, 8, 0.75);
	border-radius: 4px;
	padding: 0.05rem 0.28rem;
}
.ah-slider__thumb-video { display: grid; place-items: center; height: 100%; color: var(--accent); font-size: 1.4rem; }

/* ---------- Request media link rows ---------- */
.ah-media-fields { display: flex; flex-direction: column; gap: 0.6rem; }
.ah-media-fields > label { margin-bottom: 0; }
.ah-media-rows { display: flex; flex-direction: column; gap: 0.45rem; }
.ah-media-row { display: flex; gap: 0.45rem; }
.ah-media-row input { flex: 1; }
.ah-media-row .ah-media-remove {
	flex: 0 0 auto;
	width: 2.2rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface-2);
	color: #ff8589;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
.ah-media-row .ah-media-remove:hover { border-color: #ff8589; background: rgba(229, 72, 77, 0.1); }
.ah-media-add {
	align-self: flex-start;
	padding: 0.35rem 0.95rem;
	border-radius: 999px;
	border: 1px dashed var(--border-strong);
	background: transparent;
	color: var(--accent-ink);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.ah-media-add:hover { border-color: var(--accent); background: var(--accent-soft); }

.ah-req-card__play {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--accent);
	font-size: 2.2rem;
}

/* Hero video-first lead shot */
.ah-hero__shot iframe,
.ah-hero__shot video {
	display: block;
	width: 100%;
	height: 82px;
	border: none;
	pointer-events: none;
	object-fit: cover;
}
.ah-hero__shot.shot-1 iframe,
.ah-hero__shot.shot-1 video { height: 168px; }
.ah-hero__shot-live {
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;
	padding: 0.16rem 0.6rem;
	border-radius: 999px;
	background: var(--accent);
	color: #10130d;
	font-family: var(--font-head);
	font-size: 0.68rem;
	font-weight: 800;
}


/* ---------- Accordion counts ---------- */
.ah-acc__row .cnt,
.ah-acc__panel a .cnt {
	margin-left: auto;
	flex-shrink: 0;
	min-width: 1.35rem;
	text-align: center;
	padding: 0.02rem 0.4rem;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text-soft);
	font-size: 0.68rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ah-acc__item.open > .ah-acc__row .cnt { color: var(--accent-ink); border-color: var(--accent); }
.ah-acc__panel a .cnt { margin-right: 0.25rem; }

/* =====================================================
   Section panels + spacing + archive chips
   ===================================================== */
.ah-section {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	margin-bottom: 2.5rem;
}
.ah-section__head { margin-bottom: 1.4rem; }
.ah-hero { margin-bottom: 5.5rem; }

.ah-hero__shot-live {
	position: absolute;
	left: 0.6rem;
	top: 0.6rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	width: auto;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: var(--accent);
	color: #10130d;
	font-family: var(--font-head);
	font-size: 0.68rem;
	font-weight: 800;
}
.ah-hero__shot-price {
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	padding: 0.12rem 0.55rem;
	border-radius: 999px;
	background: rgba(10, 12, 8, 0.8);
	color: var(--accent);
	font-family: var(--font-head);
	font-size: 0.7rem;
	font-weight: 700;
}
[data-theme="light"] .ah-hero__shot-price { background: rgba(255, 255, 255, 0.85); color: var(--accent-ink); }

.ah-archive-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1.6rem; }
.ah-archive-chips a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text-soft);
	font-size: 0.84rem;
	font-weight: 600;
	transition: all 0.2s ease;
}
.ah-archive-chips a:hover { border-color: var(--accent); color: var(--accent-ink); }
.ah-archive-chips .cnt {
	min-width: 1.3rem;
	text-align: center;
	padding: 0.02rem 0.4rem;
	border-radius: 999px;
	background: var(--panel);
	border: 1px solid var(--border);
	color: var(--text-soft);
	font-size: 0.68rem;
	font-weight: 700;
}

/* =====================================================
   Card media slider (arrows + inline video)
   ===================================================== */
.ah-card__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 1.9rem;
	height: 1.9rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(10, 12, 8, 0.55);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 1.05rem;
	line-height: 1;
	opacity: 0;
	transition: all 0.2s ease;
}
[data-theme="light"] .ah-card__nav { background: rgba(255, 255, 255, 0.8); color: #171b10; }
.ah-card__nav--prev { left: 0.45rem; }
.ah-card__nav--next { right: 0.45rem; }
.ah-card__thumb:hover .ah-card__nav { opacity: 1; }
.ah-card__nav:hover { background: var(--accent); color: #10130d; }

.ah-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;
	width: 2.7rem;
	height: 2.7rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--accent);
	color: #10130d;
	font-size: 1rem;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
	cursor: pointer;
	transition: transform 0.2s ease;
}
.ah-card__play:hover { transform: translate(-50%, -50%) scale(1.12); }

.ah-card__player {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
}
.ah-card__player:has(iframe), .ah-card__player:has(video) { pointer-events: auto; }
.ah-card__player iframe,
.ah-card__player video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* =====================================================
   Player/slider sizing: height-driven, letterboxed for
   portrait (9:16), square (1:1) and any other ratio.
   ===================================================== */
.ah-slider__stage {
	aspect-ratio: auto;
	height: min(64vh, 560px);
	width: 100%;
}
.ah-slide img,
.ah-slide__fallback {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
	background: #0e1114;
}
[data-theme="light"] .ah-slide img { background: #dfe3d4; }
.ah-slide__player iframe,
.ah-slide__player video {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	background: #000;
}
.ah-videos__item iframe,
.ah-videos__item video { aspect-ratio: auto; height: 360px; }
.ah-hero__shot-live { right: auto; bottom: auto; }
.ah-hero__shot-price { left: auto; top: auto; }

/* ---------- Guest note above credits card (guests only) ---------- */
.ah-guest-note {
	position: relative;
	overflow: hidden;
	margin: auto 1rem 0.6rem;
	margin-top: auto;
	padding: 1rem 1.1rem;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(205, 243, 76, 0.35);
	background: linear-gradient(140deg, rgba(205, 243, 76, 0.14), rgba(124, 58, 237, 0.10) 70%);
}
[data-theme="light"] .ah-guest-note {
	border-color: rgba(127, 163, 18, 0.4);
	background: linear-gradient(140deg, rgba(127, 163, 18, 0.12), rgba(124, 58, 237, 0.08) 70%);
}

/* slow shimmer sweep across the card */
.ah-guest-note::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, transparent 66%);
	transform: translateX(-100%);
	animation: ah-shimmer 4.5s ease-in-out infinite;
	pointer-events: none;
}
@keyframes ah-shimmer {
	0%, 55%  { transform: translateX(-100%); }
	85%, 100% { transform: translateX(100%); }
}

/* gentle breathing border glow */
.ah-guest-note::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(205, 243, 76, 0.35);
	animation: ah-breathe 3.2s ease-in-out infinite;
	pointer-events: none;
}
@keyframes ah-breathe {
	0%, 100% { box-shadow: 0 0 0 0 rgba(205, 243, 76, 0.25); }
	50%      { box-shadow: 0 0 14px 2px rgba(205, 243, 76, 0.35); }
}
[data-theme="light"] .ah-guest-note::after {
	box-shadow: 0 0 0 0 rgba(127, 163, 18, 0.25);
	animation-name: ah-breathe-light;
}
@keyframes ah-breathe-light {
	0%, 100% { box-shadow: 0 0 0 0 rgba(127, 163, 18, 0.2); }
	50%      { box-shadow: 0 0 12px 2px rgba(127, 163, 18, 0.3); }
}

.ah-guest-note > * { position: relative; z-index: 1; }
.ah-guest-note__title {
	font-family: var(--font-head);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--accent-ink);
	margin-bottom: 0.35rem;
}
.ah-guest-note p {
	margin: 0 0 0.7rem;
	font-size: 0.78rem;
	line-height: 1.55;
	color: var(--text-soft);
}
.ah-guest-note p strong { color: var(--accent-ink); }
.ah-guest-note__cta {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: var(--accent);
	color: #10130d !important;
	font-family: var(--font-head);
	font-size: 0.74rem;
	font-weight: 700;
	transition: transform 0.2s ease;
}
[data-theme="light"] .ah-guest-note__cta { color: #fff !important; }
.ah-guest-note__cta:hover { transform: translateY(-1px); }


/* ---------- Pulsing play badges (signals playable video) ---------- */
@keyframes ah-pulse {
	0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4); }
	50%      { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 4px 26px rgba(205, 243, 76, 0.55); }
}
@keyframes ah-ripple {
	0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.55; }
	100% { transform: translate(-50%, -50%) scale(1.75); opacity: 0; }
}
@keyframes ah-pulse-slide {
	0%, 100% { transform: translate(-50%, -50%) scale(1); }
	50%      { transform: translate(-50%, -50%) scale(1.14); }
}
@keyframes ah-ripple-slide {
	0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
	100% { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}

/* card play badge */
.ah-card__play {
	animation: ah-pulse 2.2s ease-in-out infinite;
}
.ah-card__play::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--accent);
	animation: ah-ripple 2.2s ease-out infinite;
	pointer-events: none;
}
.ah-card__play:hover { animation-play-state: paused; }
.ah-card__play:hover::before { animation-play-state: paused; opacity: 0; }

/* product slider play badge */
.ah-slide__play {
	animation: ah-pulse-slide 2.2s ease-in-out infinite;
}
.ah-slide__play::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--accent);
	animation: ah-ripple-slide 2.2s ease-out infinite;
	pointer-events: none;
}
.ah-slide:hover .ah-slide__play { animation-play-state: paused; }
.ah-slide:hover .ah-slide__play::before { animation-play-state: paused; opacity: 0; }

@media ( prefers-reduced-motion: reduce ) {
	.ah-card__play, .ah-slide__play,
	.ah-card__play::before, .ah-slide__play::before { animation: none; }
}

/* ---------- Insufficient-credit warning ---------- */
.ah-gate__status.is-warning { color: #ff8589; }
.ah-gate__status.is-warning strong { color: #fff; }
[data-theme="light"] .ah-gate__status.is-warning strong { color: #171b10; }
.ah-gate__status .ah-gate__earn { color: var(--accent-ink); font-weight: 700; margin-left: 0.35rem; }
@keyframes ah-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}
.ah-gate__btn.is-warn { animation: ah-shake 0.4s ease; background: rgba(229, 72, 77, 0.2) !important; }

/* ---------- Active subcategory highlight in the rail ---------- */
.ah-acc__panel a.is-active {
	background: var(--accent-soft);
	color: var(--accent-ink);
	font-weight: 600;
}
.ah-acc__panel a.is-active::before { opacity: 1; color: var(--accent); }
.ah-acc__row.is-active {
	background: var(--accent-soft);
	color: var(--accent-ink);
}
.ah-acc__row.is-active .ah-acc__dot { opacity: 1; box-shadow: 0 0 8px var(--accent); }

/* ---------- Insufficient credits panel (gate) ---------- */
.ah-insufficient {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	text-align: left;
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius);
	background: var(--surface-2);
	border: 1px solid rgba(245, 121, 42, 0.35);
}
.ah-insufficient__icon {
	flex-shrink: 0;
	width: 2.4rem;
	height: 2.4rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--accent-2);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.1rem;
	box-shadow: 0 4px 18px rgba(245, 121, 42, 0.35);
}
.ah-insufficient__body { flex: 1; min-width: 0; }
.ah-insufficient__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 0.55rem;
	color: var(--text);
}
.ah-insufficient__bar {
	height: 6px;
	border-radius: 999px;
	background: var(--border);
	overflow: hidden;
	margin-bottom: 0.45rem;
}
.ah-insufficient__bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #f5792a, #ff3d81);
}
.ah-insufficient__nums { font-size: 0.88rem; color: var(--text); }
.ah-insufficient__nums b { color: var(--accent-2); font-variant-numeric: tabular-nums; }
[data-theme="light"] .ah-insufficient__nums b { color: #d4560e; }
.ah-insufficient__hint { font-size: 0.78rem; color: var(--text-soft); margin: 0.3rem 0 0.8rem; }
.ah-insufficient__earn {
	display: inline-block;
	padding: 0.45rem 1.2rem;
	border-radius: 999px;
	background: var(--accent);
	color: #10130d !important;
	font-family: var(--font-head);
	font-size: 0.82rem;
	font-weight: 700;
	transition: transform 0.2s ease;
}
[data-theme="light"] .ah-insufficient__earn { color: #fff !important; }
.ah-insufficient__earn:hover { transform: translateY(-2px); }

@media (max-width: 560px) {
	.ah-insufficient { flex-direction: column; gap: 0.6rem; }
}

/* =====================================================
   Download gate — pro button + messages
   ===================================================== */
.ah-gate { padding: 2rem; }

.ah-gate__btn {
	display: inline-flex !important;
	align-items: center;
	gap: 0.65rem;
	font-size: 1.02rem !important;
	padding: 0.85rem 1.4rem 0.85rem 1.7rem !important;
	border-radius: 999px !important;
	border: none !important;
	background: var(--accent) !important;
	color: #10130d !important;
	box-shadow: var(--glow);
	transition: all 0.25s ease;
	cursor: pointer;
}
[data-theme="light"] .ah-gate__btn { color: #fff !important; }
.ah-gate__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 50px rgba(205, 243, 76, 0.35); }
.ah-gate__btn-ic { font-size: 1.1rem; }
.ah-gate__btn-label { font-weight: 800; }
.ah-gate__price {
	padding: 0.22rem 0.75rem;
	border-radius: 999px;
	background: rgba(16, 19, 13, 0.16);
	font-size: 0.82rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* checking spinner */
.ah-gate__spin {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 2px solid var(--border-strong);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: ah-spin 0.7s linear infinite;
	vertical-align: -2px;
	margin-right: 0.3rem;
}

/* owned reassurance panel */
.ah-gate__owned {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.1rem;
	border-radius: 12px;
	background: var(--accent-soft);
	border: 1px solid rgba(205, 243, 76, 0.35);
	color: var(--accent-ink);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.9rem;
}
[data-theme="light"] .ah-gate__owned { border-color: rgba(127, 163, 18, 0.35); }

/* success download button */
.ah-gate__download {
	display: inline-flex !important;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-head);
	font-size: 1.02rem !important;
	font-weight: 800;
	padding: 0.85rem 2.2rem !important;
	border-radius: 999px !important;
	background: var(--accent) !important;
	color: #10130d !important;
	box-shadow: var(--glow);
	transition: all 0.25s ease;
}
[data-theme="light"] .ah-gate__download { color: #fff !important; }
.ah-gate__download:hover { transform: translateY(-2px); box-shadow: 0 12px 50px rgba(205, 243, 76, 0.4); }
.ah-slide__player[data-playing] { pointer-events: auto; }
.ah-card__player:not(:empty) { pointer-events: auto; }

/* Playable video slides/cards show the hand cursor */
.ah-slide.is-playable,
.ah-slide.is-playable .ah-slide__play,
.ah-slide.is-playable img { cursor: pointer; }
.ah-card__thumb .ah-card__play,
.ah-card__thumb:has(.ah-card__play) { cursor: pointer; }

/* [hidden] must always win over display rules */
.ah-gate__btn[hidden],
.ah-gate__timer[hidden],
.ah-gate__link[hidden] { display: none !important; }

/* =====================================================
   Dashboard: dedicated side nav, fluid full-width layout
   ===================================================== */
.ah-dash { max-width: none; }

.ah-dash__layout { /* navigation lives in the rail now — panel takes full width */ }

.ah-dash__side {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 0.6rem;
	position: sticky;
	top: 92px;
}
.ah-dash__side a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.6rem 0.8rem;
	border-radius: 10px;
	color: var(--text-soft);
	font-size: 0.9rem;
	font-weight: 600;
	transition: all 0.18s ease;
}
.ah-dash__side a:hover { color: var(--text); background: var(--surface-2); }
.ah-dash__side a.active {
	color: var(--accent-ink);
	background: var(--accent-soft);
}
.ah-dash__side a.active .ah-dash__tab-ico { color: var(--accent-ink); }
.ah-dash__tab-ico { width: 1.2rem; text-align: center; opacity: 0.75; }
.ah-dash__side a.active .ah-dash__count { margin-left: auto; }
.ah-dash__side-sep {
	height: 1px;
	background: var(--border);
	margin: 0.5rem 0.4rem;
}

@media (max-width: 900px) {
	.ah-dash__layout { grid-template-columns: 1fr; }
	.ah-dash__side {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.ah-dash__side-sep { display: none; }
}

/* ---------- Tier avatar rings ---------- */
.ah-ava {
	display: inline-block;
	flex-shrink: 0;
	border-radius: 50%;
	padding: 3px;
	background: var(--surface-2);
	line-height: 0;
}
.ah-ava img { border-radius: 50%; display: block; }
.ah-ava--pro {
	background: linear-gradient(135deg, #9aa48c, #4d5643);
}
.ah-ava--trusted {
	background: linear-gradient(135deg, #3fb969, #1d7f4d);
	box-shadow: 0 0 10px rgba(63, 185, 105, 0.4);
}
.ah-ava--elite {
	background: linear-gradient(135deg, #b78bff, #7c3aed);
	box-shadow: 0 0 14px rgba(183, 139, 255, 0.5);
}
.ah-ava--flagged {
	background: linear-gradient(135deg, #ff8589, #d64545);
	box-shadow: 0 0 12px rgba(214, 69, 69, 0.5);
}
.ah-dash__avatar { display: inline-block; }

/* ---------- Overview quick actions ---------- */
.ah-overview__actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 0.5rem;
}
.ah-overview__action {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.15rem 1.25rem;
	border-radius: var(--radius);
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text);
	transition: all 0.25s ease;
}
.ah-overview__action:hover { transform: translateY(-3px); border-color: var(--accent); }
.ah-overview__action b { font-family: var(--font-head); font-size: 0.95rem; }
.ah-overview__action span:last-child { font-size: 0.8rem; color: var(--text-soft); }
.ah-overview__action-ico {
	width: 2.1rem;
	height: 2.1rem;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--accent);
	color: #10130d;
	font-size: 1rem;
	margin-bottom: 0.4rem;
}
[data-theme="light"] .ah-overview__action-ico { color: #fff; }
@media (max-width: 900px) { .ah-overview__actions { grid-template-columns: 1fr; } }



/* =====================================================
   bbPress blend — forum follows the site theme fully
   ===================================================== */
#bbpress-forums { color: var(--text); background: transparent; font-size: 15px; }
#bbpress-forums a { color: var(--link); }
#bbpress-forums a:hover { color: var(--accent); }
#bbpress-forums hr { border-color: var(--border); }

/* forum / topic rows */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
	background: var(--surface-2);
	border-color: var(--border);
	color: var(--text-soft);
	font-weight: 600;
}
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
	background: transparent;
	border-top: 1px solid var(--border);
}
#bbpress-forums ul.forum,
#bbpress-forums ul.topic { border-radius: 0; }
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title { font-family: var(--font-head); font-weight: 700; }
#bbpress-forums .bbp-forum-title a,
#bbpress-forums .bbp-topic-permalink { color: var(--text); }
#bbpress-forums .bbp-forum-title a:hover,
#bbpress-forums .bbp-topic-permalink:hover { color: var(--accent); }
#bbpress-forums .bbp-forum-info .bbp-forum-content { color: var(--text-soft); font-size: 0.88rem; }
#bbpress-forums .bbp-topic-freshness,
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count,
#bbpress-forums .bbp-topic-post-count { color: var(--text-soft); }

/* forum status + counts */
#bbpress-forums .bbp-forum-data .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-data .bbp-forum-reply-count { color: var(--text-soft); }

/* closed forum (Announcements) */
#bbpress-forums .bbp-forum-status-closed .bbp-forum-title::after {
	content: "Closed";
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--text-soft);
	font-size: 0.68rem;
	letter-spacing: 0.05em;
	vertical-align: middle;
}

/* forms + buttons */
#bbpress-forums fieldset.bbp-form { border-color: var(--border); }
#bbpress-forums fieldset.bbp-form legend { color: var(--text-soft); font-weight: 700; }
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"],
#bbpress-forums input[type="password"],
#bbpress-forums textarea,
#bbpress-forums select {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.55rem 0.85rem;
}
#bbpress-forums input:focus, #bbpress-forums textarea:focus, #bbpress-forums select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}
#bbpress-forums .bbp-submit-wrapper button.submit,
#bbpress-forums button[type="submit"] {
	background: var(--accent);
	color: #10130d;
	border: none;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 700;
	padding: 0.6rem 1.8rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
[data-theme="light"] #bbpress-forums .bbp-submit-wrapper button.submit,
[data-theme="light"] #bbpress-forums button[type="submit"] { color: #fff; }
#bbpress-forums .bbp-submit-wrapper button.submit:hover { transform: translateY(-2px); }

/* pagination + notices */
#bbpress-forums .bbp-pagination { color: var(--text-soft); }
#bbpress-forums .bbp-pagination-links a {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0.25rem 0.7rem;
	color: var(--text-soft);
}
#bbpress-forums .bbp-pagination-links span.current {
	background: var(--accent);
	color: #10130d;
	border-radius: 8px;
	padding: 0.25rem 0.7rem;
}
#bbpress-forums div.bbp-template-notice {
	background: var(--accent-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
}
#bbpress-forums div.bbp-template-notice a { color: var(--accent-ink); }

/* widgets + search */
#bbpress-forums .bbp-search-form input[type="text"] { width: 100%; }
#bbpress-forums .widget_display_stats dl { color: var(--text-soft); }
#bbpress-forums .widget_display_stats dd { color: var(--text); font-weight: 700; }



/* ---------- Forum page title + read/unread legend ---------- */
#af-wrapper .main-title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-head);
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text) !important;
	margin: 0.2rem 0 1.5rem;
}
#af-wrapper .main-title::before {
	content: "";
	width: 5px;
	height: 1.1em;
	border-radius: 4px;
	background: var(--accent);
}
#af-wrapper .main-title-overview { margin-bottom: 1.6rem; }

#af-wrapper #read-unread {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	flex-wrap: wrap;
	padding: 0.7rem 1.1rem;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 12px;
	margin: 1.3rem 0;
	font-family: var(--font-body);
	font-size: 0.84rem;
}
#af-wrapper #read-unread .indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
}
#af-wrapper #read-unread .indicator-label { color: var(--text-soft); }
#af-wrapper #read-unread .indicator-label .fas { color: var(--text-soft); margin-right: 0.2rem; }
#af-wrapper #read-unread a { color: var(--accent-ink); font-weight: 600; }
#af-wrapper #read-unread a:hover { color: var(--accent); }
#af-wrapper #read-unread .clear { display: none; }


/* =====================================================
   Forum page: full-width + inner padding (theme-isolated
   content, site chrome keeps its own dark/light mode)
   ===================================================== */
body.ah-forum-page .ah-page { padding: 0 1.25rem 2rem; }
body.ah-forum-page .ah-page,
body.ah-forum-page main,
body.ah-forum-page .ah-article,
body.ah-forum-page #wpforo {
	display: flex;
	flex-direction: column;
	flex: 1;
}
body.ah-forum-page .ah-article {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}
/* the white forum box always fills down to the footer, whatever the content height */
body.ah-forum-page #wpforo-wrap { flex: 1; margin-bottom: 0; }
body.ah-forum-page .ah-article h1 { display: none; } /* "Forum" title doubled the wpForo menu */
#wpforo-wrap {
	padding: 1.2rem 1.6rem !important;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: #fff;
}

/* ---------- Inner strips: content away from strip walls ---------- */
#wpforo-wrap #wpforo-menu { padding: 0.45rem 1.1rem !important; }
#wpforo-wrap #wpf-menu li a { padding: 0.45rem 0.9rem !important; }
#wpforo-wrap .wpforo-subtop { padding: 0.6rem 1.1rem !important; }
#wpforo-wrap #statistics-body { padding: 1.1rem 1.4rem !important; }
#wpforo-wrap .wpf-footer-box { padding: 1rem 1.3rem !important; }
#wpforo-wrap .wpf-search-form input { border-radius: 999px !important; padding: 0.35rem 0.8rem !important; }
#wpforo-wrap .wpf-notification-head,
#wpforo-wrap .wpf-notification-content { padding: 0.4rem 1rem !important; }
#wpforo-wrap .wpf-topic-icons span,
#wpforo-wrap .wpf-forum-icons span { margin-right: 0.5rem !important; }

/* ---------- Seller price editor ---------- */
.ah-price-editor {
	margin-top: 1.5rem;
	padding: 1.1rem 1.3rem;
	border-radius: var(--radius);
	background: var(--surface-2);
	border: 1px dashed var(--border-strong);
}
.ah-price-editor__form {
	display: flex;
	align-items: flex-end;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-top: 0.4rem;
}
.ah-price-editor__form label {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-soft);
	flex: 1;
	min-width: 200px;
}
.ah-price-editor__form input[type="number"] {
	background: var(--panel);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.5rem 0.8rem;
	font-weight: 700;
	width: 130px;
}
.ah-price-editor__form button {
	background: var(--accent);
	color: #10130d;
	border: none;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 700;
	padding: 0.55rem 1.5rem;
	cursor: pointer;
}
[data-theme="light"] .ah-price-editor__form button { color: #fff; }
.ah-price-editor small { display: block; margin-top: 0.5rem; color: var(--text-soft); font-size: 0.75rem; }

/* ---------- Rail active highlight + My Account button ---------- */
.ah-rail__links a.is-active {
	background: var(--accent-soft);
	color: var(--accent-ink) !important;
	box-shadow: inset 2px 0 0 var(--accent);
}
.ah-rail__links a.is-active .ico { opacity: 1; color: var(--accent-ink); }
.ah-rail__links a.is-active .cnt { background: var(--accent); color: #10130d; border-color: var(--accent); }

.ah-myaccount-btn {
	display: block;
	margin: 0 1rem 0.9rem;
	padding: 0.55rem 1rem;
	border-radius: 10px;
	background: var(--surface-2);
	border: 1px solid var(--border-strong);
	color: var(--text) !important;
	font-weight: 700;
	font-size: 0.85rem;
	text-align: center;
	transition: all 0.2s ease;
}
.ah-myaccount-btn:hover { background: var(--accent); border-color: var(--accent); color: #10130d !important; }
[data-theme="light"] .ah-myaccount-btn:hover { color: #fff !important; }


/* ---------- NSFW blur + badges ---------- */
.ah-card.ah-nsfw:not(.ah-nsfw-off) .ah-card__thumb img,
.ah-card.ah-nsfw:not(.ah-nsfw-off) .ph,
.ah-nsfw:not(.ah-nsfw-off) .ah-slider__stage img,
.ah-nsfw:not(.ah-nsfw-off) .ah-slider__stage .ah-slide__fallback {
	filter: blur(22px) saturate(0.6);
	transform: scale(1.06);
}
.ah-card.ah-nsfw .ah-card__thumb,
.ah-slider.ah-nsfw .ah-slider__stage { overflow: hidden; }

.ah-card__nsfw-badge,
.ah-nsfw-badge {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 5;
	padding: 0.16rem 0.6rem;
	border-radius: 6px;
	background: #d64545;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.ah-nsfw-reveal {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 6;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: rgba(10, 12, 8, 0.85);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.35);
	white-space: nowrap;
	transition: all 0.2s ease;
}
.ah-nsfw-reveal:hover { background: var(--accent); color: #10130d; border-color: var(--accent); }
.ah-card.ah-nsfw .ah-card__nsfw-badge { right: auto; left: 0.5rem; }
.ah-card.ah-nsfw:not(.ah-nsfw-off) .ah-card__price { right: 0.5rem; }

/* dashboard: my account btn spacing after side sections */

/* ---------- NSFW toggle switch ---------- */
.ah-nsfw-picker { display: flex; flex-direction: column; gap: 0.5rem; }
.ah-nsfw-picker > label { font-weight: 600; font-size: 0.88rem; }
.ah-nsfw-toggle-wrap {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0;
}
.ah-nsfw-toggle-label {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text-soft);
	transition: color 0.2s ease;
}
.ah-nsfw-switch {
	position: relative;
	width: 46px;
	height: 24px;
	flex-shrink: 0;
}
.ah-nsfw-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.ah-nsfw-switch__slider {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--border-strong);
	cursor: pointer;
	transition: all 0.25s ease;
}
.ah-nsfw-switch__slider::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 2px;
	top: 2px;
	border-radius: 50%;
	background: var(--text-soft);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ah-nsfw-switch input:checked + .ah-nsfw-switch__slider {
	background: #d64545;
	border-color: #d64545;
}
.ah-nsfw-switch input:checked + .ah-nsfw-switch__slider::before {
	transform: translateX(22px);
	background: #fff;
}
.ah-nsfw-picker small { color: var(--text-soft); font-size: 0.76rem; }

/* =====================================================
   Settings tab redesign
   ===================================================== */
.ah-settings__section {
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem 1.75rem;
	margin-bottom: 1.25rem;
}
.ah-settings__sec-head {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid var(--border);
}
.ah-settings__sec-ico {
	width: 1.9rem;
	height: 1.9rem;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--accent-ink);
	font-size: 0.9rem;
}
.ah-settings__sec-title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	color: var(--text);
}
.ah-settings__form { display: flex; flex-direction: column; gap: 0.9rem; }
.ah-settings__label {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--text-soft);
}
.ah-settings__label input {
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.55rem 0.85rem;
	font-size: 0.9rem;
}
.ah-settings__label input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}
.ah-settings__btn {
	align-self: flex-start;
	padding: 0.55rem 1.5rem;
	border: none;
	border-radius: 999px;
	background: var(--accent);
	color: #10130d;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.88rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
[data-theme="light"] .ah-settings__btn { color: #fff; }
.ah-settings__btn:hover { transform: translateY(-1px); }
.ah-settings__radio {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--panel);
	cursor: pointer;
	transition: all 0.2s ease;
}
.ah-settings__radio:hover { border-color: var(--accent); }
.ah-settings__radio.selected { border-color: var(--accent); background: var(--accent-soft); }
.ah-settings__radio input[type="radio"] { accent-color: var(--accent); width: 1rem; height: 1rem; }
.ah-settings__radio-ico { font-size: 1.1rem; width: 1.4rem; text-align: center; }
.ah-settings__radio-body { display: flex; flex-direction: column; gap: 0.1rem; }
.ah-settings__radio-body b { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.ah-settings__radio-body small { font-size: 0.76rem; color: var(--text-soft); }
.ah-settings__avatar-row { display: flex; align-items: center; gap: 1.1rem; padding: 0.9rem 0; }
.ah-settings__avatar-preview img { border-radius: 50%; border: 2px solid var(--accent); padding: 2px; }
.ah-settings__file-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 1.2rem;
	border-radius: 10px;
	border: 1px dashed var(--border-strong);
	background: var(--surface-2);
	color: var(--text-soft);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.ah-settings__file-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.ah-settings__avatar-upload small { display: block; margin-top: 0.3rem; color: var(--text-soft); font-size: 0.72rem; }

/* ---------- Sidebar profile redesign ---------- */
.ah-rail__profile { display: flex; align-items: center; gap: 0.65rem; padding: 0.9rem 1rem 0.7rem; border-top: 1px solid var(--border); position: relative; }
.ah-rail__profile .ah-ava { flex-shrink: 0; }
.ah-rail__profile-info { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.ah-rail__profile-name { font-size: 0.88rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ah-rail__profile-name a { color: var(--text); }
.ah-rail__profile-name a:hover { color: var(--accent-ink); }
.ah-rail__profile-actions { display: flex; gap: 0.55rem; align-items: center; }
.ah-profile-link { font-size: 0.72rem; font-weight: 700; color: var(--accent-ink) !important; letter-spacing: 0.02em; }
.ah-profile-link:hover { text-decoration: underline; }
.ah-profile-link--logout { color: var(--text-soft) !important; }
.ah-profile-link--logout:hover { color: #ff8589 !important; }
.ah-rail__tier-badge {
	position: absolute;
	top: -8px;
	right: 0.8rem;
	padding: 0.12rem 0.55rem;
	border-radius: 999px;
	font-family: var(--font-head);
	font-size: 0.62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.4;
}
.ah-tier--pro { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text-soft); }
.ah-tier--trusted { background: #3fb969; color: #fff; }
.ah-tier--elite { background: linear-gradient(135deg, #b78bff, #7c3aed); color: #fff; box-shadow: 0 2px 12px rgba(183, 139, 255, 0.4); }
.ah-tier--flagged { background: #d64545; color: #fff; }

/* ---------- My Account button in rail ---------- */
.ah-myaccount-btn {
	display: block;
	margin: 0 1rem 0.9rem;
	padding: 0.55rem 1rem;
	border-radius: 10px;
	background: var(--surface-2);
	border: 1px solid var(--border-strong);
	color: var(--text) !important;
	font-weight: 700;
	font-size: 0.85rem;
	text-align: center;
	transition: all 0.2s ease;
}
.ah-myaccount-btn:hover { background: var(--accent); border-color: var(--accent); color: #10130d !important; }

/* ---------- NSFW toggle + blur + badges ---------- */
.ah-nsfw-picker { display: flex; flex-direction: column; gap: 0.5rem; }
.ah-nsfw-picker > label { font-weight: 600; font-size: 0.88rem; }
.ah-nsfw-toggle-wrap { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; }
.ah-nsfw-toggle-label { font-size: 0.82rem; font-weight: 700; color: var(--text-soft); }
.ah-nsfw-switch { position: relative; width: 46px; height: 24px; flex-shrink: 0; }
.ah-nsfw-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.ah-nsfw-switch__slider { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-strong); cursor: pointer; transition: all 0.25s ease; }
.ah-nsfw-switch__slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; border-radius: 50%; background: var(--text-soft); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.ah-nsfw-switch input:checked + .ah-nsfw-switch__slider { background: #d64545; border-color: #d64545; }
.ah-nsfw-switch input:checked + .ah-nsfw-switch__slider::before { transform: translateX(22px); background: #fff; }
.ah-nsfw-picker small { color: var(--text-soft); font-size: 0.76rem; }
.ah-card__nsfw-badge, .ah-nsfw-badge {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 5;
	padding: 0.16rem 0.6rem;
	border-radius: 6px;
	background: #d64545;
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.ah-nsfw-reveal {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 6;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: rgba(10, 12, 8, 0.85);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.35);
	white-space: nowrap;
	transition: all 0.2s ease;
}
.ah-nsfw-reveal:hover { background: var(--accent); color: #10130d; border-color: var(--accent); }
.ah-card.ah-nsfw:not(.ah-nsfw-off) .ah-card__thumb img,
.ah-card.ah-nsfw:not(.ah-nsfw-off) .ph { filter: blur(22px) saturate(0.6); transform: scale(1.06); }
.ah-card.ah-nsfw .ah-card__thumb { overflow: hidden; }
.ah-card.ah-nsfw .ah-card__nsfw-badge { right: auto; left: 0.5rem; }
.ah-nsfw:not(.ah-nsfw-off) .ah-slider__stage img,
.ah-nsfw:not(.ah-nsfw-off) .ah-slider__stage .ah-slide__fallback { filter: blur(22px) satu

/* ---------- Recent activity feed styling ---------- */
.ah-dash__panel .ah-dash__h {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	color: var(--text-soft);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
}
.ah-dash__panel .ah-dash__h::before {
	content: "";
	width: 3px;
	height: 0.9em;
	border-radius: 3px;
	background: var(--accent);
}
.ah-dash__panel .ah-dash__list li {
	padding: 0.6rem 0.8rem;
	border-radius: 8px;
	border-bottom: 1px solid var(--border);
	transition: background 0.15s ease;
}
.ah-dash__panel .ah-dash__list li:hover { background: var(--surface-2); }
.ah-dash__panel .ah-dash__list li:last-child { border-bottom: none; }
.ah-dash__panel .ah-dash__list li span:first-child { font-weight: 500; }
.ah-dash__list-meta {
	font-size: 0.74rem;
	color: var(--text-soft);
	font-variant-numeric: tabular-nums;
}

/* overview quick action cards */
.ah-overview__actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.8rem;
}
.ah-overview__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 1rem 0.8rem;
	border-radius: var(--radius);
	background: var(--surface-2);
	border: 1px solid var(--border);
	color: var(--text) !important;
	text-align: center;
	transition: all 0.2s ease;
}
.ah-overview__action:hover {
	transform: translateY(-2px);
	border-color: var(--accent);
	color: var(--accent-ink) !important;
}
.ah-overview__action-ico {
	font-size: 1.2rem;
	margin-bottom: 0.15rem;
	color: var(--accent-ink);
}
.ah-overview__action b { font-family: var(--font-head); font-size: 0.85rem; }

/* rail active for dashboard tabs */
.ah-rail__links a[data-tab].is-active {
	background: var(--accent-soft);
	color: var(--accent-ink) !important;
	box-shadow: inset 3px 0 0 var(--accent);
}
.ah-rail__links a[data-tab].is-active .ico { color: var(--accent-ink); }

/* ---- Post tags (store labels + SKU, content/import_tags.py) ---- */
.ah-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 1.75rem 0 0.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
}
.ah-tags__label {
	font-family: var(--font-head);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-soft);
	margin-right: 4px;
}
.ah-tags__item {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	border: 1px solid var(--border-strong);
	background: var(--surface-2);
	color: var(--text-soft);
	font-size: 0.78rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ah-tags__item:hover {
	color: var(--accent-ink);
	border-color: var(--accent);
	background: var(--accent-soft);
}

/* ---- Sidebar: popular tags ---- */
.ah-tagcloud {
	margin-top: 14px;
}
.ah-tagcloud__head {
	font-family: var(--font-head);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-soft);
	padding: 12px 14px 8px;
}
.ah-tagcloud__list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 0 14px 14px;
}
.ah-tagcloud__list a {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--panel-2);
	color: var(--text-soft);
	font-size: 0.75rem;
	text-decoration: none;
}
.ah-tagcloud__list a:hover {
	color: var(--accent-ink);
	border-color: var(--accent);
}
.ah-tagcloud__list a .n {
	color: var(--text-soft);
	opacity: 0.6;
	font-size: 0.7rem;
	margin-left: 4px;
}

/* ---- Popular tags in the rail: vertical list reads far better than wrapped pills
        in a 288px column (owner: "it looks messy") ---- */
.ah-rail .ah-tagcloud {
	padding: 0 14px 14px;
}
.ah-rail .ah-tagcloud__list {
	display: block;
	padding: 0;
}
.ah-rail .ah-tagcloud__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 6px 10px;
	margin-bottom: 4px;
	border-radius: 8px;
	border: 1px solid transparent;
	background: var(--panel-2);
	color: var(--text-soft);
	font-size: 0.76rem;
	line-height: 1.35;
	text-decoration: none;
}
.ah-rail .ah-tagcloud__list a:hover {
	color: var(--accent-ink);
	background: var(--accent-soft);
	border-color: var(--accent);
}
.ah-rail .ah-tagcloud__list a span.n {
	flex: 0 0 auto;
	color: var(--text-soft);
	opacity: 0.55;
	font-size: 0.7rem;
	margin: 0;
	font-variant-numeric: tabular-nums;
}
.ah-rail .ah-tagcloud__list a {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* The name needs its own box for text-overflow to work inside a flex row. */
.ah-rail .ah-tagcloud__list a span.t {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
