/* ==========================================================================
   Bigk Gamer — main stylesheet (theme + static preview).
   Modern PC-gaming black mockup: system sans-serif only, no pixel font.
   ========================================================================== */

:root {
	--bg: #0a0a0c;
	--bg-2: #0d0d10;
	--surface: #121217;
	--surface-2: #18181f;
	--text: #f2f3f7;
	--muted: #9b9da8;
	--line: #2a2a32;
	--accent: #22d3ee;
	--accent-2: #e879f9;
	--accent-hover: #67e8f9;
	--accent-ink: #042026;
	--grad: linear-gradient(135deg, #22d3ee 0%, #e879f9 100%);
	--ad-bg: #121217;
	--note-bg: #1a1810;
	--note-accent: #fbbf24;
	--radius: 10px;
	--radius-lg: 14px;
	--wrap: 1200px;
	--measure: 720px;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
	--font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
	--header-h: 64px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 750; letter-spacing: -0.015em; margin: 0 0 .5em; color: #f4f5f8; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.screen-reader-text, .sr-only {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000; }
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-ink);
	padding: 10px 16px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; clip: auto; clip-path: none; width: auto; height: auto; margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

/* ---------- Preview bar ---------- */
.preview-bar {
	background: linear-gradient(90deg, #2a1b5e, #0b3a4a);
	color: #e6e1ff; font-size: .8125rem; text-align: center; padding: 6px 12px; border-bottom: 1px solid #33306a;
	letter-spacing: .01em;
}
.preview-bar strong { color: #fbbf24; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(18, 20, 26, .92);
	-webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: 0 0 auto; }
.brand:hover { color: #fff; }
.brand__mark {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
	background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 1.2rem; letter-spacing: -0.04em;
	box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}
.brand__name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand__name b { color: var(--accent); font-weight: 800; }
.custom-logo-link img { max-height: 44px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius);
	color: var(--text); text-decoration: none; font-weight: 600; font-size: .9688rem;
}
.primary-nav a:hover { background: var(--surface); color: #fff; }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_parent > a, .primary-nav a[aria-current="page"] { color: var(--accent); }
.primary-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
	background: transparent; color: var(--text); border: 1px solid transparent; cursor: pointer; padding: 0;
}
.icon-btn:hover { background: var(--surface); border-color: var(--line); }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line); background: var(--bg-2); padding: 14px 0; }
.search-panel[hidden] { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-grid; }
	.header-inner { flex-wrap: wrap; }
	.header-actions { margin-left: auto; }
	.primary-nav { order: 3; flex: 1 0 100%; margin: 0; display: none; padding: 4px 0 14px; }
	.primary-nav.is-open, .no-js .primary-nav { display: block; }
	.primary-nav ul { flex-direction: column; gap: 2px; }
	.primary-nav a { min-height: 48px; font-size: 1.05rem; padding: 0 14px; border: 1px solid transparent; }
	.primary-nav .current-menu-item > a, .primary-nav .current_page_parent > a { background: var(--surface); border-color: var(--line); }
	.no-js .nav-toggle { display: none; }
}

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; max-width: 640px; }
.search-form label { flex: 1; }
.search-field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.widget select, input[type="search"] {
	width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--text);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.search-field:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(167,139,250,.3); }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, .search-submit, .comment-form .submit, input[type="submit"], button.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
	border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
	font: inherit; font-weight: 750; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover, .wp-block-button__link:hover, .search-submit:hover, .comment-form .submit:hover, input[type="submit"]:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); color: #fff; border-color: #39406a; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Kicker / meta ---------- */
.kicker { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 .75rem; }
.meta, .card__meta, .entry-meta { color: var(--muted); font-size: .875rem; }
.cat-pill {
	display: inline-block; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	color: var(--accent); text-decoration: none; background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.3);
	padding: 2px 8px; border-radius: 999px;
}
.cat-pill:hover { color: var(--accent-ink); background: var(--accent); }
.dot::before { content: "·"; margin: 0 .45em; color: #5d6488; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
	background: radial-gradient(1200px 500px at 85% -10%, rgba(167,139,250,.14), transparent 60%), linear-gradient(180deg, #121530, var(--bg)); }
.hero__inner { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.25fr .75fr; padding-top: 64px; padding-bottom: 64px; } }
.hero__title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 850; letter-spacing: -0.035em; margin: 0 0 .25em; }
.hero__title span { color: var(--accent); }
.hero__tagline { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: #cfd4de; margin: 0 0 1rem; font-weight: 600; }
.hero__lede { font-size: 1.125rem; color: var(--muted); max-width: 60ch; margin-bottom: 1.5rem; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__art { display: none; }
@media (min-width: 900px) { .hero__art { display: block; } }
.hero__art svg { width: 100%; height: auto; display: block; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section + .section { padding-top: 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section__title { font-size: 1.5rem; margin: 0; }
.section__more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.section__note { color: var(--muted); margin-top: 20px; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.layout--sidebar .post-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .layout--sidebar .post-grid { grid-template-columns: repeat(2, 1fr); } }

.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: #3d4577; }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-2px); } }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.card__title { font-size: 1.1875rem; line-height: 1.3; margin: 0; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card { position: relative; }
.card__meta a { position: relative; z-index: 1; }
.card__excerpt { color: var(--muted); font-size: .9688rem; margin: 0; }
.card--featured { }
@media (min-width: 1024px) {
	.post-grid--home .card--featured { grid-column: span 2; flex-direction: row; }
	.post-grid--home .card--featured .card__media { flex: 0 0 55%; aspect-ratio: auto; min-height: 300px; }
	.post-grid--home .card--featured .card__body { padding: 26px 28px; justify-content: center; }
	.post-grid--home .card--featured .card__title { font-size: 1.6rem; }
}

/* Fallback art when a post has no featured image */
.fallback-art { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px 16px; color: rgba(255,255,255,.92);
	background: var(--fa-bg, linear-gradient(135deg, #2b2410, #1c1f28 70%)); }
.fallback-art::before { content: ""; position: absolute; inset: 0; opacity: .55;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 22px 22px; }
.fallback-art svg { position: absolute; right: 14px; top: 12px; width: 34%; max-width: 120px; height: auto; color: var(--fa-ink, var(--accent)); opacity: .9; }
.fallback-art__label { position: relative; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.fa-0 { --fa-bg: linear-gradient(135deg, #3a2c08, #1c1f28 70%); --fa-ink: #f0b429; }
.fa-1 { --fa-bg: linear-gradient(135deg, #0f2f3a, #1c1f28 70%); --fa-ink: #5cc8e6; }
.fa-2 { --fa-bg: linear-gradient(135deg, #2b1838, #1c1f28 70%); --fa-ink: #c597ff; }
.fa-3 { --fa-bg: linear-gradient(135deg, #10321f, #1c1f28 70%); --fa-ink: #63d297; }
.fa-4 { --fa-bg: linear-gradient(135deg, #3a1616, #1c1f28 70%); --fa-ink: #ff8a7a; }

/* ---------- Category tiles ---------- */
.cat-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cat-tiles--row { grid-template-columns: repeat(4, 1fr); } }
.cat-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; min-height: 84px; justify-content: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); }
.cat-tile:hover { border-color: var(--accent); color: #fff; }
.cat-tile__name { font-weight: 750; font-size: 1.05rem; }
.cat-tile__count { color: var(--muted); font-size: .8125rem; font-family: var(--font-mono); }

/* ---------- Welcome / home intro ---------- */
.welcome__inner { display: grid; gap: 32px; }
@media (min-width: 960px) { .welcome__inner { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }
.welcome .prose { max-width: var(--measure); }
.welcome__aside h2 { font-size: 1.125rem; }

/* ---------- Archive head ---------- */
.page-head { padding: 40px 0 8px; }
.page-head .page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .35em; }
.page-head .page-desc { color: var(--muted); max-width: 70ch; }
.page-head .page-desc p:last-child { margin: 0; }

/* ---------- Layout ---------- */
.layout { padding-top: 32px; padding-bottom: 64px; }
.layout--sidebar { display: grid; gap: 40px; }
@media (min-width: 1100px) { .layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.layout--single .content-col { max-width: var(--measure); margin: 0 auto; }
.layout--sidebar .content-col { max-width: var(--measure); width: 100%; }
@media (min-width: 1100px) { .layout--sidebar.layout--list .content-col { max-width: none; } }

/* ---------- Entry ---------- */
.entry-header { margin-bottom: 24px; }
.entry-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.entry-title { font-size: clamp(2rem, 4.6vw, 2.9rem); letter-spacing: -0.03em; margin-bottom: .4em; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.entry-meta a { color: var(--text); text-decoration: none; font-weight: 650; }
.entry-meta a:hover { color: var(--accent); }
.entry-thumb { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.entry-thumb img { width: 100%; }
.entry-thumb figcaption { font-size: .8125rem; color: var(--muted); padding: 8px 12px; }
.entry-footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .875rem; }
.tag-link { color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: .8125rem; }
.tag-link:hover { color: var(--text); border-color: var(--muted); }

.signoff { margin-top: 32px; display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.signoff__mark { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 1.5rem; }
.signoff p { margin: 0; }
.signoff__line { font-weight: 700; font-style: italic; color: #f4f5f8; }
.signoff__sub { color: var(--muted); font-size: .9375rem; }

/* ---------- Prose (post + page content) ---------- */
.prose { font-size: 1.125rem; line-height: 1.75; overflow-wrap: break-word; }
@media (min-width: 760px) { .prose { font-size: 1.1875rem; } }
.prose > * { margin-top: 0; margin-bottom: 1.15em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.4em; }
.prose a { color: var(--accent); }
.prose strong { color: #f6f7fa; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote, .wp-block-quote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: #cfd4de; font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code, .prose kbd { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); padding: .1em .35em; border-radius: 5px; }
.prose pre { font-family: var(--font-mono); font-size: .9rem; background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); overflow: auto; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose img, .prose figure img { border-radius: var(--radius); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption, .wp-element-caption, .wp-caption-text { font-size: .875rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.prose iframe { border: 0; border-radius: var(--radius); }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 56.25%; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 0 0 1em; max-width: 100%; } }
@media (min-width: 900px) { .prose .alignwide { margin-left: -60px; margin-right: -60px; max-width: calc(100% + 120px); } }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.wp-block-image { margin-left: 0; margin-right: 0; }
.sticky .card__title::before { content: "★ "; color: var(--accent); }
.bypostauthor > article .comment-author b { color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }

/* Korbin notice blocks (visible placeholders to fill in) */
.bkg-note {
	background: var(--note-bg); border: 1px dashed #8a6d1d; border-left: 4px solid var(--note-accent); color: #f6e3a8 !important;
	padding: 12px 16px !important; border-radius: var(--radius); font-size: .95rem !important; line-height: 1.55; font-style: normal;
}
.bkg-note::before { content: "To fill in · "; font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--note-accent); font-weight: 700; }

/* Contact card */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin: 1.5em 0; }
.contact-card h3 { margin-top: 0; font-size: 1.15rem; }
.contact-card__email { font-size: 1.25rem; font-weight: 750; word-break: break-all; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card .wpforms-container { margin: 0 !important; }

/* ---------- Ad slots (widget areas; empty unless you add a unit) ---------- */
.ad-slot { margin: 36px auto; padding: 10px 12px 14px; background: var(--ad-bg); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; clear: both; max-width: 100%; overflow: hidden; }
.ad-slot__label { display: block; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-mono); }
.ad-slot .widget { margin: 0; }
.ad-slot--sidebar { margin-top: 0; }
.ad-slot--preview { min-height: 120px; display: grid; place-items: center; color: #5c6476; font-size: .875rem; }
.ad-slot--preview .ad-slot__label { margin: 0; }

/* ---------- Sidebar + widgets ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; font-size: .9688rem; }
.ad-slot .widget, .site-footer .widget { background: none; border: 0; padding: 0; }
.widget-title, .widget h2, .widget .wp-block-heading { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-family: var(--font-mono); margin-bottom: 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--text); text-decoration: none; }
.widget a:hover { color: var(--accent); }
.widget p:last-child { margin-bottom: 0; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wp-block-search__input { min-height: 44px; border-radius: var(--radius); background: var(--bg); color: var(--text); border: 1px solid var(--line); padding: 8px 12px; font: inherit; }
.wp-block-search__button { border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); border: 0; padding: 0 14px; font-weight: 700; cursor: pointer; }
@media (min-width: 1100px) { .sidebar__sticky { position: static; } }

/* ---------- Post nav / related ---------- */
.post-nav { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); }
.post-nav a:hover { border-color: var(--accent); }
.post-nav .post-nav__label { display: block; font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.post-nav .post-nav__title { font-weight: 700; }
.post-nav__next { text-align: right; }
.related { margin-top: 48px; }
.related .post-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .related .post-grid { grid-template-columns: repeat(3, 1fr); } }
.related .card__title { font-size: 1.02rem; }
.related .card__excerpt { display: none; }

/* ---------- Pagination ---------- */
.pagination, .comments-pagination { margin-top: 40px; }
.pagination .nav-links, .comments-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius);
	border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.page-numbers.dots { background: none; border: 0; }
.page-links { margin-top: 24px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ---------- Comments ---------- */
.comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-size: 1.4rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: 20px; padding-left: 16px; border-left: 2px solid var(--line); }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--text); }
.comment-author .avatar { border-radius: 50%; width: 36px; height: 36px; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content { font-size: 1rem; }
.reply a, .comment-reply-link { font-size: .875rem; font-weight: 700; text-decoration: none; }
.comment-awaiting-moderation { color: var(--accent); font-size: .875rem; }
.comment-respond { margin-top: 32px; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-weight: 650; font-size: .9375rem; margin-bottom: 6px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; color: var(--muted); margin: 0; }
.comment-form .comment-form-cookies-consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .9375rem; }
.form-submit { margin-top: 6px !important; }
.no-comments { color: var(--muted); }

/* ---------- Empty / 404 ---------- */
.empty-state { text-align: center; padding: 64px 0 80px; max-width: 640px; margin: 0 auto; }
.empty-state__code { font-family: var(--font-mono); font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.empty-state .search-form { margin: 24px auto; }
.empty-state .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050506; padding: 40px 0 28px; color: var(--muted); font-size: .9375rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer-brand p { margin: 10px 0 0; max-width: 46ch; }
.footer-signoff { font-style: italic; color: #cfd4de; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; justify-content: flex-start; }
@media (min-width: 860px) { .footer-nav ul { justify-content: flex-end; } }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text); text-decoration: none; border-radius: var(--radius); }
.footer-nav a:hover { background: var(--surface); color: var(--accent); }
.footer-widgets { margin-top: 28px; display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-widgets { grid-template-columns: repeat(3, 1fr); } }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .875rem; }
.footer-bottom a { color: var(--muted); }

/* Print */
@media print {
	.site-header, .site-footer, .preview-bar, .ad-slot, .sidebar, .comments-area, .related, .post-nav { display: none !important; }
	body { background: #fff; color: #000; }
	.prose, .entry-title { color: #000; }
}

/* ---------- Content helpers from the drafts ---------- */
.bkg-signoff { font-style: italic; font-weight: 700; color: #f4f5f8; border-left: 3px solid var(--accent); padding-left: 14px; }
.bkg-small { font-size: .9rem !important; color: var(--muted); }
mark.bkg-note-inline { background: var(--note-bg); color: #f6e3a8; border: 1px dashed #8a6d1d; border-radius: 4px; padding: 0 .3em; font-size: .92em; }

/* ---------- Free PC Games list (replaceable block) ---------- */
.free-games-list { margin: 1.5em 0 2em; }
.free-games-list__updated { font-family: var(--font-mono); font-size: .8125rem !important; letter-spacing: .04em; color: var(--muted); margin: 0 0 12px !important; }
.free-games-list__updated time { color: var(--accent); font-weight: 700; }
.prose .free-games-table, .free-games-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.free-games-table th, .free-games-table td { border: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: middle; }
.free-games-table thead th { background: var(--surface-2); font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.free-games-table tbody tr:last-child td { border-bottom: 0; }
.free-games-table tbody tr:hover td { background: rgba(34, 211, 238, .04); }
.free-games-table .fg-game { font-weight: 750; color: #f4f5f8; }
.free-games-table .fg-note { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.free-games-table .fg-ends time { white-space: nowrap; }
.free-games-table .fg-link { text-align: right; width: 1%; white-space: nowrap; }
.free-games-table .fg-link a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 750; text-decoration: none; font-size: .9375rem; }
.free-games-table .fg-link a:hover { background: var(--accent-hover); }
.free-games-empty td { text-align: center !important; color: var(--muted); padding: 28px 16px !important; font-style: italic; }
.store-badge { display: inline-block; font-size: .8125rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); white-space: nowrap; }
.store-badge[data-store="epic"] { border-color: #5a5f6e; }
.store-badge[data-store="steam"] { border-color: #2a5a7a; color: #9fd2f1; }
.store-badge[data-store="gog"] { border-color: #1f8a3a; color: #6ee7b7; }
.store-badge[data-store="prime"] { border-color: #1f5a7a; color: #8fd6ff; }
.store-badge[data-store="ubisoft"], .store-badge[data-store="ea"] { border-color: #4a5160; }
@media (max-width: 700px) {
	.free-games-table, .free-games-table tbody, .free-games-table tr, .free-games-table td { display: block; width: 100%; }
	.free-games-table { background: none; border: 0; }
	.free-games-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.free-games-table tbody tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 12px; padding: 6px 0; }
	.free-games-table td { border: 0; padding: 6px 16px; }
	.free-games-table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
	.free-games-table .fg-game { font-size: 1.1rem; }
	.free-games-table .fg-link { text-align: left; width: 100%; padding-bottom: 12px; }
	.free-games-table .fg-link a { width: 100%; justify-content: center; min-height: 46px; }
	.free-games-table tbody tr:hover td { background: none; }
}

/* ==========================================================================
   v2 — fresher style: vibrant violet/cyan accent, bigger imagery, image-first cards
   ========================================================================== */
.brand__mark, .signoff__mark { background: var(--grad); color: var(--accent-ink); box-shadow: none; }
.btn, .wp-block-button__link, .search-submit, .comment-form .submit, input[type="submit"] {
	background: var(--grad); border: 0; color: var(--accent-ink); border-radius: 999px; padding: 0 22px;
	transition: filter .15s ease, transform .15s ease;
}
.btn:hover, .wp-block-button__link:hover, .search-submit:hover, .comment-form .submit:hover, input[type="submit"]:hover { background: var(--grad); filter: brightness(1.1); color: var(--accent-ink); }
.btn--ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.08); filter: none; color: #fff; border-color: #3d4577; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.primary-nav a { border-radius: 999px; }
.page-numbers.current { background: var(--grad); border-color: transparent; }

/* Generated art (posts without an image) */
.art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Image-first cards ---------- */
.card { border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.06); background: var(--surface); box-shadow: 0 1px 0 rgba(255,255,255,.03) inset; }
.card:hover { border-color: rgba(167,139,250,.45); box-shadow: 0 12px 32px -16px rgba(124,92,255,.45); }
.card__media { aspect-ratio: 16 / 10; border-radius: 0; }
.card__media img { transition: transform .35s ease; }
@media (prefers-reduced-motion: no-preference) {
	.card:hover .card__media img, .card:hover .card__media .art { transform: scale(1.04); }
	.card__media .art { transition: transform .35s ease; }
}
.card__body { padding: 14px 18px 18px; gap: 8px; }
.card__title { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: .8125rem; }
.cat-pill { color: #e6e1ff; }

/* Overlay cards: title on the image */
.card--overlay { min-height: 260px; border: 0; }
.card--overlay .card__media { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.card--overlay .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,20,0) 35%, rgba(8,9,20,.88) 100%); }
.card--overlay .card__body { flex: 0 0 auto; position: relative; z-index: 1; margin-top: auto; padding: 20px 22px 22px; }
.card--overlay .card__title a { color: #fff; }
.card--overlay .card__meta { color: #d5d8ea; }
.card--overlay .cat-pill { background: rgba(13,15,28,.55); border-color: rgba(255,255,255,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Homepage v2 ---------- */
.home-v2 .section { padding: 0; }
.hsec { padding: 56px 0; }
@media (min-width: 900px) { .hsec { padding: 72px 0; } }
.hsec + .hsec { padding-top: 0; }
.hsec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.hsec__title { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 0; letter-spacing: -0.02em; }
.hsec__kicker { display: block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.hsec__more { font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.hsec__more:hover { color: var(--accent-hover); }

.hero2 { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero2__bg { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(600px 380px at 12% 20%, rgba(167,139,250,.30), transparent 65%),
		radial-gradient(520px 360px at 88% 30%, rgba(34,211,238,.24), transparent 65%),
		radial-gradient(500px 300px at 60% 110%, rgba(244,114,182,.22), transparent 65%),
		#0d0f1c; }
.hero2__bg::after { content: ""; position: absolute; inset: 0; opacity: .35;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero2__inner { display: grid; gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .hero2__inner { grid-template-columns: 1.1fr .9fr; padding-top: 88px; padding-bottom: 88px; } }
.hero2__title { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.02; font-weight: 850; letter-spacing: -0.04em; margin: 0 0 18px; color: #fff; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2__sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #c9cde2; margin: 0 0 28px; max-width: 34ch; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero visual: stacked covers of the latest posts */
.hero2__stack { position: relative; height: 300px; }
@media (min-width: 900px) { .hero2__stack { height: 380px; } }
.hero2__cover { position: absolute; width: 62%; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; display: block;
	box-shadow: 0 24px 50px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); background: var(--surface-2); }
.hero2__cover img { width: 100%; height: 100%; object-fit: cover; }
.hero2__cover--1 { right: 4%; top: 0; transform: rotate(4deg); z-index: 1; }
.hero2__cover--2 { left: 0; top: 22%; transform: rotate(-5deg); z-index: 2; }
.hero2__cover--3 { right: 10%; bottom: 0; transform: rotate(2deg); z-index: 3; width: 56%; }
@media (prefers-reduced-motion: no-preference) {
	.hero2__cover { transition: transform .3s ease; }
	.hero2__stack:hover .hero2__cover--1 { transform: rotate(6deg) translateY(-6px); }
	.hero2__stack:hover .hero2__cover--2 { transform: rotate(-7deg) translateX(-6px); }
	.hero2__stack:hover .hero2__cover--3 { transform: rotate(1deg) translateY(4px); }
}
@media (max-width: 899px) { .hero2__stack { height: 220px; max-width: 520px; } }

/* Recent posts: one big overlay card + five image cards */
.grid-recent { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-recent { grid-template-columns: repeat(2, 1fr); } .grid-recent > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
	.grid-recent { grid-template-columns: repeat(3, 1fr); }
	.grid-recent > :first-child { grid-column: span 2; grid-row: span 2; }
	.grid-recent > :first-child.card--overlay { min-height: 100%; }
	.grid-recent > :first-child .card__title { font-size: 1.9rem; line-height: 1.15; }
}
.grid-recent > :first-child.card--overlay { min-height: 340px; }

/* Start here: three overlay tiles */
.grid-start { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: start; }
@media (min-width: 760px) { .grid-start { grid-template-columns: repeat(3, 1fr); } }
.grid-start .card--overlay { min-height: 240px; counter-increment: start; }
.grid-start .card--overlay .card__body::before { content: "0" counter(start); font-family: var(--font-mono); font-weight: 800; font-size: .875rem; letter-spacing: .1em; color: var(--accent-2); }

/* Category tiles v2 */
.cat-tiles--v2 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .cat-tiles--v2 { grid-template-columns: repeat(4, 1fr); } }
.cat-tiles--v2 .cat-tile { position: relative; overflow: hidden; min-height: 120px; justify-content: flex-end; padding: 18px 20px; border: 0;
	background: linear-gradient(135deg, var(--c1, #2a1b5e), var(--c2, #110e2b)); border-radius: var(--radius-lg); }
.cat-tiles--v2 .cat-tile::before { content: ""; position: absolute; right: -24px; top: -24px; width: 110px; height: 110px; border-radius: 50%;
	background: radial-gradient(circle, var(--c3, #a78bfa), transparent 70%); opacity: .55; transition: transform .3s ease; }
.cat-tiles--v2 .cat-tile:hover::before { transform: scale(1.25); }
.cat-tiles--v2 .cat-tile:hover { box-shadow: 0 0 0 2px var(--c3, #a78bfa) inset; }
.cat-tiles--v2 .cat-tile__name { position: relative; font-size: 1.15rem; text-transform: capitalize; }
.cat-tiles--v2 .cat-tile__count { position: relative; color: rgba(255,255,255,.72); }

/* About strip */
.about-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 22px 26px; border-radius: 22px;
	background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.about-strip__mark { flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: var(--accent-ink); font-weight: 900; font-size: 1.6rem; }
.about-strip__text { flex: 1 1 320px; margin: 0; font-size: 1.125rem; color: #dfe2f0; }
.about-strip__text strong { color: #fff; }
.about-strip__links { display: flex; flex-wrap: wrap; gap: 10px; }
.home-ad { margin-top: 8px; }

/* ==========================================================================
   Modern PC-gaming black (mockup, not deployed). Overrides the tokens and
   the retro-arcade layer is not used. System sans only; no pixel font,
   scanlines, sticker labels, or 8-bit corners.
   ========================================================================== */
:root {
	--bg: #0a0a0c;
	--bg-2: #0d0d10;
	--surface: #121217;
	--surface-2: #18181f;
	--text: #f2f3f7;
	--muted: #9b9da8;
	--line: #2a2a32;
	--accent: #22d3ee;
	--accent-2: #e879f9;
	--accent-hover: #67e8f9;
	--accent-ink: #042026;
	--grad: linear-gradient(135deg, #22d3ee 0%, #e879f9 100%);
	--ad-bg: #121217;
	--note-bg: #1a1810;
	--note-accent: #fbbf24;
	--radius: 10px;
	--radius-lg: 14px;
	--shadow: 0 12px 32px rgba(0, 0, 0, .4);
	--glow: 0 0 28px rgba(34, 211, 238, .28);
	--font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
	--header-h: 68px;
	color-scheme: dark;
}

html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 750;
	letter-spacing: -0.03em;
	line-height: 1.15;
}
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(34, 211, 238, .28); color: #fff; }
::placeholder { color: var(--muted); opacity: 1; }

/* ---------- Preview bar + header ---------- */
.preview-bar {
	background: #000;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
	font-size: .75rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 6px 12px;
	text-align: center;
}
.preview-bar strong { color: var(--accent); font-weight: 750; letter-spacing: .12em; }
.preview-bar a { color: var(--text); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 10, 12, .72);
	-webkit-backdrop-filter: saturate(160%) blur(18px);
	backdrop-filter: saturate(160%) blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.header-inner { min-height: var(--header-h); gap: 24px; }

.brand, .brand:hover { color: var(--text); text-decoration: none; }
.brand__mark {
	display: grid; place-items: center;
	width: 34px; height: 34px;
	background: var(--grad) !important;
	color: var(--accent-ink);
	border-radius: 8px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: .95rem;
	clip-path: none;
	box-shadow: none;
}
.brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: .92rem;
}
.brand__name b { color: var(--accent); font-weight: 800; }

.primary-nav a {
	color: var(--muted);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .8rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 8px;
	padding: 8px 12px;
	text-decoration: none;
	background: transparent;
	position: relative;
}
.primary-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_parent > a,
.primary-nav a[aria-current="page"] {
	color: var(--text);
	background: transparent;
}
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-menu-ancestor > a::after,
.primary-nav .current_page_parent > a::after,
.primary-nav a[aria-current="page"]::after {
	content: "";
	position: absolute; left: 12px; right: 12px; bottom: 4px;
	height: 2px; border-radius: 2px;
	background: var(--accent);
	box-shadow: 0 0 10px rgba(34, 211, 238, .55);
}
.primary-nav a[aria-current="page"]::before { content: none; }
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_parent > a { color: var(--text); background: transparent; }
.icon-btn { color: var(--text); border-radius: 8px; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); border-color: transparent; color: var(--accent); }
@media (max-width: 960px) {
	.primary-nav .current-menu-item > a,
	.primary-nav .current_page_parent > a { background: transparent; border-color: transparent; color: var(--text); }
}

.search-panel {
	background: rgba(10, 10, 12, .94);
	border-top: 1px solid var(--line);
	padding: 16px 0 20px;
}

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, .search-submit, .comment-form .submit, input[type="submit"], .wp-block-search__button, .free-games-table .fg-link a {
	background: var(--accent);
	color: var(--accent-ink);
	border: 0;
	border-radius: var(--radius);
	clip-path: none;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	transition: background .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover, .wp-block-button__link:hover, .search-submit:hover, .comment-form .submit:hover, input[type="submit"]:hover, .free-games-table .fg-link a:hover {
	background: var(--accent-hover);
	color: var(--accent-ink);
	filter: none;
	transform: translateY(-1px);
	box-shadow: var(--glow);
}
.btn--ghost, .btn--ghost:hover {
	background: transparent;
	color: var(--text);
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(34, 211, 238, .08); }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: .9rem; border-radius: 12px; }
.btn:focus-visible, .brand__mark:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero2 { border-bottom: 1px solid var(--line); background: var(--bg); }
.hero2__bg {
	background:
		radial-gradient(900px 480px at 88% -10%, rgba(34, 211, 238, .22), transparent 60%),
		radial-gradient(800px 420px at 0% 110%, rgba(232, 121, 249, .16), transparent 55%),
		radial-gradient(600px 300px at 50% 50%, rgba(34, 211, 238, .05), transparent 70%),
		var(--bg);
}
.hero2__bg::after { display: none; }
.hero2__inner { padding-top: 64px; padding-bottom: 64px; gap: 48px; }
@media (min-width: 900px) { .hero2__inner { padding-top: 96px; padding-bottom: 96px; } }
.hero2__text::before { content: none !important; }
.hero2__title {
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.02;
	text-transform: none;
	text-shadow: none;
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	margin: 0 0 18px;
}
.grad-text {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--accent);
}
.hero2__sub {
	color: var(--muted);
	background: none;
	display: block;
	padding: 0;
	border: 0;
	font-family: var(--font-sans);
	font-size: 1.12rem;
	line-height: 1.55;
	max-width: 36ch;
	margin: 0 0 28px;
}
.hero2__cover {
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: var(--shadow);
	clip-path: none;
	overflow: hidden;
}
.hero2__cover::after { display: none; }
.hero2__cover img, .hero2__cover .art { width: 100%; height: 100%; object-fit: cover; }
.hero2__cover--1 { transform: rotate(2.2deg); }
.hero2__cover--2 { transform: rotate(-2.4deg); }
.hero2__cover--3 { transform: rotate(1.6deg); }
@media (prefers-reduced-motion: no-preference) {
	.hero2__cover { transition: transform .3s ease, box-shadow .3s ease; }
	.hero2__stack:hover .hero2__cover--1 { transform: rotate(2.2deg) translateY(-8px); }
	.hero2__stack:hover .hero2__cover--2 { transform: rotate(-2.4deg) translateX(-8px); }
	.hero2__stack:hover .hero2__cover--3 { transform: rotate(1.6deg) translateY(5px); }
}

/* ---------- Section heads ---------- */
.hsec { padding: 64px 0; }
@media (min-width: 900px) { .hsec { padding: 88px 0; } }
.hsec + .hsec { padding-top: 0; }
.hsec__head { margin-bottom: 28px; align-items: flex-end; }
.hsec__title, .section__title, .related .section__title {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	text-transform: none;
	color: var(--text);
	letter-spacing: -0.03em;
	font-weight: 750;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.hsec__kicker {
	display: block;
	font-family: var(--font-display);
	font-weight: 650;
	font-size: .7rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	background: none;
	border: 0;
	padding: 0;
	margin: 0 0 8px;
	box-shadow: none;
}
.hsec__kicker::before { content: none !important; background: none !important; }
#start-title .hsec__kicker::before,
#cats-title .hsec__kicker::before { content: none !important; }
.hsec__more {
	font-family: var(--font-display);
	font-weight: 650;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: .8rem;
	color: var(--muted);
	border-bottom: 0;
	text-decoration: none;
}
.hsec__more::after { content: " →"; color: var(--accent); }
.hsec__more:hover { color: var(--accent); }

/* ---------- Cards ---------- */
.card {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
	border-color: rgba(34, 211, 238, .35);
	box-shadow: 0 0 0 1px rgba(34, 211, 238, .18), 0 18px 40px rgba(0, 0, 0, .45);
}
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-4px); } }
.card__media { border-bottom: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img, .card__media .art { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media::before { display: none !important; } /* no scanlines */
.card--overlay .card__media::after {
	display: block !important;
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8, 9, 12, 0) 28%, rgba(8, 9, 12, .9) 100%);
	pointer-events: none;
	z-index: 0;
}
.card__body { padding: 18px 18px 20px; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; margin: 0 0 8px; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__meta { color: var(--muted); font-family: var(--font-sans); font-size: .8rem; }
.card__excerpt { color: var(--muted); font-size: .9375rem; }
.cat-pill {
	font-family: var(--font-display);
	font-weight: 650;
	font-size: .68rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
	background: rgba(34, 211, 238, .1);
	border: 1px solid rgba(34, 211, 238, .25);
	border-radius: 999px;
	padding: 2px 9px;
}
.cat-pill:hover { background: rgba(34, 211, 238, .18); color: var(--accent-hover); }
.dot::before { content: "·"; color: var(--muted); font-size: 1em; }

.card--overlay {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	border: 1px solid rgba(255, 255, 255, .07);
	min-height: 280px;
}
.card--overlay .card__media { border: 0; }
.card--overlay .card__body {
	margin-top: auto;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 22px;
	position: relative;
	z-index: 1;
}
@media (min-width: 1024px) {
	.post-grid--home .card--featured.card--overlay,
	.grid-recent > :first-child.card--overlay {
		flex-direction: column;
	}
	.post-grid--home .card--featured.card--overlay .card__media,
	.grid-recent > :first-child.card--overlay .card__media {
		flex: none;
		position: absolute;
		inset: 0;
		width: 100%;
		min-height: 0;
		aspect-ratio: auto;
	}
	.post-grid--home .card--featured.card--overlay .card__body {
		padding: 28px;
	}
}
.card--overlay .card__title a { color: #fff; }
.card--overlay .card__meta { color: rgba(242, 243, 247, .78); }
.card--overlay .cat-pill {
	background: rgba(10, 10, 12, .5);
	border-color: rgba(255, 255, 255, .18);
	color: #fff;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.grid-start .card--overlay .card__body::before { content: none; }
.grid-recent { gap: 22px; }
.grid-start { gap: 22px; }
@media (min-width: 1024px) {
	.grid-recent > :first-child .card__title { font-family: var(--font-display); font-weight: 750; font-size: 1.85rem; text-transform: none; letter-spacing: -0.03em; line-height: 1.15; }
}

/* ---------- Category tiles ---------- */
.cat-tiles--v2 { gap: 16px; }
.cat-tiles--v2 .cat-tile {
	background: var(--surface) !important;
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	min-height: 120px;
	color: var(--text);
	position: relative;
	overflow: hidden;
	padding: 20px 22px;
}
.cat-tiles--v2 .cat-tile::before {
	content: "";
	position: absolute; inset: auto -20% -40% auto;
	width: 140px; height: 140px;
	background: radial-gradient(circle, var(--c3, var(--accent)), transparent 70%);
	opacity: .28;
	border-radius: 50%;
	right: -20px; top: -20px;
	width: auto; height: auto;
}
.cat-tiles--v2 .cat-tile:nth-child(2)::before,
.cat-tiles--v2 .cat-tile:nth-child(3)::before,
.cat-tiles--v2 .cat-tile:nth-child(4)::before { background-image: none; }
.cat-tiles--v2 .cat-tile:hover {
	box-shadow: 0 0 0 1px rgba(34, 211, 238, .25), var(--shadow);
	color: var(--text);
	transform: translateY(-3px);
}
.cat-tiles--v2 .cat-tile::after {
	content: "";
	position: absolute; left: 0; top: 0; bottom: 0;
	width: 3px;
	background: var(--c3, var(--accent));
	border-radius: 3px 0 0 3px;
}
.cat-tiles--v2 .cat-tile__name {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: none;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: var(--text);
	background: none;
	border: 0;
	padding: 0;
	box-shadow: none;
}
.cat-tiles--v2 .cat-tile__count {
	color: var(--muted);
	background: none;
	font-family: var(--font-sans);
	font-weight: 500;
	padding: 0;
	margin-top: 6px;
	border: 0;
}

/* ---------- About strip ---------- */
.about-strip {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 28px 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 28px;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.about-strip::before {
	content: "";
	position: absolute; inset: 0 auto 0 0;
	width: 3px;
	background: var(--grad);
}
.about-strip__mark {
	background: var(--grad) !important;
	color: var(--accent-ink);
	border-radius: 10px;
	clip-path: none;
	box-shadow: none;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	font-weight: 800;
	flex: 0 0 auto;
}
.about-strip__text { color: var(--text); font-weight: 500; font-size: 1.05rem; margin: 0; flex: 1 1 280px; }
.about-strip .btn--ghost { background: transparent; }

/* ---------- Footer ---------- */
.site-footer {
	background: #050506;
	border-top: 1px solid rgba(255, 255, 255, .06);
	color: var(--muted);
	padding: 48px 0 32px;
}
.site-footer .brand__name { color: var(--text); }
.footer-signoff { color: var(--muted); font-family: var(--font-sans); font-style: normal; font-size: .92rem; }
.footer-nav a {
	color: var(--muted);
	font-family: var(--font-display);
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	text-decoration: none;
	border-radius: 8px;
	padding: 6px 8px;
}
.footer-nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.footer-bottom { border-color: var(--line); }
.footer-bottom a { color: var(--muted); }

/* ---------- Archives / page heads ---------- */
.page-head {
	position: relative;
	isolation: auto;
	overflow: visible;
	background: transparent;
	color: var(--text);
	border-bottom: 1px solid var(--line);
	padding: 48px 0 36px;
	margin-bottom: 8px;
}
.page-head::before { content: none; }
.page-head .kicker {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 650;
	font-size: .7rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	background: none;
	padding: 0;
	clip-path: none;
	margin-bottom: 10px;
}
.page-head .page-title {
	color: var(--text);
	text-transform: none;
	text-shadow: none;
	font-size: clamp(2rem, 4.4vw, 3rem);
	letter-spacing: -0.035em;
}
.page-head .page-desc { color: var(--muted); max-width: 60ch; }
.page-head .page-desc a { color: var(--accent); }
.sticky .card__title::before { color: var(--accent); }
.layout { padding-top: 40px; }
.post-grid { gap: 22px; }

/* ---------- Single post + pages ---------- */
.layout--single .entry,
.layout--sidebar .entry {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 28px 22px 32px;
}
@media (min-width: 760px) {
	.layout--single .entry,
	.layout--sidebar .entry { padding: 44px 48px 48px; }
}
.entry-header { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 28px; }
.entry-title { color: var(--text); font-size: clamp(1.85rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.035em; font-weight: 750; }
.entry-meta { color: var(--muted); font-family: var(--font-sans); font-size: .85rem; }
.entry-meta a { color: var(--text); text-decoration: none; }
.entry-meta a:hover, .entry-meta a:focus { color: var(--accent); }
.entry-thumb { border: 0; border-radius: var(--radius-lg); box-shadow: none; overflow: hidden; }
.entry-thumb img { border-radius: var(--radius-lg); }

.prose { color: var(--text); font-family: var(--font-sans); font-size: 1.08rem; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; text-transform: none; letter-spacing: -0.03em; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; }
.prose a { color: var(--accent); text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent-ink); background: var(--accent); }
.prose strong { color: #fff; }
.prose li::marker { color: var(--accent); }
.prose ul { list-style: disc; }
.prose blockquote, .wp-block-quote {
	color: var(--text);
	background: var(--surface-2);
	border-left: 3px solid var(--accent);
	padding: 16px 20px;
	font-style: italic;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.prose code, .prose kbd {
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 6px;
	color: var(--accent);
	padding: 0 .35em;
	font-size: .92em;
}
.prose pre {
	background: #050506;
	color: #e8e8ee;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 16px 18px;
	overflow: auto;
}
.prose img, .prose figure img { border-radius: var(--radius); }
.prose .wp-block-image img, .prose figure.wp-block-image img { border: 0; box-shadow: none; border-radius: var(--radius-lg); }
.prose figcaption, .wp-element-caption { color: var(--muted); font-family: var(--font-sans); font-size: .8rem; }
.prose iframe { border: 1px solid var(--line); border-radius: var(--radius); }
.prose th, .prose td { border: 1px solid var(--line); }
.prose th { background: var(--surface-2); color: var(--text); }
.wp-block-separator, .prose hr { border-top: 1px solid var(--line); }
.entry-footer { border-top: 1px solid var(--line); color: var(--muted); padding-top: 16px; }
.tag-link {
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	background: var(--surface-2);
	font-family: var(--font-display);
	font-size: .78rem;
	padding: 4px 10px;
	text-decoration: none;
}
.tag-link:hover { background: rgba(34, 211, 238, .12); color: var(--accent); border-color: rgba(34, 211, 238, .35); }

/* Pages: quiet title on the card, not a banner */
.layout--single .entry--page .entry-header,
.layout--sidebar .entry--page .entry-header {
	position: relative;
	isolation: auto;
	overflow: visible;
	margin: 0 0 28px;
	padding: 0 0 20px;
	background: transparent;
	border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
	.layout--single .entry--page .entry-header { margin: 0 0 32px; padding: 0 0 22px; }
}
.layout--single .entry--page .entry-header::before { content: none; }
.layout--single .entry--page .entry-title,
.layout--sidebar .entry--page .entry-title {
	color: var(--text);
	margin: 0;
	text-transform: none;
	text-shadow: none;
	font-size: clamp(2rem, 4vw, 2.8rem);
	letter-spacing: -0.035em;
}
.layout--single .entry--page .entry-meta { color: var(--muted); margin-top: 8px; }

.signoff {
	background: var(--surface-2);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: none;
	padding: 20px 22px;
}
.signoff__mark {
	background: var(--grad) !important;
	color: var(--accent-ink);
	border-radius: 8px;
	clip-path: none;
	box-shadow: none;
}
.signoff__line { color: var(--text); font-family: var(--font-display); font-style: normal; font-size: 1.1rem; }
.signoff__sub, .signoff__sub a { color: var(--muted); }
.signoff__sub a:hover { color: var(--accent); }
.bkg-signoff { color: var(--text); font-family: var(--font-display); font-style: normal; border-left: 3px solid var(--accent); }

.post-nav a {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius);
	box-shadow: none;
	color: var(--text);
	text-decoration: none;
	padding: 16px 18px;
}
.post-nav a:hover { border-color: rgba(34, 211, 238, .35); box-shadow: var(--glow); }
.post-nav .post-nav__label { color: var(--accent); font-weight: 650; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.related { margin-top: 56px; }

/* ---------- Comments ---------- */
.comments-area { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 32px; }
.comment-body { border-bottom: 1px solid var(--line); }
.comment-meta, .comment-metadata a { color: var(--muted); font-family: var(--font-sans); }
.comment-author { color: var(--text); font-weight: 700; }
.comment-author .avatar { border-radius: 8px; border: 1px solid var(--line); }
.comment-list .children { border-left: 2px solid var(--accent); }
.reply a, .comment-reply-link { color: var(--accent); font-family: var(--font-display); text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.comment-respond {
	background: var(--surface-2);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	padding: 22px 22px;
	box-shadow: none;
}
.comment-form label { color: var(--text); }
.comment-notes, .logged-in-as, .comment-form .comment-form-cookies-consent label { color: var(--muted); }
.comment-form input[type="checkbox"] { accent-color: var(--accent); }

.search-field, input[type="search"], .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .widget select, .wp-block-search__input {
	background: #16161d;
	color: var(--text);
	border: 1px solid #32323c;
	border-radius: var(--radius);
	padding: 10px 12px;
}
.search-field:focus, .comment-form input:focus, .comment-form textarea:focus, .wp-block-search__input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, .2);
	outline: none;
}

/* ---------- Pagination ---------- */
.page-numbers {
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 650;
	box-shadow: none;
	min-width: 40px;
	height: 40px;
	display: inline-grid;
	place-items: center;
	text-decoration: none;
}
a.page-numbers:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.page-numbers.dots { box-shadow: none; background: none; border: 0; }

/* ---------- Sidebar + widgets ---------- */
.widget {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: none;
	padding: 18px 18px 16px;
}
.ad-slot .widget, .site-footer .widget { box-shadow: none; border: 0; background: none; padding: 0; }
.widget-title, .widget h2, .widget .wp-block-heading {
	font-family: var(--font-display);
	color: var(--text);
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	margin: 0 0 12px;
}
.widget li { border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 8px 0; }
.widget a { color: var(--text); text-decoration: none; }
.widget a:hover { color: var(--accent); }
.wp-block-search__button { border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); border: 0; }

.ad-slot { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.ad-slot__label { color: var(--muted); }

/* ---------- Notes, contact card, 404 ---------- */
.bkg-note {
	background: var(--note-bg);
	border: 1px solid #e0a800;
	border-left: 3px solid #e0a800;
	color: #f6e3a8 !important;
	border-radius: var(--radius);
}
.bkg-note::before { color: var(--note-accent); }
mark.bkg-note-inline { background: var(--note-bg); color: #f6e3a8; border: 1px solid #e0a800; border-radius: 4px; }

.contact-card {
	background: var(--surface-2);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: none;
	color: var(--text);
	padding: 22px;
}
.contact-card h3 { font-family: var(--font-display); text-transform: none; }
.contact-card__email a { color: var(--accent); background: var(--bg); padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; display: inline-block; }
.contact-card__email a:hover { background: rgba(34, 211, 238, .1); border-color: var(--accent); }
.contact-card .btn { background: var(--accent); }

.empty-state { padding: 72px 0 96px; }
.empty-state__code {
	font-family: var(--font-display);
	color: var(--accent);
	text-shadow: none;
	letter-spacing: -0.04em;
	font-weight: 800;
}
.empty-state__code::before {
	content: "Page not found";
	display: block;
	font-family: var(--font-display);
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
	text-shadow: none;
	margin-bottom: 12px;
}
.empty-state h1 { text-transform: none; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.empty-state p { color: var(--muted); }

/* ---------- Free PC Games ---------- */
.free-games-list__updated { color: var(--muted); }
.free-games-list__updated time { color: var(--accent); }
.prose .free-games-table, .free-games-table {
	background: var(--surface);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: none;
	overflow: hidden;
}
.free-games-table th, .free-games-table td { border-bottom: 1px solid var(--line); border-left: 0; border-right: 0; border-top: 0; }
.free-games-table thead th {
	background: var(--surface-2);
	color: var(--muted);
	font-family: var(--font-display);
	font-size: .7rem;
	letter-spacing: .1em;
}
.free-games-table tbody tr:hover td { background: rgba(34, 211, 238, .04); }
.free-games-table .fg-game { color: var(--text); font-weight: 700; }
.free-games-table .fg-note { color: var(--muted); }
.free-games-table .fg-ends { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); }
.free-games-table .fg-link a {
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 8px;
	clip-path: none;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .04em;
	box-shadow: none;
	text-decoration: none;
	min-height: 38px;
	padding: 0 16px;
}
.free-games-table .fg-link a:hover { background: var(--accent-hover); color: var(--accent-ink); box-shadow: var(--glow); }
.free-games-empty td {
	color: var(--muted) !important;
	font-style: normal;
	font-weight: 500;
	background: var(--surface-2);
}
.free-games-empty td::before { content: none; }
.store-badge {
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--text);
	font-family: var(--font-display);
	font-size: .68rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 3px 9px;
}
.store-badge[data-store="epic"] { border-color: #3a3a42; color: var(--text); background: #1a1a20; }
.store-badge[data-store="steam"] { border-color: rgba(34, 211, 238, .35); color: var(--accent); background: rgba(34, 211, 238, .08); }
.store-badge[data-store="gog"] { border-color: rgba(52, 211, 153, .35); color: #6ee7b7; background: rgba(52, 211, 153, .08); }
.store-badge[data-store="prime"] { border-color: rgba(34, 211, 238, .3); color: #7dd3fc; background: rgba(34, 211, 238, .08); }
.store-badge[data-store="ubisoft"], .store-badge[data-store="ea"] { border-color: rgba(251, 146, 60, .35); color: #fdba74; background: rgba(251, 146, 60, .08); }
@media (max-width: 700px) {
	.prose .free-games-table, .free-games-table { background: none; border: 0; box-shadow: none; }
	.free-games-table tbody tr {
		background: var(--surface);
		border: 1px solid rgba(255, 255, 255, .07);
		border-radius: var(--radius-lg);
		box-shadow: none;
		margin-bottom: 16px;
	}
	.free-games-table td { border: 0 !important; }
	.free-games-table td[data-label]::before { color: var(--muted); font-weight: 650; }
	.free-games-table tbody tr:hover td { background: none; }
}

/* ---------- Contact form ---------- */
.bigk-cf { margin: 1.6em 0 1.4em; scroll-margin-top: calc(var(--header-h) + 24px); }
.bigk-cf__form {
	background: var(--surface-2);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: var(--radius-lg);
	box-shadow: none;
	padding: 22px 20px 24px;
	display: grid;
	gap: 18px;
	font-family: var(--font-sans);
}
@media (min-width: 640px) { .bigk-cf__form { padding: 28px 30px 30px; } }
.bigk-cf__field { display: grid; gap: 6px; margin: 0; }
.prose .bigk-cf__field > *, .prose .bigk-cf__form > * { margin: 0; }
.bigk-cf__label {
	font-family: var(--font-display);
	font-weight: 650;
	font-size: .92rem;
	letter-spacing: .01em;
	color: var(--text);
	line-height: 1.3;
}
.bigk-cf__req { color: var(--accent-2); }
.bigk-cf__input, .bigk-cf__textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	font: inherit;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--text);
	background: #16161d;
	border: 1px solid #32323c;
	border-radius: var(--radius);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.bigk-cf__textarea { min-height: 160px; resize: vertical; }
.bigk-cf__input:focus, .bigk-cf__textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, .22);
}
.bigk-cf__hint { color: var(--muted); font-size: .85rem; margin: 0; }
.bigk-cf__error { color: #fda4af; font-size: .875rem; margin: 0; }
.bigk-cf__submit { min-height: 48px; padding: 0 28px; font-size: .9rem; }
@media (max-width: 520px) { .bigk-cf__submit { width: 100%; } }
.bigk-cf__hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bigk-cf__notice {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 16px 18px;
	margin: 0 0 22px;
	color: var(--text);
}
.bigk-cf__notice:focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.bigk-cf__notice p, .bigk-cf__notice ul { margin: 6px 0 0; }
.bigk-cf__notice a { color: var(--accent); font-weight: 650; }
.bigk-cf__notice-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: none; }
.bigk-cf__notice--error { background: #1a1014; border-color: #fb7185; color: #fecdd3; }
.bigk-cf__notice--error .bigk-cf__notice-title { color: #fda4af; }
.bigk-cf__notice--error .bigk-cf__notice-title::before { content: none; }
.bigk-cf__notice--success { background: #0c1914; border-color: #34d399; color: #bbf7d0; }
.bigk-cf__notice--success .bigk-cf__notice-title { color: #6ee7b7; }
.bigk-cf__notice--success .bigk-cf__notice-title::before { content: none; }

/* Full Width template */
.bkg-fullwidth .layout--full .content-col { max-width: none; width: 100%; }
.bkg-fullwidth .layout--full .entry { width: 100%; }
@media (min-width: 1100px) {
	.bkg-fullwidth .layout--full .entry { padding-left: 56px; padding-right: 56px; }
	.bkg-fullwidth .layout--full .entry--page .entry-header { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

/* Fallback art (legacy path) + generated SVG */
.fallback-art { color: #fff; background: linear-gradient(135deg, #10141c, #07080c); }
.fallback-art::before { display: none; }
.fa-0, .fa-1, .fa-2, .fa-3, .fa-4 { --fa-bg: linear-gradient(135deg, #10141c, #07080c); --fa-ink: var(--accent); }
.art { display: block; width: 100%; height: 100%; }

@media print {
	.card, .entry, .widget { box-shadow: none !important; }
	.card__media::before { display: none; }
	body { background: #fff; color: #000; }
}

.entry .wp-post-image, .entry .featured-image img, .prose img {
	border: 1px solid rgba(255, 255, 255, .06);
}

/* ==========================================================================
   Homepage v2 — flowing editorial layout (scoped to .home-v2)
   Replaces boxy grids/tiles with a full-bleed latest-post hero, open
   spotlight + hairline-separated stream, borderless Start Here picks,
   inline topic pills, and a gradient-blended About strip.
   ========================================================================== */
.home-v2 {
	background: var(--bg);
}

/* Full-bleed atmospheric hero */
.home-v2 .hero-flow {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--bg);
	border-bottom: 0;
}
.home-v2 .hero-flow__glow {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(10, 10, 12, 0) 58%, #0a0a0c 100%),
		radial-gradient(880px 460px at 86% 6%, rgba(34, 211, 238, .20), transparent 62%),
		radial-gradient(760px 400px at 8% 72%, rgba(232, 121, 249, .14), transparent 58%),
		radial-gradient(520px 280px at 50% 45%, rgba(34, 211, 238, .05), transparent 70%),
		var(--bg);
}
/* Phone/tablet: in-flow rounded photo above the copy (the faded full-bleed
   backdrop was technically present but too dark/masked to see). Desktop keeps
   the edge-masked right-side backdrop. */
.home-v2 .hero-flow__media {
	position: relative;
	z-index: 0;
	inset: auto;
	width: calc(100% - 40px);
	max-width: var(--wrap);
	margin: 24px auto 0;
	aspect-ratio: 16 / 10;
	height: auto;
	border-radius: var(--radius-lg);
	overflow: hidden;
	pointer-events: none;
	-webkit-mask-image: none;
	mask-image: none;
	box-shadow: 0 22px 48px rgba(0, 0, 0, .48), 0 0 54px -22px rgba(34, 211, 238, .22);
}
@media (min-width: 760px) {
	.home-v2 .hero-flow__media { width: calc(100% - 64px); }
}
.home-v2 .hero-flow__media img,
.home-v2 .hero-flow__media .art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	opacity: 1;
	filter: saturate(1.08);
	display: block;
}
.home-v2 .hero-flow__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
	background: none;
	pointer-events: none;
}
@media (min-width: 860px) {
	.home-v2 .hero-flow__media {
		position: absolute;
		inset: 0 0 0 auto;
		z-index: 0;
		width: 68%;
		max-width: none;
		margin: 0;
		aspect-ratio: auto;
		height: 100%;
		border-radius: 0;
		box-shadow: none;
		-webkit-mask-image:
			linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 24%, rgba(0, 0, 0, .88) 58%, #000 100%),
			linear-gradient(180deg, rgba(0, 0, 0, .65) 0%, #000 22%, #000 64%, transparent 100%);
		-webkit-mask-composite: source-in;
		mask-image:
			linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 24%, rgba(0, 0, 0, .88) 58%, #000 100%),
			linear-gradient(180deg, rgba(0, 0, 0, .65) 0%, #000 22%, #000 64%, transparent 100%);
		mask-composite: intersect;
	}
	.home-v2 .hero-flow__media img,
	.home-v2 .hero-flow__media .art {
		opacity: .64;
	}
	.home-v2 .hero-flow__media::after {
		border-radius: 0;
		box-shadow: none;
		background: linear-gradient(90deg, rgba(10, 10, 12, .45) 0%, rgba(10, 10, 12, .12) 50%, rgba(10, 10, 12, .18) 100%);
	}
	.home-v2 .hero-flow__inner { position: relative; z-index: 1; }
}
.home-v2 .hero-flow__inner {
	padding-top: 28px;
	padding-bottom: 36px;
}
@media (min-width: 860px) {
	.home-v2 .hero-flow__inner {
		padding-top: 88px;
		padding-bottom: 56px;
	}
}
.home-v2 .hero-flow__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	font-size: .84rem;
	color: #c2c6d4;
	margin-bottom: 14px;
}
.home-v2 .hero-flow__badge {
	font-family: var(--font-display);
	font-weight: 750;
	font-size: .72rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	margin-right: 12px;
}
.home-v2 .hero-flow__cat {
	color: #f4f5f8;
	font-weight: 650;
	text-decoration: none;
}
.home-v2 .hero-flow__cat:hover {
	color: var(--accent);
}
.home-v2 .hero-flow__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(2rem, 4.4vw, 3.35rem);
	line-height: 1.07;
	letter-spacing: -0.035em;
	margin: 0 0 18px;
	max-width: 19ch;
	color: #fff;
}
.home-v2 .hero-flow__title a {
	color: #fff;
	text-decoration: none;
}
.home-v2 .hero-flow__title a:hover {
	color: var(--accent-hover);
}
.home-v2 .hero-flow__lead {
	color: #c5c9d8;
	font-size: clamp(1rem, 1.4vw, 1.14rem);
	line-height: 1.62;
	max-width: 52ch;
	margin: 0 0 28px;
}
.home-v2 .hero-flow__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}
.home-v2 .hero-flow__links {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
}
.home-v2 .hero-flow__link {
	font-family: var(--font-display);
	font-weight: 650;
	font-size: .84rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text);
	text-decoration: none;
}
.home-v2 .hero-flow__link:hover {
	color: var(--accent);
}
.home-v2 .hero-flow__tagline {
	margin: 34px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .07);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	max-width: 68ch;
	font-size: .92rem;
	color: var(--muted);
}
@media (min-width: 860px) {
	.home-v2 .hero-flow__tagline {
		margin-top: 46px;
	}
}
.home-v2 .hero-flow__tagline strong {
	color: var(--text);
	font-weight: 650;
}
.home-v2 .hero-flow__dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--grad);
	box-shadow: 0 0 10px rgba(34, 211, 238, .65);
	align-self: center;
	flex: 0 0 auto;
}

/* Flowing section bands */
.home-v2 .hsec {
	padding: 44px 0;
}
@media (min-width: 900px) {
	.home-v2 .hsec {
		padding: 64px 0;
	}
}
.home-v2 .hsec + .hsec {
	padding-top: 44px;
}
@media (min-width: 900px) {
	.home-v2 .hsec + .hsec {
		padding-top: 64px;
	}
}
.home-v2 .hsec--stream {
	background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(18, 18, 25, .40) 28%, rgba(18, 18, 25, .30) 78%, rgba(10, 10, 12, 0) 100%);
}
.home-v2 .hsec--start {
	background:
		radial-gradient(760px 340px at 88% 18%, rgba(232, 121, 249, .07), transparent 65%),
		radial-gradient(760px 340px at 12% 82%, rgba(34, 211, 238, .07), transparent 65%);
}
.home-v2 .hsec--closing {
	padding-bottom: 56px;
	background: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(34, 211, 238, .035) 48%, rgba(232, 121, 249, .03) 82%, #050506 100%);
}
@media (min-width: 900px) {
	.home-v2 .hsec--closing {
		padding-bottom: 72px;
	}
}

/* Shared open stream metadata */
.home-v2 .stream-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 0;
	font-size: .8rem;
	color: var(--muted);
}
.home-v2 .stream-meta__cat {
	position: relative;
	z-index: 1;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .72rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent);
	text-decoration: none;
}
.home-v2 .stream-meta__cat:hover {
	color: var(--accent-hover);
}

/* #2 Spotlight row (open 2-column feature without card box) */
.home-v2 .spot-row {
	position: relative;
	display: grid;
	gap: 22px;
	margin-bottom: 32px;
}
@media (min-width: 860px) {
	.home-v2 .spot-row {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		gap: 44px;
		align-items: center;
		margin-bottom: 44px;
	}
}
.home-v2 .spot-row__media {
	position: relative;
	aspect-ratio: 16 / 11;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface);
	box-shadow: 0 22px 48px rgba(0, 0, 0, .48), 0 0 54px -22px rgba(34, 211, 238, .22);
}
.home-v2 .spot-row__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;
}
.home-v2 .spot-row__media img,
.home-v2 .spot-row__media .art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 46%;
	display: block;
	transition: transform .35s ease;
}
.home-v2 .spot-row__title {
	font-family: var(--font-display);
	font-weight: 750;
	font-size: clamp(1.42rem, 2.5vw, 1.92rem);
	line-height: 1.18;
	letter-spacing: -0.025em;
	margin: 10px 0 12px;
}
.home-v2 .spot-row__title a {
	color: #f4f5f8;
	text-decoration: none;
}
.home-v2 .spot-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.home-v2 .spot-row:hover .spot-row__title a {
	color: var(--accent-hover);
}
@media (prefers-reduced-motion: no-preference) {
	.home-v2 .spot-row:hover .spot-row__media img,
	.home-v2 .spot-row:hover .spot-row__media .art {
		transform: scale(1.03);
	}
}
.home-v2 .spot-row__excerpt {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.62;
	margin: 0 0 16px;
	max-width: 52ch;
}
.home-v2 .spot-row__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
}

/* Flowing editorial stream list */
.home-v2 .stream-list {
	display: flex;
	flex-direction: column;
}
.home-v2 .stream-item {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, .07);
}
@media (min-width: 720px) {
	.home-v2 .stream-item {
		grid-template-columns: 236px minmax(0, 1fr);
		gap: 30px;
		align-items: center;
		padding: 24px 0;
	}
}
.home-v2 .stream-item:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.home-v2 .stream-item__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
}
.home-v2 .stream-item__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;
}
.home-v2 .stream-item__media img,
.home-v2 .stream-item__media .art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .32s ease;
}
.home-v2 .stream-item__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.04rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin: 6px 0 0;
}
@media (min-width: 720px) {
	.home-v2 .stream-item__title {
		font-size: 1.28rem;
		margin: 8px 0 8px;
	}
}
.home-v2 .stream-item__title a {
	color: var(--text);
	text-decoration: none;
}
.home-v2 .stream-item__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.home-v2 .stream-item:hover .stream-item__title a {
	color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
	.home-v2 .stream-item:hover .stream-item__media img,
	.home-v2 .stream-item:hover .stream-item__media .art {
		transform: scale(1.03);
	}
}
.home-v2 .stream-item__excerpt {
	display: none;
}
@media (min-width: 720px) {
	.home-v2 .stream-item__excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		color: var(--muted);
		font-size: .95rem;
		line-height: 1.56;
		margin: 0;
		max-width: 66ch;
	}
}

/* Start here — borderless editorial picks */
.home-v2 .start-flow {
	display: flex;
	flex-direction: column;
}
@media (min-width: 860px) {
	.home-v2 .start-flow {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
}
.home-v2 .start-pick {
	position: relative;
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, .07);
}
.home-v2 .start-pick:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}
@media (min-width: 860px) {
	.home-v2 .start-pick {
		display: block;
		padding: 0;
		border: 0;
	}
	.home-v2 .start-pick:last-child {
		border-bottom: 0;
	}
}
.home-v2 .start-pick__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: var(--surface);
}
.home-v2 .start-pick__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;
}
.home-v2 .start-pick__media img,
.home-v2 .start-pick__media .art {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .32s ease;
}
.home-v2 .start-pick__num {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--accent-2);
	margin: 0 0 4px;
}
@media (min-width: 860px) {
	.home-v2 .start-pick__num {
		margin: 14px 0 6px;
	}
}
.home-v2 .start-pick__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.02rem;
	line-height: 1.28;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
}
@media (min-width: 860px) {
	.home-v2 .start-pick__title {
		font-size: 1.12rem;
		margin: 0 0 8px;
	}
}
.home-v2 .start-pick__title a {
	color: var(--text);
	text-decoration: none;
}
.home-v2 .start-pick__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.home-v2 .start-pick:hover .start-pick__title a {
	color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
	.home-v2 .start-pick:hover .start-pick__media img,
	.home-v2 .start-pick:hover .start-pick__media .art {
		transform: scale(1.03);
	}
}

/* Inline topic pills (replaces boxy category tiles on home) */
.home-v2 .topic-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}
.home-v2 .topic-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .03);
	border: 1px solid rgba(255, 255, 255, .09);
	color: var(--text);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: .92rem;
	letter-spacing: -0.01em;
	transition: border-color .15s ease, background .15s ease, transform .15s ease, color .15s ease;
}
.home-v2 .topic-pill:hover {
	border-color: rgba(34, 211, 238, .45);
	background: rgba(34, 211, 238, .08);
	color: #fff;
	transform: translateY(-1px);
}
.home-v2 .topic-pill__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tc, var(--accent));
	box-shadow: 0 0 10px var(--tc, var(--accent));
	flex: 0 0 auto;
}
.home-v2 .topic-pill__count {
	font-family: var(--font-mono);
	font-size: .74rem;
	color: var(--muted);
}

/* Open About band blended toward footer */
.home-v2 .about-flow {
	position: relative;
	margin-top: 48px;
	padding-top: 38px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 26px;
}
.home-v2 .about-flow::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(34, 211, 238, .28), rgba(232, 121, 249, .22), transparent 82%);
}
@media (min-width: 860px) {
	.home-v2 .about-flow {
		margin-top: 64px;
		padding-top: 44px;
	}
}
.home-v2 .about-flow__mark {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--grad);
	color: var(--accent-ink);
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.15rem;
	flex: 0 0 auto;
}
.home-v2 .about-flow__text {
	margin: 0;
	flex: 1 1 280px;
	font-size: 1.05rem;
	color: var(--text);
	font-weight: 500;
}
.home-v2 .about-flow__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ------------------------------------------------------------------
   Homepage v1.4 — magazine layout (scoped to .home-mag)
   ------------------------------------------------------------------ */

.home-mag .mag-topics {
	background: var(--bg-2);
	border-bottom: 1px solid var(--line);
}
.home-mag .mag-topics__inner {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 48px;
	overflow-x: auto;
	scrollbar-width: none;
}
.home-mag .mag-topics__inner::-webkit-scrollbar { display: none; }
.home-mag .mag-topics a {
	flex: 0 0 auto;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 10px 12px;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.home-mag .mag-topics a:hover { color: var(--accent); }
@media (max-width: 640px) {
	.home-mag .mag-topics .wrap { padding-left: 16px; padding-right: 12px; }
	.home-mag .mag-topics a {
		padding: 10px 7px;
		letter-spacing: .04em;
		font-size: .6875rem;
	}
}

.home-mag .mag-lead-section { padding: 28px 0 8px; }
@media (min-width: 900px) { .home-mag .mag-lead-section { padding: 36px 0 12px; } }
.home-mag .mag-lead-section--empty { padding-bottom: 36px; }
.home-mag .mag-lead-section--empty .mag-lead__title { position: relative; max-width: 28ch; }
.home-mag .mag-lead-section--empty .mag-lead__excerpt { position: relative; color: var(--muted); max-width: 42rem; margin: 0 0 1.25rem; }

.home-mag .mag-lead-pack {
	display: grid;
	gap: 16px;
}
@media (min-width: 980px) {
	.home-mag .mag-lead-pack {
		grid-template-columns: 1.45fr 0.9fr;
		gap: 18px;
		min-height: 560px;
	}
}

.home-mag .mag-lead {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 420px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface-2);
	border: 1px solid rgba(255,255,255,.06);
	text-decoration: none;
	color: inherit;
}
.home-mag .mag-lead__media {
	position: absolute;
	inset: 0;
}
.home-mag .mag-lead__media img,
.home-mag .mag-lead__media .art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.home-mag .mag-lead__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10,10,12,.15) 0%, rgba(10,10,12,.2) 40%, rgba(10,10,12,.92) 100%),
		linear-gradient(90deg, rgba(10,10,12,.35) 0%, transparent 45%);
	pointer-events: none;
	z-index: 1;
}
.home-mag .mag-lead__body {
	position: relative;
	z-index: 2;
	padding: 28px 24px 26px;
	max-width: 42rem;
}
.home-mag .mag-lead__title {
	font-size: clamp(1.65rem, 3.1vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: .5rem 0 .7rem;
	color: #fff;
}
.home-mag .mag-lead:hover .mag-lead__title { color: var(--accent-hover); }
.home-mag .mag-lead__excerpt {
	color: #d5d8e0;
	font-size: 1.02rem;
	line-height: 1.55;
	margin: 0 0 1rem;
	max-width: 38rem;
}
.home-mag .mag-lead__meta { color: #b4b7c2; font-size: .875rem; }

.home-mag .mag-headlines {
	display: grid;
	gap: 16px;
}
@media (min-width: 980px) {
	.home-mag .mag-headlines { grid-template-rows: repeat(3, 1fr); gap: 18px; }
}

.home-mag .mag-headline {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 14px;
	align-items: stretch;
	background: var(--surface);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	min-height: 132px;
}
.home-mag .mag-headline__media {
	position: relative;
	background: var(--surface-2);
	overflow: hidden;
	min-height: 100%;
}
.home-mag .mag-headline__media img,
.home-mag .mag-headline__media .art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.home-mag .mag-headline__body {
	padding: 14px 16px 14px 2px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-width: 0;
}
.home-mag .mag-headline__title {
	font-size: 1.05rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: #f4f5f8;
	margin: 0;
}
.home-mag .mag-headline:hover .mag-headline__title { color: var(--accent-hover); }
.home-mag .mag-headline__meta { color: var(--muted); font-size: .8125rem; }

@media (max-width: 640px) {
	.home-mag .mag-headline { grid-template-columns: 108px 1fr; min-height: 122px; }
	.home-mag .mag-headline__body { padding: 12px 12px 12px 0; }
	.home-mag .mag-headline__title { font-size: 0.98rem; }
	.home-mag .mag-lead { min-height: 460px; }
	.home-mag .mag-lead__body { padding: 22px 18px 20px; }
}

.home-mag .mag-pill {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 999px;
	width: fit-content;
	line-height: 1.3;
}
.home-mag .mag-pill--cyan {
	color: var(--accent);
	background: rgba(34, 211, 238, .12);
	border: 1px solid rgba(34, 211, 238, .32);
}
.home-mag .mag-pill--magenta {
	color: #f0abfc;
	background: rgba(232, 121, 249, .12);
	border: 1px solid rgba(232, 121, 249, .32);
}

.home-mag .mag-welcome-section {
	padding: 20px 0 0;
}
@media (min-width: 900px) {
	.home-mag .mag-welcome-section { padding-top: 24px; }
}
.home-mag .mag-welcome {
	position: relative;
	overflow: hidden;
	max-width: 70ch;
	background: var(--surface);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: var(--radius-lg);
	padding: 22px 24px 20px 28px;
	font-family: var(--font-sans), "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
}
.home-mag .mag-welcome::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: linear-gradient(135deg, #22d3ee 0%, #e879f9 100%);
}
.home-mag .mag-welcome h2 {
	font-size: 1.5rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 1rem;
	color: #f4f5f8;
}
.home-mag .mag-welcome h2:first-child { margin-top: 0; }
.home-mag .mag-welcome p {
	margin: 0 0 1.1em;
	color: var(--text);
	overflow-wrap: break-word;
}
.home-mag .mag-welcome p:last-child { margin-bottom: 0; }
.home-mag .mag-welcome a { color: var(--accent); }
.home-mag .mag-welcome a:hover { color: var(--accent-hover); }
@media (max-width: 640px) {
	.home-mag .mag-welcome { padding: 18px 16px 16px 20px; }
	.home-mag .mag-welcome h2 { font-size: 1.3rem; }
}

.home-mag .mag-feed {
	display: grid;
	gap: 36px;
	padding: 36px 0 56px;
}
@media (min-width: 1100px) {
	.home-mag .mag-feed {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 40px;
		align-items: start;
		padding-top: 40px;
	}
}

.home-mag .mag-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}
.home-mag .mag-section-head h2,
.home-mag .mag-latest__head h2 {
	font-size: 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
}
.home-mag .mag-kicker {
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 700;
}
.home-mag .mag-section-more {
	font-weight: 700;
	font-size: .9375rem;
	white-space: nowrap;
	color: var(--accent);
	text-decoration: none;
}
.home-mag .mag-section-more:hover { color: var(--accent-hover); }

.home-mag .mag-card-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.home-mag .mag-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.home-mag .mag-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.home-mag .mag-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	position: relative;
	box-shadow: none;
}
.home-mag .mag-card:hover { border-color: #3d4577; transform: none; }
.home-mag .mag-card:hover .mag-card__title { color: var(--accent-hover); }
.home-mag .mag-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--surface-2);
	overflow: hidden;
}
.home-mag .mag-card__media img,
.home-mag .mag-card__media .art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.home-mag .mag-card__body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.home-mag .mag-card__title {
	font-size: 1.02rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.28;
	color: #f4f5f8;
	margin: 0;
}
.home-mag .mag-card__excerpt {
	color: var(--muted);
	font-size: .875rem;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.home-mag .mag-card__meta {
	color: var(--muted);
	font-size: .8125rem;
	margin-top: auto;
	padding-top: 4px;
}

.home-mag .mag-more .home-ad { margin-top: 28px; }

.home-mag .mag-latest {
	background: var(--surface);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: var(--radius-lg);
	padding: 18px 18px 10px;
	position: relative;
	overflow: hidden;
}
.home-mag .mag-latest::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: linear-gradient(135deg, #22d3ee 0%, #e879f9 100%);
}
.home-mag .mag-latest__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0 0 12px 6px;
	border-bottom: 1px solid var(--line);
}
.home-mag .mag-latest__head h2 { font-size: 1.2rem; }
.home-mag .mag-latest ol { list-style: none; margin: 0; padding: 0; }
.home-mag .mag-latest li + li { border-top: 1px solid var(--line); }
.home-mag .mag-latest a {
	display: grid;
	grid-template-columns: 28px 64px 1fr;
	gap: 10px;
	align-items: center;
	padding: 12px 4px 12px 6px;
	text-decoration: none;
	color: inherit;
}
.home-mag .mag-latest a:hover .mag-latest__title { color: var(--accent-hover); }
.home-mag .mag-latest__num {
	font-family: var(--font-mono);
	font-size: .75rem;
	font-weight: 700;
	color: var(--accent);
	letter-spacing: .04em;
}
.home-mag .mag-latest__thumb {
	position: relative;
	width: 64px;
	height: 48px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--surface-2);
	flex-shrink: 0;
}
.home-mag .mag-latest__thumb img,
.home-mag .mag-latest__thumb .art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.home-mag .mag-latest__title {
	display: block;
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.3;
	color: #f4f5f8;
}
.home-mag .mag-latest__date {
	display: block;
	color: var(--muted);
	font-size: .75rem;
	margin-top: 4px;
}
@media (max-width: 1099px) {
	.home-mag .mag-latest a { grid-template-columns: 28px 72px 1fr; }
}

.home-mag .mag-about-section {
	padding: 0 0 56px;
}
.home-mag .mag-about {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	background: var(--surface);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: var(--radius-lg);
	padding: 22px 24px;
}
.home-mag .mag-about__mark {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: linear-gradient(135deg, #22d3ee 0%, #e879f9 100%);
	color: var(--accent-ink, #042026);
	font-weight: 900;
	font-size: 1.2rem;
	letter-spacing: -0.04em;
	flex: 0 0 auto;
}
.home-mag .mag-about__text {
	margin: 0 0 14px;
	color: var(--text);
	max-width: 60ch;
}
.home-mag .mag-about__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
@media (max-width: 640px) {
	.home-mag .mag-about { padding: 18px 16px; }
}
