/* =========================================================
   SOKMIL — UI theme (2026 refresh)
   Token-driven light / dark themes.
   Dark is default; [data-theme="light"] overrides leaf tokens.
   Theme is toggled from the header and stored in localStorage.
   ========================================================= */

/* ---------- Reset & base ---------- */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-size: .88rem;
	font-weight: 400;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}

img {
	max-width: 100%;
	height: auto;
}

iframe {
	border: 0;
}

a {
	text-decoration: none;
}

::selection {
	background: rgba(34, 232, 255, 0.32);
	color: var(--text-hi);
}

::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

::-webkit-scrollbar-track {
	background: var(--bg-1);
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
	border-radius: 999px;
}

/* ---------- Palette ---------- */
/* Dark is the default theme; [data-theme="light"] overrides the leaf tokens.
   Gradients/glows are built from var() tokens, so they auto-recompute per theme. */
:root {
	color-scheme: dark;
	--bg-0: #05060d;
	--bg-1: #0a0c18;
	--bg-2: #0f1224;
	--surface: rgba(19, 22, 40, 0.72);
	--surface-solid: #12142a;
	--surface-strong: #181b34;
	--surface-soft: rgba(255, 255, 255, 0.04);
	--surface-hover: rgba(255, 255, 255, 0.08);
	--border: rgba(140, 160, 255, 0.16);
	--border-soft: rgba(140, 160, 255, 0.09);
	--border-strong: rgba(34, 232, 255, 0.42);
	--text: #eef0fb;
	--text-hi: #ffffff;
	--text-dim: #b4bad7;
	--text-mute: #838cae;
	--on-accent: #04121a;
	--neon-cyan: #22e8ff;
	--neon-cyan-rgb: 34, 232, 255;
	--neon-pink: #ff2fb4;
	--neon-pink-rgb: 255, 47, 180;
	--neon-purple: #9b5cff;
	--neon-purple-rgb: 155, 92, 255;
	--accent-cyan-text: #7be9ff;
	--accent-pink-text: #ff8fd6;
	--header-bg: rgba(9, 11, 22, 0.82);
	--hero-bg: linear-gradient(150deg, rgba(20, 24, 44, 0.92) 0%, rgba(14, 16, 32, 0.94) 55%, rgba(18, 16, 34, 0.92) 100%);
	--chip-bg: rgba(5, 6, 13, 0.78);
	--overlay-strong: rgba(2, 3, 8, 0.94);
	--body-tint-cyan: 0.16;
	--body-tint-pink: 0.14;
	--body-tint-purple: 0.12;
	--grad-primary: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
	--grad-accent: linear-gradient(135deg, var(--neon-pink), var(--neon-purple) 70%, var(--neon-cyan));
	--shadow-card: 0 12px 30px rgba(0, 0, 0, 0.5);
	--shadow-glow-cyan: 0 0 0 1px rgba(var(--neon-cyan-rgb), 0.22), 0 10px 30px rgba(var(--neon-cyan-rgb), 0.14);
	--shadow-glow-pink: 0 0 0 1px rgba(var(--neon-pink-rgb), 0.22), 0 10px 30px rgba(var(--neon-pink-rgb), 0.16);
	--radius-lg: 22px;
	--radius-md: 16px;
	--radius-sm: 10px;
	--font-display: "Plus Jakarta Sans", "M PLUS 1p", sans-serif;
	--font-body: "M PLUS 1p", "Plus Jakarta Sans", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

/* ---------- Light theme ---------- */
[data-theme="light"] {
	color-scheme: light;
	--bg-0: #e7ecf6;
	--bg-1: #f1f4fb;
	--bg-2: #ffffff;
	--surface: rgba(255, 255, 255, 0.86);
	--surface-solid: #ffffff;
	--surface-strong: #eef2fb;
	--surface-soft: rgba(20, 30, 80, 0.035);
	--surface-hover: rgba(20, 30, 80, 0.07);
	--border: rgba(30, 45, 110, 0.16);
	--border-soft: rgba(30, 45, 110, 0.09);
	--border-strong: rgba(11, 140, 170, 0.55);
	--text: #1a2038;
	--text-hi: #0b1026;
	--text-dim: #454d6c;
	--text-mute: #6f7899;
	--on-accent: #ffffff;
	--neon-cyan: #0a93b8;
	--neon-cyan-rgb: 10, 147, 184;
	--neon-pink: #d61f8e;
	--neon-pink-rgb: 214, 31, 142;
	--neon-purple: #7c3aed;
	--neon-purple-rgb: 124, 58, 237;
	--accent-cyan-text: #0a7c99;
	--accent-pink-text: #bf1a7d;
	--header-bg: rgba(255, 255, 255, 0.9);
	--hero-bg: linear-gradient(150deg, #ffffff 0%, #eef3fd 55%, #f6eefe 100%);
	--chip-bg: rgba(255, 255, 255, 0.88);
	--overlay-strong: rgba(15, 20, 42, 0.82);
	--body-tint-cyan: 0.10;
	--body-tint-pink: 0.09;
	--body-tint-purple: 0.08;
	--shadow-card: 0 10px 26px rgba(24, 36, 92, 0.12);
	--shadow-glow-cyan: 0 0 0 1px rgba(var(--neon-cyan-rgb), 0.3), 0 10px 26px rgba(var(--neon-cyan-rgb), 0.16);
	--shadow-glow-pink: 0 0 0 1px rgba(var(--neon-pink-rgb), 0.3), 0 10px 26px rgba(var(--neon-pink-rgb), 0.16);
}

/* ---------- Typography / links ---------- */
body {
	font-family: var(--font-body);
	color: var(--text);
	background:
		radial-gradient(900px 560px at -6% -10%, rgba(var(--neon-cyan-rgb), var(--body-tint-cyan)), transparent 58%),
		radial-gradient(820px 520px at 106% -8%, rgba(var(--neon-pink-rgb), var(--body-tint-pink)), transparent 55%),
		radial-gradient(1100px 700px at 50% 120%, rgba(var(--neon-purple-rgb), var(--body-tint-purple)), transparent 60%),
		linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 46%, var(--bg-2) 100%);
	background-attachment: fixed;
	min-height: 100vh;
}

a {
	color: var(--neon-cyan);
	transition: color .2s ease;
}

a:hover {
	color: var(--neon-pink);
}

main {
	margin-top: 20px;
	margin-bottom: 92px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	color: var(--text);
}

.list-title {
	word-break: break-all;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.ss-width {
	max-width: 756px;
}

.s-width {
	max-width: 980px;
}

.anchor {
	display: block;
	padding-top: 69px;
	margin-top: -69px;
}

.genre_content {
	max-width: 1440px;
	color: var(--text-dim);
}

.genre_content h1,
.genre_content .h1 {
	font-size: 1.32rem;
	color: var(--text);
}

.genre_content h2,
.genre_content .h2 {
	font-size: 1.1rem;
	color: var(--text);
}

a.d-flex.justify-content-center.align-items-center.js-smooth-scroll {
	position: relative;
	padding-bottom: 1em !important;
}

a.d-flex.justify-content-center.align-items-center.js-smooth-scroll::after {
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
	content: '\f107';
	position: absolute;
	bottom: 0;
}

.link-dark {
	color: var(--text) !important;
}

.link-dark:hover {
	color: var(--neon-cyan) !important;
}

.text-muted {
	color: var(--text-mute) !important;
}

.text-primary {
	color: var(--neon-cyan) !important;
}

/* ---------- Object-fit helpers ---------- */
.object-fit-container {
	width: 100%;
	padding-bottom: 67%;
	height: 0;
	position: relative;
}

.object-fit-contain {
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
}

.object-fit-container-entry {
	width: 100%;
	padding-bottom: 75%;
	height: 0;
	position: relative;
}

.object-fit-contain-entry {
	object-fit: contain;
	width: 100%;
	height: 100%;
	position: absolute;
}

.object-fit-container-actor {
	width: 100%;
	padding-bottom: 100%;
	height: 0;
	position: relative;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: linear-gradient(150deg, var(--surface-strong), var(--bg-2));
	box-shadow: inset 0 0 0 1px var(--border);
}

.object-fit-contain-actor {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--surface-strong) !important;
}

/* ---------- Header / navbar ---------- */
.header_navi,
.footer_div {
	background: var(--header-bg);
}

.header_navi {
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border-soft);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.header_navi .container-fluid {
	padding-top: .4rem;
	padding-bottom: .4rem;
}

.sitelogo,
.navbar-brand img {
	height: 40px !important;
	width: auto;
}

.navbar-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .45rem .9rem;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(var(--neon-cyan-rgb), 0.14), rgba(var(--neon-purple-rgb), 0.14));
	font-family: var(--font-display);
	font-size: .96rem;
	font-weight: 700;
	color: var(--text-hi);
	letter-spacing: .04em;
	box-shadow: var(--shadow-glow-cyan);
}

.navbar-toggler {
	border-color: var(--border) !important;
}

.navbar-toggler-icon {
	filter: invert(1) brightness(1.6);
}

.navbar-nav .nav-link {
	position: relative;
	padding: .56rem .84rem;
	border-radius: .85rem;
	color: var(--text-dim);
	font-weight: 600;
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 4px;
	height: 2px;
	border-radius: 999px;
	background: var(--grad-primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .24s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
	background: rgba(var(--neon-cyan-rgb), 0.08);
	color: var(--text-hi);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
	transform: scaleX(1);
}

.dropdown-menu {
	border: 1px solid var(--border);
	border-radius: .95rem;
	padding: .42rem;
	background: var(--surface-solid);
	box-shadow: var(--shadow-card);
}

.dropdown-item {
	border-radius: .6rem;
	padding: .5rem .72rem;
	color: var(--text-dim);
}

.dropdown-item:hover,
.dropdown-item:focus {
	background: rgba(var(--neon-cyan-rgb), 0.1);
	color: var(--text-hi);
}

.dropdown-item:active,
.dropdown-item.active {
	background: var(--grad-primary);
	color: var(--on-accent);
}

/* ---------- Search field ---------- */
.header-search-wrap {
	min-width: min(100%, 430px);
	margin-left: auto;
}

.site-search-form {
	display: flex;
	flex-direction: column;
	gap: .18rem;
	width: 100%;
}

.site-search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.site-search-field {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: .35rem;
	padding: .28rem .32rem .28rem .42rem;
	border: 1px solid var(--border);
	border-radius: 20px;
	background: var(--surface-solid);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 8px 20px rgba(0, 0, 0, 0.35);
}

.site-search-field:focus-within {
	border-color: var(--border-strong);
	box-shadow: var(--shadow-glow-cyan);
}

.site-search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: linear-gradient(145deg, rgba(var(--neon-cyan-rgb), 0.2), rgba(var(--neon-purple-rgb), 0.14));
	color: var(--neon-cyan);
	font-size: .82rem;
}

.site-search-input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: .88rem;
	line-height: 1.25;
}

.site-search-input::placeholder {
	color: var(--text-mute);
}

.site-search-input:focus {
	outline: none;
}

.site-search-reset,
.site-search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0 .75rem;
	border-radius: 999px;
	font-size: .74rem;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.site-search-reset {
	border: 1px solid var(--border);
	background: var(--surface-soft);
	color: var(--text-dim);
}

.site-search-reset:hover,
.site-search-reset:focus {
	background: var(--surface-hover);
	color: var(--text-hi);
}

.site-search-submit {
	border: 0;
	background: var(--grad-primary);
	color: var(--on-accent);
	box-shadow: var(--shadow-glow-cyan);
}

.site-search-submit:hover,
.site-search-submit:focus {
	filter: brightness(1.08);
}

.site-search-hint {
	display: none;
}

/* ---------- Notices ---------- */
.site-affiliate-notice {
	margin-top: 84px;
	text-align: center;
	padding: .5rem 1rem 0;
}

.site-affiliate-notice span {
	display: inline-block;
	background: rgba(var(--neon-pink-rgb), 0.1);
	color: var(--accent-pink-text);
	font-size: .84rem;
	font-weight: 700;
	border: 1px solid rgba(var(--neon-pink-rgb), 0.3);
	border-radius: 999px;
	padding: .3rem .8rem;
}

.site-renewal-notice {
	max-width: min(960px, calc(100% - 1.5rem));
	margin: .7rem auto 0;
	padding: .9rem 1rem;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: var(--surface-solid);
	color: var(--text-dim);
	font-size: .92rem;
	line-height: 1.72;
}

.site-renewal-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	cursor: pointer;
	list-style: none;
}

.site-renewal-summary::-webkit-details-marker {
	display: none;
}

.site-renewal-summary::after {
	content: "閉じる";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3.8rem;
	padding: .13rem .55rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
	color: var(--neon-cyan);
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.2;
}

.site-renewal-notice:not([open]) .site-renewal-summary::after {
	content: "開く";
}

.site-renewal-notice-body {
	margin-top: .35rem;
}

.site-renewal-notice-body p {
	margin: 0;
}

.site-renewal-notice-body p+p {
	margin-top: .3rem;
}

.site-renewal-notice-title {
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--text-hi);
}

.site-renewal-notice a {
	color: var(--neon-cyan);
	font-weight: 700;
	text-underline-offset: 2px;
}

.site-renewal-notice a:hover,
.site-renewal-notice a:focus {
	color: var(--neon-pink);
}

/* ---------- Hero ---------- */
.home-hero,
.listing-hero {
	position: relative;
	margin: 0 auto 18px;
	padding: 24px 12px 0;
	max-width: 1440px;
}

.home-hero-inner,
.listing-hero-inner {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
	padding: clamp(22px, 4vw, 44px);
	border: 1px solid var(--border);
	background: var(--hero-bg);
	box-shadow: var(--shadow-card);
}

.home-hero-inner::before,
.listing-hero-inner::before {
	content: "";
	position: absolute;
	width: 360px;
	height: 360px;
	right: -120px;
	top: -130px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(var(--neon-cyan-rgb), 0.28), transparent 70%);
	pointer-events: none;
}

.home-hero-inner::after,
.listing-hero-inner::after {
	content: "";
	position: absolute;
	width: 280px;
	height: 280px;
	left: -90px;
	bottom: -100px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(var(--neon-pink-rgb), 0.24), transparent 70%);
	pointer-events: none;
}

.home-hero-eyebrow,
.listing-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	padding: .28rem .75rem;
	border-radius: 999px;
	background: rgba(var(--neon-cyan-rgb), 0.12);
	border: 1px solid rgba(var(--neon-cyan-rgb), 0.3);
	color: var(--neon-cyan);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
}

.home-hero-title,
.listing-hero-title {
	position: relative;
	margin: 0;
	color: var(--text-hi);
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3.4vw, 2.2rem);
	font-weight: 800;
	line-height: 1.28;
	background: linear-gradient(100deg, var(--text-hi) 30%, var(--neon-cyan) 62%, var(--neon-pink) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.home-hero-lead,
.listing-hero-lead {
	max-width: 880px;
	margin: 12px 0 0;
	color: var(--text-dim);
	line-height: 1.8;
}

.home-hero-metrics,
.listing-hero-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin-top: 18px;
	max-width: 560px;
}

.home-hero-metric,
.listing-hero-metric {
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
}

.home-hero-metric-label,
.listing-hero-metric-label {
	display: block;
	color: var(--text-mute);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .06em;
}

.home-hero-metric-value,
.listing-hero-metric-value {
	display: block;
	margin-top: 2px;
	color: var(--text-hi);
	font-size: 1.05rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

/* ---------- Listing shell ---------- */
.listing-shell {
	max-width: 1460px;
	padding-top: 2px;
}

.listing-head {
	margin-bottom: 10px;
}

.listing-head-kicker {
	color: var(--neon-cyan);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.listing-head-title {
	margin: 4px 0 0;
	font-size: clamp(1.12rem, 2.2vw, 1.45rem);
	font-weight: 700;
	color: var(--text-hi);
}

.listing-grid {
	animation: listingFade .45s ease;
}

@keyframes listingFade {
	0% {
		opacity: 0;
		transform: translateY(6px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.list-empty {
	padding: 28px 22px;
	border-radius: 14px;
	border: 1px dashed var(--border);
	background: var(--surface-solid);
	color: var(--text-dim);
}

/* ---------- Sort menu ---------- */
.search-menu {
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: .45rem .52rem !important;
	background: var(--surface-solid);
	box-shadow: var(--shadow-card);
}

.search-menu-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.search-menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: linear-gradient(145deg, rgba(var(--neon-cyan-rgb), 0.2), rgba(var(--neon-purple-rgb), 0.12));
	color: var(--neon-cyan);
}

.search-menu-copy {
	line-height: 1.2;
}

.search-menu-label {
	color: var(--text-mute);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.search-menu-current {
	color: var(--text-hi);
	font-size: .9rem;
	font-weight: 700;
}

.search-menu-trigger {
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface-soft);
	color: var(--neon-cyan);
	font-size: .82rem;
	font-weight: 700;
	padding: .42rem .88rem;
}

.search-menu-trigger:hover,
.search-menu-trigger:focus {
	background: rgba(var(--neon-cyan-rgb), 0.1);
	color: var(--text-hi);
}

/* ---------- Media cards ---------- */
.media-card-wrap {
	height: 100%;
}

.media-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	overflow: hidden;
	background: linear-gradient(180deg, var(--surface-solid) 0%, var(--bg-2) 100%);
	box-shadow: var(--shadow-card);
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.media-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-glow-cyan), 0 22px 34px rgba(0, 0, 0, 0.5);
}

.media-card-media {
	position: relative;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(220px 120px at 15% 15%, rgba(var(--neon-cyan-rgb), 0.14), transparent 58%),
		radial-gradient(200px 120px at 90% 10%, rgba(var(--neon-pink-rgb), 0.12), transparent 58%),
		linear-gradient(160deg, var(--surface-strong) 0%, var(--bg-2) 100%);
}

.media-card-media img {
	display: block;
	width: 100%;
	height: 100%;
}

.media-card-chip {
	position: absolute;
	top: 8px;
	left: 8px;
	display: inline-flex;
	align-items: center;
	padding: .2rem .48rem;
	border-radius: 999px;
	background: var(--chip-bg);
	border: 1px solid var(--border-strong);
	color: var(--neon-cyan);
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .11em;
}

.media-card-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: .84rem .85rem .9rem !important;
}

.media-card-title {
	margin: 0;
	min-height: 2.95em;
	font-size: .88rem;
	font-weight: 600;
	color: var(--text);
}

.media-card-date {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: .48rem .58rem !important;
	margin: 0 !important;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface-soft);
	font-size: .72rem;
}

.media-card-date-label {
	color: var(--text-mute);
	font-weight: 700;
}

.media-card-date-value {
	color: var(--text);
	font-weight: 700;
	font-family: var(--font-display);
}

/* Legacy simple card (kept for compatibility) */
.list-card {
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: .9rem;
	height: 100%;
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.list-card:hover {
	transform: translateY(-3px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-glow-cyan);
}

.list-card .object-fit-container {
	background: linear-gradient(150deg, var(--surface-strong), var(--bg-2));
}

.list-card .card-body {
	padding-left: .85rem !important;
	padding-right: .85rem !important;
}

.list-card-date {
	font-size: .78rem;
	padding-left: .85rem !important;
	padding-right: .85rem !important;
	padding-bottom: .85rem !important;
	color: var(--text-mute);
}

/* ---------- Bootstrap: cards, pagination, tabs, tables, forms, buttons ---------- */
.card {
	background: var(--surface-solid);
	border: 1px solid var(--border);
	color: var(--text);
}

.pagination .page-link {
	border: 1px solid var(--border);
	background: var(--surface-solid);
	color: var(--text-dim);
	border-radius: .6rem;
	margin: 0 .16rem;
	padding: .42rem .72rem;
}

.pagination .page-link:hover {
	background: rgba(var(--neon-cyan-rgb), 0.1);
	color: var(--text-hi);
}

.pagination .page-item.active .page-link {
	background: var(--grad-primary);
	border-color: transparent;
	color: var(--on-accent);
	box-shadow: var(--shadow-glow-cyan);
}

.pagination .page-item.disabled .page-link {
	background: transparent;
	border-color: var(--border-soft);
	color: var(--text-mute);
}

.nav-tabs {
	border-bottom: 1px solid var(--border);
}

.nav-tabs .nav-item {
	padding: 0 3px;
}

.nav-tabs .nav-link {
	border: 1px solid transparent;
	border-radius: 999px .999px 0 0;
	color: var(--text-dim);
	font-weight: 700;
	padding: .62rem 1rem;
	text-align: center;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
	border-color: transparent;
	background: rgba(var(--neon-cyan-rgb), 0.08);
	color: var(--text-hi);
}

.nav-tabs .nav-link.active {
	background: var(--grad-primary);
	border-color: transparent;
	color: var(--on-accent);
}

.table {
	color: var(--text-dim);
	--bs-table-bg: transparent;
	--bs-table-color: var(--text-dim);
	border-color: var(--border);
}

.table-bordered {
	border-color: var(--border);
}

.table-bordered th,
.table-bordered td {
	border-color: var(--border);
}

.table thead th {
	background: var(--surface-solid);
	color: var(--text-hi);
	font-weight: 700;
	border-color: var(--border);
}

.table-hover>tbody>tr:hover>* {
	--bs-table-accent-bg: rgba(var(--neon-cyan-rgb), 0.06);
	color: var(--text-hi);
}

.form-control,
.form-select {
	background-color: var(--surface-solid);
	border: 1px solid var(--border);
	color: var(--text);
}

.form-control::placeholder {
	color: var(--text-mute);
}

.form-control:focus,
.form-select:focus {
	background-color: var(--surface-solid);
	border-color: var(--border-strong);
	color: var(--text);
	box-shadow: var(--shadow-glow-cyan);
}

.form-select {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2322e8ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-check-input {
	background-color: var(--surface-solid);
	border-color: var(--border);
}

.form-check-input:checked {
	background-color: var(--neon-cyan);
	border-color: var(--neon-cyan);
}

.form-label {
	color: var(--text-dim);
	font-weight: 700;
}

.btn-primary {
	border: 0;
	background: var(--grad-primary);
	color: var(--on-accent);
	font-weight: 700;
	box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover,
.btn-primary:focus {
	filter: brightness(1.08);
	color: var(--on-accent);
}

.btn-outline-secondary {
	color: var(--text-dim);
	border-color: var(--border);
	background: var(--surface-soft);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
	background: rgba(var(--neon-cyan-rgb), 0.1);
	border-color: var(--border-strong);
	color: var(--text-hi);
}

.btn-outline-blue {
	color: var(--neon-cyan);
	background-color: var(--surface-soft);
	border-color: var(--border);
	border-radius: 999px;
	font-weight: 500;
}

.btn-outline-blue:hover,
.btn-outline-blue:focus,
.genre_content .btn:hover {
	color: var(--on-accent);
	background-color: var(--neon-cyan);
	border-color: var(--neon-cyan);
}

/* ---------- Sample gallery / lightbox ---------- */
.content_sample_image {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	width: 100%;
	gap: 0;
}

.post_images {
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	width: 14.2857%;
	margin-bottom: 4px;
	padding: 4px;
	aspect-ratio: 16 / 9;
	position: relative;
	overflow: hidden;
	display: block;
}

.post_images:focus-visible {
	outline: 2px solid var(--neon-cyan);
	outline-offset: 2px;
}

.post_images img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: .5rem;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.sample-lightbox {
	position: fixed;
	inset: 0;
	z-index: 12000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 64px 72px;
	background: var(--overlay-strong);
	touch-action: none;
}

.sample-lightbox.is-open {
	display: flex;
}

.sample-lightbox-open,
.sample-lightbox-open body {
	overflow: hidden;
}

.sample-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: .5rem;
	box-shadow: 0 0 60px rgba(var(--neon-cyan-rgb), 0.18), 0 18px 42px rgba(0, 0, 0, 0.55);
}

.sample-lightbox__close,
.sample-lightbox__nav {
	position: absolute;
	border: 1px solid var(--border);
	color: var(--text-hi);
	background: var(--surface-strong);
	line-height: 1;
	cursor: pointer;
	transition: background-color .16s ease, transform .16s ease, border-color .16s ease;
}

.sample-lightbox__close:hover,
.sample-lightbox__nav:hover,
.sample-lightbox__close:focus-visible,
.sample-lightbox__nav:focus-visible {
	background: rgba(var(--neon-cyan-rgb), 0.16);
	border-color: var(--border-strong);
	outline: 0;
}

.sample-lightbox__close {
	top: 16px;
	right: 16px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 34px;
}

.sample-lightbox__nav {
	top: 50%;
	width: 50px;
	height: 70px;
	margin-top: -35px;
	border-radius: 8px;
	font-size: 58px;
}

.sample-lightbox__nav--prev {
	left: 14px;
}

.sample-lightbox__nav--next {
	right: 14px;
}

.sample-lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--surface-strong);
	border: 1px solid var(--border);
	color: var(--text-hi);
	font-size: 13px;
	line-height: 1;
}

@media all and (max-width: 1080px) {
	.post_images {
		width: 25%;
	}
}

@media all and (max-width: 768px) {
	.post_images {
		width: 33.3333%;
	}

	.sample-lightbox {
		padding: 58px 44px;
	}

	.sample-lightbox__close {
		top: 10px;
		right: 10px;
		width: 42px;
		height: 42px;
		font-size: 30px;
	}

	.sample-lightbox__nav {
		width: 38px;
		height: 58px;
		margin-top: -29px;
		font-size: 46px;
	}

	.sample-lightbox__nav--prev {
		left: 4px;
	}

	.sample-lightbox__nav--next {
		right: 4px;
	}
}

/* ---------- Video embed ---------- */
#video_content_image {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: .8rem auto 1.25rem;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}

#video_content_image .video-embed {
	width: 100%;
	min-height: 0;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: #000;
	box-shadow: var(--shadow-glow-cyan), 0 18px 34px rgba(0, 0, 0, 0.5);
	isolation: isolate;
}

#video_content_image .video-embed iframe,
#video_content_image .entry-video-player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #000;
}

#video_content_image .entry-video-player {
	object-fit: contain;
	border-radius: inherit;
}

#video_content_image .video-embed iframe {
	overflow: hidden;
	scrollbar-width: none;
}

#video_content_image .video-embed iframe::-webkit-scrollbar {
	display: none;
}

#video_content_image .play_btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 0;
	padding: 0;
	background: linear-gradient(180deg, rgba(5, 6, 13, 0.12), rgba(5, 6, 13, 0.5));
	cursor: pointer;
}

#video_content_image .play_btn img {
	width: clamp(72px, 18vw, 118px);
	height: auto;
	filter: drop-shadow(0 0 26px rgba(var(--neon-cyan-rgb), 0.55));
	transition: transform .22s ease, filter .22s ease;
}

#video_content_image .play_btn:hover img,
#video_content_image .play_btn:focus img {
	transform: scale(1.05);
	filter: drop-shadow(0 0 34px rgba(var(--neon-cyan-rgb), 0.75));
}

/* ---------- Entry page ---------- */
.entry-shell {
	border-radius: 24px;
	padding: 4px 12px 20px;
}

.entry-title {
	font-size: clamp(1.08rem, 2.2vw, 1.36rem);
	line-height: 1.45;
	color: var(--text-hi);
}

.entry-cta .btn-primary {
	border: 0;
	border-radius: 14px;
	font-weight: 700;
}

.entry-meta-row {
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--surface-solid);
}

.entry-meta-row .meta_tag_t {
	width: 82px;
	color: var(--text-mute);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.entry-meta-row+.entry-meta-row {
	margin-top: 10px !important;
}

.entry-meta-row .btn-outline-blue {
	background: var(--surface-soft);
	border-color: var(--border);
	color: var(--neon-cyan);
}

.entry-meta-row .btn-outline-blue:hover {
	background: var(--neon-cyan);
	border-color: var(--neon-cyan);
	color: var(--on-accent);
}

.meta_tag_t {
	width: 75px;
	padding-right: 6px;
}

.actress-ruby-text {
	margin-bottom: .2em;
	font-size: .82rem;
	line-height: 1.35;
	color: var(--text-mute);
}

/* ---------- Contact form ---------- */
.contact-form-card {
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: var(--surface-solid);
	box-shadow: var(--shadow-card);
}

.contact-form-lead {
	color: var(--text-dim);
	line-height: 1.7;
	margin-bottom: 1.1rem;
}

.contact-hero .listing-hero-inner {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.contact-form-card--enhanced {
	border-radius: 1.3rem;
	padding-top: clamp(1.25rem, 2vw, 1.8rem) !important;
	padding-bottom: clamp(1.25rem, 2vw, 1.8rem) !important;
}

.contact-form-header {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(240px, .9fr);
	gap: 1rem;
	align-items: start;
	margin-bottom: 1.4rem;
}

.contact-form-kicker {
	display: inline-flex;
	align-items: center;
	padding: .3rem .72rem;
	border-radius: 999px;
	background: rgba(var(--neon-cyan-rgb), 0.12);
	border: 1px solid rgba(var(--neon-cyan-rgb), 0.3);
	color: var(--neon-cyan);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.contact-form-title {
	margin: .75rem 0 .55rem;
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.5vw, 1.72rem);
	font-weight: 800;
	color: var(--text-hi);
}

.contact-form-quicklist {
	display: grid;
	gap: .8rem;
}

.contact-form-quickitem {
	padding: .9rem 1rem;
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: var(--surface-soft);
}

.contact-form-quickitem strong {
	display: block;
	margin-bottom: .3rem;
	color: var(--neon-cyan);
	font-size: .84rem;
}

.contact-form-quickitem span {
	display: block;
	color: var(--text-mute);
	font-size: .83rem;
	line-height: 1.65;
}

.contact-form-grid {
	display: block;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
	border-radius: .8rem;
	min-height: 3.1rem;
}

.contact-form-card .form-select {
	padding-right: 2.4rem;
	background-position: right .9rem center;
}

.contact-form-card textarea.form-control {
	min-height: 12rem;
	resize: vertical;
}

.contact-form-help {
	margin-top: .45rem;
	color: var(--text-mute);
	font-size: .8rem;
	line-height: 1.6;
}

.contact-form-optional {
	color: var(--text-mute);
	font-size: .76rem;
	font-weight: 600;
}

.contact-message-counter {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .8rem;
	color: var(--text-mute);
	font-weight: 600;
}

.contact-message-remaining {
	color: var(--text-mute);
}

.contact-form-check {
	padding: 1rem 1rem 1rem 2.4rem;
	border: 1px solid var(--border);
	border-radius: 1rem;
	background: var(--surface-soft);
}

.contact-form-check .form-check-input {
	margin-top: .22rem;
}

.contact-form-check .form-check-label {
	color: var(--text-dim);
	font-weight: 600;
	line-height: 1.7;
}

.contact-form-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
	margin-top: 1.4rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--border);
}

.contact-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	min-height: 3rem;
	border-radius: 999px;
	font-weight: 700;
}

.contact-form-submit-loading {
	display: none;
}

.contact-form-submit.is-loading {
	opacity: .86;
	cursor: wait;
}

.contact-form-note {
	color: var(--text-mute);
	font-size: .82rem;
}

.contact-form-status {
	display: none;
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 1rem;
	font-weight: 700;
	line-height: 1.7;
}

.contact-form-status.is-visible {
	display: block;
}

.contact-form-status.is-success {
	border-color: rgba(34, 232, 255, 0.32);
	background: rgba(var(--neon-cyan-rgb), 0.08);
	color: var(--accent-cyan-text);
}

.contact-form-status.is-error {
	border-color: rgba(var(--neon-pink-rgb), 0.34);
	background: rgba(var(--neon-pink-rgb), 0.08);
	color: var(--accent-pink-text);
}

.contact-form-status.is-loading {
	border-color: var(--border);
	background: var(--surface-solid);
	color: var(--text-dim);
}

.contact-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.contact-honeypot input {
	opacity: 0;
	pointer-events: none;
}

@media (min-width: 768px) {
	.contact-form-actions {
		flex-direction: row;
		align-items: center;
	}
}

@media (max-width: 991.98px) {
	.contact-form-header {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.contact-form-card--enhanced {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.contact-form-actions,
	.contact-form-submit {
		width: 100%;
	}

	.contact-form-check {
		padding: .95rem .95rem .95rem 2.3rem;
	}
}

/* ---------- Search page ---------- */
.search-query-badges {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
	margin-top: 1.2rem;
}

.search-query-badge {
	display: inline-flex;
	align-items: center;
	padding: .5rem .9rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface-soft);
	color: var(--neon-cyan);
	font-size: .82rem;
	font-weight: 700;
}

.search-refine-card {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 1.2rem 1.5rem;
	align-items: center;
	padding: 1.35rem 1.45rem;
	margin-bottom: 1.3rem;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: var(--surface-solid);
	box-shadow: var(--shadow-card);
}

.search-refine-copy {
	max-width: 360px;
}

.search-refine-label {
	margin-bottom: .35rem;
	color: var(--neon-cyan);
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.search-refine-text {
	margin: 0;
	color: var(--text-dim);
	line-height: 1.8;
}

.search-refine-form {
	width: 100%;
}

.search-refine-form .site-search-field {
	width: 100%;
	max-width: none;
}

.search-result-summary {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem 1.2rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.2rem;
	padding: .95rem 1.1rem;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--surface-solid);
	color: var(--text-dim);
}

.search-result-summary-text {
	font-weight: 700;
	color: var(--text-hi);
}

.search-result-summary-page {
	color: var(--text-mute);
	font-size: .88rem;
	font-weight: 700;
}

.search-empty-card {
	padding: clamp(1.4rem, 3vw, 2rem);
	border: 1px solid var(--border);
	border-radius: 28px;
	background: var(--surface-solid);
	box-shadow: var(--shadow-card);
}

.search-empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.6rem;
	height: 3.6rem;
	margin-bottom: 1rem;
	border-radius: 1.2rem;
	background: var(--grad-primary);
	box-shadow: var(--shadow-glow-cyan);
	color: var(--on-accent);
	font-size: 1.2rem;
}

.search-empty-title {
	margin-bottom: .7rem;
	color: var(--text-hi);
	font-size: clamp(1.12rem, 2vw, 1.34rem);
	font-weight: 800;
}

.search-empty-text {
	margin-bottom: 1.15rem;
	color: var(--text-dim);
	line-height: 1.85;
}

.search-empty-tips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .8rem;
	margin-bottom: 1.25rem;
}

.search-empty-tip {
	padding: .9rem 1rem;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--surface-soft);
	color: var(--text-dim);
	font-size: .88rem;
	font-weight: 600;
	line-height: 1.7;
}

.search-empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 1.1rem;
}

.search-popular-block {
	padding-top: 1.15rem;
	border-top: 1px solid var(--border);
}

.search-popular-title {
	margin-bottom: .85rem;
	color: var(--text-hi);
	font-size: .9rem;
	font-weight: 800;
}

.search-popular-list {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.search-popular-chip {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .7rem .95rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface-solid);
	color: var(--text-dim);
	font-weight: 700;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}

.search-popular-chip:hover,
.search-popular-chip:focus {
	transform: translateY(-1px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-glow-cyan);
	color: var(--text-hi);
}

.search-popular-chip small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding: .2rem .45rem;
	border-radius: 999px;
	background: rgba(var(--neon-cyan-rgb), 0.14);
	color: var(--neon-cyan);
	font-size: .74rem;
	font-weight: 800;
}

.search-pagination {
	max-width: 880px;
	margin: 2rem auto 0;
	padding: 1rem;
	border: 1px solid var(--border-soft);
	border-radius: 18px;
	background: var(--surface-solid);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.search-pagination-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .75rem;
	padding: 0 .15rem;
}

.search-pagination-kicker {
	color: var(--neon-cyan);
	font-family: var(--font-display);
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.search-pagination-controls {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.search-pagination-link,
.search-pagination-latest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	flex: 0 0 auto;
	min-height: 44px;
	padding: .65rem .9rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--surface-soft);
	box-shadow: none;
	color: var(--text-dim);
	font-size: .84rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.search-pagination-latest {
	border-color: rgba(var(--neon-cyan-rgb), 0.28);
	background: rgba(var(--neon-cyan-rgb), 0.08);
	color: var(--neon-cyan);
}

.search-pagination-link:hover,
.search-pagination-link:focus,
.search-pagination-latest:hover,
.search-pagination-latest:focus {
	transform: translateY(-1px);
	border-color: var(--border-strong);
	background: rgba(var(--neon-cyan-rgb), 0.11);
	color: var(--text-hi);
}

.search-pagination-link-disabled {
	border-color: var(--border-soft);
	background: transparent;
	box-shadow: none;
	color: var(--text-mute);
	opacity: .48;
	cursor: default;
	pointer-events: none;
}

.search-pagination-label {
	color: var(--text-dim);
	font-size: .8rem;
	font-weight: 700;
}

.search-pagination-pages {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	justify-content: center;
	gap: .35rem;
	min-width: 0;
}

.search-pagination-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: .4rem .65rem;
	border-radius: 11px;
	border: 1px solid var(--border-soft);
	background: transparent;
	color: var(--text-dim);
	font-family: var(--font-display);
	font-size: .82rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.search-pagination-page:hover,
.search-pagination-page:focus {
	transform: translateY(-1px);
	background: rgba(var(--neon-cyan-rgb), 0.1);
	color: var(--text-hi);
}

.search-pagination-page-current {
	border-color: var(--neon-cyan);
	background: var(--neon-cyan);
	box-shadow: 0 7px 18px rgba(var(--neon-cyan-rgb), 0.18);
	color: var(--on-accent);
}

.search-pagination-ellipsis {
	border-style: dashed;
	background: transparent;
	box-shadow: none;
	color: var(--text-mute);
	cursor: default;
}

.search-pagination-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	margin-top: .72rem;
	padding-top: .72rem;
	border-top: 1px solid var(--border-soft);
	color: var(--text-mute);
	font-size: .74rem;
	font-weight: 600;
}

@media (max-width: 991.98px) {
	.search-refine-card {
		grid-template-columns: 1fr;
	}

	.search-refine-copy {
		max-width: none;
	}

	.search-empty-tips {
		grid-template-columns: 1fr;
	}

	.search-pagination {
		max-width: 720px;
	}
}

@media (max-width: 575.98px) {
	.search-refine-card {
		padding: 1rem;
		border-radius: 20px;
	}

	.search-empty-card {
		border-radius: 22px;
	}

	.search-empty-actions .btn,
	.search-popular-chip {
		width: 100%;
		justify-content: center;
	}

	.search-pagination-link {
		flex: 1 1 0;
	}

	.search-pagination {
		padding: .85rem;
		border-radius: 16px;
	}

	.search-pagination-controls {
		flex-wrap: wrap;
	}

	.search-pagination-latest {
		flex: 0 0 100%;
	}

	.search-pagination-pages {
		order: 3;
		flex: 0 0 100%;
		margin-top: .15rem;
	}

	.search-pagination-page {
		min-width: 40px;
		min-height: 40px;
		padding: .4rem .6rem;
	}

	.search-query-badges {
		gap: .5rem;
	}
}

/* ---------- 404 page ---------- */
.error-page-wrap {
	max-width: 760px;
	margin: 0 auto;
}

.error-page-shell {
	max-width: 1320px;
	margin: 0 auto;
	padding: 10px 12px 0;
}

.error-page-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, .95fr);
	gap: 18px;
	align-items: stretch;
}

.error-page-panel,
.error-page-card {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	border: 1px solid var(--border);
	background: var(--surface-solid);
	box-shadow: var(--shadow-card);
}

.error-page-panel::before {
	content: "";
	position: absolute;
	width: 240px;
	height: 240px;
	right: -72px;
	top: -92px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--neon-cyan-rgb), 0.22), transparent 70%);
	pointer-events: none;
}

.error-page-panel-main,
.error-page-panel-side {
	padding: clamp(22px, 3vw, 34px);
}

.error-page-panel-side::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	left: -78px;
	bottom: -104px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--neon-pink-rgb), 0.2), transparent 70%);
	pointer-events: none;
}

.error-page-code {
	display: inline-flex;
	align-items: center;
	padding: .42rem .86rem;
	border-radius: 999px;
	border: 1px solid rgba(var(--neon-pink-rgb), 0.3);
	background: rgba(var(--neon-pink-rgb), 0.1);
	color: var(--accent-pink-text);
	font-size: .79rem;
	font-weight: 800;
	letter-spacing: .08em;
}

.error-page-title {
	margin: 16px 0 0;
	font-family: var(--font-display);
	font-size: clamp(1.85rem, 3.6vw, 3rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--text-hi);
}

.error-page-text {
	max-width: 42rem;
	margin: 14px 0 0;
	color: var(--text-dim);
	font-size: 1rem;
	line-height: 1.85;
}

.error-page-request {
	display: inline-flex;
	flex-direction: column;
	gap: .42rem;
	margin-top: 20px;
	padding: .9rem 1rem;
	border-radius: 18px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
}

.error-page-request-label {
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--text-mute);
}

.error-page-request-path {
	margin: 0;
	font-size: .94rem;
	line-height: 1.6;
	color: var(--neon-cyan);
	word-break: break-all;
}

.error-page-search {
	margin-top: 22px;
}

.error-page-search-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: stretch;
}

.error-page-search .form-control {
	min-height: 58px;
	border-radius: 18px;
	padding: 0 1rem;
}

.error-page-search .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-width: 160px;
	padding: 0 1.2rem;
	border: 0;
	border-radius: 18px;
	font-weight: 700;
}

.error-page-search-note {
	margin: 10px 0 0;
	color: var(--text-mute);
	font-size: .88rem;
	line-height: 1.75;
}

.error-page-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	margin-top: 24px;
}

.error-page-actions .btn {
	min-width: 180px;
	padding: .82rem 1.1rem;
	border-radius: 999px;
	font-weight: 700;
}

.error-page-side-heading {
	position: relative;
	margin-bottom: 16px;
	padding-left: .9rem;
	font-family: var(--font-display);
	font-size: 1.06rem;
	font-weight: 800;
	color: var(--text-hi);
}

.error-page-side-heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2rem;
	bottom: .2rem;
	width: 4px;
	border-radius: 999px;
	background: var(--grad-primary);
}

.error-page-shortcuts {
	display: grid;
	gap: 12px;
}

.error-page-shortcut {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 14px 15px;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--surface-soft);
	color: var(--text);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.error-page-shortcut:hover,
.error-page-shortcut:focus {
	transform: translateY(-2px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-glow-cyan);
	color: var(--text-hi);
}

.error-page-shortcut-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(145deg, rgba(var(--neon-cyan-rgb), 0.18), rgba(var(--neon-purple-rgb), 0.14));
	color: var(--neon-cyan);
	font-size: 1rem;
}

.error-page-shortcut-copy {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	min-width: 0;
}

.error-page-shortcut-label {
	font-weight: 700;
	color: var(--text-hi);
}

.error-page-shortcut-description {
	color: var(--text-mute);
	font-size: .84rem;
	line-height: 1.55;
}

.error-page-tips {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.error-page-tip {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 14px 15px;
	border-radius: 18px;
	background: var(--surface-soft);
	border: 1px solid var(--border);
}

.error-page-tip-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--grad-primary);
	color: var(--on-accent);
	font-size: .82rem;
	font-weight: 800;
}

.error-page-tip-title {
	font-weight: 700;
	color: var(--text-hi);
}

.error-page-tip-text {
	margin: 4px 0 0;
	color: var(--text-mute);
	font-size: .86rem;
	line-height: 1.7;
}

@media all and (max-width: 991px) {
	.error-page-grid {
		grid-template-columns: 1fr;
	}
}

@media all and (max-width: 640px) {
	.error-page-shell {
		padding-left: 10px;
		padding-right: 10px;
	}

	.error-page-panel-main,
	.error-page-panel-side {
		padding: 20px 16px;
	}

	.error-page-search-inner {
		grid-template-columns: 1fr;
	}

	.error-page-search .btn,
	.error-page-actions .btn {
		width: 100%;
	}

	.error-page-actions {
		flex-direction: column;
	}
}

/* ---------- Footer ---------- */
.footer_div {
	border-top: 1px solid var(--border-soft);
	font-size: .9em;
}

.site-age-warning {
	color: var(--accent-pink-text);
	font-weight: 700;
}

.footer-links {
	color: var(--text-dim);
}

.footer-links a {
	color: var(--text-dim);
}

.footer-links a:hover {
	color: var(--neon-cyan);
}

.powered-by {
	padding-top: .4rem;
	filter: brightness(1.6) grayscale(1) invert(1);
	opacity: .65;
}

/* ---------- Responsive ---------- */
@media all and (max-width: 992px) {
	.header-search-wrap {
		min-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.navbar-nav .nav-link {
		border-radius: .5rem;
	}
}

@media (max-width: 991.98px) {
	.site-renewal-notice {
		padding: .8rem .85rem;
		margin-top: .55rem;
	}

	.home-hero,
	.listing-hero {
		padding-left: 0;
		padding-right: 0;
	}

	.home-hero-inner,
	.listing-hero-inner {
		border-radius: 18px;
	}

	.home-hero-metrics,
	.listing-hero-metrics {
		grid-template-columns: 1fr;
	}

	.search-menu {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between;
		flex-wrap: nowrap;
		gap: 10px;
	}

	.search-menu-title {
		flex: 1 1 auto;
		min-width: 0;
		flex-wrap: nowrap;
	}

	.search-menu-copy {
		display: inline-flex;
		align-items: baseline;
		gap: .38rem;
		min-width: 0;
		white-space: nowrap;
	}

	.search-menu-current {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.search-menu .dropdown {
		flex: 0 0 auto;
	}

	.search-menu-trigger {
		width: auto;
		padding: .42rem .72rem;
		white-space: nowrap;
	}

	.entry-shell {
		padding: 2px 8px 14px;
	}

	.site-search-field {
		padding: .22rem .24rem .22rem .34rem;
	}

	.site-search-icon {
		width: 1.86rem;
		height: 1.86rem;
	}

	.site-search-reset,
	.site-search-submit {
		min-height: 1.86rem;
		padding: 0 .68rem;
	}
}

@media (max-width: 575.98px) {
	.search-menu {
		gap: .55rem;
		padding-left: .8rem !important;
		padding-right: .8rem !important;
	}

	.search-menu-icon {
		width: 28px;
		height: 28px;
	}

	.search-menu-label {
		font-size: .68rem;
	}

	.search-menu-current {
		font-size: .84rem;
	}

	.search-menu-trigger {
		padding: .4rem .62rem;
		font-size: .76rem;
	}

	.media-card-title {
		font-size: .85rem;
	}

	.listing-head-title {
		font-size: 1.04rem;
	}

	.home-hero-lead,
	.listing-hero-lead {
		font-size: .9rem;
		line-height: 1.7;
	}

	.site-search-field {
		padding: .32rem .34rem .32rem .42rem;
		gap: .38rem;
	}
}

/* ---------- Theme toggle ---------- */
.header-actions {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
	color: var(--neon-cyan);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
	border-color: var(--border-strong);
	background: rgba(var(--neon-cyan-rgb), 0.12);
	box-shadow: var(--shadow-glow-cyan);
	outline: none;
	transform: translateY(-1px);
}

.theme-toggle .theme-toggle-icon-sun {
	display: none;
}

.theme-toggle .theme-toggle-icon-moon {
	display: inline-block;
}

[data-theme="light"] .theme-toggle {
	color: var(--neon-purple);
}

[data-theme="light"] .theme-toggle .theme-toggle-icon-sun {
	display: inline-block;
}

[data-theme="light"] .theme-toggle .theme-toggle-icon-moon {
	display: none;
}

/* Light-mode fixups for elements that assumed a dark chrome */
[data-theme="light"] .navbar-toggler-icon {
	filter: none;
}

[data-theme="light"] .powered-by {
	filter: grayscale(1);
	opacity: .7;
}

@media (max-width: 991.98px) {
	.header-actions {
		margin-left: auto;
	}
}

/* =========================================================
   UI balance pass
   Clearer hierarchy, calmer surfaces and fluid content density.
   ========================================================= */

:root {
	--bg-0: #090b11;
	--bg-1: #0e1119;
	--bg-2: #121722;
	--surface: rgba(20, 25, 36, 0.88);
	--surface-solid: #151a25;
	--surface-strong: #1b2230;
	--surface-soft: rgba(255, 255, 255, 0.045);
	--surface-hover: rgba(255, 255, 255, 0.075);
	--border: rgba(214, 224, 240, 0.11);
	--border-soft: rgba(214, 224, 240, 0.075);
	--border-strong: rgba(87, 199, 212, 0.52);
	--text: #e9edf4;
	--text-hi: #ffffff;
	--text-dim: #b5bdcb;
	--text-mute: #858fa0;
	--neon-cyan: #57c7d4;
	--neon-cyan-rgb: 87, 199, 212;
	--neon-pink: #df6595;
	--neon-pink-rgb: 223, 101, 149;
	--neon-purple: #8b7cf6;
	--neon-purple-rgb: 139, 124, 246;
	--accent-cyan-text: #77d4de;
	--accent-pink-text: #ef8eb3;
	--header-bg: rgba(9, 12, 18, 0.9);
	--hero-bg: linear-gradient(145deg, rgba(24, 31, 44, 0.98), rgba(17, 22, 32, 0.98));
	--body-tint-cyan: 0.08;
	--body-tint-pink: 0.045;
	--body-tint-purple: 0.055;
	--shadow-card: 0 12px 30px rgba(0, 0, 0, 0.24);
	--shadow-glow-cyan: 0 0 0 1px rgba(var(--neon-cyan-rgb), 0.2), 0 12px 28px rgba(var(--neon-cyan-rgb), 0.1);
	--shadow-glow-pink: 0 0 0 1px rgba(var(--neon-pink-rgb), 0.2), 0 12px 28px rgba(var(--neon-pink-rgb), 0.1);
	--radius-lg: 20px;
	--radius-md: 14px;
}

[data-theme="light"] {
	--bg-0: #eef2f6;
	--bg-1: #f5f7fa;
	--bg-2: #ffffff;
	--surface: rgba(255, 255, 255, 0.92);
	--surface-solid: #ffffff;
	--surface-strong: #eef2f6;
	--surface-soft: rgba(29, 42, 62, 0.04);
	--surface-hover: rgba(29, 42, 62, 0.075);
	--border: rgba(37, 52, 72, 0.14);
	--border-soft: rgba(37, 52, 72, 0.09);
	--border-strong: rgba(14, 135, 149, 0.5);
	--text: #253043;
	--text-hi: #151d2a;
	--text-dim: #4f5d70;
	--text-mute: #748094;
	--neon-cyan: #0e8795;
	--neon-cyan-rgb: 14, 135, 149;
	--neon-pink: #bd4778;
	--neon-pink-rgb: 189, 71, 120;
	--neon-purple: #6858d9;
	--neon-purple-rgb: 104, 88, 217;
	--accent-cyan-text: #0b7480;
	--accent-pink-text: #a63b67;
	--header-bg: rgba(255, 255, 255, 0.92);
	--hero-bg: linear-gradient(145deg, #ffffff, #f3f6f9);
	--body-tint-cyan: 0.045;
	--body-tint-pink: 0.025;
	--body-tint-purple: 0.03;
	--shadow-card: 0 10px 26px rgba(33, 47, 69, 0.09);
	--shadow-glow-cyan: 0 0 0 1px rgba(var(--neon-cyan-rgb), 0.22), 0 10px 24px rgba(var(--neon-cyan-rgb), 0.1);
}

body {
	font-size: .94rem;
	line-height: 1.7;
	letter-spacing: .005em;
	background:
		radial-gradient(780px 460px at 0 -5%, rgba(var(--neon-cyan-rgb), var(--body-tint-cyan)), transparent 62%),
		radial-gradient(720px 460px at 100% 0, rgba(var(--neon-purple-rgb), var(--body-tint-purple)), transparent 64%),
		linear-gradient(180deg, var(--bg-0), var(--bg-1) 52%, var(--bg-2));
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 3px solid rgba(var(--neon-cyan-rgb), 0.38);
	outline-offset: 3px;
}

main {
	margin-top: 12px;
	margin-bottom: clamp(64px, 8vw, 96px);
}

/* Header */
.header_navi {
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
}

.site-header-shell {
	width: 100%;
	max-width: 1480px;
	margin-inline: auto;
	padding: .32rem clamp(.85rem, 2vw, 1.75rem) !important;
}

.header_navi .navbar-collapse {
	gap: clamp(.65rem, 1.4vw, 1.3rem);
}

.navbar-brand {
	flex: 0 0 auto;
	min-height: 42px;
	padding: .38rem .78rem;
	border-color: var(--border);
	background: var(--surface-soft);
	box-shadow: none;
}

.navbar-brand:hover,
.navbar-brand:focus-visible {
	border-color: var(--border-strong);
	color: var(--text-hi);
}

.navbar-nav {
	flex-wrap: nowrap;
}

.navbar-nav .nav-link {
	padding: .62rem .62rem;
	font-size: .86rem;
	white-space: nowrap;
}

.header-search-wrap {
	width: clamp(280px, 24vw, 360px);
	min-width: 0;
}

.site-search-field {
	min-height: 44px;
	border-radius: 14px;
	box-shadow: none;
}

.site-search-submit,
.site-search-reset {
	min-height: 34px;
	font-size: .76rem;
}

.theme-toggle {
	width: 40px;
	height: 40px;
	box-shadow: none;
}

.site-affiliate-notice {
	margin-top: 72px;
	padding-top: .65rem;
}

.site-affiliate-notice span {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-mute);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .025em;
}

.site-affiliate-notice span::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-right: .45rem;
	border-radius: 50%;
	background: var(--neon-pink);
	vertical-align: .12em;
}

/* Hero */
.home-hero,
.listing-hero {
	max-width: 1400px;
	margin-bottom: clamp(22px, 3vw, 34px);
	padding: 18px 20px 0;
}

.home-hero-inner,
.listing-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	grid-template-areas:
		"eyebrow metrics"
		"title metrics"
		"lead metrics";
	align-items: center;
	column-gap: clamp(28px, 5vw, 76px);
	row-gap: 8px;
	padding: clamp(28px, 4vw, 48px);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.home-hero-inner > *,
.listing-hero-inner > * {
	position: relative;
	z-index: 1;
}

.home-hero-inner::before,
.listing-hero-inner::before {
	width: 420px;
	height: 420px;
	top: -250px;
	right: -130px;
	opacity: .58;
}

.home-hero-inner::after,
.listing-hero-inner::after {
	width: 300px;
	height: 300px;
	left: -170px;
	bottom: -210px;
	opacity: .45;
}

.home-hero-eyebrow,
.listing-hero-eyebrow {
	grid-area: eyebrow;
	justify-self: start;
	margin: 0 0 2px;
	padding: .22rem .62rem;
	background: rgba(var(--neon-cyan-rgb), 0.08);
	font-size: .68rem;
}

.home-hero-title,
.listing-hero-title {
	grid-area: title;
	font-size: clamp(1.6rem, 3vw, 2.45rem);
	line-height: 1.3;
	background: none;
	-webkit-text-fill-color: currentColor;
}

.home-hero-lead,
.listing-hero-lead {
	grid-area: lead;
	max-width: 760px;
	margin: 2px 0 0;
	font-size: .94rem;
	line-height: 1.75;
}

.home-hero-metrics,
.listing-hero-metrics {
	grid-area: metrics;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	width: 100%;
	max-width: none;
	margin: 0;
}

.home-hero-metric,
.listing-hero-metric {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	min-height: 54px;
	padding: 10px 13px;
	border-color: var(--border-soft);
	border-radius: 11px;
	background: var(--surface-soft);
}

.home-hero-metric-value,
.listing-hero-metric-value {
	margin: 0;
	font-size: .94rem;
	text-align: right;
}

/* Listing toolbar and fluid card grid */
.listing-shell {
	max-width: 1400px;
	padding-inline: 20px;
}

.listing-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--border-soft);
}

.listing-toolbar .listing-head {
	margin: 0;
}

.listing-toolbar .search-menu {
	flex: 0 0 auto;
	min-width: 292px;
	margin: 0 !important;
	padding: .38rem .42rem !important;
	border-color: var(--border-soft);
	box-shadow: none;
}

.listing-head-kicker {
	font-size: .7rem;
}

.listing-head-title {
	font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.listing-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 18px;
	margin-right: 0;
	margin-left: 0;
}

.listing-grid > .media-card-wrap {
	width: auto;
	max-width: none;
	padding: 0;
}

.media-card {
	border-color: var(--border-soft);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.media-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-glow-cyan);
}

.media-card-content {
	gap: 10px;
	padding: .9rem .95rem 1rem !important;
}

.media-card-title {
	min-height: 3.15em;
	font-size: .91rem;
	font-weight: 600;
	line-height: 1.58;
	word-break: normal;
	overflow-wrap: anywhere;
}

.media-card-date {
	padding: .58rem 0 0 !important;
	border: 0;
	border-top: 1px solid var(--border-soft);
	border-radius: 0;
	background: transparent;
}

.media-card-date-label,
.media-card-date-value {
	font-size: .7rem;
	font-weight: 600;
}

/* Footer */
.footer_div {
	padding-top: 2rem !important;
	padding-bottom: 2rem !important;
	background: rgba(10, 13, 19, 0.38);
}

[data-theme="light"] .footer_div {
	background: rgba(255, 255, 255, 0.52);
}

.footer-links {
	gap: .5rem 1.25rem;
}

.footer-links > div {
	margin-bottom: 0 !important;
}

@media (min-width: 1400px) {
	.listing-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 1199.98px) {
	.header_navi .navbar-collapse {
		max-height: calc(100vh - 68px);
		padding: .75rem 0 1rem;
		overflow-y: auto;
	}

	.header-search-wrap {
		width: 100%;
		margin: .25rem 0 .75rem;
	}

	.navbar-nav .nav-link {
		padding: .62rem .75rem;
	}

	.site-affiliate-notice {
		margin-top: 68px;
	}
}

@media (max-width: 991.98px) {
	.home-hero,
	.listing-hero,
	.listing-shell {
		padding-right: 16px;
		padding-left: 16px;
	}

	.home-hero-inner,
	.listing-hero-inner {
		display: block;
		padding: clamp(24px, 6vw, 36px);
	}

	.home-hero-eyebrow,
	.listing-hero-eyebrow {
		display: inline-flex;
		margin-bottom: 10px;
	}

	.home-hero-lead,
	.listing-hero-lead {
		margin-top: 10px;
	}

	.home-hero-metrics,
	.listing-hero-metrics {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		margin-top: 20px;
	}

	.home-hero-metric,
	.listing-hero-metric {
		display: block;
	}

	.home-hero-metric-value,
	.listing-hero-metric-value {
		display: block;
		margin-top: 2px;
		text-align: left;
	}

	.listing-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.listing-toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
		padding-bottom: 16px;
	}

	.listing-toolbar .search-menu {
		width: 100%;
		min-width: 0;
	}

	.listing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 14px;
	}
}

@media (max-width: 519.98px) {
	body {
		font-size: .92rem;
	}

	.site-header-shell {
		padding-right: .75rem !important;
		padding-left: .75rem !important;
	}

	.navbar-brand {
		max-width: calc(100% - 100px);
	}

	.sitelogo,
	.navbar-brand img {
		max-width: 150px;
		height: 34px !important;
		object-fit: contain;
	}

	.site-affiliate-notice {
		padding-right: .75rem;
		padding-left: .75rem;
	}

	.home-hero,
	.listing-hero,
	.listing-shell {
		padding-right: 12px;
		padding-left: 12px;
	}

	.home-hero-inner,
	.listing-hero-inner {
		padding: 22px 18px;
		border-radius: 16px;
	}

	.home-hero-title,
	.listing-hero-title {
		font-size: clamp(1.42rem, 7vw, 1.72rem);
	}

	.home-hero-metrics,
	.listing-hero-metrics {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.listing-hero-metrics:has(.listing-hero-metric:nth-child(3)) .listing-hero-metric:first-child {
		grid-column: 1 / -1;
	}

	.listing-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.media-card {
		display: grid;
		grid-template-columns: minmax(132px, 42%) minmax(0, 1fr);
		min-height: 142px;
	}

	.media-card-media {
		height: 100%;
		min-height: 142px;
		padding-bottom: 0;
		border-right: 1px solid var(--border-soft);
		border-bottom: 0;
	}

	.media-card-content {
		justify-content: space-between;
		padding: .78rem .82rem !important;
	}

	.media-card-title {
		min-height: 0;
		font-size: .86rem;
		-webkit-line-clamp: 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
