/* =========================================================
   Vybe 2 — main stylesheet
   ========================================================= */

@font-face {
	font-family: "Geist";
	src: url("../fonts/geist.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--vy-accent: #ff0033;
	--vy-accent2: #cc0029;
	--vy-grad: linear-gradient(135deg, var(--vy-accent), var(--vy-accent2));
	--vy-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--vy-pad: clamp(14px, 3vw, 32px);
	--vy-head-h: 64px;
	--vy-tab-h: 0px;
	--vy-ease: cubic-bezier(.2, .8, .2, 1);
	--vy-spring: cubic-bezier(.34, 1.4, .64, 1);

}

/* Colours. Light is the default; dark applies when <html data-mode="dark">.
   All theme variables use the --vy- prefix so plugins can never override them. */
:root, html[data-mode="light"] {
	--vy-bg: #f9f9f9;
	--vy-surface: #ffffff;
	--vy-raise: #efefef;
	--vy-line: rgba(0, 0, 0, .1);
	--vy-text: #0f0f0f;
	--vy-soft: #1f1f1f;
	--vy-muted: #606060;
	--vy-link: #065fd4;
	--vy-chip-on-bg: #0f0f0f;
	--vy-chip-on-text: #ffffff;
	--vy-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px -14px rgba(0, 0, 0, .18);
	--vy-glow: .28;
	color-scheme: light;
}

html[data-mode="dark"] {
	--vy-bg: #0f0f0f;
	--vy-surface: #1c1c1c;
	--vy-raise: #272727;
	--vy-line: rgba(255, 255, 255, .1);
	--vy-text: #f1f1f1;
	--vy-soft: #e3e3e3;
	--vy-muted: #aaaaaa;
	--vy-link: #3ea6ff;
	--vy-chip-on-bg: #f1f1f1;
	--vy-chip-on-text: #0f0f0f;
	--vy-shadow: none;
	--vy-glow: .5;
	color-scheme: dark;
}

html, body { background-color: var(--vy-bg) !important; color: var(--vy-text); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--vy-head-h) + 60px); }
body {
	margin: 0;
	background: var(--vy-bg);
	color: var(--vy-text);
	font: 400 15px/1.55 var(--vy-font);
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	padding-bottom: var(--vy-tab-h);
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--vy-accent); outline-offset: 2px; border-radius: 8px; }
.ic { width: 22px; height: 22px; flex: none; }
::selection { background: var(--vy-accent); color: #fff; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--vy-accent); width: 16px; height: 16px; vertical-align: -3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--vy-accent); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 10px; }

/* ---------- buttons ---------- */
.btn-grad {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
	background: var(--vy-accent); color: #fff;
	font: 600 14.5px/1 var(--vy-font); letter-spacing: -.01em;
	box-shadow: 0 8px 24px -12px var(--vy-accent);
	transition: transform .2s var(--vy-spring), box-shadow .2s;
}
.btn-grad:hover { background: var(--vy-accent2); transform: translateY(-1px); box-shadow: 0 12px 30px -10px var(--vy-accent); }
.btn-grad:active { transform: scale(.97); }
.btn-grad .ic { width: 18px; height: 18px; }

.icon-btn {
	width: 42px; height: 42px; display: grid; place-items: center;
	border: 0; border-radius: 14px; background: transparent; color: var(--vy-text);
	transition: background-color .2s;
}
.icon-btn:hover { background: var(--vy-raise); }

/* ---------- header ---------- */
.top {
	position: sticky; top: 0; z-index: 60;
	background: var(--vy-bg); background: color-mix(in srgb, var(--vy-bg) 78%, transparent);
	-webkit-backdrop-filter: blur(20px) saturate(1.8);
	backdrop-filter: blur(20px) saturate(1.8);
	padding-top: env(safe-area-inset-top, 0px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.top.is-stuck { border-bottom-color: var(--vy-line); }
.top-in {
	height: var(--vy-head-h); max-width: 1880px; margin: 0 auto;
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
	padding: 0 var(--vy-pad);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { max-height: 32px; width: auto; }
.brand-mark {
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	background: var(--vy-accent); color: #fff;
	box-shadow: 0 0 20px -4px var(--vy-accent);
}
.brand-mark .ic { width: 15px; height: 15px; margin-left: 2px; }
.brand-name { font: 700 19px/1 var(--vy-font); letter-spacing: -.04em; white-space: nowrap; }

.search {
	justify-self: center; width: 100%; max-width: 580px;
	display: flex; align-items: center; gap: 10px;
	height: 44px; padding: 0 8px 0 16px; border-radius: 14px;
	background: var(--vy-raise); border: 1px solid transparent; color: var(--vy-muted);
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.search:focus-within {
	background: var(--vy-surface); border-color: var(--vy-accent); border-color: color-mix(in srgb, var(--vy-accent) 55%, transparent);
	box-shadow: 0 0 0 4px transparent; box-shadow: 0 0 0 4px color-mix(in srgb, var(--vy-accent) 16%, transparent);
}
.search .ic { width: 19px; height: 19px; }
.search input {
	flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--vy-text);
	font: 400 15px var(--vy-font); outline: none;
}
.search input::placeholder { color: var(--vy-muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search-kbd {
	font: 500 12px var(--vy-font); color: var(--vy-muted);
	border: 1px solid var(--vy-line); border-radius: 6px; padding: 2px 7px;
}
.search-back { display: none; border: 0; background: none; padding: 0; color: var(--vy-text); }

.top-actions { display: flex; align-items: center; gap: 2px; grid-column: 3; justify-self: end; }
.only-m { display: none; }
.mode .ic-moon { display: none; }
[data-mode="light"] .mode .ic-sun { display: none; }
[data-mode="light"] .mode .ic-moon { display: block; }

/* chips */
.chips { max-width: 1880px; margin: 0 auto; padding: 2px var(--vy-pad) 12px; }
.chips-track {
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
	mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.chips-track::-webkit-scrollbar { display: none; }
.chip {
	flex: none; padding: 7px 14px; border-radius: 11px;
	background: var(--vy-raise); color: var(--vy-text);
	font: 550 13.5px/1.3 var(--vy-font); white-space: nowrap;
	transition: background-color .2s, transform .2s var(--vy-spring);
}
.chip:hover { background: var(--vy-raise); background: color-mix(in srgb, var(--vy-text) 14%, var(--vy-raise)); }
.chip:active { transform: scale(.95); }
.chip.is-on { background: var(--vy-chip-on-bg); color: var(--vy-chip-on-text); }

/* ---------- layout ---------- */
.main { padding: 14px var(--vy-pad) 56px; max-width: 1880px; margin: 0 auto; min-height: 60vh; }
.page-head { margin: 8px 0 26px; }
.page-title { font: 750 clamp(28px, 4vw, 44px)/1.05 var(--vy-font); letter-spacing: -.045em; margin: 0; }
.page-desc { color: var(--vy-muted); max-width: 64ch; margin-top: 10px; }
.page-desc p { margin: 0; }

/* ---------- grid + cards ---------- */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 36px 18px;
}
.card { min-width: 0; }
.card-thumb, .mini-thumb {
	display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden;
	background: var(--vy-raise); isolation: isolate;
}
.card-thumb { border-radius: 18px; box-shadow: var(--vy-shadow); transition: transform .35s var(--vy-ease), box-shadow .35s var(--vy-ease); }
.card-thumb img, .mini-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card:hover .card-thumb { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--vy-accent), 0 18px 40px -18px var(--vy-accent); }
.thumb-empty { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: grid; place-items: center; color: var(--vy-muted); }

.dur {
	position: absolute; right: 8px; bottom: 8px; z-index: 3;
	padding: 2px 7px; border-radius: 7px;
	background: rgba(0, 0, 0, .72); color: #fff;
	font: 600 12px/1.5 var(--vy-font); font-variant-numeric: tabular-nums;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* hover preview */
.peek-frame {
	position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; inset: -1px; z-index: 2; opacity: 0;
	transition: opacity .4s; pointer-events: none;
}
.peek-frame iframe { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; translate: -50% -50%; scale: 1.02; border: 0; pointer-events: none; }
.is-peeking .peek-frame.is-ready { opacity: 1; }
.is-peeking .dur { opacity: 0; }
.peek-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; background: rgba(255, 255, 255, .25); opacity: 0; transition: opacity .2s; }
.peek-bar i { display: block; height: 100%; width: 0; background: var(--vy-grad); }
.is-peeking .peek-bar { opacity: 1; }

.card-body { display: flex; flex-direction: column; gap: 5px; padding: 13px 2px 0; }
.card-title {
	margin: 0; font: 600 16px/1.3 var(--vy-font); letter-spacing: -.02em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a:hover { color: var(--vy-link); }
.card-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--vy-muted); }
.card-cat { color: var(--vy-text); font-weight: 550; }
.card-cat:hover { color: var(--vy-link); }
.card-ad { display: grid; place-items: center; }

.more { display: flex; justify-content: center; margin-top: 44px; }
.more-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 26px;
	border-radius: 999px; border: 1px solid var(--vy-line);
	background: var(--vy-surface); color: var(--vy-text); box-shadow: var(--vy-shadow);
	font: 600 14.5px var(--vy-font);
	transition: border-color .2s, transform .2s var(--vy-spring);
}
.more-btn:hover { border-color: var(--vy-accent); }
.more-btn:active { transform: scale(.97); }
.more-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.js .pager { display: none; }
.pager .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.pager .page-numbers { padding: 8px 13px; border-radius: 10px; background: var(--vy-raise); font-weight: 600; font-size: 14px; }
.pager .current { background: var(--vy-chip-on-bg); color: var(--vy-chip-on-text); }

.home-live { max-width: 1100px; margin: 4px auto 36px; }

/* ---------- empty / 404 ---------- */
.empty { max-width: 520px; margin: 8vh auto; text-align: center; }
.empty-title { font: 700 26px/1.2 var(--vy-font); letter-spacing: -.03em; margin: 0 0 8px; }
.empty p { color: var(--vy-muted); }
.big-404 {
	font: 800 clamp(100px, 22vw, 190px)/.85 var(--vy-font); letter-spacing: -.08em; margin: 0 0 12px;
	color: var(--vy-accent); text-shadow: 0 0 60px var(--vy-accent); text-shadow: 0 0 60px color-mix(in srgb, var(--vy-accent) 50%, transparent);
}
.search-inline { margin: 22px auto; max-width: 440px; justify-self: auto; }
.empty .more-btn { margin-top: 6px; }

/* ---------- watch page ---------- */
.watch {
	display: grid; gap: 24px 28px; max-width: 1760px; margin: 0 auto;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "main" "next" "comments";
}
.watch-main { grid-area: main; min-width: 0; }
.upnext { grid-area: next; min-width: 0; }
.watch-comments { grid-area: comments; min-width: 0; }
@media (min-width: 1100px) {
	.watch {
		grid-template-columns: minmax(0, 1fr) clamp(340px, 25vw, 420px);
		grid-template-areas: "main next" "comments next";
		align-items: start;
	}
	.upnext { position: sticky; top: calc(var(--vy-head-h) + 64px); max-height: calc(100vh - var(--vy-head-h) - 80px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
}

.stage { position: relative; isolation: isolate; }
.stage-glow {
	position: absolute; top: 12%; right: 8%; bottom: 6%; left: 8%; inset: 12% 8% 6%; z-index: -1;
	background-size: cover; background-position: center;
	filter: blur(48px) saturate(1.6); opacity: var(--vy-glow);
	pointer-events: none;
}
.stage-img { width: 100%; border-radius: 22px; }

.yt {
	position: relative; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: 22px; background: #000; cursor: pointer;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vy-ease), filter .3s; }
.yt:hover img { transform: scale(1.015); filter: brightness(.85); }
.yt iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
	position: absolute; left: 50%; top: 50%; translate: -50% -50%;
	width: 76px; height: 76px; border-radius: 50%; border: 0;
	display: grid; place-items: center;
	background: #fff; color: var(--vy-accent);
	box-shadow: 0 0 0 6px var(--vy-accent), 0 12px 50px -6px var(--vy-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--vy-accent) 60%, transparent), 0 12px 50px -6px var(--vy-accent);
	transition: scale .25s var(--vy-spring), box-shadow .25s;
}
.yt-play .ic { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt-play, .yt-play:focus-visible { scale: 1.08; box-shadow: 0 0 0 9px var(--vy-accent), 0 12px 60px -4px var(--vy-accent); }
.yt:not(.yt-main) .yt-play { width: 58px; height: 58px; }
.yt.is-on { cursor: auto; }
.entry .yt { margin: 1.2em 0; border-radius: 16px; }

.watch-info { padding: 18px 2px 0; }
.watch-title {
	font: 700 clamp(22px, 2.4vw, 30px)/1.18 var(--vy-font); letter-spacing: -.035em;
	margin: 0 0 14px; text-wrap: balance;
}
.watch-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.watch-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.watch-sub { display: flex; flex-direction: column; font-size: 13px; color: var(--vy-muted); line-height: 1.35; }
.watch-sub span { color: var(--vy-text); font-weight: 600; font-size: 14px; }
.pill {
	display: inline-flex; align-items: center; gap: 7px;
	height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
	background: var(--vy-raise); color: var(--vy-text);
	font: 600 14px/1 var(--vy-font);
	transition: background-color .2s;
}
.pill-cat:hover { background: var(--vy-raise); background: color-mix(in srgb, var(--vy-text) 14%, var(--vy-raise)); }

.desc {
	margin-top: 18px; padding: clamp(16px, 2vw, 24px);
	border-radius: 22px; background: var(--vy-surface);
	border: 1px solid var(--vy-line); box-shadow: var(--vy-shadow);
}
.crumbs { margin: 0 0 12px; font-size: 13px; color: var(--vy-muted); }
.crumbs a { color: var(--vy-text); font-weight: 500; }
.crumbs a:hover { color: var(--vy-link); }
.crumbs p { margin: 0; }
.tags { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { color: var(--vy-link); font-weight: 550; font-size: 14px; }
.tags a:hover { text-decoration: underline; }

/* write-up */
.entry { font-size: 16px; line-height: 1.75; color: var(--vy-soft); overflow-wrap: anywhere; }
.entry > :first-child { margin-top: 0; }
.entry > :last-child { margin-bottom: 0; }
.entry > p:first-of-type { font-size: 17.5px; line-height: 1.6; color: var(--vy-text); font-weight: 500; letter-spacing: -.01em; }
.entry p, .entry ul, .entry ol { max-width: 74ch; }
.entry strong, .entry b { color: var(--vy-text); font-weight: 650; }
.entry a { color: var(--vy-link); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-decoration-color: color-mix(in srgb, var(--vy-link) 35%, transparent); text-underline-offset: 3px; }
.entry a:hover { text-decoration-color: var(--vy-link); }
.entry h2, .entry h3, .entry h4 { color: var(--vy-text); letter-spacing: -.03em; line-height: 1.2; margin: 1.5em 0 .5em; }
.entry h2 { font-size: 22px; font-weight: 700; }
.entry h3 { font-size: 18.5px; font-weight: 650; }
.entry img, .entry figure img { border-radius: 14px; }
.entry figure { margin: 1.3em 0; }
.entry figcaption { color: var(--vy-muted); font-size: 13px; margin-top: 6px; }
.entry blockquote { margin: 1.3em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--vy-accent); color: var(--vy-text); font-weight: 500; }
.entry iframe { border: 0; border-radius: 14px; }
.entry .wp-block-embed { margin: 1.3em 0; }
.entry hr { border: 0; height: 1px; background: var(--vy-line); margin: 2em 0; }
/* Text colours pasted from other sites can't break dark/light mode */
.entry [style*="color"]:not(.wp-block-button__link), .entry .has-text-color { color: inherit !important; }
.entry [style*="background"]:not(.wp-block-button__link):not(img), .entry .has-background:not(.wp-block-button__link) { background: transparent !important; }
.entry input[type="email"], .entry input[type="text"], .comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea {
	width: 100%; padding: 12px 15px; border-radius: 14px; border: 1px solid var(--vy-line);
	background: var(--vy-raise); color: var(--vy-text); font: 15px var(--vy-font);
}
.entry input:focus, .comments input:focus, .comments textarea:focus { outline: none; border-color: var(--vy-accent); }
.entry button, .entry input[type="submit"], .entry .wp-block-button__link {
	border: 0; border-radius: 999px; padding: 12px 22px; background: var(--vy-accent) !important; color: #fff !important;
	font: 600 14.5px var(--vy-font); text-decoration: none;
}
.page-links { margin-top: 1em; display: flex; gap: 6px; }
.page-wrap { max-width: 820px; margin: 0 auto; }
.page-wrap .watch-title { font-size: clamp(30px, 4vw, 46px); margin: 18px 0 22px; }
.page-wrap .entry { padding: clamp(18px, 3vw, 32px); border-radius: 22px; background: var(--vy-surface); border: 1px solid var(--vy-line); box-shadow: var(--vy-shadow); }

/* up next */
.upnext-title { font: 700 18px var(--vy-font); letter-spacing: -.03em; margin: 0 0 14px; }
.upnext-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-link { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 12px; align-items: start; }
.mini-thumb { border-radius: 13px; transition: box-shadow .25s; }
.mini-link:hover .mini-thumb { box-shadow: 0 0 0 2px var(--vy-accent); }
.mini-thumb .dur { right: 5px; bottom: 5px; font-size: 11px; }
.mini-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 2px; }
.mini-title {
	font: 600 14px/1.32 var(--vy-font); letter-spacing: -.015em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-link:hover .mini-title { color: var(--vy-link); }
.mini-meta { display: flex; flex-direction: column; font-size: 12.5px; color: var(--vy-muted); line-height: 1.45; }

/* ---------- live card ---------- */
.live {
	position: relative; display: grid; place-items: center; align-content: center; gap: 22px;
	min-height: clamp(240px, 28vw, 340px); padding: 30px 20px 96px;
	border-radius: 28px; overflow: hidden; isolation: isolate; color: #fff;
	background: radial-gradient(120% 90% at 50% 25%, #3a0710 0%, #0f0f0f 65%);
	border: 1px solid transparent; border: 1px solid color-mix(in srgb, var(--vy-accent) 35%, transparent);
	box-shadow: 0 30px 80px -30px var(--vy-accent);
	transition: transform .35s var(--vy-ease), box-shadow .35s;
}
.live:hover { transform: translateY(-3px); box-shadow: 0 36px 80px -26px var(--vy-accent); }
.live-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .5; mix-blend-mode: luminosity; }
.live::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .7)); }
.live-play {
	width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
	background: #f4f4f4; color: var(--vy-accent);
	box-shadow: 0 0 0 8px #000, 0 0 50px var(--vy-accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--vy-accent) 45%, #000), 0 0 50px color-mix(in srgb, var(--vy-accent) 60%, transparent);
}
.live-play .ic { width: 34px; height: 34px; margin-left: 5px; }
.live-btn {
	display: inline-flex; align-items: center; gap: 8px;
	height: 50px; padding: 0 28px; border-radius: 999px;
	background: var(--vy-accent); background: color-mix(in srgb, var(--vy-accent) 85%, #000); border: 2px solid rgba(255, 255, 255, .7);
	box-shadow: 0 0 34px var(--vy-accent); box-shadow: 0 0 34px color-mix(in srgb, var(--vy-accent) 70%, transparent);
	font: 700 17px/1 var(--vy-font); letter-spacing: -.02em;
}
.live-btn .ic { width: 18px; height: 18px; color: #ffd84d; }
.live-info { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; text-align: left; }
.live-dot { width: 40px; height: 40px; border-radius: 50%; flex: none; border: 2px solid var(--vy-accent); position: relative; }
.live-dot::after {
	content: ""; position: absolute; top: 13px; right: 13px; bottom: 13px; left: 13px; inset: 13px; border-radius: 50%; background: #ff3b5c;
	animation: livepulse 1.6s ease-out infinite;
}
@keyframes livepulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .8); }
	100% { box-shadow: 0 0 0 14px rgba(255, 59, 92, 0); }
}
.live-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.live-title { font: 700 17px/1.2 var(--vy-font); letter-spacing: -.02em; }
.live-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.live-badge { padding: 3px 10px; border-radius: 999px; background: #ff3b5c; color: #fff; font: 700 12px/1.4 var(--vy-font); }
.watch-live { margin: 24px 0 0; }
.watch-live .live { min-height: clamp(220px, 20vw, 270px); }

/* ---------- ads ---------- */
.ad { display: flex; justify-content: center; margin: 20px auto; max-width: 100%; overflow: hidden; }
.ad-header { margin: 4px var(--vy-pad) 0; }
.ad-sidebar { margin-top: 0; }

/* ---------- comments ---------- */
.comments { padding: clamp(16px, 2vw, 24px); border-radius: 22px; background: var(--vy-surface); border: 1px solid var(--vy-line); box-shadow: var(--vy-shadow); }
.comments-title { font: 700 19px var(--vy-font); letter-spacing: -.03em; margin: 0 0 14px; }
.comment-reply-title { font: 600 15px var(--vy-font); margin: 0 0 8px; }
.comment-reply-title small { margin-left: 8px; font-size: 13px; }
.comment-form { display: grid; gap: 10px; margin-bottom: 24px; }
.comment-form p { margin: 0; }
.comment-form label { font-size: 13px; color: var(--vy-muted); display: block; margin-bottom: 4px; }
.comment-form .comment-form-cookies-consent label { display: inline; }
.comment-notes, .logged-in-as { font-size: 13px; color: var(--vy-muted); }
.comment-form .submit { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--vy-accent); color: #fff; font: 600 14.5px var(--vy-font); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: 52px; }
.comment-body { display: grid; gap: 4px; padding: 12px 0; position: relative; padding-left: 52px; }
.comment-author .avatar { position: absolute; left: 0; top: 14px; border-radius: 50%; }
.comment-author .fn { font: 650 14px var(--vy-font); font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12px; color: var(--vy-muted); }
.comment-content { color: var(--vy-soft); }
.comment-content p { margin: 4px 0; }
.reply a { font: 600 13px var(--vy-font); color: var(--vy-muted); }
.reply a:hover { color: var(--vy-text); }
.comments-closed { color: var(--vy-muted); }

/* ---------- sheets (explore, share) ---------- */
.sheet { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 120; display: grid; place-items: center; }
.sheet-scrim { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: rgba(5, 5, 12, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.sheet-panel {
	position: relative; width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 720px); overflow-y: auto;
	padding: 18px 20px 22px; border-radius: 28px;
	background: var(--vy-surface); border: 1px solid var(--vy-line);
	box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
	opacity: 0; translate: 0 24px; scale: .97;
	transition: opacity .25s, translate .35s var(--vy-spring), scale .35s var(--vy-spring);
}
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { opacity: 1; translate: 0 0; scale: 1; }
.sheet-grab { display: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head h2 { font: 700 20px var(--vy-font); letter-spacing: -.03em; margin: 0; }

.explore-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.xcat {
	display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px;
	background: var(--vy-raise); border: 1px solid transparent;
	transition: border-color .2s, transform .2s var(--vy-spring);
}
.xcat span { font-weight: 650; letter-spacing: -.015em; }
.xcat small { color: var(--vy-muted); font-size: 12.5px; }
.xcat:hover { border-color: transparent; border-color: color-mix(in srgb, var(--vy-text) 30%, transparent); }
.xcat:active { transform: scale(.97); }
.explore-menu { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--vy-line); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.explore-menu a { font-weight: 550; color: var(--vy-muted); }
.explore-menu a:hover { color: var(--vy-text); }

.nets { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 14px 8px; }
.net { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 550; color: var(--vy-soft); }
.net-ic {
	width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
	background: var(--vy-net); color: #fff; font: 700 20px var(--vy-font);
	box-shadow: 0 10px 24px -12px var(--vy-net);
	transition: transform .25s var(--vy-spring);
}
[data-mode="dark"] .net-ic[style*="#000000"] { background: #fff; color: #000; }
.net-ic svg { width: 26px; height: 26px; }
.net:hover .net-ic { transform: translateY(-3px) scale(1.04); }
.copy-row { display: flex; gap: 8px; margin-top: 20px; padding: 6px; border-radius: 999px; background: var(--vy-raise); }
.copy-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--vy-muted); padding: 0 14px; font: 14px var(--vy-font); outline: none; }

/* ---------- footer + tab bar ---------- */
.foot { border-top: 1px solid var(--vy-line); padding: 28px var(--vy-pad); color: var(--vy-muted); font-size: 13px; }
.foot-in { max-width: 1880px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.foot-menu a:hover { color: var(--vy-text); }
.foot-copy { margin: 0; }
.tabbar { display: none; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
	:root { --vy-head-h: 56px; --vy-tab-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
	.top-in { grid-template-columns: auto 1fr auto; gap: 8px; }
	.only-m { display: grid; }
	.only-d { display: none; }
	.search { display: none; }
	.top.search-on .search {
		display: flex; position: absolute; left: 10px; right: 10px; top: calc(env(safe-area-inset-top, 0px) + 6px);
		height: 44px; z-index: 3; max-width: none; background: var(--vy-surface);
		border-color: var(--vy-accent); border-color: color-mix(in srgb, var(--vy-accent) 55%, transparent);
	}
	.top.search-on .search-back { display: grid; place-items: center; }
	.top.search-on .search > .ic-search, .search-kbd { display: none; }
	.brand-name { font-size: 18px; }

	.tabbar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		height: var(--vy-tab-h); padding: 6px 8px env(safe-area-inset-bottom, 0px);
		background: var(--vy-bg); background: color-mix(in srgb, var(--vy-bg) 82%, transparent);
		-webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
		border-top: 1px solid var(--vy-line);
	}
	.tab {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		border: 0; background: none; color: var(--vy-muted); font: 600 11px var(--vy-font);
		border-radius: 14px; transition: color .2s, transform .2s var(--vy-spring);
	}
	.tab .ic { width: 23px; height: 23px; }
	.tab:active { transform: scale(.92); }
	.tab.is-on { color: var(--vy-text); }
	.tab.is-on .ic { color: var(--vy-accent); }
	.tab-live { color: #ff3b5c; }

	.sheet { place-items: end stretch; }
	.sheet-panel {
		width: 100%; max-height: 85vh; border-radius: 28px 28px 0 0; border-bottom: 0;
		padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
		translate: 0 100%; scale: 1;
	}
	.sheet-grab { display: block; width: 40px; height: 5px; border-radius: 9px; background: var(--vy-line); margin: -6px auto 12px; }
	.explore-cats { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 600px) {
	.main { padding-top: 8px; }
	.grid { gap: 26px; }
	.grid .card-thumb { margin: 0 calc(var(--vy-pad) * -1); border-radius: 0; box-shadow: none; }
	.grid .card:hover .card-thumb { transform: none; box-shadow: none; }
	.card-body { padding: 11px 0 0; }

	.is-watch .main { padding: 0 0 40px; }
	.is-watch .stage { position: sticky; top: calc(var(--vy-head-h) + env(safe-area-inset-top, 0px)); z-index: 40; }
	.is-watch .top .chips { display: none; }
	.is-watch .yt, .is-watch .stage-img { border-radius: 0; box-shadow: none; }
	.is-watch .stage-glow { display: none; }
	.is-watch .watch-info, .is-watch .upnext, .is-watch .watch-live, .is-watch .ad { padding-left: var(--vy-pad); padding-right: var(--vy-pad); }
	.is-watch .desc, .is-watch .comments { margin-left: var(--vy-pad); margin-right: var(--vy-pad); }
	.mini-link { grid-template-columns: 150px minmax(0, 1fr); }
	.live { border-radius: 24px; padding-bottom: 90px; }
	.live-play { width: 72px; height: 72px; }
	.live-btn { font-size: 15.5px; height: 46px; padding: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* inline search (404, empty results) always visible */
.search.search-inline { display: flex; position: static; }

/* ---------- full screen player (phones: Netflix-style) ---------- */
.watch-actions { display: flex; align-items: center; gap: 8px; }
.fs-btn .ic { width: 18px; height: 18px; }
.fs-ui {
	position: absolute; z-index: 6; display: none; gap: 8px;
	top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
}
.fs-ctl {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
	display: grid; place-items: center; color: #fff; opacity: .7;
	background: rgba(15, 15, 15, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	transition: opacity .2s;
}
.fs-ctl:hover, .fs-ctl:focus-visible { opacity: 1; }
.fs-ctl .ic { width: 19px; height: 19px; }
.is-fill [data-fs-fill] { background: var(--vy-accent); border-color: transparent; opacity: 1; }
.fs-hint {
	position: absolute; left: 50%; bottom: max(24px, env(safe-area-inset-bottom, 0px)); z-index: 6; margin: 0;
	translate: -50% 0; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
	background: rgba(15, 15, 15, .8); color: #fff; font: 600 13px var(--vy-font);
	opacity: 0; pointer-events: none; transition: opacity .3s;
}
.stage.show-hint .fs-hint { opacity: 1; }

/* real full screen (Android, desktop) and cover mode (iPhone) */
.stage.is-full, .stage:fullscreen, .is-watch .stage.is-cover {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh;
	display: grid; place-items: center; background: #000; margin: 0;
}
.stage:-webkit-full-screen { width: 100vw; height: 100vh; display: grid; place-items: center; background: #000; }
.stage.is-full .stage-glow, .stage:fullscreen .stage-glow, .stage.is-cover .stage-glow { display: none; }
.stage.is-full .yt, .stage:fullscreen .yt, .stage.is-cover .yt {
	width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none;
}
.stage.is-full .fs-ui, .stage:fullscreen .fs-ui, .stage.is-cover .fs-ui { display: flex; }
.stage.is-fill .yt iframe { transform: scale(var(--vy-fill, 1)); }
.fs-lock { overflow: hidden; }

/* phone turned sideways while a video is playing: the player takes the whole screen */
@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
	.is-watch .stage.has-started {
		position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 1000; width: 100vw; height: 100vh; height: 100dvh;
		display: grid; place-items: center; background: #000; margin: 0;
	}
	.is-watch .stage.has-started .stage-glow { display: none; }
	.is-watch .stage.has-started .yt { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
	.is-watch .stage.has-started .fs-ui { display: flex; }
	.is-watch .stage.has-started .fs-ui [data-fs-exit] { display: none; }
	body.is-watch:has(.stage.has-started) { overflow: hidden; }
}
@media (pointer: fine) {
	.fs-ui [data-fs-fill] { display: none; }
}

/* ---------- autoplay switch + up next countdown ---------- */
.ap-switch {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 6px;
	border: 0; border-radius: 999px; background: transparent; color: var(--vy-text); font: 600 14px var(--vy-font);
}
.ap-track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--vy-raise); transition: background-color .2s; }
.ap-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--vy-muted); transition: translate .25s var(--vy-spring), background-color .2s; }
.ap-switch[aria-checked="true"] .ap-track { background: var(--vy-raise); background: color-mix(in srgb, var(--vy-accent) 35%, var(--vy-raise)); }
.ap-switch[aria-checked="true"] .ap-knob { translate: 16px 0; background: var(--vy-accent); }

.next-card {
	position: absolute; z-index: 7; right: 16px; bottom: 16px; left: auto;
	display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center;
	width: min(440px, calc(100% - 32px)); padding: 10px;
	border-radius: 16px; background: rgba(15, 15, 15, .88); color: #fff;
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 20px 50px -20px #000, 0 0 30px -12px var(--vy-accent);
}
.next-card img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.nc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nc-text small { color: #aaa; font-size: 12px; }
.nc-text strong { font: 650 14px/1.3 var(--vy-font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-text span { color: #aaa; font-size: 12.5px; }
.nc-text b { color: #fff; font-variant-numeric: tabular-nums; }
.nc-btns { grid-column: 1 / -1; display: flex; gap: 8px; }
.nc-btns button { flex: 1; height: 36px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font: 600 13.5px var(--vy-font); }
.nc-btns .nc-play { background: var(--vy-accent); }
@media (max-width: 600px) {
	.next-card { right: 8px; bottom: 8px; width: calc(100% - 16px); grid-template-columns: 96px minmax(0, 1fr); padding: 8px; gap: 10px; }
	.next-card img { width: 96px; }
	.watch-actions { flex-wrap: wrap; }
}

/* ---------- on-site player controls ---------- */
.ctrl {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
	margin: 0 0 14px; padding: 8px 10px; border-radius: 18px;
	background: var(--vy-surface); border: 1px solid var(--vy-line); box-shadow: var(--vy-shadow);
}
.ctrl-play { display: flex; align-items: center; gap: 6px; }
.cb {
	position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-text);
	transition: background-color .2s, transform .2s var(--vy-spring), color .2s;
}
.cb:hover { background: var(--vy-raise); background: color-mix(in srgb, var(--vy-text) 14%, var(--vy-raise)); }
.cb:active { transform: scale(.9); }
.cb:disabled { opacity: .35; pointer-events: none; }
.cb .ic { width: 20px; height: 20px; }
.cb[data-go] .ic { width: 18px; height: 18px; }
.cb-dot { position: absolute; bottom: 7px; left: 50%; translate: -50% 0; width: 4px; height: 4px; border-radius: 50%; background: var(--vy-accent); opacity: 0; transition: opacity .2s; }
.cb[aria-pressed="true"] { color: var(--vy-accent); background: var(--vy-raise); background: color-mix(in srgb, var(--vy-accent) 14%, var(--vy-raise)); }
.cb[aria-pressed="true"] .cb-dot { opacity: 1; }
.ctrl-auto { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.watch-info .watch-title { margin-top: 2px; }
.actions {
	display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none;
	padding-bottom: 2px;
}
.actions::-webkit-scrollbar { display: none; }
.actions > * { flex: none; }
.pill .ic { width: 18px; height: 18px; }
.pill-count { margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: transparent; background: color-mix(in srgb, var(--vy-text) 12%, transparent); font-size: 12px; }
.pill-dl { border: 1px solid transparent; border: 1px solid color-mix(in srgb, var(--vy-accent) 45%, transparent); }
.pill-dl .ic { color: var(--vy-accent); }
.fs-ui .fs-ctl[data-go] .ic { width: 16px; height: 16px; }

/* video change animation */
.watch-info.slide-next { animation: slidenext .35s var(--vy-ease); }
.watch-info.slide-prev { animation: slideprev .35s var(--vy-ease); }
@keyframes slidenext { 50% { opacity: .2; translate: -24px 0; } }
@keyframes slideprev { 50% { opacity: .2; translate: 24px 0; } }

.vybe-toast {
	position: fixed; left: 50%; bottom: calc(var(--vy-tab-h) + 20px); z-index: 1100;
	translate: -50% 12px; opacity: 0; pointer-events: none;
	padding: 10px 18px; border-radius: 999px; background: rgba(15, 15, 15, .9); color: #fff;
	font: 600 13.5px var(--vy-font); box-shadow: 0 10px 30px -10px #000;
	transition: opacity .2s, translate .25s var(--vy-spring);
}
.vybe-toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- folded comments ---------- */
.cmt-head {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	border: 0; background: none; padding: 0; text-align: left; color: var(--vy-text);
}
.cmt-head .comments-title { margin: 0; }
.cmt-cta { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--vy-font); color: var(--vy-muted); }
.cmt-cta .ic { width: 18px; height: 18px; transition: rotate .25s var(--vy-ease); }
.comments.is-open .cmt-cta .ic { rotate: 180deg; }
.cmt-body { margin-top: 16px; }
.js .comments:not(.is-open) .cmt-body { display: none; }

/* ---------- download / sponsored panel ---------- */
.dl-real {
	display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px;
	background: var(--vy-raise); border: 1px solid var(--vy-line); margin-bottom: 14px;
}
.dl-real:hover { border-color: var(--vy-accent); }
.dl-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--vy-accent); color: #fff; flex: none; }
.dl-txt { display: flex; flex-direction: column; min-width: 0; }
.dl-txt small { color: var(--vy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-note { color: var(--vy-soft); margin: 0 0 14px; }
.dl-ad { position: relative; padding: 16px; border-radius: 18px; border: 1px dashed transparent; border: 1px dashed color-mix(in srgb, var(--vy-text) 25%, transparent); display: grid; gap: 8px; }
.dl-tag { justify-self: start; padding: 2px 9px; border-radius: 6px; background: var(--vy-raise); color: var(--vy-muted); font: 700 11px var(--vy-font); letter-spacing: .06em; text-transform: uppercase; }
.dl-ad-title { font: 700 17px var(--vy-font); letter-spacing: -.02em; }
.dl-ad-text { margin: 0; color: var(--vy-soft); }
.dl-ad-btn { justify-self: start; margin-top: 4px; }
.dl-foot { margin: 12px 0 0; color: var(--vy-muted); font-size: 12.5px; text-align: center; }

/* ---------- install app ---------- */
.explore-app {
	width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 14px;
	border: 0; border-radius: 16px; text-align: left; color: #fff; background: var(--vy-accent);
}
.explore-app span { display: flex; flex-direction: column; }
.explore-app small { opacity: .85; }
.ios-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--vy-soft); }
@media (display-mode: standalone) { [data-install] { display: none !important; } }

@media (max-width: 600px) {
	.ctrl { border-radius: 0; border-left: 0; border-right: 0; margin: 0 calc(var(--vy-pad) * -1) 14px; padding: 8px var(--vy-pad); }
	.cb { width: 42px; height: 42px; }
}

/* =========================================================
   v2.5 — search, playlist, fan links, player settings, dark mode
   ========================================================= */

/* ---------- modern search ---------- */
.search { position: relative; height: 46px; padding: 0 6px 0 6px; gap: 4px; border-radius: 999px; background: var(--vy-raise); border: 1px solid transparent; }
.search .search-ic { display: grid; place-items: center; width: 34px; color: var(--vy-muted); }
.search .search-ic .ic { width: 19px; height: 19px; }
.search input { font-size: 15px; padding: 0 2px; }
.search-clear, .search-go {
	flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: transparent; color: var(--vy-muted);
}
.search-clear:hover { background: transparent; background: color-mix(in srgb, var(--vy-text) 10%, transparent); color: var(--vy-text); }
.search-clear .ic { width: 17px; height: 17px; }
.search-go { background: var(--vy-accent); color: #fff; opacity: 0; scale: .7; transition: opacity .2s, scale .25s var(--vy-spring); }
.search-go .ic { width: 17px; height: 17px; }
.search.is-focus .search-go, .search:has(input:not(:placeholder-shown)) .search-go { opacity: 1; scale: 1; }
.search.is-focus .search-kbd, .search:has(input:not(:placeholder-shown)) .search-kbd { display: none; }
.search.is-focus { background: var(--vy-surface); border-color: var(--vy-accent); border-color: color-mix(in srgb, var(--vy-accent) 60%, transparent); box-shadow: 0 0 0 4px transparent, 0 20px 50px -25px rgba(0, 0, 0, .5); box-shadow: 0 0 0 4px color-mix(in srgb, var(--vy-accent) 15%, transparent), 0 20px 50px -25px rgba(0, 0, 0, .5); }
.search.is-focus .search-ic { color: var(--vy-accent); }
.search-kbd { margin-right: 6px; }

.suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 80;
	max-height: min(70vh, 520px); overflow-y: auto; padding: 6px;
	border-radius: 20px; background: var(--vy-surface); border: 1px solid var(--vy-line);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
}
.suggest.is-loading { opacity: .7; }
.sg-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 6px; font-size: 12.5px; color: var(--vy-muted); font-weight: 600; }
.sg-head button { border: 0; background: none; color: var(--vy-link); font: 600 12.5px var(--vy-font); }
.sg-row { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; color: var(--vy-text); }
.sg-row:hover, .sg-row.is-active { background: var(--vy-raise); }
.sg-row img { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; background: var(--vy-raise); }
.sg-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-muted); }
.sg-tx { display: flex; flex-direction: column; min-width: 0; }
.sg-tx strong { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-tx small { color: var(--vy-muted); font-size: 12px; }
.sg-all { border-top: 1px solid var(--vy-line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.sg-all strong { color: var(--vy-link); }
.sg-empty { margin: 0; padding: 12px; color: var(--vy-muted); font-size: 14px; }
@media (max-width: 860px) {
	.top.search-on .search { height: 46px; padding: 0 4px; }
	.top.search-on .search-ic { display: none; }
	.top.search-on .suggest { position: fixed; left: 8px; right: 8px; top: calc(env(safe-area-inset-top, 0px) + 60px); max-height: calc(100vh - 140px); }
}

/* ---------- control bar tools + playlist ---------- */
.ctrl-tools { display: flex; align-items: center; gap: 6px; }
.cb-badge {
	position: absolute; top: -4px; right: -6px; min-width: 22px; padding: 1px 5px; border-radius: 999px;
	background: var(--vy-accent); color: #fff; font: 700 10px/1.5 var(--vy-font); text-align: center;
}
[data-sleep-btn].is-on, .cb[data-eye][aria-pressed="true"] { color: var(--vy-accent); background: var(--vy-raise); background: color-mix(in srgb, var(--vy-accent) 14%, var(--vy-raise)); }
.cb[data-eye][aria-pressed="true"] .cb-dot { opacity: 1; }
.ctrl-tools .ap-switch { margin-left: 2px; }
.list-chip {
	flex-basis: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-radius: 12px;
	background: transparent; background: color-mix(in srgb, var(--vy-accent) 12%, transparent); color: var(--vy-text); font-size: 13.5px;
}
.list-chip > .ic { width: 15px; height: 15px; color: var(--vy-accent); }
.list-chip span { flex: 1; min-width: 0; }
.list-chip a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--vy-muted); }
.list-chip a:hover { background: var(--vy-raise); color: var(--vy-text); }
.list-chip a .ic { width: 15px; height: 15px; }

.page-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.playall {
	display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px;
	background: var(--vy-text); color: var(--vy-bg); font: 650 13.5px var(--vy-font);
	transition: transform .2s var(--vy-spring), background-color .2s;
}
.playall .ic { width: 22px; height: 22px; padding: 5px 4px 5px 6px; border-radius: 50%; background: var(--vy-accent); color: #fff; }
.playall:hover { background: var(--vy-accent); color: #fff; }
.playall:hover .ic { background: #fff; color: var(--vy-accent); }
.playall:active { transform: scale(.96); }

@media (max-width: 600px) {
	.ctrl { gap: 8px; }
	.ctrl-play, .ctrl-tools { gap: 4px; }
	.cb { width: 40px; height: 40px; }
	.ctrl-tools .ap-label { display: none; }
}

/* ---------- fan-link panel ---------- */
.sheet-fan { padding-top: 20px; }
.fan-x { position: absolute; top: 12px; right: 12px; z-index: 2; }
.fan-head { display: grid; justify-items: center; text-align: center; gap: 6px; margin: 4px 0 16px; }
.fan-head img { width: 168px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .7); margin-bottom: 6px; }
.fan-head h2 { margin: 0; font: 700 18px/1.25 var(--vy-font); letter-spacing: -.02em; max-width: 36ch; }
.fan-head p { margin: 0; color: var(--vy-muted); font-size: 13.5px; }
.fan-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fan-link {
	display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 10px; border-radius: 16px;
	background: var(--vy-raise); border: 1px solid transparent; color: var(--vy-text);
	transition: border-color .2s, transform .2s var(--vy-spring);
}
.fan-link:hover { border-color: transparent; border-color: color-mix(in srgb, var(--vy-text) 25%, transparent); }
.fan-link:active { transform: scale(.98); }
.fan-ic {
	width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
	background: var(--vy-brand, var(--vy-surface)); color: #fff;
}
.fan-ic:not([style]) { color: var(--vy-text); border: 1px solid var(--vy-line); }
.fan-ic svg { width: 22px; height: 22px; }
.fan-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fan-txt strong { font-weight: 650; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fan-txt small { color: var(--vy-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fan-sp { font-style: normal; font-weight: 700; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; border-radius: 5px; background: var(--vy-surface); margin-right: 6px; }
.fan-act { flex: none; height: 32px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; background: var(--vy-surface); font: 650 13px var(--vy-font); }
.fan-link.is-dl { background: var(--vy-raise); background: color-mix(in srgb, var(--vy-accent) 14%, var(--vy-raise)); }
.fan-link.is-dl .fan-act { background: var(--vy-accent); color: #fff; }
.sheet-fan .dl-note { text-align: center; font-size: 13.5px; color: var(--vy-muted); }
.sheet-fan .dl-ad { margin-top: 12px; }

/* ---------- player settings sheet ---------- */
.set-list { display: grid; gap: 4px; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--vy-line); }
.set-row.set-col { flex-wrap: wrap; }
.set-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-text); }
.set-ic .ic { width: 19px; height: 19px; }
.set-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.set-txt strong { font-weight: 650; }
.set-txt small { color: var(--vy-muted); font-size: 12.5px; }
.set-row .ap-switch { padding: 0; }
.seg { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-left: 50px; }
.seg button {
	height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--vy-line);
	background: transparent; color: var(--vy-text); font: 600 13px var(--vy-font);
}
.seg button[aria-checked="true"] { background: var(--vy-text); color: var(--vy-bg); border-color: transparent; }
.set-note { display: flex; gap: 10px; align-items: flex-start; margin: 10px 4px 0; color: var(--vy-muted); font-size: 12.5px; line-height: 1.5; }
.set-note .ic { width: 16px; height: 16px; margin-top: 2px; }

/* ---------- eye comfort (blue light filter) ---------- */
.eye-layer {
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 2147483000; pointer-events: none;
	background: rgba(255, 138, 30, .2); mix-blend-mode: multiply;
	opacity: 0; transition: opacity .4s;
}
.eye-on .eye-layer { opacity: 1; }
[data-mode="dark"].eye-on .eye-layer { background: rgba(255, 150, 40, .26); }
.eye-on .stage:fullscreen::after, .eye-on .stage.is-full::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 20; pointer-events: none;
	background: rgba(255, 145, 35, .24); mix-blend-mode: multiply;
}

/* ---------- dark mode: complete coverage ---------- */
html { background: var(--vy-bg); }
body, .main, .foot, .watch, .watch-main, .upnext { background-color: transparent; color: var(--vy-text); }
input, textarea, select, button { color: inherit; }
input::placeholder, textarea::placeholder { color: var(--vy-muted); opacity: 1; }
:where(input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], input[type="tel"], textarea, select):not(.search input) {
	background-color: var(--vy-raise); color: var(--vy-text); border: 1px solid var(--vy-line); border-radius: 12px;
}
.entry table, .entry th, .entry td { border-color: var(--vy-line) !important; color: inherit; }
.entry table { border-collapse: collapse; width: 100%; }
.entry th, .entry td { padding: 8px 10px; border: 1px solid var(--vy-line); }
.entry thead, .entry th { background: var(--vy-raise) !important; }
.entry pre, .entry code, .entry kbd { background: var(--vy-raise) !important; color: var(--vy-text) !important; border-radius: 8px; }
.entry pre { padding: 14px; overflow-x: auto; }
.entry code { padding: 2px 5px; }
.entry .wp-block-quote, .entry .wp-block-pullquote { color: var(--vy-text); border-color: var(--vy-accent); }
.entry mark { background: transparent; background: color-mix(in srgb, var(--vy-accent) 30%, transparent); color: var(--vy-text); }
.entry .wp-block-separator { border-color: var(--vy-line); background: var(--vy-line); }
.entry .wp-block-group.has-background, .entry .wp-block-columns.has-background, .entry .wp-block-cover:not(.has-background-dim) { color: var(--vy-text) !important; }
.entry figure.wp-block-table { overflow-x: auto; }
/* Plugins: Rank Math, Jetpack, WordPress widgets */
.rank-math-breadcrumb, .rank-math-breadcrumb a, .rank-math-breadcrumb span { color: var(--vy-muted) !important; background: transparent !important; }
#rank-math-toc, .wp-block-rank-math-toc-block, .rank-math-faq-item, .wp-block-rank-math-faq-block > div { background: var(--vy-raise) !important; color: var(--vy-text) !important; border-color: var(--vy-line) !important; border-radius: 14px; }
#rank-math-toc a, .wp-block-rank-math-toc-block a { color: var(--vy-link) !important; }
.wp-block-jetpack-subscriptions, .jetpack_subscription_widget, .wp-block-jetpack-subscriptions__container, .jetpack_subscription_widget form,
.sharedaddy, .sd-sharing, #jp-relatedposts, .jp-relatedposts-items, .comment-subscription-form, .wp-block-jetpack-related-posts {
	background: transparent !important; color: var(--vy-text) !important;
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a,
#jp-relatedposts h3.jp-relatedposts-headline, .sd-title, .jp-relatedposts-post-context, .jp-relatedposts-post-date { color: var(--vy-text) !important; }
.wp-block-jetpack-subscriptions input[type="email"], .jetpack_subscription_widget input[type="email"], .wp-block-jetpack-subscriptions__container input {
	background: var(--vy-raise) !important; color: var(--vy-text) !important; border: 1px solid var(--vy-line) !important; border-radius: 999px !important;
}
.wp-block-jetpack-subscriptions button, .wp-block-jetpack-subscriptions .wp-block-button__link, .jetpack_subscription_widget button, .jetpack_subscription_widget input[type="submit"] {
	background: var(--vy-accent) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
}
.sd-content ul li a.sd-button, .sd-social-icon-text .sd-content ul li a.sd-button {
	background: var(--vy-raise) !important; color: var(--vy-text) !important; border: 1px solid var(--vy-line) !important; box-shadow: none !important; text-shadow: none !important;
}
.comment-respond, .comment-form, .comment-list, .comment-body { background: transparent; color: var(--vy-text); }
.comment-subscription-form label, .comment-form label, .comment-subscription-form { color: var(--vy-muted) !important; }
.wp-block-search__input { background: var(--vy-raise) !important; color: var(--vy-text) !important; border: 1px solid var(--vy-line) !important; }
.wp-block-search__button { background: var(--vy-accent) !important; color: #fff !important; border: 0 !important; }
.wp-block-latest-posts a, .wp-block-categories a, .wp-block-archives a { color: var(--vy-link); }
.wp-caption, .gallery-caption, .wp-caption-text { color: var(--vy-muted); background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; background: color-mix(in srgb, var(--vy-text) 22%, transparent); border-radius: 9px; }
::-webkit-scrollbar-track { background: transparent; }

.set-row[data-install] { cursor: pointer; }
.set-go { flex: none; height: 32px; padding: 0 14px; border-radius: 999px; display: grid; place-items: center; background: var(--vy-accent); color: #fff; font: 650 13px var(--vy-font); }

/* ---------- action buttons (Comment, Full screen, Download, Share): always fit ---------- */
.actions {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
	gap: 8px; overflow: visible; max-width: 640px;
}
.actions > * { min-width: 0; justify-content: center; }
.actions .pill, .actions .btn-grad { width: 100%; padding: 0 12px; height: 42px; white-space: nowrap; }
.actions .lbl { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) {
	.actions { gap: 6px; max-width: none; }
	.actions .pill, .actions .btn-grad {
		flex-direction: column; gap: 4px; height: 58px; padding: 6px 4px; border-radius: 16px;
		font-size: 11.5px; line-height: 1.15; letter-spacing: 0;
	}
	.actions .ic { width: 20px; height: 20px; }
	.actions .pill-count { position: absolute; top: 4px; right: 6px; margin: 0; font-size: 10px; padding: 0 5px; }
	.actions .pill { position: relative; }
	.actions .btn-grad { box-shadow: none; }
}
@media (max-width: 340px) {
	.actions .pill, .actions .btn-grad { font-size: 10.5px; }
}

/* ---------- full screen controls: Netflix-style side rails (clear of YouTube's own top and bottom bars) ---------- */
.fs-ui {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 6; display: none; pointer-events: none;
	top: 0; right: 0; gap: 0;
}
.fs-side {
	position: absolute; top: 50%; translate: 0 -50%;
	display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none;
}
.fs-left { left: max(16px, env(safe-area-inset-left, 0px)); }
.fs-right { right: max(16px, env(safe-area-inset-right, 0px)); }
.fs-side .fs-ctl { pointer-events: auto; }
.fs-ctl.fs-big { width: 54px; height: 54px; }
.fs-ctl.fs-big .ic { width: 20px; height: 20px; }
.fs-ui .fs-ctl[data-go] .ic { width: 20px; height: 20px; }
.stage.is-full .fs-ui, .stage:fullscreen .fs-ui, .stage.is-cover .fs-ui { display: block; }
@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
	.is-watch .stage.has-started .fs-ui { display: block; }
}
@media (max-height: 420px) {
	.fs-side { gap: 10px; }
	.fs-ctl.fs-big { width: 46px; height: 46px; }
	.fs-ctl { width: 36px; height: 36px; }
}

/* ---------- Jetpack Related Posts: one line ---------- */
#jp-relatedposts .jp-relatedposts-items,
.wp-block-jetpack-related-posts .jp-related-posts-i2__row {
	display: flex !important; flex-wrap: nowrap !important; gap: 14px !important;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px;
	margin: 0 !important;
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post {
	float: none !important; flex: 1 0 0 !important; min-width: 180px; width: auto !important;
	margin: 0 !important; padding: 0 !important; opacity: 1 !important; scroll-snap-align: start;
}
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post img { width: 100% !important; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post-link { font-size: 14px !important; line-height: 1.35 !important; margin-top: 8px !important; }
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-date,
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post-context,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post-date,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post-context { font-size: 12.5px !important; color: var(--vy-muted) !important; }
@media (max-width: 640px) {
	#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,
	.wp-block-jetpack-related-posts .jp-related-posts-i2__post { flex: 0 0 62% !important; min-width: 0; }
}

/* ---------- playlists ---------- */
.card { position: relative; }
.card-save {
	position: absolute; top: 8px; right: 8px; z-index: 5;
	width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: rgba(15, 15, 15, .72); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	opacity: 0; scale: .85; transition: opacity .2s, scale .2s var(--vy-spring), background-color .2s;
}
.card-save .ic { width: 18px; height: 18px; }
.card:hover .card-save, .card:focus-within .card-save, .card-save:focus-visible { opacity: 1; scale: 1; }
.card-save:hover { background: var(--vy-accent); }
.card-save.is-saved { background: var(--vy-accent); opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .card-save { opacity: 1; scale: 1; width: 34px; height: 34px; } }
@media (max-width: 600px) { .grid .card-save { right: calc(var(--vy-pad) * -1 + 8px); } }
.cb[data-save-current][aria-pressed="true"] { color: var(--vy-accent); background: var(--vy-raise); background: color-mix(in srgb, var(--vy-accent) 14%, var(--vy-raise)); }
.cb[data-save-current][aria-pressed="true"] .cb-dot { opacity: 1; }

/* save sheet */
.save-item { display: flex; align-items: center; gap: 12px; padding: 8px; margin-bottom: 12px; border-radius: 14px; background: var(--vy-raise); }
.save-item img { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; flex: none; }
.save-item strong { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.save-lists { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; max-height: 40vh; overflow-y: auto; }
.save-row {
	width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; border-radius: 14px;
	background: transparent; color: var(--vy-text); text-align: left;
}
.save-row:hover { background: var(--vy-raise); }
.save-cover { width: 48px; height: 48px; flex: none; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-muted); }
.save-cover img { width: 100%; height: 100%; object-fit: cover; }
.save-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.save-txt strong { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.save-txt small { color: var(--vy-muted); font-size: 12.5px; }
.save-check { width: 26px; height: 26px; flex: none; border-radius: 8px; border: 2px solid var(--vy-line); display: grid; place-items: center; color: transparent; transition: background-color .2s, border-color .2s; }
.save-check .ic { width: 16px; height: 16px; }
.save-row[aria-checked="true"] .save-check { background: var(--vy-accent); border-color: var(--vy-accent); color: #fff; }
.save-new { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--vy-raise); }
.save-new input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 0 12px; font: 15px var(--vy-font); color: var(--vy-text); outline: none; }
.save-new .btn-grad { height: 38px; padding: 0 16px; }
.save-lib { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--vy-link); font-weight: 600; font-size: 14px; }
.save-lib .ic { width: 18px; height: 18px; }
.explore-lib {
	display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 14px; border-radius: 16px;
	background: var(--vy-raise); color: var(--vy-text);
}
.explore-lib > .ic { width: 22px; height: 22px; color: var(--vy-accent); }
.explore-lib span { display: flex; flex-direction: column; }
.explore-lib small { color: var(--vy-muted); }

/* playlist queue on the watch page */
.pl-qhead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 16px; background: var(--vy-surface); border: 1px solid var(--vy-line); }
.pl-qhead > div { flex: 1; min-width: 0; }
.pl-qhead small { color: var(--vy-muted); font-size: 12px; }
.pl-qhead .upnext-title { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-pos { color: var(--vy-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.pl-loop { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-text); }
.pl-loop .ic { width: 17px; height: 17px; }
.pl-loop[aria-pressed="true"] { background: var(--vy-accent); color: #fff; }
.pl-queue .mini { border-radius: 14px; padding: 4px; }
.pl-queue .mini.is-now { background: transparent; background: color-mix(in srgb, var(--vy-accent) 12%, transparent); }
.pl-now { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: #fff; }
.pl-now .ic { width: 22px; height: 22px; }
.pl-chip > span:first-child .ic { width: 15px; height: 15px; color: var(--vy-accent); }

/* library page */
.lib-head { display: flex; flex-direction: column; gap: 4px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 18px; }
.pl-card { display: grid; gap: 10px; }
.pl-open { padding: 0; border: 0; background: none; border-radius: 18px; }
.pl-cover {
	position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
	display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-muted);
	box-shadow: var(--vy-shadow);
}
.pl-cover::before {
	content: ""; position: absolute; left: 8%; right: 8%; top: -6px; height: 12px; border-radius: 10px 10px 0 0;
	background: transparent; background: color-mix(in srgb, var(--vy-text) 18%, transparent);
}
.pl-cover.is-quad { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; place-items: stretch; }
.pl-cover img { width: 100%; height: 100%; object-fit: cover; }
.pl-cover .ic { width: 34px; height: 34px; }
.pl-count {
	position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 8px;
	background: rgba(0, 0, 0, .75); color: #fff; font: 600 12px var(--vy-font);
}
.pl-open:hover .pl-cover { box-shadow: 0 0 0 2px var(--vy-accent), 0 18px 40px -18px var(--vy-accent); }
.pl-meta h2 { margin: 0 0 8px; font: 650 16px/1.3 var(--vy-font); letter-spacing: -.02em; }
.pl-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-play {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; border: 0; border-radius: 999px;
	background: var(--vy-text); color: var(--vy-bg); font: 650 14px var(--vy-font);
	transition: background-color .2s, transform .2s var(--vy-spring);
}
.pl-play .ic { width: 16px; height: 16px; }
.pl-play:hover { background: var(--vy-accent); color: #fff; }
.pl-play:active { transform: scale(.96); }
.pl-play:disabled { opacity: .4; pointer-events: none; }
.pl-ic { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-text); }
.pl-ic:hover { background: var(--vy-raise); background: color-mix(in srgb, var(--vy-text) 14%, var(--vy-raise)); }
.pl-ic .ic { width: 18px; height: 18px; }
.pl-del:hover { color: #fff; background: #d93025; }
.pl-dhead { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 26px; }
.pl-dinfo h2 { margin: 6px 0 4px; font: 750 clamp(24px, 3.4vw, 38px)/1.1 var(--vy-font); letter-spacing: -.04em; }
.pl-dinfo p { margin: 0 0 14px; color: var(--vy-muted); }
.pl-back { display: inline-flex; align-items: center; gap: 4px; color: var(--vy-muted); font-size: 13.5px; font-weight: 600; }
.pl-back .ic { width: 16px; height: 16px; }
.pl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 980px; }
.pl-item {
	display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px;
	background: var(--vy-surface); border: 1px solid var(--vy-line);
	transition: background-color .2s, opacity .2s;
}
.pl-item.is-drag { opacity: .4; }
.pl-item.is-over { border-color: var(--vy-accent); }
.pl-grip { color: var(--vy-muted); cursor: grab; display: grid; }
.pl-grip .ic { width: 16px; height: 16px; }
.pl-num { width: 22px; text-align: center; color: var(--vy-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.pl-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--vy-text); }
.pl-link img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; flex: none; }
.pl-link strong { font-weight: 600; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-link:hover strong { color: var(--vy-link); }
.pl-acts { display: flex; gap: 2px; }
.pl-acts button { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: transparent; color: var(--vy-muted); }
.pl-acts button:hover { background: var(--vy-raise); color: var(--vy-text); }
.pl-acts .ic { width: 17px; height: 17px; }
.pl-emptylist { color: var(--vy-muted); }
.pl-imp {
	display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 18px; align-items: center;
	padding: 14px; margin-bottom: 26px; border-radius: 22px;
	background: var(--vy-surface); border: 1px solid transparent; border: 1px solid color-mix(in srgb, var(--vy-accent) 40%, transparent); box-shadow: var(--vy-shadow);
}
.pl-imp small { color: var(--vy-accent); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.pl-imp h2 { margin: 2px 0; font: 700 20px var(--vy-font); letter-spacing: -.03em; }
.pl-imp p { margin: 0; color: var(--vy-muted); }
.lib-empty-art { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 24px; display: grid; place-items: center; background: var(--vy-accent); color: #fff; box-shadow: 0 20px 40px -18px var(--vy-accent); }
.lib-empty-art .ic { width: 34px; height: 34px; }
@media (max-width: 700px) {
	.pl-dhead { grid-template-columns: 1fr; }
	.pl-imp { grid-template-columns: 1fr; }
	.pl-grip, .pl-num { display: none; }
	.pl-link img { width: 92px; }
	.pl-acts button { width: 30px; height: 30px; }
}
@media (max-width: 380px) {
	.cb { width: 36px; height: 36px; }
	.cb .ic, .cb[data-go] .ic { width: 17px; height: 17px; }
	.ctrl-play, .ctrl-tools { gap: 2px; }
}

/* =========================================================
   v2.6.1
   ========================================================= */

/* Mobile search: keep the open search bar inside the screen */
@media (max-width: 860px) {
	.top.search-on .search {
		left: 12px; right: 12px; width: auto; max-width: calc(100vw - 24px); justify-self: stretch;
		padding: 0 6px 0 4px; box-sizing: border-box; overflow: hidden;
	}
	.top.search-on .search input { min-width: 0; padding: 0 6px; }
	.top.search-on .search-back, .top.search-on .search-clear, .top.search-on .search-go { flex: none; }
	.top.search-on .suggest { left: 12px; right: 12px; }
}

/* Mobile: single post title 2px smaller */
@media (max-width: 600px) {
	.is-watch .watch-title { font-size: 18px; }
}

/* Mobile: player control buttons back to the small size, on one line */
@media (max-width: 600px) {
	.ctrl { gap: 6px; padding-top: 6px; padding-bottom: 6px; }
	.ctrl-play, .ctrl-tools { gap: 3px; }
	.cb { width: 34px; height: 34px; }
	.cb .ic, .cb[data-go] .ic { width: 16px; height: 16px; }
	.cb-dot { bottom: 5px; }
	.ctrl-tools .ap-switch { padding: 0 2px 0 4px; height: 34px; }
	.ap-track { width: 32px; height: 18px; }
	.ap-knob { width: 14px; height: 14px; }
	.ap-switch[aria-checked="true"] .ap-knob { translate: 14px 0; }
}
@media (max-width: 340px) {
	.cb { width: 31px; height: 31px; }
	.cb .ic, .cb[data-go] .ic { width: 15px; height: 15px; }
}

/* Full screen side controls hide 3 s after the last touch; touch either edge to bring them back */
.fs-side { width: 76px; min-height: 50%; justify-content: center; pointer-events: auto; }
.fs-left { left: 0; padding-left: max(14px, env(safe-area-inset-left, 0px)); align-items: flex-start; }
.fs-right { right: 0; padding-right: max(14px, env(safe-area-inset-right, 0px)); align-items: flex-end; }
.fs-ctl { transition: opacity .3s, scale .3s var(--vy-spring); }
.stage.fs-idle .fs-ctl { opacity: 0 !important; scale: .85; pointer-events: none; }

/* Home and archive pages: boxed container (single posts unchanged) */
/* (v2.7.1) Desktop listing pages back to the full width used before 2.6.1 — the side gaps are gone.
   Phones keep the boxed cards from 2.7.0. */

/* =========================================================
   v2.7.0
   ========================================================= */

/* iPhone zooms the whole page in when you type in a box with text smaller than 16px,
   which pushed the page sideways ("overflow"). All typing boxes are 16px on phones now. */
@media (max-width: 860px) {
	input[type="text"], input[type="search"], input[type="email"], input[type="url"],
	input[type="password"], input[type="number"], input[type="tel"], textarea, select,
	.search input, .save-new input, .comments textarea, .comments input {
		font-size: 16px !important;
	}
}
/* Nothing may make the page wider than the screen. */
html, body { overflow-x: clip; max-width: 100%; }

/* Home page and archives on phones: boxed cards with rounded corners (single posts unchanged). */
@media (max-width: 600px) {
	body:not(.is-watch) .grid .card-thumb { margin: 0; border-radius: 14px; }
	body:not(.is-watch) .grid .card-save { right: 8px; }
	body:not(.is-watch) .card-body { padding: 10px 2px 0; }
}

/* =========================================================
   v2.7.1
   ========================================================= */

/* Compact mobile search bar */
@media (max-width: 860px) {
	.top.search-on .search {
		height: 40px; left: 16px; right: 16px; max-width: calc(100vw - 32px);
		padding: 0 4px; gap: 2px; top: calc(env(safe-area-inset-top, 0px) + 8px);
		border-radius: 999px; box-shadow: none;
	}
	.top.search-on .search input { height: 100%; padding: 0 4px; }
	.top.search-on .search-back, .top.search-on .search-clear, .top.search-on .search-go { width: 32px; height: 32px; }
	.top.search-on .search-back .ic, .top.search-on .search-clear .ic, .top.search-on .search-go .ic { width: 15px; height: 15px; }
	.top.search-on .suggest { left: 16px; right: 16px; top: calc(env(safe-area-inset-top, 0px) + 54px); }
}

/* Jetpack Related Posts: one line, scrolls by itself */
#jp-relatedposts .jp-relatedposts-items,
.wp-block-jetpack-related-posts .jp-related-posts-i2__row { scroll-behavior: smooth; scrollbar-width: none; }
#jp-relatedposts .jp-relatedposts-items::-webkit-scrollbar,
.wp-block-jetpack-related-posts .jp-related-posts-i2__row::-webkit-scrollbar { display: none; }
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,
.wp-block-jetpack-related-posts .jp-related-posts-i2__post { flex: 0 0 clamp(200px, 30%, 300px) !important; }
@media (max-width: 640px) {
	#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post,
	.wp-block-jetpack-related-posts .jp-related-posts-i2__post { flex: 0 0 70% !important; }
}

/* =========================================================
   v2.8.0
   ========================================================= */
.fs-sink { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; outline: none; }
.stage.fs-idle .fs-ctl { opacity: 0 !important; scale: .85; pointer-events: none; transition: opacity .35s, scale .35s; }

/* Featured rows on the home page */
.shelves { display: grid; gap: 34px; margin: 4px 0 40px; }
.shelf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.shelf-title { margin: 0; font: 750 clamp(19px, 2vw, 23px)/1.2 var(--vy-font); letter-spacing: -.03em; }
.shelf-title a:hover { color: var(--vy-link); }
.shelf-more { color: var(--vy-link); font-weight: 600; font-size: 14px; }
.shelf-nav { margin-left: auto; display: flex; gap: 6px; }
.shelf-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--vy-raise); color: var(--vy-text); }
.shelf-btn:hover { background: var(--vy-raise); background: color-mix(in srgb, var(--vy-text) 14%, var(--vy-raise)); }
.shelf-btn .ic { width: 15px; height: 15px; }
.shelf-row {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 23%, 330px); gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-row .card { scroll-snap-align: start; }
.latest-title { margin: 0 0 16px; font: 750 clamp(19px, 2vw, 23px)/1.2 var(--vy-font); letter-spacing: -.03em; }
@media (max-width: 600px) {
	.shelf-nav { display: none; }
	.shelf-row { grid-auto-columns: 78%; gap: 12px; }
	.shelf-row .card-thumb { margin: 0 !important; border-radius: 14px !important; }
	.shelf-row .card-save { right: 8px !important; }
}

/* Popular tags in the footer */
.tag-cloud { max-width: 1880px; margin: 0 auto 22px; padding: 0 var(--vy-pad); }
.tag-cloud-title { margin: 0 0 12px; font: 700 15px var(--vy-font); color: var(--vy-text); letter-spacing: -.01em; }
.tag-cloud-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tc {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	background: var(--vy-raise); color: var(--vy-text); font-weight: 550; line-height: 1.2;
	transition: background-color .2s, color .2s;
}
.tc span { font-size: 11px; color: var(--vy-muted); font-weight: 600; }
.tc:hover { background: var(--vy-accent); color: #fff; }
.tc:hover span { color: rgba(255, 255, 255, .8); }
.tc-1 { font-size: 12.5px; }
.tc-2 { font-size: 13.5px; }
.tc-3 { font-size: 14.5px; }
.tc-4 { font-size: 16px; font-weight: 650; }
.foot { padding-top: 28px; }

/* =========================================================
   v2.9.0
   ========================================================= */

/* Phones: the eye-comfort layer only exists while it's switched on (a full-screen
   blend layer that's always present makes phones redraw the whole page on every scroll). */
.eye-layer { display: none; }
.eye-on .eye-layer { display: block; }

/* Popular tags: no title, no numbers, compact */
.tag-cloud { margin-bottom: 16px; }
.tag-cloud-list { gap: 6px; }
.tc { padding: 4px 10px; font-weight: 550; }
.tc-1 { font-size: 12px; }
.tc-2 { font-size: 12.5px; }
.tc-3 { font-size: 13px; }
.tc-4 { font-size: 13.5px; font-weight: 650; }
@media (max-width: 600px) {
	.tag-cloud { padding: 0 var(--vy-pad); margin-bottom: 12px; }
	.tag-cloud-list {
		flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 5px;
		-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
	}
	.tag-cloud-list::-webkit-scrollbar { display: none; }
	.tc { flex: none; padding: 4px 9px; font-size: 12px !important; }
}

/* =========================================================
   Primary featured area ("spotlight")
   ========================================================= */
.spot { margin: 2px 0 38px; }
.spot-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.spot-kicker {
	display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px/1 var(--vy-font);
	letter-spacing: .12em; text-transform: uppercase; color: var(--vy-accent);
}
.spot-kicker::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--vy-accent); }
.spot-title { margin: 6px 0 0; font: 800 clamp(24px, 3.2vw, 38px)/1.05 var(--vy-font); letter-spacing: -.045em; }
.spot-title a:hover { color: var(--vy-accent); }
.spot-grid {
	display: grid; gap: 14px;
	grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-auto-rows: minmax(0, 1fr);
}
.spot-card { position: relative; min-width: 0; }
.spot-card.is-hero { grid-row: span 2; }
.spot-link {
	position: relative; display: block; height: 100%; min-height: 180px; aspect-ratio: 16 / 10;
	border-radius: 20px; overflow: hidden; isolation: isolate; background: #111; color: #fff;
	box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .7);
	transition: transform .4s var(--vy-ease), box-shadow .4s var(--vy-ease);
}
.spot-card.is-hero .spot-link { aspect-ratio: auto; min-height: 100%; }
.spot-img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--vy-ease); }
.spot-shade {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 65%, rgba(0, 0, 0, .92) 100%);
}
.spot-num {
	position: absolute; top: 10px; left: 14px; z-index: 4;
	font: 800 clamp(30px, 3.4vw, 46px)/1 var(--vy-font); letter-spacing: -.06em;
	color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
	text-shadow: 0 6px 24px rgba(0, 0, 0, .4);
}
.spot-card.is-hero .spot-num { font-size: clamp(48px, 6vw, 84px); top: 14px; left: 20px; }
.spot-play {
	position: absolute; right: 14px; bottom: 14px; z-index: 4;
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; color: var(--vy-accent);
	box-shadow: 0 0 0 5px transparent, 0 10px 30px -6px var(--vy-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--vy-accent) 45%, transparent), 0 10px 30px -6px var(--vy-accent);
	opacity: 0; scale: .7; transition: opacity .3s, scale .35s var(--vy-spring);
}
.spot-play .ic { width: 18px; height: 18px; margin-left: 3px; }
.spot-card.is-hero .spot-play { width: 64px; height: 64px; right: 22px; bottom: 22px; opacity: 1; scale: 1; }
.spot-card.is-hero .spot-play .ic { width: 24px; height: 24px; }
.spot-info {
	position: absolute; left: 14px; right: 66px; bottom: 14px; z-index: 4;
	display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.spot-card.is-hero .spot-info { left: 22px; right: 100px; bottom: 22px; gap: 8px; }
.spot-cat {
	align-self: flex-start; padding: 3px 9px; border-radius: 999px;
	background: var(--vy-accent); color: #fff; font: 700 11px/1.4 var(--vy-font); letter-spacing: .02em;
}
.spot-name {
	font: 700 15px/1.25 var(--vy-font); letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spot-card.is-hero .spot-name { font-size: clamp(20px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.035em; -webkit-line-clamp: 3; }
.spot-meta { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.spot-link .peek-frame { z-index: 2; }
.spot-link .peek-bar { z-index: 5; }
.spot-link:hover { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--vy-accent), 0 26px 60px -28px var(--vy-accent); }
.spot-link:hover .spot-img { transform: scale(1.06); }
.spot-link:hover .spot-play { opacity: 1; scale: 1; }
.spot-card .card-save { top: 12px; right: 12px; }
.spot-card:hover .card-save { opacity: 1; scale: 1; }
@media (max-width: 1100px) {
	.spot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.spot-card:nth-child(n+4) { display: none; }
}
@media (max-width: 700px) {
	.spot { margin-bottom: 30px; }
	.spot-head { align-items: center; }
	.spot-grid {
		display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; grid-auto-rows: auto;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px;
	}
	.spot-grid::-webkit-scrollbar { display: none; }
	.spot-card, .spot-card:nth-child(n+4) { display: block; scroll-snap-align: start; }
	.spot-card.is-hero { grid-row: auto; }
	.spot-link, .spot-card.is-hero .spot-link { aspect-ratio: 4 / 5; min-height: 0; border-radius: 22px; }
	.spot-num, .spot-card.is-hero .spot-num { font-size: 56px; }
	.spot-play, .spot-card.is-hero .spot-play { width: 52px; height: 52px; opacity: 1; scale: 1; right: 16px; bottom: 16px; }
	.spot-info, .spot-card.is-hero .spot-info { left: 16px; right: 80px; bottom: 18px; }
	.spot-name, .spot-card.is-hero .spot-name { font-size: 21px; -webkit-line-clamp: 3; }
	.spot-card .card-save { opacity: 1; scale: 1; }
}

/* =========================================================
   v2.10.0
   ========================================================= */

/* Home: optional heading above the secondary featured rows */
.sec-title { margin: 0 0 16px; font: 750 clamp(19px, 2vw, 23px)/1.2 var(--vy-font); letter-spacing: -.03em; }

/* Footer tags on phones: endless scroll */
.tag-cloud-list.is-marquee { overflow: hidden; display: block; }
.tc-track { display: flex; width: max-content; animation: vybe-tc var(--tc-dur, 40s) linear infinite; will-change: transform; }
.tc-group { display: flex; gap: 5px; padding-right: 5px; flex: none; }
.tag-cloud-list.is-paused .tc-track, .tag-cloud-list.is-off .tc-track { animation-play-state: paused; }
@keyframes vybe-tc { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Default red logo: slow zoom + soft glow "blink" (only the built-in logo, not an uploaded one) */
.brand-mark { position: relative; animation: vybe-logo-zoom 3.2s ease-in-out infinite; }
.brand-mark::after {
	content: ""; position: absolute; top: -4px; right: -4px; bottom: -4px; left: -4px; inset: -4px; border-radius: 50%; pointer-events: none;
	box-shadow: 0 0 18px 2px var(--vy-accent); opacity: .15;
	animation: vybe-logo-glow 3.2s ease-in-out infinite;
}
@keyframes vybe-logo-zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes vybe-logo-glow { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }

/* =========================================================
   Phones: lighter effects so scrolling never stalls
   (frosted-glass blur on fixed bars is the heaviest thing a phone can draw while scrolling)
   ========================================================= */
@media (max-width: 860px) {
	body.phone-lite .top, body.phone-lite .tabbar {
		-webkit-backdrop-filter: none !important; backdrop-filter: none !important;
		background: var(--vy-bg) !important; background: color-mix(in srgb, var(--vy-bg) 97%, transparent) !important;
	}
	body.phone-lite .sheet-scrim, body.phone-lite .dur, body.phone-lite .card-save,
	body.phone-lite .fs-ctl, body.phone-lite .next-card, body.phone-lite .search {
		-webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	}
	body.phone-lite .sheet-scrim { background: rgba(5, 5, 12, .6); }
	body.phone-lite .card-thumb, body.phone-lite .spot-link, body.phone-lite .live { box-shadow: none; }
	body.phone-lite .live-dot::after { animation-duration: 2.4s; }
}

/* =========================================================
   v2.11.0 — Primary featured area, clean & animated
   ========================================================= */
.spot-v2 .spot-grid {
	display: grid; gap: 18px; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	grid-auto-rows: auto; align-items: stretch; overflow: visible;
}
.spot-hero { position: relative; min-width: 0; display: flex; flex-direction: column; }
.spot-media {
	position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
	background: var(--vy-raise); isolation: isolate;
}
.spot-media .spot-img, .spot-thumb .spot-img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot-hero .spot-img { animation: vybe-kenburns 16s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.spot-v2.is-off .spot-hero .spot-img { animation-play-state: paused; }
@keyframes vybe-kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.spot-rank {
	position: absolute; top: 10px; left: 10px; z-index: 4;
	display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 999px;
	background: #fff; color: #0f0f0f; font: 750 12.5px/1 var(--vy-font); letter-spacing: -.01em;
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
}
.spot-rank.is-top { top: 14px; left: 14px; height: 30px; padding: 0 12px 0 10px; font-size: 13.5px; background: var(--vy-accent); color: #fff; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: vybe-eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes vybe-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.spot-v2.is-off .eq i { animation-play-state: paused; }
.spot-media .dur, .spot-thumb .dur { z-index: 4; }
.spot-media .peek-frame, .spot-thumb .peek-frame { z-index: 2; }
.spot-media .peek-bar, .spot-thumb .peek-bar { z-index: 5; }
.spot-hero > .card-save { top: 14px; right: 14px; }

.spot-panel {
	position: relative; z-index: 3; margin: -46px 16px 0; padding: 16px 16px 16px 20px;
	display: flex; align-items: center; gap: 16px;
	border-radius: 20px; background: var(--vy-surface); border: 1px solid var(--vy-line);
	box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .45);
	transition: transform .4s var(--vy-ease), box-shadow .4s var(--vy-ease);
}
.spot-hero:hover .spot-panel { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .5); }
.spot-panel-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.spot-v2 .spot-cat {
	align-self: flex-start; padding: 3px 10px; border-radius: 999px;
	background: transparent; background: color-mix(in srgb, var(--vy-accent) 12%, transparent); color: var(--vy-accent);
	font: 700 11.5px/1.5 var(--vy-font); letter-spacing: .02em;
}
.spot-name { margin: 0; font: 750 clamp(18px, 1.9vw, 26px)/1.18 var(--vy-font); letter-spacing: -.035em; color: var(--vy-text); text-shadow: none; }
.spot-name a:hover, .spot-row-name a:hover { color: var(--vy-accent); }
.spot-v2 .spot-meta { font-size: 12.5px; color: var(--vy-muted); }
.spot-go {
	flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: var(--vy-accent); color: #fff; position: relative;
	transition: transform .25s var(--vy-spring);
}
.spot-go .ic { width: 22px; height: 22px; margin-left: 3px; }
.spot-go::before {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; border-radius: 50%; border: 2px solid var(--vy-accent);
	animation: vybe-ring 2.4s ease-out infinite;
}
@keyframes vybe-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.spot-v2.is-off .spot-go::before { animation-play-state: paused; }
.spot-go:hover { transform: scale(1.08); }

.spot-list { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.spot-row {
	position: relative; display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; align-items: center;
	padding: 6px; border-radius: 18px; transition: background-color .25s;
}
.spot-row:hover { background: var(--vy-raise); }
.spot-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--vy-raise); isolation: isolate; }
.spot-thumb .spot-img { transition: transform .6s var(--vy-ease); }
.spot-row:hover .spot-thumb .spot-img { transform: scale(1.06); }
.spot-row-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.spot-row-name {
	margin: 0; font: 650 14.5px/1.3 var(--vy-font); letter-spacing: -.015em; color: var(--vy-text);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spot-row .card-save { top: 12px; right: auto; left: calc(44% - 38px); width: 30px; height: 30px; }
.spot-row .card-save .ic { width: 15px; height: 15px; }
.spot-row:hover .card-save { opacity: 1; scale: 1; }

/* Entrance: cards rise in one after another when the area scrolls into view */
.js .spot-v2 .spot-anim { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--vy-ease), transform .6s var(--vy-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .spot-v2.is-in .spot-anim { opacity: 1; transform: none; }

@media (max-width: 1100px) {
	.spot-v2 .spot-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.spot-v2 .spot-row:nth-child(n+4) { display: none; }
}
@media (max-width: 760px) {
	.spot-v2 .spot-grid { display: flex; flex-direction: column; gap: 14px; overflow: visible; }
	.spot-media { border-radius: 18px; }
	.spot-panel { margin: -34px 10px 0; padding: 12px 12px 12px 14px; gap: 12px; border-radius: 16px; }
	.spot-name { font-size: 18px; }
	.spot-go { width: 46px; height: 46px; }
	.spot-go .ic { width: 18px; height: 18px; }
	.spot-v2 .spot-row:nth-child(n+4) { display: grid; }
	.spot-row { grid-template-columns: 40% minmax(0, 1fr); padding: 4px; }
	.spot-row .card-save { left: calc(40% - 34px); opacity: 1; scale: 1; }
	.spot-hero > .card-save { opacity: 1; scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.js .spot-v2 .spot-anim { opacity: 1; transform: none; }
}

/* Logo: keep the slow zoom, remove the glow/shadow around the circle */
.brand-mark { box-shadow: none !important; }
.brand-mark::after { content: none !important; display: none !important; }

/* Jetpack sharing buttons readable in dark mode (classic and block versions) */
html[data-mode="dark"] .sharedaddy .sd-title, html[data-mode="dark"] .sd-sharing .sd-title { color: var(--vy-text) !important; }
html[data-mode="dark"] .sd-content ul li a.sd-button,
html[data-mode="dark"] .sd-content ul li a.sd-button span,
html[data-mode="dark"] .sd-content ul li a.sd-button > span,
html[data-mode="dark"] .sd-social-icon-text .sd-content ul li a.sd-button span,
html[data-mode="dark"] .sd-content ul li a.sd-button::before,
html[data-mode="dark"] .sd-content ul li a.sd-button:before {
	color: var(--vy-text) !important; text-shadow: none !important;
}
html[data-mode="dark"] .sd-content ul li a.sd-button {
	background: var(--vy-raise) !important; border: 1px solid var(--vy-line) !important; box-shadow: none !important;
}
html[data-mode="dark"] .sd-content ul li a.sd-button:hover { border-color: var(--vy-text) !important; }
html[data-mode="dark"] .sd-content ul li a.sd-button svg, html[data-mode="dark"] .sd-content ul li a.sd-button path { fill: currentColor !important; }
html[data-mode="dark"] .wp-block-jetpack-sharing-buttons .jetpack-sharing-button__button,
html[data-mode="dark"] .jetpack-sharing-button__button {
	color: var(--vy-text) !important; background: var(--vy-raise) !important; border-color: var(--vy-line) !important;
}
html[data-mode="dark"] .jetpack-sharing-button__button svg, html[data-mode="dark"] .jetpack-sharing-button__button path { fill: currentColor !important; }
html[data-mode="dark"] .jetpack-sharing-button__service-label { color: var(--vy-text) !important; }

/* Sleep timer: custom time */
.seg-custom { flex-basis: 100%; display: flex; align-items: center; gap: 8px; padding-left: 50px; margin-top: 4px; }
.seg-custom input { width: 84px; height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--vy-line); background: var(--vy-raise); color: var(--vy-text); font: 600 14px var(--vy-font); }
.seg-custom span { color: var(--vy-muted); font-size: 13px; }
.seg-custom button { height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--vy-text); color: var(--vy-bg); font: 650 13px var(--vy-font); }

/* =========================================================
   v2.11.1
   ========================================================= */
/* Logo: white play icon centred in the circle */
.brand-mark .ic { margin: auto; }

/* Footer tags on phones: script-driven scroll the visitor can take over */
.tag-cloud-list.is-marquee {
	display: block; overflow-x: auto; overflow-y: hidden; scroll-behavior: auto;
	-webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y;
}
.tag-cloud-list.is-marquee::-webkit-scrollbar { display: none; }
.tag-cloud-list.is-marquee .tc-track { animation: none; will-change: auto; }

/* =========================================================
   v2.12.0
   ========================================================= */
.explore-push { background: var(--vy-raise); color: var(--vy-text); }
.explore-push > .ic { width: 22px; height: 22px; color: var(--vy-accent); }
.explore-push small { color: var(--vy-muted); opacity: 1; }
.explore-push.is-on > .ic { color: #1db954; }

/* =========================================================
   v2.12.2 — older phones and browsers (iPhone 6/7/8 on iOS 12–15, older Android)
   Newer browsers ignore all of this; it only fills in features older Safari lacks.
   ========================================================= */

/* Round icon buttons: older Safari mis-sizes SVG icons inside grid boxes; a block icon with auto
   margins always sits in the middle (no change on newer browsers). */
.cb > svg, .icon-btn > svg, .fs-ctl > svg, .pl-ic > svg, .shelf-btn > svg, .set-ic > svg, .card-save > svg,
.brand-mark > svg, .pl-loop > svg, .sg-ic > svg, .dl-ic > svg {
	display: block; margin: auto; flex-shrink: 0;
}

/* "overflow-x: clip" is newer; hidden works everywhere. */
@supports not (overflow-x: clip) {
	html, body { overflow-x: hidden; }
}

/* Individual translate/scale properties are newer (Safari 14.1+): use transform instead. */
@supports not (translate: 0) {
	.yt-play { -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
	.yt:hover .yt-play { -webkit-transform: translate(-50%, -50%) scale(1.08); transform: translate(-50%, -50%) scale(1.08); }
	.cb-dot { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
	.fs-hint { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
	.vybe-toast { -webkit-transform: translate(-50%, 12px); transform: translate(-50%, 12px); }
	.vybe-toast.is-on { -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); }
	.fs-side { -webkit-transform: translateY(-50%); transform: translateY(-50%); }
	.ap-switch[aria-checked="true"] .ap-knob { -webkit-transform: translateX(16px); transform: translateX(16px); }
	.sheet-panel { -webkit-transform: translateY(24px); transform: translateY(24px); }
	.sheet.is-open .sheet-panel { -webkit-transform: none; transform: none; }
	.peek-frame iframe { -webkit-transform: translate(-50%, -50%) scale(1.02); transform: translate(-50%, -50%) scale(1.02); }
	.search-go, .card-save { -webkit-transform: none; transform: none; }
	@media (max-width: 600px) {
		.ap-switch[aria-checked="true"] .ap-knob { -webkit-transform: translateX(14px); transform: translateX(14px); }
	}
	@media (max-width: 860px) {
		.sheet-panel { -webkit-transform: translateY(100%); transform: translateY(100%); }
		.sheet.is-open .sheet-panel { -webkit-transform: none; transform: none; }
	}
}

/* aspect-ratio is newer (Safari 15+): keep 16:9 boxes with the padding method. */
@supports not (aspect-ratio: 1 / 1) {
	.card-thumb, .mini-thumb, .yt, .spot-media, .spot-thumb { height: 0 !important; padding-top: 56.25%; }
	.card-thumb > img, .mini-thumb > img, .yt > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
	.stage.is-full .yt, .stage.is-cover .yt { height: 100% !important; padding-top: 0; }
	.pl-cover { height: 0; padding-top: 56.25%; }
	.pl-cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
	.pl-cover img + img { display: none; }
	.next-card img { height: 67px; }
	.sg-row img, .save-item img { height: 40px; }
	.fan-head img { height: 94px; }
	.pl-link img { height: 63px; }
	.wp-block-jetpack-related-posts .jp-related-posts-i2__post img { height: auto; }
	@media (max-width: 700px) { .pl-link img { height: 52px; } }
	@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
		.is-watch .stage.has-started .yt { height: 100% !important; padding-top: 0; }
	}
}

/* Flexbox "gap" is newer (Safari 14.1+). The theme script adds .no-flexgap on browsers without it;
   these margins give the same spacing. */
.no-flexgap .pill > * + *, .no-flexgap .btn-grad > * + *, .no-flexgap .more-btn > * + *,
.no-flexgap .playall > * + *, .no-flexgap .chip + .chip, .no-flexgap .tc + .tc, .no-flexgap .tc-group > * + *,
.no-flexgap .top-actions > * + *, .no-flexgap .brand > * + *, .no-flexgap .watch-meta > * + *,
.no-flexgap .ctrl-play > * + *, .no-flexgap .ctrl-tools > * + *, .no-flexgap .card-meta > * + *,
.no-flexgap .live-meta > * + *, .no-flexgap .live-info > * + *, .no-flexgap .spot-head > * + *,
.no-flexgap .shelf-head > * + *, .no-flexgap .shelf-nav > * + *, .no-flexgap .pl-btns > * + *,
.no-flexgap .fan-link > * + *, .no-flexgap .set-row > * + *, .no-flexgap .seg > * + *,
.no-flexgap .seg-custom > * + *, .no-flexgap .save-row > * + *, .no-flexgap .sg-row > * + *,
.no-flexgap .explore-lib > * + *, .no-flexgap .explore-app > * + *, .no-flexgap .page-title-row > * + *,
.no-flexgap .tags a + a, .no-flexgap .spot-panel > * + *, .no-flexgap .search > * + *, .no-flexgap .list-chip > * + * {
	margin-left: 8px;
}
.no-flexgap .ctrl-play > * + *, .no-flexgap .ctrl-tools > * + * { margin-left: 4px; }
.no-flexgap .chip + .chip, .no-flexgap .tc-group > * + *, .no-flexgap .tc + .tc { margin-left: 6px; }
.no-flexgap .ctrl > * + * { margin-left: 8px; }
.no-flexgap .tab > * + *, .no-flexgap .card-body > * + *, .no-flexgap .mini-body > * + *, .no-flexgap .spot-panel-txt > * + *,
.no-flexgap .spot-row-txt > * + *, .no-flexgap .set-txt > * + *, .no-flexgap .fan-txt > * + *, .no-flexgap .live-text > * + * {
	margin-left: 0; margin-top: 4px;
}
.no-flexgap .list-chip { margin-left: 0 !important; margin-top: 6px; }
.no-flexgap .tag-cloud-list:not(.is-marquee) > * , .no-flexgap .tags a, .no-flexgap .seg > * { margin-bottom: 6px; }
