/* Watch Reel: dark late-night streaming guide. Dark-only, amber marquee accent. */

/* ---------- fonts (self-hosted, latin) ---------- */
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
	font-weight: 600 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- tokens ---------- */
:root {
	color-scheme: dark;
	--bg: #0e0c12;
	--surface: #17141d;
	--surface-2: #221d2a;
	--line: #322b3d;
	--line-strong: #7a708a; /* 3:1+ on bg: borders of inputs and ghost buttons */
	--text: #f5f2f8;
	--muted: #b9b1c6;
	--accent: #ffb547;
	--accent-ink: #1a1206;
	--link: #ffcb80;
	--hot: #ff7a95;
	--free: #6ee7b7;
	--spicy: #c4a1ff;
	--badge-ink: #120f16;
	--font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gut: 20px;
	--rail-w: 150px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (min-width: 768px) { html { font-size: 18px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1rem/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wcs-main:focus { outline: none; }
[hidden] { display: none !important; }
.wcs-lock { overflow: hidden; }

.wcs-sr {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.wcs-skip {
	position: absolute; left: 12px; top: -80px; z-index: 100;
	padding: 10px 16px; border-radius: 10px;
	background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
}
.wcs-skip:focus { top: 12px; }

.wcs-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wcs-section { padding: 32px 0; }
.wcs-section--tight { padding-top: 8px; }

/* ---------- buttons, chips, badges ---------- */
.wcs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px;
	border: 2px solid var(--accent); border-radius: 999px;
	background: var(--accent); color: var(--accent-ink);
	font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.wcs-btn:hover { background: #ffc468; border-color: #ffc468; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 181, 71, .25); }
.wcs-btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.wcs-btn--block { display: flex; width: 100%; }
.wcs-btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.wcs-btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); box-shadow: none; }
.wcs-ico { flex: none; }
.wcs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.wcs-badges { position: absolute; left: 6px; top: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.wcs-badge {
	padding: 1px 8px; border-radius: 999px;
	background: var(--accent); color: var(--badge-ink);
	font: 700 .72rem/1.6 var(--font); letter-spacing: .04em; text-transform: uppercase;
}
.wcs-badge--hot { background: var(--hot); }
.wcs-badge--spicy { background: var(--spicy); }

.wcs-tag {
	display: inline-block; margin: 8px 0 0; padding: 2px 12px;
	border: 1px solid currentColor; border-radius: 999px;
	font-size: .8rem; font-weight: 700; line-height: 1.6;
}
.wcs-tag--twin { color: var(--accent); }
.wcs-tag--char { color: var(--text); border-color: var(--line-strong); }

.wcs-chip {
	display: inline-flex; align-items: center; padding: 1px 10px;
	border: 1px solid currentColor; border-radius: 999px;
	font-size: .85rem; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.wcs-chip--free { color: var(--free); }
.wcs-chip--tokens { color: var(--accent); }
.wcs-chip--premium { color: var(--spicy); }

/* ---------- header and navigation ---------- */
.wcs-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(14, 12, 18, .9); border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.admin-bar .wcs-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wcs-header { top: 46px; } }
.wcs-header__in { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.wcs-logo { display: inline-flex; flex: none; text-decoration: none; }
.wcs-logo__svg { display: block; height: 26px; width: auto; }
.wcs-logo__t { font: 800 22px var(--font-display); letter-spacing: -.01em; fill: var(--text); }
.wcs-logo__hl { fill: var(--accent); }
.wcs-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.wcs-nav { display: none; flex: 1; }
.wcs-nav__list { display: flex; justify-content: center; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.wcs-nav a, .wcs-dd summary {
	display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px;
	color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
}
.wcs-nav a:hover, .wcs-dd summary:hover { color: var(--text); background: var(--surface-2); }
.wcs-nav a[aria-current], .wcs-nav .is-section { color: var(--accent); background: var(--surface); }
.wcs-dd { position: relative; }
.wcs-dd summary { list-style: none; }
.wcs-dd summary::-webkit-details-marker { display: none; }
.wcs-dd details[open] summary .wcs-ico { transform: rotate(180deg); }
.wcs-dd__list {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 220px;
	margin: 0; padding: 6px; list-style: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
}
.wcs-dd__list a { border-radius: 10px; }

.wcs-menu-btn {
	display: none; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--line-strong); border-radius: 12px;
	background: var(--surface); color: var(--text); cursor: pointer;
}
.wcs-menu-btn:hover { background: var(--surface-2); }
.js .wcs-menu-btn { display: inline-grid; }

.wcs-menu {
	inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0;
	border: 0; background: var(--bg); color: var(--text);
}
.wcs-menu::backdrop { background: rgba(0, 0, 0, .7); }
.wcs-menu__in { display: flex; flex-direction: column; gap: 14px; min-height: 100%; padding: 14px var(--gut) 32px; }
.wcs-menu__head { display: flex; align-items: center; justify-content: space-between; }
.wcs-menu__title { font: 800 1.2rem var(--font-display); }
.wcs-menu__list { margin: 0; padding: 0; list-style: none; }
.wcs-menu__list a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font: 700 1.25rem var(--font-display); text-decoration: none; }
.wcs-menu__list a[aria-current] { color: var(--accent); }
.wcs-menu__sub { margin: 14px 0 0; color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 1023px) {
	.wcs-header__in { flex-wrap: wrap; }
	:root:not(.js) .wcs-nav { display: block; order: 3; width: 100%; overflow-x: auto; }
	:root:not(.js) .wcs-nav__list { justify-content: flex-start; }
}
@media (max-width: 420px) {
	.wcs-logo__svg { height: 22px; }
	.wcs-header__actions .wcs-btn { padding: 0 12px; font-size: .88rem; }
}
@media (max-width: 350px) { .wcs-header__actions .wcs-btn { display: none; } }
@media (min-width: 1024px) {
	.wcs-nav { display: block; }
	.wcs-header__actions { margin-left: 0; }
	.js .wcs-menu-btn { display: none; }
}

/* ---------- breadcrumbs, page head ---------- */
.wcs-crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 14px; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.wcs-crumbs li { display: inline-flex; min-width: 0; }
.wcs-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.wcs-crumbs a { color: var(--muted); }
.wcs-crumbs a:hover { color: var(--text); }
.wcs-crumbs span { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.wcs-pagehead { padding: 20px 0 22px; background: linear-gradient(180deg, rgba(255, 181, 71, .08), transparent); }
.wcs-pagehead--plain { background: none; }
.wcs-kicker { margin: 0 0 6px; color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wcs-h1 {
	margin: .1em 0 .3em; max-width: 24ch;
	font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance;
}
.wcs-pagehead .wcs-h1 { max-width: 28ch; }
.wcs-lede { max-width: 62ch; margin: 0; color: var(--muted); font-size: 1.12rem; line-height: 1.55; }
.wcs-updated, .wcs-count, .wcs-checked, .wcs-aka { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.wcs-aka { margin: 0 0 12px; }
.wcs-h2-sm { margin: 0 0 14px; font-size: 1.4rem; font-weight: 700; line-height: 1.2; }

.wcs-toc { max-width: 560px; margin-top: 18px; padding: 14px 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.wcs-toc__title { margin: 0 0 4px; font-weight: 700; }
.wcs-toc ol { margin: 0; padding-left: 1.3em; }
.wcs-toc a { color: var(--link); }

/* ---------- hero ---------- */
.wcs-hero--home {
	padding: 32px 0 20px;
	background:
		radial-gradient(60% 90% at 88% 0%, rgba(255, 181, 71, .16), transparent 70%),
		radial-gradient(50% 70% at 0% 100%, rgba(196, 161, 255, .1), transparent 70%);
}
.wcs-hero__in { display: grid; gap: 28px; align-items: center; }
.wcs-hero--home .wcs-lede { font-size: 1.2rem; }
.wcs-statline { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.wcs-statline strong { color: var(--text); font-family: var(--font-display); font-size: 1.15rem; }

.wcs-fan { display: flex; justify-content: center; align-items: center; padding: 10px 0 16px; }
.wcs-fan__item {
	flex: 0 1 30vw; max-width: 210px; margin-inline: -4vw; border-radius: 10px; overflow: hidden;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .1);
	transform: rotate(-7deg) translateY(10px); transition: transform .25s ease;
}
.wcs-fan__item:nth-child(3) { transform: rotate(7deg) translateY(10px); }
.wcs-fan__item--c { position: relative; z-index: 2; flex-basis: 36vw; max-width: 250px; transform: none !important; }
.wcs-fan__item:hover { transform: translateY(-4px) !important; }
.wcs-fan .wcs-poster { border-radius: 0; }
@media (min-width: 900px) {
	.wcs-hero--home { padding: 56px 0 36px; }
	.wcs-hero__in { grid-template-columns: 1.15fr .85fr; gap: 48px; }
	.wcs-fan__item { margin-inline: -22px; }
}

.wcs-hero--series { position: relative; padding-bottom: 28px; overflow: hidden; isolation: isolate; }
.wcs-hero--series::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 12, 18, .45), var(--bg) 97%); }
.wcs-hero__bg {
	position: absolute; inset: -40px; z-index: -2;
	background-size: cover; background-position: center;
	filter: blur(36px) saturate(1.2); opacity: .5; transform: scale(1.15);
}
.wcs-hero--series .wcs-crumbs { padding-top: 18px; }
.wcs-hero__grid { display: grid; gap: 22px; }
.wcs-hero__poster { position: relative; width: 168px; }
.wcs-hero__poster .wcs-poster { border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 22px 50px rgba(0, 0, 0, .6); }
.wcs-hero__poster .wcs-badges { left: 8px; top: 8px; }
@media (min-width: 720px) {
	.wcs-hero__grid { grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
	.wcs-hero__poster { width: 100%; }
}
@media (min-width: 900px) {
	.wcs-hero__grid { grid-template-columns: 300px 1fr; }
}

/* ---------- facts, episode guide, verdict ---------- */
.wcs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 8px; margin: 24px 0 0; }
.wcs-fact { margin: 0; padding: 9px 14px 10px; background: rgba(23, 20, 29, .82); border: 1px solid var(--line); border-radius: 12px; }
.wcs-fact--wide { grid-column: 1 / -1; }
.wcs-fact dt { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wcs-fact dd { margin: 0; font-weight: 600; line-height: 1.45; }
.wcs-fact a { color: var(--link); }

.wcs-eps { padding: 40px 0 8px; }
.wcs-eps h2, .wcs-watchif h2, .wcs-faq h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; }
.wcs-eps__list { margin: 18px 0 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.wcs-ep { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 11px 16px; }
.wcs-ep + .wcs-ep { border-top: 1px solid var(--line); }
.wcs-ep:nth-child(even) { background: var(--surface-2); }
.wcs-ep__n { min-width: 6.4em; font-weight: 700; }
.wcs-ep__note { color: var(--muted); font-size: .9rem; }
.wcs-ep .wcs-btn { margin-left: auto; }
.wcs-eps__cost { max-width: 70ch; margin: 16px 0 0; color: var(--muted); }
.wcs-eps__cost strong { color: var(--text); }

.wcs-watchif { padding: 28px 0 8px; }
.wcs-watchif__box { padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.wcs-watchif__cols { display: grid; gap: 18px; margin-top: 16px; }
.wcs-watchif h3 { margin: 0 0 6px; font-size: 1.05rem; letter-spacing: .01em; }
.wcs-watchif__col--yes h3 { color: var(--free); }
.wcs-watchif__col--no h3 { color: var(--hot); }
.wcs-watchif ul { margin: 0; padding-left: 1.2em; }
.wcs-watchif li { margin: .3em 0; }
.wcs-watchif__col--yes li::marker { content: "+  "; color: var(--free); font-weight: 700; }
.wcs-watchif__col--no li::marker { content: "–  "; color: var(--hot); font-weight: 700; }
.wcs-verdict { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .wcs-watchif__cols { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------- FAQ ---------- */
.wcs-faq { padding: 36px 0 8px; }
.wcs-faq__in { max-width: 780px; }
.wcs-faq__item { border-bottom: 1px solid var(--line); }
.wcs-faq__list, .wcs-faq h2 { margin-bottom: 8px; }
.wcs-faq summary { position: relative; padding: 16px 40px 16px 0; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.wcs-faq summary::-webkit-details-marker { display: none; }
.wcs-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; color: var(--accent); font-size: 1.5rem; line-height: 1.4; }
.wcs-faq details[open] summary::after { content: "–"; }
.wcs-faq__a { padding: 0 0 16px; }
.wcs-faq__a p { margin: 0 0 .8em; }
.wcs-faq__a a { color: var(--link); }

/* ---------- prose ---------- */
.wcs-prose { max-width: 70ch; padding: 32px 0 12px; }
.wcs-prose > :first-child { margin-top: 0; }
.wcs-prose h2 { margin: 1.9em 0 .55em; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; scroll-margin-top: 84px; }
.wcs-prose h3 { margin: 1.6em 0 .4em; font-size: 1.3rem; line-height: 1.25; }
.wcs-prose p, .wcs-prose ul, .wcs-prose ol, .wcs-prose figure { margin: 0 0 1.15em; }
.wcs-prose ul, .wcs-prose ol { padding-left: 1.4em; }
.wcs-prose li { margin: .3em 0; }
.wcs-prose a { color: var(--link); text-decoration: underline; text-underline-offset: .16em; }
.wcs-prose a:hover { color: var(--accent); }
.wcs-prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--accent); color: var(--muted); }
.wcs-prose img { height: auto; border-radius: 10px; }
.wcs-prose .wp-block-table { overflow-x: auto; }
.wcs-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wcs-prose th, .wcs-prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wcs-prose th { color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.wcs-prose tbody tr:nth-child(even) { background: var(--surface-2); }
.wcs-prose--legal { padding-top: 12px; }

.wcs-incta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 2.2em 0; padding: 12px 16px 12px 12px; background: linear-gradient(90deg, rgba(255, 181, 71, .14), rgba(255, 181, 71, .03)); border: 1px solid rgba(255, 181, 71, .38); border-radius: 14px; }
.wcs-incta__img { width: 48px; flex: none; border-radius: 8px; }
.wcs-incta__txt { flex: 1 1 200px; margin: 0 !important; font-weight: 600; line-height: 1.4; }

.wcs-endcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 8px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.wcs-endcta__t { margin: 0; font: 800 1.35rem/1.2 var(--font-display); }
.wcs-endcta__s { margin: 2px 0 0; color: var(--muted); }

/* ---------- cards, grid, rails ---------- */
.wcs-card {
	position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover: hover) {
	.wcs-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }
}
.wcs-card__media { position: relative; }
.wcs-poster { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.wcs-poster--empty { background: linear-gradient(160deg, var(--surface-2), var(--bg)); }
.wcs-card__body { display: flex; flex: 1; flex-direction: column; padding: 2px 4px 6px; }
.wcs-card__title { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcs-card__link { color: var(--text); text-decoration: none; }
.wcs-card__link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.wcs-card__link:hover { text-decoration: underline; text-underline-offset: .15em; }
.wcs-card__link:focus-visible { outline: none; }
.wcs-card__link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.wcs-card__meta { margin: 3px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.wcs-card__teaser { display: -webkit-box; margin: 6px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wcs-card .wcs-tag { align-self: flex-start; margin-top: 6px; }

.wcs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.wcs-grid__item { min-width: 0; }
@media (min-width: 600px) { .wcs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .wcs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .wcs-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.wcs-rail { padding: 28px 0 4px; }
.wcs-rail__head { display: flex; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.wcs-rail__title { margin: 0; font-size: clamp(1.35rem, 2.8vw, 1.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.wcs-rail__more { margin-left: auto; color: var(--link); font-weight: 600; font-size: .95rem; }
.wcs-rail__nav { display: none; gap: 6px; }
.wcs-rail__more + .wcs-rail__nav { margin-left: 4px; }
.wcs-wrap--rail { max-width: none; padding-inline: 0; }
.wcs-rail__track {
	display: flex; gap: 12px; margin: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
	padding: 4px max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))) 16px;
	scroll-padding-inline: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut)));
}
.wcs-rail__item { flex: 0 0 var(--rail-w); scroll-snap-align: start; }
@media (min-width: 768px) { :root { --rail-w: 180px; } .wcs-rail__track { gap: 14px; } }
@media (min-width: 1200px) { :root { --rail-w: 200px; } }
@media (hover: hover) and (min-width: 900px) { .wcs-rail__nav { display: flex; } }
.wcs-iconbtn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer;
}
.wcs-iconbtn:hover:not(:disabled) { background: var(--surface-2); border-color: var(--accent); }
.wcs-iconbtn:disabled { opacity: .35; cursor: default; }
.wcs-rail:not(:has(.wcs-rail__more)) .wcs-rail__nav { margin-left: auto; }

/* ---------- link cards, pills, twin blocks ---------- */
.wcs-linkcards { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .wcs-linkcards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.wcs-linkcard { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.wcs-linkcard:hover { border-color: var(--accent); transform: translateY(-2px); }
.wcs-linkcard__t { font: 700 1.2rem/1.2 var(--font-display); }
.wcs-linkcard__d { color: var(--muted); font-size: .95rem; line-height: 1.5; }

.wcs-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wcs-pills a, .wcs-chipbtn {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px;
	border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
	color: var(--text); font-size: .92rem; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap;
}
.wcs-pills a:hover, .wcs-chipbtn:hover { border-color: var(--accent); background: var(--surface-2); }
.wcs-pills__n, .wcs-chipbtn__n { color: var(--muted); font-weight: 500; }
.wcs-cats { padding: 28px 0 8px; }

.wcs-twinlist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.wcs-twin { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.wcs-twin__name { margin: 2px 0 0; font-size: 1.3rem; line-height: 1.2; }
.wcs-twin .wcs-tag { margin-top: 4px; }
.wcs-twin__list { margin: 8px 0 0; padding: 0; list-style: none; font-size: .92rem; }
.wcs-twin__list li { margin: 2px 0; }
.wcs-twin__list a { position: relative; z-index: 2; color: var(--link); }
@media (min-width: 720px) { .wcs-twinlist { grid-template-columns: repeat(2, 1fr); } .wcs-twin { grid-template-columns: 130px 1fr; } }
@media (min-width: 1100px) { .wcs-twinlist { grid-template-columns: repeat(3, 1fr); } }

/* ---------- series finder ---------- */
.wcs-finder { padding-top: 6px; }
.wcs-finder__row { display: grid; gap: 12px; margin-bottom: 14px; }
@media (min-width: 600px) { .wcs-finder__row { grid-template-columns: 2fr 1fr; } }
.wcs-field label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.wcs-field input, .wcs-field select {
	width: 100%; height: 48px; padding: 0 14px;
	border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-2); color: var(--text); font: inherit;
}
.wcs-field input::placeholder { color: var(--muted); opacity: 1; }
.wcs-chips { display: flex; gap: 8px; margin: 0 calc(var(--gut) * -1) 6px; padding: 2px var(--gut) 8px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.wcs-chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .wcs-chips { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }
.wcs-chipbtn.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wcs-chipbtn.is-active .wcs-chipbtn__n { color: var(--accent-ink); }
.wcs-finder__count { margin: 8px 0 14px; color: var(--muted); font-size: .92rem; }
.wcs-finder__empty { padding: 28px 0; color: var(--muted); }
.wcs-linkbtn { padding: 0; border: 0; background: none; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- banner, footer, sticky bar ---------- */
.wcs-banner { margin-top: 48px; padding: 34px 0; background: linear-gradient(120deg, #2b1e0b, var(--surface) 65%); border-top: 1px solid rgba(255, 181, 71, .4); }
.wcs-banner__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.wcs-banner__t { margin: 0; font: 800 clamp(1.4rem, 3vw, 2rem)/1.15 var(--font-display); letter-spacing: -.01em; }
.wcs-banner__s { margin: 4px 0 0; color: var(--muted); }

.wcs-footer { padding: 40px 0 28px; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.wcs-footer__grid { display: grid; gap: 28px; }
@media (min-width: 600px) { .wcs-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .wcs-footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; } }
.wcs-footer__about p { max-width: 42ch; margin: 0; line-height: 1.6; }
.wcs-footer__about .wcs-logo { margin-bottom: 14px; }
.wcs-footer__about .wcs-footer__h { margin-bottom: 6px; }
.wcs-footer__h { margin: 0 0 8px; color: var(--text); font: 700 .8rem var(--font); letter-spacing: .1em; text-transform: uppercase; }
.wcs-footer__list { margin: 0; padding: 0; list-style: none; }
.wcs-footer__list a { display: inline-block; padding: 4px 0; color: var(--muted); text-decoration: none; }
.wcs-footer__list a:hover { color: var(--text); text-decoration: underline; }
.wcs-footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; line-height: 1.6; }
.wcs-footer__legal p { max-width: 90ch; margin: 0 0 8px; }
.wcs-footer__legal strong { color: var(--text); }

.wcs-sticky {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: linear-gradient(180deg, rgba(14, 12, 18, 0), rgba(14, 12, 18, .94) 38%);
	transition: transform .25s ease, opacity .25s ease, visibility .25s;
}
.wcs-sticky.is-hidden { transform: translateY(120%); opacity: 0; visibility: hidden; }
@media (max-width: 768px) {
	.wcs-sticky { display: block; }
	body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

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