:root {
	--accent: #ff3d52;
	--accent-strong: #e9233a;
	--blue: #5c7cff;
	--bg: #0b0b0d;
	--surface: #151518;
	--surface-2: #1c1c20;
	--surface-3: #25252a;
	--text: #f6f7f9;
	--muted: #a4a6ae;
	--border: #2b2c32;
	--header-height: 68px;
	--sidebar-width: 238px;
	--content-max: 1720px;
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.daarstream-theme {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.5;
}

body.theme-light,
body.theme-light-default:not(.theme-dark) {
	--bg: #f6f7f9;
	--surface: #fff;
	--surface-2: #f0f1f4;
	--surface-3: #e6e7eb;
	--text: #17181c;
	--muted: #656870;
	--border: #dfe1e6;
	color-scheme: light;
}

body.admin-bar {
	--admin-offset: 32px;
}

body:not(.admin-bar) {
	--admin-offset: 0px;
}

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

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

.icon {
	display: block;
	width: 21px;
	height: 21px;
	flex: 0 0 auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--surface);
	color: var(--text);
}

.site-header {
	position: fixed;
	top: var(--admin-offset);
	right: 0;
	left: 0;
	z-index: 1000;
	display: grid;
	grid-template-columns: minmax(200px, 1fr) minmax(280px, 720px) minmax(200px, 1fr);
	align-items: center;
	height: var(--header-height);
	padding: 0 22px;
	border-bottom: 1px solid var(--border);
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	backdrop-filter: blur(14px);
}

.header-start,
.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-actions {
	justify-content: flex-end;
}

.icon-button {
	display: inline-grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--text);
	cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
	background: var(--surface-3);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	font-size: 20px;
	font-weight: 850;
}

.brand-logo {
	width: auto;
	max-width: 180px;
	height: 42px;
	object-fit: contain;
}

.brand-mark {
	display: grid;
	width: 36px;
	height: 28px;
	place-items: center;
	border-radius: 7px;
	background: var(--accent);
	color: #fff;
}

.brand-mark .icon {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.brand-name {
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.header-search {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 52px;
	width: 100%;
	height: 44px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
	overflow: visible;
}

.header-search:focus-within {
	border-color: var(--blue);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 22%, transparent);
}

.header-search input {
	min-width: 0;
	padding: 0 16px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
}

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

.header-search button {
	display: grid;
	place-items: center;
	border: 0;
	border-left: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text);
	cursor: pointer;
}

.search-suggestions {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 1200;
	padding: 7px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
}

.search-suggestions[hidden] {
	display: none;
}

.search-suggestions > a {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 11px;
	min-height: 52px;
	padding: 6px;
	border-radius: 6px;
}

.search-suggestions > a:hover,
.search-suggestions > a.is-active {
	background: var(--surface-2);
}

.search-suggestions img,
.search-suggestions__placeholder {
	display: block;
	width: 72px;
	height: 42px;
	border-radius: 5px;
	background: var(--surface-3);
	object-fit: cover;
}

.search-suggestions > a > span:last-child {
	display: grid;
	min-width: 0;
}

.search-suggestions strong {
	overflow: hidden;
	font-size: 13px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-suggestions small {
	color: var(--muted);
	font-size: 11px;
}

.search-suggestions__empty {
	margin: 0;
	padding: 14px;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.upload-link,
.login-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--border);
	border-radius: 7px;
	font-size: 14px;
	font-weight: 750;
}

.upload-link:hover,
.login-link:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.account-link img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.account-control {
	position: relative;
}

button.account-link {
	display: block;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

button.account-link:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

.account-menu {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1200;
	width: 280px;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
}

.account-menu[hidden] {
	display: none;
}

.account-menu header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin-bottom: 7px;
	padding: 8px 8px 14px;
	border-bottom: 1px solid var(--border);
}

.account-menu header img {
	border-radius: 50%;
}

.account-menu header div {
	display: grid;
	min-width: 0;
}

.account-menu header strong,
.account-menu header span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account-menu header span {
	color: var(--muted);
	font-size: 11px;
}

.account-menu > a {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 40px;
	padding: 0 10px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 650;
}

.account-menu > a:hover {
	background: var(--surface-2);
}

.theme-icon-light {
	display: none;
}

.mobile-search-toggle {
	display: none;
}

.theme-light .theme-icon-dark,
.theme-light-default:not(.theme-dark) .theme-icon-dark {
	display: none;
}

.theme-light .theme-icon-light,
.theme-light-default:not(.theme-dark) .theme-icon-light {
	display: block;
}

.site-layout {
	display: block;
	min-height: 100vh;
	padding-top: calc(var(--header-height) + var(--admin-offset));
}

.site-sidebar {
	position: fixed;
	top: calc(var(--header-height) + var(--admin-offset));
	bottom: 0;
	left: 0;
	z-index: 900;
	width: var(--sidebar-width);
	padding: 18px 12px 26px;
	overflow-y: auto;
	border-right: 1px solid var(--border);
	background: var(--bg);
	scrollbar-width: thin;
}

.sidebar-nav {
	display: grid;
	gap: 4px;
}

.sidebar-item {
	display: flex;
	align-items: center;
	gap: 15px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 7px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 650;
}

.sidebar-item:hover,
.sidebar-item.is-active {
	background: var(--surface-2);
	color: var(--text);
}

.sidebar-item.is-active .icon {
	color: var(--accent);
}

.sidebar-divider {
	height: 1px;
	margin: 16px 8px;
	background: var(--border);
}

.sidebar-label {
	margin: 0 14px 8px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.sidebar-categories {
	display: grid;
	gap: 3px;
}

.sidebar-categories a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 7px;
	color: var(--muted);
	font-size: 14px;
}

.sidebar-categories a:hover {
	background: var(--surface-2);
	color: var(--text);
}

.category-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--blue);
}

.sidebar-custom-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar-custom-menu a {
	display: block;
	padding: 8px 14px;
	color: var(--muted);
	font-size: 13px;
}

.sidebar-copy {
	margin: 20px 14px 0;
	color: var(--muted);
	font-size: 12px;
}

.sidebar-backdrop {
	display: none;
}

.site-main {
	width: calc(100% - var(--sidebar-width));
	max-width: var(--content-max);
	min-height: calc(100vh - var(--header-height));
	margin-left: var(--sidebar-width);
	padding: 22px 28px 80px;
}

body.sidebar-collapsed {
	--sidebar-width: 78px;
}

body.sidebar-collapsed .site-sidebar {
	padding-inline: 9px;
}

body.sidebar-collapsed .sidebar-item {
	justify-content: center;
	padding: 0;
}

body.sidebar-collapsed .sidebar-item span,
body.sidebar-collapsed .sidebar-label,
body.sidebar-collapsed .sidebar-categories,
body.sidebar-collapsed .sidebar-custom-menu,
body.sidebar-collapsed .sidebar-copy,
body.sidebar-collapsed .sidebar-divider {
	display: none;
}

.topic-chips {
	display: flex;
	gap: 9px;
	margin: -4px 0 20px;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.topic-chips::-webkit-scrollbar {
	display: none;
}

.topic-chips a {
	flex: 0 0 auto;
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: var(--surface-2);
	font-size: 13px;
	font-weight: 700;
}

.topic-chips a:hover,
.topic-chips a.is-active {
	border-color: var(--text);
	background: var(--text);
	color: var(--bg);
}

.featured-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 430px;
	margin-bottom: 38px;
	padding: 44px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 8px;
	background-color: var(--surface-2);
	background-position: center;
	background-size: cover;
	box-shadow: inset 0 -210px 160px -80px rgba(0, 0, 0, .9);
}

.featured-hero::before {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .22);
	content: "";
}

.featured-hero__content {
	position: relative;
	z-index: 1;
	max-width: 760px;
	color: #fff;
}

.featured-label,
.live-title-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 11px;
	padding: 5px 9px;
	border-radius: 5px;
	background: var(--accent);
	color: #fff;
	font-size: 11px;
	font-weight: 850;
}

.featured-label span,
.live-title-badge span,
.video-badge.is-live span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .22);
}

.hero-kicker {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 750;
}

.featured-hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: clamp(34px, 4.4vw, 62px);
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.02;
}

.hero-excerpt {
	max-width: 650px;
	margin: 16px 0 0;
	color: #e1e3e8;
	font-size: 16px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.button-primary,
.button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
}

.button-primary {
	background: var(--accent);
	color: #fff;
}

.button-primary:hover {
	background: var(--accent-strong);
	color: #fff;
}

.button-secondary {
	border-color: rgba(255, 255, 255, .25);
	background: rgba(12, 12, 14, .7);
	color: #fff;
}

.button-secondary img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.content-section {
	margin-top: 36px;
}

.section-heading,
.page-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 18px;
}

.section-heading h2,
.page-heading h1 {
	margin: 0;
	font-size: 27px;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.2;
}

.page-heading {
	align-items: center;
	min-height: 98px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.page-heading h1 {
	font-size: 34px;
}

.eyebrow {
	margin: 0 0 3px;
	color: var(--accent);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.section-heading > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 750;
}

.section-heading > a:hover {
	color: var(--text);
}

.result-count {
	padding: 7px 11px;
	border: 1px solid var(--border);
	border-radius: 6px;
	color: var(--muted);
	font-size: 13px;
	white-space: nowrap;
}

.archive-description {
	max-width: 760px;
	margin-top: 8px;
	color: var(--muted);
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 30px 18px;
}

.shorts-grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
}

.shorts-grid .video-card__media {
	aspect-ratio: 9 / 16;
}

.video-card {
	min-width: 0;
}

.video-card__media {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 7px;
	background: var(--surface-2);
	aspect-ratio: 16 / 9;
}

.video-card__media > a,
.video-card__media img,
.video-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.video-card__media > a {
	position: relative;
}

.card-play-indicator {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 48px;
	height: 40px;
	place-items: center;
	border-radius: 7px;
	background: rgba(8, 8, 10, .82);
	color: #fff;
	opacity: 0;
	transform: translate(-50%, -45%);
	transition: opacity .18s ease, transform .18s ease;
}

.card-play-indicator .icon {
	fill: currentColor;
}

.video-card:hover .card-play-indicator,
.video-card__media > a:focus-visible .card-play-indicator {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.video-card__media img {
	object-fit: cover;
	transition: transform .25s ease;
}

.video-card:hover .video-card__media img {
	transform: scale(1.025);
}

.video-placeholder {
	display: grid;
	place-items: center;
	background: var(--surface-3);
	color: var(--muted);
}

.video-placeholder .icon {
	width: 44px;
	height: 44px;
	fill: currentColor;
}

.video-badge {
	position: absolute;
	right: 7px;
	bottom: 7px;
	padding: 3px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .82);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.video-badge.is-live {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	right: auto;
	left: 7px;
	background: var(--accent);
}

.ds-progress-bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	height: 3px;
	background: rgba(255, 255, 255, .28);
}

.ds-progress-bar span {
	display: block;
	height: 100%;
	background: var(--accent);
}

.card-save {
	position: absolute;
	top: 7px;
	right: 7px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 0;
	border-radius: 6px;
	background: rgba(0, 0, 0, .76);
	color: #fff;
	opacity: 0;
	cursor: pointer;
	transition: opacity .2s ease;
}

.video-card:hover .card-save,
.card-save:focus-visible,
.card-save.is-active {
	opacity: 1;
}

.card-save.is-active {
	background: var(--accent);
}

.video-card__body {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 11px;
	padding-top: 12px;
}

.channel-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.video-card__content {
	min-width: 0;
}

.video-card__content h3 {
	display: -webkit-box;
	margin: 0 0 5px;
	overflow: hidden;
	font-size: 15px;
	font-weight: 760;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.video-card__content h3 a:hover {
	color: var(--accent);
}

.video-card__author,
.video-card__content p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.video-card__author:hover {
	color: var(--text);
}

.signin-prompt {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
	padding: 18px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
}

.signin-prompt > .icon {
	width: 30px;
	height: 30px;
	color: var(--blue);
}

.signin-prompt h2,
.signin-prompt p {
	margin: 0;
}

.signin-prompt h2 {
	font-size: 17px;
}

.signin-prompt p {
	color: var(--muted);
	font-size: 14px;
}

.empty-state {
	display: flex;
	min-height: 360px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 40px 20px;
	border: 1px dashed var(--border);
	border-radius: 8px;
	text-align: center;
}

.empty-state__icon {
	display: grid;
	width: 72px;
	height: 56px;
	place-items: center;
	border-radius: 8px;
	background: var(--surface-3);
	color: var(--accent);
}

.empty-state__icon .icon {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

.empty-state h1,
.empty-state h2 {
	margin: 18px 0 6px;
}

.empty-state p {
	max-width: 540px;
	margin: 0 0 20px;
	color: var(--muted);
}

.error-code {
	color: var(--accent);
	font-size: 72px;
	font-weight: 900;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 42px;
}

.nav-links .page-numbers {
	display: grid;
	min-width: 40px;
	height: 40px;
	place-items: center;
	padding: 0 10px;
	border: 1px solid var(--border);
	border-radius: 6px;
}

.nav-links .current,
.nav-links a:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.search-results-list {
	display: grid;
	max-width: 1150px;
	gap: 22px;
}

.search-result {
	display: grid;
	grid-template-columns: minmax(260px, 38%) 1fr;
	gap: 20px;
}

.search-result__media {
	overflow: hidden;
	border-radius: 7px;
	background: var(--surface-2);
	aspect-ratio: 16 / 9;
}

.search-result__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-result__content h2 {
	margin: 0 0 5px;
	font-size: 21px;
}

.result-meta,
.search-result__content > p {
	color: var(--muted);
	font-size: 13px;
}

.result-author {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 10px 0;
	color: var(--muted);
	font-size: 13px;
}

.result-author img {
	border-radius: 50%;
}

.standard-page {
	max-width: 900px;
	margin: 20px auto;
	padding: 32px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
}

.standard-page h1 {
	margin-top: 0;
	font-size: 40px;
}

.standard-page.is-platform-page {
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.standard-page.is-platform-page > .entry-content {
	max-width: none;
}

.standard-page.is-platform-page .entry-content a {
	color: inherit;
	text-decoration: none;
}

.entry-content {
	overflow-wrap: anywhere;
}

.entry-content a {
	color: var(--blue);
	text-decoration: underline;
}

.entry-content img,
.entry-content iframe {
	max-width: 100%;
}

.entry-content pre {
	overflow-x: auto;
}

.watch-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
	gap: 24px;
	max-width: 1540px;
	margin: 0 auto;
}

.watch-primary {
	min-width: 0;
}

.video-player {
	position: relative;
	display: grid;
	width: 100%;
	place-items: center;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
	aspect-ratio: 16 / 9;
}

.video-player iframe,
.video-player video,
.video-player .wp-video,
.video-player .mejs-container,
.video-player > img {
	width: 100% !important;
	height: 100% !important;
}

.video-player iframe,
.video-player video,
.video-player > img {
	border: 0;
	object-fit: contain;
}

.video-player .video-placeholder {
	background: #090909;
	color: #a7a7aa;
}

.player-message {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	background: rgba(0, 0, 0, .56);
	color: #fff;
	text-align: center;
}

.player-message span {
	display: grid;
	width: 56px;
	height: 44px;
	place-items: center;
	border-radius: 7px;
	background: var(--accent);
}

.watch-details h1 {
	margin: 14px 0 8px;
	font-size: 24px;
	font-weight: 820;
	letter-spacing: 0;
	line-height: 1.25;
}

.live-title-badge {
	margin: 16px 0 0;
}

.watch-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.watch-meta-row > p {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
}

.watch-actions {
	display: flex;
	gap: 5px;
}

.action-button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 0 11px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: var(--surface-2);
	color: var(--text);
	font-size: 13px;
	font-weight: 750;
	cursor: pointer;
}

.action-button.is-icon-only,
.watch-actions .ds-playlist-control > .action-button,
.watch-actions > .js-core-report-open {
	justify-content: center;
	width: 38px;
	padding: 0;
}

.watch-actions .ds-playlist-control > .action-button span,
.watch-actions > .js-core-report-open span {
	display: none;
}

.action-button:hover,
.action-button.is-active {
	border-color: var(--accent);
	color: var(--accent);
}

.action-button:disabled,
.subscribe-button:disabled,
.card-save:disabled {
	cursor: wait;
	opacity: .62;
}

.is-loading .icon {
	animation: daarstream-pulse .7s ease-in-out infinite alternate;
}

@keyframes daarstream-pulse {
	to { opacity: .3; }
}

.channel-panel {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	gap: 11px;
	padding: 14px 0;
}

.channel-panel__avatar img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
}

.channel-panel__row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-width: 0;
}

.channel-panel__row h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
}

.subscribe-button {
	min-height: 34px;
	padding: 0 14px;
	border: 0;
	border-radius: 7px;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.subscribe-button .label-on {
	display: none;
}

.subscribe-button.is-active {
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text);
}

.subscribe-button.is-active .label-on {
	display: inline;
}

.subscribe-button.is-active .label-off {
	display: none;
}

.video-description {
	padding: 18px;
	border-radius: 8px;
	background: var(--surface-2);
	font-size: 14px;
}

.video-description.is-collapsed .entry-content {
	position: relative;
	max-height: 4.7em;
	overflow: hidden;
}

.video-description.is-collapsed .entry-content::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2.3em;
	background: linear-gradient(to bottom, transparent, var(--surface-2));
	content: "";
	pointer-events: none;
}

.description-toggle {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.video-description .entry-content > :first-child {
	margin-top: 0;
}

.video-description .entry-content > :last-child {
	margin-bottom: 0;
}

.video-description > a[rel="category tag"] {
	display: inline-block;
	margin: 15px 5px 0 0;
	padding: 5px 8px;
	border: 1px solid var(--border);
	border-radius: 5px;
	color: var(--muted);
	font-size: 12px;
}

.related-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.related-heading h2,
.related-heading span {
	margin: 0;
}

.autoplay-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.autoplay-toggle input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.autoplay-toggle i {
	position: relative;
	display: block;
	width: 36px;
	height: 20px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface-3);
}

.autoplay-toggle i::after {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--muted);
	content: "";
	transition: transform .18s ease, background .18s ease;
}

.autoplay-toggle input:checked + i {
	border-color: var(--accent);
	background: color-mix(in srgb, var(--accent) 24%, var(--surface));
}

.autoplay-toggle input:checked + i::after {
	background: var(--accent);
	transform: translateX(16px);
}

.autoplay-toggle input:focus-visible + i {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.ds-player-toolbar {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 12;
	display: flex;
	gap: 6px;
	opacity: 0;
	transition: opacity .18s ease;
}

.video-player:hover .ds-player-toolbar,
.video-player:focus-within .ds-player-toolbar {
	opacity: 1;
}

.ds-player-toolbar button,
.ds-mini-close {
	display: grid;
	min-width: 38px;
	height: 36px;
	place-items: center;
	padding: 0 9px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 6px;
	background: rgba(8, 8, 10, .78);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	backdrop-filter: blur(8px);
}

.ds-player-toolbar button:hover,
.ds-player-toolbar button:focus-visible,
.ds-mini-close:hover,
.ds-mini-close:focus-visible {
	background: var(--accent);
}

.ds-mini-close {
	position: absolute;
	top: -13px;
	right: -13px;
	z-index: 15;
	display: none;
	width: 32px;
	min-width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
}

.ds-player-placeholder {
	height: 0;
}

body.mini-player-active .video-player {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 2000;
	width: min(420px, calc(100vw - 32px));
	height: auto;
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
	aspect-ratio: 16 / 9;
}

body.mini-player-active .ds-mini-close {
	display: grid;
}

body.mini-player-active .ds-player-toolbar {
	opacity: 1;
}

.related-heading h2 {
	font-size: 18px;
}

.related-heading span {
	color: var(--muted);
	font-size: 12px;
}

.watch-related .video-card {
	display: grid;
	grid-template-columns: 168px 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

.watch-related .video-card__body {
	display: block;
	padding: 2px 0 0;
}

.watch-related .channel-avatar {
	display: none;
}

.watch-related .video-card__content h3 {
	font-size: 14px;
	-webkit-line-clamp: 2;
}

.watch-related .card-save {
	display: none;
}

body.theater-mode .watch-layout {
	display: block;
	max-width: none;
}

body.theater-mode .video-player {
	max-height: calc(100vh - var(--header-height) - 32px);
	border-radius: 0;
}

body.theater-mode .watch-details,
body.theater-mode .comments-area,
body.theater-mode .watch-related {
	max-width: 1320px;
	margin-right: auto;
	margin-left: auto;
}

body.theater-mode .watch-related {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 36px;
}

body.theater-mode .watch-related .related-heading {
	grid-column: 1 / -1;
}

body.theater-mode .watch-related .video-card {
	display: block;
}

body.theater-mode .watch-related .video-card__body {
	display: grid;
	grid-template-columns: 40px 1fr;
	padding-top: 10px;
}

body.theater-mode .watch-related .channel-avatar {
	display: block;
}

.comments-area {
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.comments-title-row h2,
.comment-reply-title {
	font-size: 20px;
}

.comment-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .comment {
	margin: 22px 0;
}

.comment-body {
	position: relative;
	min-height: 44px;
	padding-left: 56px;
}

.comment-author .avatar {
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
}

.comment-author .fn {
	font-size: 14px;
	font-style: normal;
	font-weight: 750;
}

.comment-metadata a,
.reply a {
	color: var(--muted);
	font-size: 12px;
}

.comment-content {
	font-size: 14px;
}

.comment-list .children {
	list-style: none;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 7px;
	outline: 0;
	background: var(--surface);
	color: var(--text);
}

.comment-form textarea:focus,
.comment-form input:focus {
	border-color: var(--blue);
}

.comment-form .submit {
	min-height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 7px;
	background: var(--accent);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.mobile-nav {
	display: none;
}

.daar-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 3000;
	max-width: 330px;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: var(--text);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .26);
	color: var(--bg);
	font-size: 13px;
	font-weight: 700;
}

@media (max-width: 1180px) {
	.site-header {
		grid-template-columns: auto minmax(260px, 1fr) auto;
	}

	.site-sidebar {
		transform: translateX(-100%);
		transition: transform .22s ease;
	}

	.site-main,
	body.sidebar-collapsed .site-main {
		width: 100%;
		margin-left: 0;
	}

	body.sidebar-open .site-sidebar {
		transform: translateX(0);
	}

	.sidebar-backdrop {
		position: fixed;
		inset: calc(var(--header-height) + var(--admin-offset)) 0 0;
		z-index: 850;
		display: block;
		border: 0;
		background: rgba(0, 0, 0, .56);
		opacity: 0;
		pointer-events: none;
		transition: opacity .22s ease;
	}

	body.sidebar-open .sidebar-backdrop {
		opacity: 1;
		pointer-events: auto;
	}

	.watch-layout {
		grid-template-columns: 1fr;
	}

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

	.watch-related .related-heading {
		grid-column: 1 / -1;
	}

	.watch-related .video-card {
		display: block;
	}

	.watch-related .video-card__body {
		display: grid;
		grid-template-columns: 40px 1fr;
		padding-top: 10px;
	}

	.watch-related .channel-avatar {
		display: block;
	}
}

@media (max-width: 782px) {
	body.admin-bar {
		--admin-offset: 46px;
	}

	.site-header {
		grid-template-columns: auto 1fr auto;
		padding: 0 12px;
	}

	.brand-logo {
		max-width: 140px;
	}

	.header-search {
		position: absolute;
		top: calc(var(--header-height) + 8px);
		right: 12px;
		left: 12px;
		display: none;
		width: auto;
		box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
	}

	body.search-open .header-search {
		display: grid;
	}

	.site-brand {
		justify-self: start;
	}

	.brand-name {
		max-width: 120px;
	}

	.header-actions .upload-link span,
	.header-actions .login-link span {
		display: none;
	}

	.header-actions .upload-link {
		display: inline-flex;
		width: 40px;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
	}

	.mobile-search-toggle {
		display: inline-grid;
	}

	.header-actions .login-link {
		width: 40px;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
	}

	.site-main {
		padding: 16px 14px 92px;
	}

	.featured-hero {
		min-height: 390px;
		padding: 28px 22px;
	}

	.featured-hero h1 {
		font-size: 36px;
	}

	.video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 12px;
	}

	.watch-meta-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.watch-actions {
		width: 100%;
		overflow-x: auto;
	}

	.action-button {
		flex: 0 0 auto;
	}

	.mobile-nav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 950;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		min-height: 66px;
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 1px solid var(--border);
		background: color-mix(in srgb, var(--bg) 96%, transparent);
		backdrop-filter: blur(14px);
	}

	.mobile-nav a {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;
		color: var(--muted);
		font-size: 10px;
	}

	.mobile-nav a:hover {
		color: var(--accent);
	}

	.mobile-nav a.is-active {
		color: var(--accent);
	}

	.search-result {
		grid-template-columns: 42% 1fr;
		gap: 13px;
	}

	.search-result__content h2 {
		font-size: 17px;
	}

	.search-result__content > p:not(.result-meta) {
		display: none;
	}

	body.mini-player-active .video-player {
		right: 14px;
		bottom: calc(76px + env(safe-area-inset-bottom));
		width: min(390px, calc(100vw - 28px));
	}
}

@media (max-width: 560px) {
	.header-actions .theme-toggle {
		display: none;
	}

	.brand-logo {
		max-width: 110px;
	}

	.brand-name {
		display: none;
	}

	.site-header {
		grid-template-columns: auto auto 1fr;
	}

	.header-actions {
		margin-left: auto;
	}

	.featured-hero {
		min-height: 360px;
		margin-right: -14px;
		margin-left: -14px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.featured-hero h1 {
		font-size: 31px;
	}

	.hero-excerpt {
		display: none;
	}

	.video-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.page-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.page-heading h1 {
		font-size: 28px;
	}

	.section-heading h2 {
		font-size: 23px;
	}

	.card-save {
		opacity: 1;
	}

	.card-play-indicator,
	.ds-player-toolbar {
		opacity: 1;
	}

	.signin-prompt {
		grid-template-columns: auto 1fr;
	}

	.signin-prompt .button-primary {
		grid-column: 1 / -1;
	}

	.video-player {
		margin-right: -14px;
		margin-left: -14px;
		width: calc(100% + 28px);
		border-radius: 0;
	}

	.watch-details h1 {
		font-size: 21px;
	}

	.channel-panel {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.channel-panel__avatar img {
		width: 42px;
		height: 42px;
	}

	.subscribe-button {
		padding: 0 12px;
	}

	.watch-related {
		grid-template-columns: 1fr;
	}

	.search-result {
		grid-template-columns: 150px 1fr;
	}

	.search-result__content h2 {
		display: -webkit-box;
		overflow: hidden;
		font-size: 15px;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.result-author {
		display: none;
	}

	.standard-page {
		margin: 0;
		padding: 20px;
	}
}

@media (max-width: 390px) {
	.site-header {
		gap: 3px;
		padding: 0 6px;
	}

	.header-start,
	.header-actions {
		gap: 4px;
	}

	.icon-button,
	.header-actions .upload-link,
	.header-actions .login-link {
		width: 38px;
		height: 38px;
		min-height: 38px;
	}

	.brand-logo {
		max-width: 82px;
		height: 36px;
	}

	.account-menu {
		right: -2px;
		width: min(280px, calc(100vw - 12px));
	}

	.search-result {
		grid-template-columns: 118px minmax(0, 1fr);
	}
}

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