/* JAV247 — main stylesheet.
   Tokens → base → chrome (header/sidebar/footer/dock) → components → sections → responsive. */

:root {
	--ink: #0b0c10;
	--surface: #15171e;
	--surface-2: #1d2029;
	--line: rgba(255, 255, 255, .08);
	--line-strong: rgba(255, 255, 255, .16);
	--text: #f3f4f7;
	--text-dim: #c9ccd4;
	--muted: #8b909c;
	--accent: #ff3b5c;
	--accent-2: #ff6a4d;
	--gold: #f4b942;
	--radius: 14px;
	--header-h: 56px;
	--side-w: 232px;
	--font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: rgba(255, 255, 255, .22) transparent; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font: 500 15px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center;
	height: var(--header-h);
	background: rgba(11, 12, 16, .92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header__brand { display: flex; align-items: center; gap: 6px; flex: 0 0 var(--side-w); padding: 0 12px; }
.site-header__actions {
	flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
	padding: 0 clamp(12px, 3vw, 28px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff; font-size: 11px; padding-left: 2px;
	box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}
.brand__word { font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand__word b { color: var(--accent); font-weight: 800; }

.icon-btn {
	display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto;
	border: 0; border-radius: 10px; background: transparent; color: var(--text-dim);
	transition: background .15s, color .15s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.search { flex: 1; max-width: 620px; margin: 0 auto; }
.search__field {
	display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
	color: var(--muted); transition: border-color .15s, background .15s;
}
.search__field:focus-within { border-color: var(--accent); background: var(--surface-2); color: var(--text); }
.search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.search__field input::placeholder { color: var(--muted); }
.search-toggle { display: none; margin-left: auto; }
.mobile-search { padding: 12px clamp(12px, 3vw, 28px) 0; }
.mobile-search[hidden] { display: none; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: 13px; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s;
}
.btn--ghost { border-color: var(--line-strong); color: var(--text-dim); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.btn--accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--accent:hover { transform: translateY(-1px); }

/* ---------- shell + sidebar ---------- */
.shell { display: flex; align-items: flex-start; }
.site-sidebar {
	position: sticky; top: var(--header-h); flex: 0 0 var(--side-w); width: var(--side-w);
	height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 14px 12px 24px;
	border-right: 1px solid var(--line); background: var(--ink);
	transition: margin-left .25s var(--ease), flex-basis .25s var(--ease);
	scrollbar-width: thin;
}
body.nav-collapsed .site-sidebar { margin-left: calc(var(--side-w) * -1); }
.side-nav a {
	display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 12px; border-radius: 10px;
	color: var(--text-dim); font-weight: 600; font-size: 14px; transition: background .15s, color .15s;
}
.side-nav a i { width: 18px; text-align: center; font-size: 15px; color: var(--muted); transition: color .15s; }
.side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a:hover i { color: var(--text); }
.side-nav a.is-active { background: color-mix(in srgb, var(--accent) 13%, transparent); color: #fff; }
.side-nav a.is-active i { color: var(--accent); }
.side-nav__title { margin: 22px 12px 8px; color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.nav-scrim { display: none; }

.stage { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: calc(100vh - var(--header-h)); }
.page-content {
	flex: 1; width: 100%; max-width: 1320px; margin: 0 auto;
	padding: 28px clamp(12px, 3vw, 28px) 56px;
	display: flex; flex-direction: column; gap: 56px;
}

/* ---------- section heading ---------- */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { font-weight: 800; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.1; letter-spacing: -.03em; }
.section-heading__link {
	display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 13px;
	transition: color .15s;
}
.section-heading__link i { font-size: 11px; transition: transform .2s var(--ease); }
.section-heading__link:hover { color: var(--accent); }
.section-heading__link:hover i { transform: translateX(3px); }

/* ---------- video card ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 11px; }
.video-card__thumb {
	position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
	background: var(--surface-2);
	box-shadow: inset 0 0 0 1px var(--line), 0 22px 36px -26px rgba(0, 0, 0, .9);
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.video-card:hover .video-card__thumb img { transform: scale(1.05); }
.video-card__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card__shade { position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(8, 9, 12, .82)); pointer-events: none; }
.video-card__type {
	position: absolute; top: 9px; left: 9px; padding: 3px 8px; border-radius: 6px;
	background: rgba(11, 12, 16, .72); backdrop-filter: blur(6px);
	font-weight: 700; font-size: 11px; color: var(--text);
}
.video-card__details {
	position: absolute; right: 9px; bottom: 8px; display: inline-flex; align-items: center; gap: 7px;
	font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
.video-card__details strong { font-weight: 800; }
.video-card__details span { color: rgba(255, 255, 255, .78); font-weight: 600; }
.video-card__play {
	position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px;
	border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; padding-left: 3px;
	opacity: 0; transform: scale(.7); transition: opacity .2s, transform .25s var(--ease);
	box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--accent) 80%, transparent);
}
.video-card:hover .video-card__play, .video-card__thumb:focus-visible .video-card__play { opacity: 1; transform: scale(1); }
.video-card__title {
	display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
	font-weight: 700; font-size: 14.5px; line-height: 1.35; transition: color .15s;
}
.video-card__title:hover { color: var(--accent); }
.video-card__meta { display: flex; align-items: center; gap: 7px; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 600; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }

/* ---------- rails (chips + avatars) ---------- */
.chip-rail, .avatar-rail {
	display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; cursor: grab;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chip-rail::-webkit-scrollbar, .avatar-rail::-webkit-scrollbar { display: none; }
.chip-rail.is-dragging, .avatar-rail.is-dragging { cursor: grabbing; user-select: none; }

.chip {
	--hue: 340;
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 6px 0 18px;
	border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
	background: hsl(var(--hue) 55% 14% / .9); border: 1px solid hsl(var(--hue) 60% 40% / .35);
	transition: transform .2s var(--ease), border-color .15s, background .15s;
}
.chip:hover { transform: translateY(-2px); border-color: hsl(var(--hue) 85% 62%); background: hsl(var(--hue) 55% 18%); }
.chip__count {
	display: grid; place-items: center; height: 34px; padding: 0 12px; border-radius: 999px;
	background: hsl(var(--hue) 70% 62% / .16); color: hsl(var(--hue) 90% 78%);
	font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}

.avatar-rail {
	display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 164px; gap: 22px 12px;
	scroll-snap-type: x proximity;
}
.avatar { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 4px; text-align: center; }
.avatar__img {
	width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--surface-2);
	box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--line-strong); transition: box-shadow .2s, transform .25s var(--ease);
}
.avatar__img img { width: 100%; height: 100%; object-fit: cover; }
.avatar:hover .avatar__img { transform: translateY(-3px); }
.avatar__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 13.5px; line-height: 1.25; color: var(--text-dim); }
.avatar:hover .avatar__name { color: #fff; }

/* ---------- channels ---------- */
.channel-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px 22px; }
.channel {
	display: flex; align-items: center; gap: 16px; padding: 8px; border-radius: var(--radius); min-width: 0;
	transition: background .15s;
}
.channel:hover { background: var(--surface); }
.channel__logo {
	flex: 0 0 128px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-2);
	box-shadow: inset 0 0 0 1px var(--line);
}
.channel__logo img { width: 100%; height: 100%; object-fit: cover; }
.channel__copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.channel__copy strong { font-weight: 800; font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel__copy small { color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- footer + dock ---------- */
.site-footer { margin-top: auto; padding: 36px clamp(12px, 3vw, 28px) 28px; border-top: 1px solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 64px; max-width: 1320px; margin: 0 auto; }
.site-footer__about { max-width: 320px; }
.site-footer__about p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.site-footer__links { display: flex; gap: clamp(32px, 8vw, 96px); }
.site-footer__links div { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links strong { font-weight: 800; font-size: 14px; margin-bottom: 2px; }
.site-footer__links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__copy { max-width: 1320px; margin: 28px auto 0; color: var(--muted); font-size: 12.5px; }

.mobile-dock { display: none; }

/* ---------- listing ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.listing-content { gap: 28px; }
.listing-header { display: flex; flex-direction: column; gap: 20px; }
.listing-header h1, .directory-heading h1 { font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.listing-section { display: flex; flex-direction: column; gap: 24px; }
.listing-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dropdown { position: relative; }
.filter-toggle {
	display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: 13px; transition: border-color .15s, background .15s;
}
.filter-toggle:hover, .filter-toggle[aria-expanded="true"] { border-color: var(--accent); background: var(--surface-2); }
.filter-toggle__badge { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; }
.dropdown-menu {
	position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 230px; padding: 8px;
	background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 28px 60px -20px #000;
}
.dropdown-menu[hidden] { display: none; }
.dropdown-menu__title { margin: 8px 10px 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--text-dim); }
.dropdown-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.dropdown-item.is-active { color: #fff; }
.dropdown-item.is-active i { color: var(--accent); font-size: 12px; }
.collection-search { flex: 1; max-width: 360px; }

.collection-banner {
	--hue: 340; display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 18px; max-width: 520px;
	background: hsl(var(--hue) 50% 13%); border: 1px solid hsl(var(--hue) 60% 40% / .35);
}
.collection-banner img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.collection-banner__copy { display: flex; flex-direction: column; gap: 3px; }
.collection-banner__copy strong { font-weight: 800; font-size: 18px; }
.collection-banner__copy span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.pagination__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 14px;
	border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
	transition: border-color .15s, background .15s;
}
a.pagination__link:hover { border-color: var(--accent); background: var(--surface-2); }
.pagination__link.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination__link.is-disabled { opacity: .4; }
.pagination__ellipsis { border-color: transparent; background: transparent; padding: 0 4px; min-width: 20px; color: var(--muted); }
.pagination__link i { font-size: 11px; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 72px 16px; color: var(--muted); }
.empty-state > i { font-size: 44px; color: var(--line-strong); }
.empty-state h1, .empty-state h2 { color: var(--text); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.empty-state p { max-width: 420px; }
.search--block { width: 100%; max-width: 420px; }

.listing-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.video-grid[hidden], .empty-state[hidden] { display: none; }
.video-card__remove {
	position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%;
	background: rgba(11, 12, 16, .78); color: #fff; font-size: 13px; opacity: 0; transition: opacity .15s, background .15s;
}
.video-card:hover .video-card__remove, .video-card__remove:focus-visible { opacity: 1; }
.video-card__remove:hover { background: var(--accent); }
@media (hover: none) { .video-card__remove { opacity: 1; } }

/* breadcrumbs + intro */
.crumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 600; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "\f054"; font: 900 9px "Font Awesome 6 Free"; margin: 0 9px; opacity: .55; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }
.listing-intro { max-width: 70ch; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* profile header */
.profile-header { display: flex; flex-direction: column; gap: 18px; }
.profile-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: var(--muted); font-weight: 700; font-size: 13px; }
.profile-back:hover { color: var(--accent); }
.profile-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.profile-avatar { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--accent); }
.profile-avatar.is-wide { width: 160px; height: 90px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-strong); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-summary__copy { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 8px; }
.profile-summary__copy h2 { font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.profile-metrics { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.profile-metrics strong { color: var(--text); font-weight: 800; margin-right: 3px; }

/* directory */
.directory-content { gap: 28px; }
.directory-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.directory-heading { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.directory-count { color: var(--muted); font-weight: 600; font-size: 14px; }
.directory-search { flex: 1; max-width: 380px; min-width: 240px; }
.directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px 18px; }
.directory-card__link { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius); transition: background .15s; }
.directory-card__link:hover { background: var(--surface); }
.directory-card__media { flex: 0 0 auto; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.directory-card--actress .directory-card__media { width: 64px; height: 64px; border-radius: 50%; }
.directory-card--channel .directory-card__media { width: 112px; aspect-ratio: 16 / 9; border-radius: 10px; }
.directory-card__media img { width: 100%; height: 100%; object-fit: cover; }
.directory-card__copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.directory-card__name { font-weight: 800; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.directory-card__count { color: var(--muted); font-size: 13px; font-weight: 600; }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.category-card {
	--hue: 340; position: relative; display: block; aspect-ratio: 8 / 5; border-radius: 16px; overflow: hidden;
	background: hsl(var(--hue) 45% 16%); box-shadow: inset 0 0 0 1px hsl(var(--hue) 60% 50% / .3);
}
.category-card__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, hsl(var(--hue) 70% 20% / .15), hsl(var(--hue) 60% 8% / .88)); }
.category-card:hover .category-card__cover { transform: scale(1.06); }
.category-card__count { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(11, 12, 16, .7); font-weight: 700; font-size: 12px; }
.category-card__name { position: absolute; z-index: 1; left: 16px; bottom: 14px; right: 16px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }

.prose-content { max-width: 820px; gap: 24px; }
.entry__title { font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; line-height: 1.15; }
.entry__title a:hover { color: var(--accent); }
.entry__body { color: var(--text-dim); line-height: 1.7; }
.entry__body a { color: var(--accent); }

.form-msg { min-height: 1.2em; font-size: 13px; font-weight: 600; color: var(--muted); }
.form-msg.is-ok { color: #5fd38d; }
.form-msg.is-error { color: #ff7a8a; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
	.site-header__brand { flex-basis: auto; }
	.site-sidebar {
		position: fixed; z-index: 60; top: 0; left: 0; height: 100vh; padding-top: 18px; margin-left: 0;
		transform: translateX(-100%); transition: transform .28s var(--ease); box-shadow: 30px 0 60px -30px #000;
	}
	body.nav-collapsed .site-sidebar { margin-left: 0; }
	body.nav-open .site-sidebar { transform: none; }
	.nav-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .25s; display: block; }
	body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
	.search { display: none; }
	.search-toggle { display: grid; }
	.site-header__actions { justify-content: flex-end; }
	.site-header__actions .search-toggle { margin-left: auto; }
}
@media (max-width: 640px) {
	.btn--ghost span, .btn--accent span { display: none; }
	.btn { width: 38px; padding: 0; }
	.page-content { gap: 44px; padding-bottom: 96px; }
	.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.video-card__title { font-size: 13.5px; }
	.avatar-rail { grid-auto-columns: 108px; gap: 16px 8px; }
	.channel__logo { flex-basis: 104px; }
	.site-footer { padding-bottom: 96px; }
	.mobile-dock {
		position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
		height: 62px; background: rgba(11, 12, 16, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
	}
	.mobile-dock a, .mobile-dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; border: 0; background: none; }
	.mobile-dock a i, .mobile-dock button i { font-size: 17px; }
	.mobile-dock a.is-active { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
