/*
Theme Name: Yotesone Cinema
Description: Cinematic dark theme for movie, TV series and anime reviews plus movie news. Myanmar-first typography.
Author: Thit San Khant
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yotesone
*/

/* ================================================================
   Tokens
   ================================================================ */
:root {
	--bg: #0b0b10;
	--bg-2: #111118;
	--surface: #16161f;
	--surface-2: #1d1d29;
	--border: #262633;
	--border-2: #33334a;
	--text: #f1f0f5;
	--muted: #a3a1b5;
	--faint: #6e6c82;
	--accent: #ffb020;
	--accent-2: #ff7a1a;
	--accent-ink: #1d1203;
	--accent-soft: rgba(255, 176, 32, 0.14);
	--rose: #ff4f7b;
	--violet: #8b7bff;
	--teal: #2dd4bf;
	--good: #34d399;
	--mid: #fbbf24;
	--low: #f87171;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);

	--font: "Poppins", "Noto Sans Myanmar", "Pyidaungsu", "Myanmar Text", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1240px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 36px);
	--header-h: 68px;
}

/* ================================================================
   Base
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.is-narrow-wrap { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ================================================================
   Buttons & chips
   ================================================================ */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .72em 1.3em; border-radius: 999px;
	font-weight: 600; font-size: .95rem; line-height: 1.2;
	border: 1px solid transparent; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(255, 140, 20, .7); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.chip {
	display: inline-flex; align-items: center;
	padding: .2em .75em; border-radius: 999px;
	font-size: .76rem; font-weight: 600; line-height: 1.6;
	background: var(--accent-soft); color: var(--accent);
	border: 1px solid rgba(255, 176, 32, .25);
}
.chip:hover { background: var(--accent); color: var(--accent-ink); }
.chip-solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.dot-sep { display: inline-flex; align-items: center; gap: .35em; }
.dot-sep + .dot-sep::before, .chip + .dot-sep::before, .rating + .dot-sep::before { content: "•"; opacity: .45; margin-right: .1em; }

.kicker {
	display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent); margin-bottom: .35em;
}

/* Rating */
.rating {
	display: inline-flex; align-items: center; gap: .3em;
	padding: .18em .6em; border-radius: 8px;
	font-weight: 700; font-size: .82rem; line-height: 1.5;
	background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, .12);
}
.rating svg { width: 1em; height: 1em; fill: currentColor; }
.rating.is-high svg { color: var(--good); }
.rating.is-mid svg { color: var(--mid); }
.rating.is-low svg { color: var(--low); }
.rating.is-big { font-size: 1rem; padding: .3em .8em; }
.rating.on-media { position: absolute; top: 10px; left: 10px; z-index: 2; }

/* ================================================================
   Header
   ================================================================ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: linear-gradient(to bottom, rgba(11, 11, 16, .92), rgba(11, 11, 16, .6));
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid transparent;
	transition: background .25s, border-color .25s;
}
.site-header.is-scrolled { background: rgba(11, 11, 16, .94); border-bottom-color: var(--border); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: #fff; }
.brand:hover { color: #fff; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 18px -6px rgba(255, 176, 32, .45); }
.site-footer .brand-logo { width: 54px; height: 54px; }
.brand-mark {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
	background: linear-gradient(135deg, var(--accent), var(--rose));
	color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 79, 123, .7);
}
.brand-mark .icon { width: 18px; height: 18px; margin-left: 2px; }

.site-nav { margin-left: auto; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block; padding: .5em .9em; border-radius: 999px;
	font-weight: 500; font-size: .93rem; color: var(--muted); white-space: nowrap;
}
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-parent > a, .site-nav .current-category-ancestor > a { color: #fff; background: rgba(255, 255, 255, .07); }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 200px;
	background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { border-radius: 8px; }

.header-actions { display: flex; gap: 6px; }
.icon-btn {
	width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
	background: rgba(255, 255, 255, .06); border: 1px solid var(--border);
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); color: var(--accent); }
.nav-toggle { display: none; gap: 4px; align-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s; }

.site-search { border-top: 1px solid var(--border); background: rgba(11, 11, 16, .96); padding: 16px 0; }
.search-form-big { display: flex; align-items: center; gap: 10px; }
.search-form-big .icon { color: var(--faint); width: 22px; height: 22px; }
.search-form-big input {
	flex: 1; min-width: 0; padding: .75em 1em; border-radius: 12px;
	background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font: inherit;
}
.search-form-big input:focus { outline: none; border-color: var(--accent); }
.search-form-big button {
	padding: .75em 1.3em; border-radius: 12px; border: 0; font-weight: 600;
	background: var(--accent); color: var(--accent-ink);
}
.search-form-big.inline { max-width: 560px; margin-top: 18px; padding: 0; }

@media (max-width: 900px) {
	.nav-toggle { display: grid; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
		background: rgba(11, 11, 16, .98); border-bottom: 1px solid var(--border);
		padding: 12px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
		max-height: calc(100vh - var(--header-h)); overflow: auto;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: .8em 1em; font-size: 1rem; border-radius: 10px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
	.header-actions { margin-left: auto; }
}

/* ================================================================
   Hero slider
   ================================================================ */
.hero { position: relative; min-height: clamp(460px, 74vh, 720px); margin-top: calc(var(--header-h) * -1); overflow: hidden; background: #000; }
.slide {
	position: absolute; inset: 0; display: flex; align-items: flex-end;
	opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-active .slide-bg img { transform: scale(1); }
.slide-bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(to top, var(--bg) 2%, rgba(11, 11, 16, .75) 30%, rgba(11, 11, 16, .15) 65%, rgba(11, 11, 16, .55) 100%),
		linear-gradient(to right, rgba(11, 11, 16, .85) 0%, rgba(11, 11, 16, .2) 60%, transparent 100%);
}
.slide-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; }
.slide-content > * { max-width: 680px; }
.slide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; color: #d9d7e6; margin-bottom: 14px; }
.slide-title { font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.3; margin-bottom: .25em; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.slide-title a:hover { color: #fff; }
.slide-original { color: var(--muted); font-size: 1.05rem; font-weight: 500; margin: -.1em 0 .8em; }
.slide-excerpt { color: #d4d2e0; font-size: 1.02rem; max-width: 600px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: 8px; }
.dot { width: 28px; height: 5px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .25); padding: 0; transition: .3s; }
.dot.is-active { width: 46px; background: var(--accent); }
.arrows { display: flex; gap: 8px; }
.arrows button {
	width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(0, 0, 0, .4); font-size: 1.5rem; line-height: 1; backdrop-filter: blur(6px);
}
.arrows button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.hero-empty {
	display: flex; align-items: flex-end; min-height: clamp(380px, 60vh, 560px);
	background:
		radial-gradient(900px 500px at 15% 110%, rgba(255, 79, 123, .28), transparent 60%),
		radial-gradient(800px 500px at 90% 0%, rgba(255, 176, 32, .22), transparent 60%),
		radial-gradient(600px 400px at 60% 60%, rgba(139, 123, 255, .16), transparent 60%),
		var(--bg);
}
.hero-empty .slide-content { padding-bottom: 72px; }

@media (max-width: 640px) {
	.slide-content { padding-bottom: 84px; }
	.slide-excerpt { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.arrows { display: none; }
}

/* ================================================================
   Section pills
   ================================================================ */
.pills { display: flex; gap: 12px; margin-top: 22px; position: relative; z-index: 5; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill {
	flex: none; display: inline-flex; align-items: center; gap: 10px;
	padding: .7em 1.2em .7em .8em; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--border);
	font-weight: 600; font-size: .95rem; transition: .2s;
}
.pill:hover, .pill.is-current { border-color: var(--pill, var(--accent)); color: #fff; background: var(--surface-2); }
.pill-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--pill, var(--accent)); opacity: .9; position: relative; }
.pill-icon::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; background: rgba(0, 0, 0, .55); clip-path: polygon(20% 0, 100% 50%, 20% 100%); }
.pill-movie { --pill: var(--accent); }
.pill-series { --pill: var(--violet); }
.pill-anime { --pill: var(--rose); }
.pill-news { --pill: var(--teal); }
.pill-news .pill-icon::after { clip-path: none; width: 12px; height: 2px; box-shadow: 0 -4px 0 rgba(0, 0, 0, .55), 0 4px 0 rgba(0, 0, 0, .55); }

/* ================================================================
   Sections & cards
   ================================================================ */
.section { padding-block: clamp(36px, 5vw, 56px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0; }
.see-all { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.see-all .icon { transition: transform .2s; }
.see-all:hover .icon { transform: translateX(3px); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .grid-4 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-media {
	position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
	background: var(--surface-2); box-shadow: var(--shadow);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); pointer-events: none; }
.card:hover .card-media img { transform: scale(1.06); }
.thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--faint); background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.thumb-fallback .icon { width: 40px; height: 40px; }
.is-poster-fallback { object-position: center 25%; }

.card-body { padding: 14px 2px 0; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.card-title { font-size: 1.04rem; line-height: 1.55; margin: 0 0 .35em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-excerpt { color: var(--muted); font-size: .88rem; line-height: 1.7; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.is-compact .card-title { font-size: .98rem; }

/* News + top rated */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); }
.split.no-aside { grid-template-columns: 1fr; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }

.news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.news-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: center; margin-bottom: 8px; }
.news-lead h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin: .3em 0 .45em; }
.news-lead p { color: var(--muted); font-size: .95rem; margin: 0; }
.news-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; align-items: center; }
.news-row .card-media { border-radius: 12px; box-shadow: none; }
.news-row h3 { font-size: .95rem; line-height: 1.6; margin: 0 0 .2em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-lead:hover img, .news-row:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
	.news-list { grid-template-columns: 1fr; }
	.news-lead { grid-template-columns: 1fr; }
}

.split-aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; align-self: start; }
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.top-list li { display: grid; grid-template-columns: 26px 86px minmax(0, 1fr); gap: 12px; align-items: center; }
.rank { font-size: 1.5rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--faint); text-align: center; }
.top-list li:first-child .rank { -webkit-text-stroke-color: var(--accent); }
.top-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.top-thumb img { width: 100%; height: 100%; object-fit: cover; }
.top-title { font-weight: 600; font-size: .93rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.top-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.top-meta .rating { background: transparent; border: 0; padding: 0; backdrop-filter: none; font-size: .8rem; }

/* CTA */
.cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
	padding: clamp(24px, 4vw, 40px); border-radius: 22px; border: 1px solid var(--border);
	background:
		radial-gradient(500px 200px at 0% 0%, rgba(255, 176, 32, .18), transparent 70%),
		radial-gradient(500px 220px at 100% 100%, rgba(255, 79, 123, .18), transparent 70%),
		var(--surface);
}
.cta h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: .3em; }
.cta p { color: var(--muted); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ================================================================
   Archive
   ================================================================ */
.archive-head {
	padding: clamp(36px, 6vw, 64px) 0 clamp(8px, 2vw, 16px);
	background: radial-gradient(800px 260px at 10% 0%, rgba(255, 176, 32, .12), transparent 70%);
}
.archive-head h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin: 0; }
.archive-desc { color: var(--muted); max-width: 680px; margin-top: 10px; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center;
	border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.empty { text-align: center; padding: clamp(40px, 8vw, 90px) 16px; border: 1px dashed var(--border-2); border-radius: 22px; background: var(--bg-2); }
.empty > .icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--faint); }
.mascot { width: 120px; height: auto; margin: 0 auto 18px; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .6)); animation: yo-bob 3.2s ease-in-out infinite; }
@keyframes yo-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.empty p { color: var(--muted); }
.empty .search-form-big { margin-inline: auto; }
.big-404 { display: block; font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }

/* ================================================================
   Single
   ================================================================ */
.single-hero { position: relative; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.single-hero.no-image { min-height: 0; background: radial-gradient(800px 300px at 10% 0%, rgba(255, 176, 32, .14), transparent 70%); }
.single-hero-bg { position: absolute; inset: 0; }
.single-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.single-hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, var(--bg) 4%, rgba(11, 11, 16, .82) 38%, rgba(11, 11, 16, .4) 75%, rgba(11, 11, 16, .65) 100%);
}
.single-hero-inner { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 32px; padding-top: 70px; padding-bottom: 36px; }
.single-hero-text { min-width: 0; max-width: 820px; }
.poster { width: 200px; flex: none; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--accent); }
.single-title { font-size: clamp(1.7rem, 4.2vw, 2.9rem); font-weight: 800; line-height: 1.35; margin-bottom: .25em; }
.byline { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .88rem; margin: 4px 0 18px; }
.byline .icon { width: 1em; height: 1em; }

@media (max-width: 680px) {
	.single-hero { min-height: 380px; }
	.single-hero-inner.has-poster { flex-direction: column; align-items: flex-start; gap: 18px; }
	.poster { width: 120px; }
}

.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); padding-top: 18px; align-items: start; }
.single-layout.is-narrow { grid-template-columns: minmax(0, var(--narrow)); justify-content: center; }
@media (max-width: 980px) {
	.single-layout { grid-template-columns: 1fr; }
	.info-card { order: -1; }
}

.verdict {
	font-size: 1.12rem; font-weight: 600; padding: 16px 20px; margin-bottom: 26px;
	border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0;
}

.info-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.info-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
.score-num { font-size: 2.6rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score-of { color: var(--muted); font-weight: 600; }
.score-bar { flex-basis: 100%; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 8px; }
.score-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: inherit; }
.info-card dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; font-size: .9rem; }
.info-card dt { color: var(--faint); white-space: nowrap; }
.info-card dd { margin: 0; color: var(--text); }

/* Article typography */
.entry-content { font-size: 1.06rem; line-height: 1.95; color: #e4e2ee; }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content h2 { font-size: 1.45rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.5em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content img, .entry-content figure img { border-radius: 12px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-element-caption { color: var(--faint); font-size: .85rem; text-align: center; margin-top: 8px; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--rose); color: var(--muted); font-style: italic; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content hr { border: 0; height: 1px; background: var(--border); margin: 2.4em 0; }
.entry-content .wp-block-gallery { gap: 10px; }
.entry-content iframe { width: 100%; border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 8px 12px; }
.alignwide { margin-inline: calc(var(--gutter) * -1); }

/* Trailer */
.trailer { margin: 36px 0; }
.trailer h2 { font-size: 1.2rem; }
.trailer iframe, .yt-lite { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.yt-lite { position: relative; padding: 0; overflow: hidden; background: #000; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s, transform .4s; }
.yt-lite:hover img { opacity: 1; transform: scale(1.03); }
.yt-play {
	position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
	display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
.yt-play .icon { width: 32px; height: 32px; margin-left: 4px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.share { display: flex; align-items: center; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.share a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); }
.share a:hover { background: var(--accent); color: var(--accent-ink); }

/* Comments */
.comments { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-meta { font-size: .82rem; color: var(--faint); }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
	width: 100%; padding: .7em .9em; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font: inherit;
}
.comment-respond .submit { padding: .7em 1.4em; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* ================================================================
   Footer
   ================================================================ */
.site-footer { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-block: 48px 32px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 380px; margin: 14px 0 18px; }
.footer-col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-col .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col .menu a { color: var(--muted); font-size: .93rem; }
.footer-col .menu a:hover { color: var(--accent); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); }
.social a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px 28px; border-top: 1px solid var(--border); color: var(--faint); font-size: .82rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

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

/* ================================================================
   Spoiler Recap
   ================================================================ */
.spoiler-badge {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	padding: .2em .65em; border-radius: 7px;
	background: #e11d48; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	box-shadow: 0 6px 16px -6px rgba(225, 29, 72, .8);
}
.slide-meta .spoiler-badge { position: static; }
.pill-recap { --pill: #e11d48; }
.pill-recap .pill-icon::after { content: "!"; clip-path: none; width: auto; height: auto; background: none; color: rgba(0, 0, 0, .65); font-weight: 900; font-size: 1rem; display: grid; place-items: center; }

.spoiler-warning {
	margin-bottom: 26px; padding: 16px 20px; border-radius: 14px;
	border: 1px solid rgba(225, 29, 72, .45); background: rgba(225, 29, 72, .1);
}
.spoiler-warning strong { display: block; color: #fda4af; margin-bottom: 4px; }
.spoiler-warning p { margin: 0; color: var(--muted); font-size: .95rem; }

.recap .entry-content h2 {
	display: flex; align-items: center; gap: 12px; scroll-margin-top: calc(var(--header-h) + 20px);
	padding-top: .4em; border-top: 1px solid var(--border);
}
.recap .entry-content h2::before { content: ""; flex: none; width: 6px; height: 1.2em; border-radius: 3px; background: linear-gradient(#fb7185, #e11d48); }
.recap .entry-content strong { color: #fff; }
.recap .entry-content .tldr {
	padding: 18px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-2);
	font-size: 1.05rem;
}
.recap .entry-content .who { list-style: none; padding: 0; display: grid; gap: 10px; }
.recap .entry-content .who li { padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }

.toc { list-style: none; counter-reset: toc; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.toc a::before { content: counter(toc); flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--surface-2); font-size: .75rem; font-weight: 700; color: var(--text); }
.toc a:hover, .toc a.is-active { background: var(--surface-2); color: #fff; }
.toc a.is-active::before { background: #e11d48; }
.toc-card dl { border-top: 1px solid var(--border); padding-top: 14px; }
@media (max-width: 980px) { .toc-card { position: static; } }

/* ================================================================
   Report
   ================================================================ */
.report-btn {
	margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
	padding: .45em .9em; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
	color: var(--muted); font-size: .85rem;
}
.report-btn:hover { color: #fda4af; border-color: rgba(225, 29, 72, .5); }
.footer-bottom .report-btn { margin-left: 0; padding: .3em .8em; font-size: .8rem; }
.modal-open { overflow: hidden; }
.report-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.report-modal[hidden] { display: none; }
.report-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.report-box {
	position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto;
	background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
	display: grid; gap: 14px;
}
.report-box h2 { margin: 0; font-size: 1.2rem; }
.report-page { margin: -8px 0 0; }
.report-box label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.report-box select, .report-box textarea, .report-box input[type="text"] {
	width: 100%; padding: .7em .9em; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); font: inherit;
}
.report-box select:focus, .report-box textarea:focus, .report-box input:focus { outline: none; border-color: var(--accent); }
.report-box .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.report-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.report-status { font-size: .88rem; color: var(--muted); }
.report-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; font-size: 1.5rem; color: var(--muted); }
.report-x:hover { background: var(--surface-2); color: #fff; }
.footer-actions { display: inline-flex; align-items: center; gap: 14px; }
.recap .spoiler-warning { margin: 18px 0 0; }
.toc-wrap { margin-bottom: 16px; }
.toc-wrap summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.toc-wrap summary::-webkit-details-marker { display: none; }
.toc-wrap summary::before { content: "▸"; color: #fb7185; transition: transform .2s; }
.toc-wrap[open] summary::before { transform: rotate(90deg); }
.toc-wrap .toc { margin-top: 12px; }
.toc-wrap:not([open]) + dl { border-top: 1px solid var(--border); }

/* ================================================================
   Latest YouTube videos
   ================================================================ */
.video-card .card-media { aspect-ratio: 16 / 9; }
.video-card .card-media img { object-fit: cover; }
.video-play {
	position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; z-index: 2;
	display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
	transition: background .2s, transform .2s;
}
.video-play .icon { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .video-play { background: #ff0033; border-color: #ff0033; transform: scale(1.08); }
.video-badge { position: absolute; top: 10px; right: 10px; z-index: 2; padding: .15em .6em; border-radius: 6px; background: #ff0033; color: #fff; font-size: .72rem; font-weight: 700; }
.video-modal { width: min(960px, 94vw); padding: 0; border: 0; background: transparent; overflow: visible; }
.video-modal::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(4px); }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); display: block; }
.video-close {
	position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .5); color: #fff; font-size: 1.6rem; line-height: 1;
}
.video-close:hover { background: var(--accent); color: var(--accent-ink); }
