/* Welcome Free Tools — main stylesheet. Mobile-first, light/dark via [data-theme]. */

/* ---------- Tokens ---------- */
:root {
	--navy: #131b4d;
	--royal: #2140a8;
	--blue: #2d5be3;
	--seal: #ffc23c;
	--mist: #e8eeff;
	--green: #16a06b;
	--purple: #7a4ce0;
	--pink: #e0457b;
	--teal: #129a9e;
	--orange: #f0a21f;

	--bg: #f6f8ff;
	--surface: #ffffff;
	--surface-2: #eef2ff;
	--text: #141a33;
	--muted: #4f5a7a;
	--line: #d9e0f5;
	--link: #2140a8;
	--focus: #ffc23c;
	--shadow: 0 1px 2px rgba(19, 27, 77, .06), 0 6px 20px rgba(19, 27, 77, .06);
	--radius: 14px;
	--radius-sm: 9px;
	--wrap: 1200px;
	--font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color-scheme: light;
}
[data-theme="dark"] {
	--bg: #0b1030;
	--surface: #131a43;
	--surface-2: #1a2357;
	--text: #e9edff;
	--muted: #a9b3d9;
	--line: #28326b;
	--link: #9db4ff;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--font-body);
	overflow-x: hidden;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wft-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--seal); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.wft-skip:focus { top: 12px; }
.wft-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wft-narrow { max-width: 820px; }
.wft-main { display: block; min-height: 60vh; outline: none; }
.wft-small { font-size: .875rem; color: var(--muted); }
.wft-empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; }
.wft-ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }

/* ---------- Buttons & chips ---------- */
.wft-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid transparent;
	font: 600 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.wft-btn-primary { background: var(--blue); color: #fff; }
.wft-btn-primary:hover { background: var(--royal); color: #fff; }
.wft-btn-outline { background: transparent; color: var(--link); border-color: currentColor; }
.wft-btn-outline:hover { background: var(--surface-2); }
.wft-btn-ghost { background: var(--surface-2); color: var(--text); }
.wft-btn-ghost:hover { background: var(--line); }
.wft-chip {
	display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
	font-size: .8rem; font-weight: 600; background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
}
.wft-chip-price { background: rgba(22, 160, 107, .12); color: #0b6e48; border-color: rgba(22, 160, 107, .3); }
[data-theme="dark"] .wft-chip-price { color: #6fe0b3; }
.wft-chip-sponsored { background: rgba(240, 162, 31, .14); color: #8a5300; border-color: rgba(240, 162, 31, .4); }
[data-theme="dark"] .wft-chip-sponsored { color: #ffcf7a; }
.wft-count { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .75rem; text-align: center; }

/* ---------- Verification seal (signature element) ---------- */
.wft-seal {
	display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none;
	background: var(--seal); color: var(--navy);
	clip-path: polygon(50% 0, 61% 11%, 75% 7%, 79% 21%, 93% 25%, 89% 39%, 100% 50%, 89% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 89%, 50% 100%, 39% 89%, 25% 93%, 21% 79%, 7% 75%, 11% 61%, 0 50%, 11% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 11%);
}
.wft-seal .wft-ico { width: 13px; height: 13px; stroke-width: 3.2; }
.wft-seal-lg { width: 44px; height: 44px; }
.wft-seal-lg .wft-ico { width: 22px; height: 22px; }
.wft-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px;
	font-size: .8rem; font-weight: 700; border: 1px solid var(--line); background: var(--surface);
}
.wft-badge-verified { border-color: rgba(255, 194, 60, .7); background: rgba(255, 194, 60, .14); color: var(--text); }
.wft-badge-needs_review, .wft-badge-reported, .wft-badge-unavailable { padding-left: 8px; color: var(--muted); }
.wft-badge-reported { color: #a4321f; border-color: rgba(214, 69, 46, .4); }
.wft-badge-unavailable { color: #7a2030; }
[data-theme="dark"] .wft-badge-reported, [data-theme="dark"] .wft-badge-unavailable { color: #ff9b8a; }

/* ---------- Header ---------- */
.wft-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.wft-header-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.wft-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.wft-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.wft-brand-name { font: 700 1.05rem/1.15 var(--font-head); white-space: nowrap; }
.wft-brand-tag { font-size: .72rem; opacity: .75; white-space: nowrap; }
.wft-header-search { flex: 1; display: none; max-width: 460px; margin-left: auto; }
.wft-header-actions { display: flex; gap: 6px; margin-left: auto; }
.wft-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: rgba(255, 255, 255, .08); color: #fff; border: 0; cursor: pointer;
}
.wft-icon-btn:hover { background: rgba(255, 255, 255, .16); }
.wft-theme-toggle .wft-ico-sun, [data-theme="dark"] .wft-theme-toggle .wft-ico-moon { display: none; }
[data-theme="dark"] .wft-theme-toggle .wft-ico-sun { display: block; }
.wft-menu-toggle .wft-ico-close, .wft-menu-open .wft-menu-toggle .wft-ico-menu { display: none; }
.wft-menu-open .wft-menu-toggle .wft-ico-close { display: block; }

.wft-nav { display: none; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); }
.wft-menu-open .wft-nav { display: block; max-height: calc(100vh - 64px); overflow-y: auto; }
.wft-nav-search { padding: 12px 0 4px; }
.wft-nav-list { list-style: none; margin: 0; padding: 8px 0 16px; }
.wft-nav-list a {
	display: block; padding: 12px 10px; color: #fff; text-decoration: none; border-radius: 10px; font-weight: 600;
}
.wft-nav-list a:hover, .wft-nav-list a[aria-current="page"], .wft-nav-list .current-menu-item > a { background: rgba(255, 255, 255, .1); }
.wft-nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--seal); }

/* ---------- Search & autocomplete ---------- */
.wft-search { position: relative; display: flex; align-items: center; gap: 6px; background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px; }
.wft-search:focus-within { border-color: var(--blue); }
.wft-search-ico { color: var(--muted); display: inline-flex; }
.wft-search input[type="search"] {
	flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text);
	font: 1rem/1.4 var(--font-body); padding: 8px 4px; outline: none;
}
.wft-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.wft-search .wft-btn { min-height: 40px; padding: 8px 16px; }
.wft-search-header { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }
.wft-search-header input[type="search"] { color: #fff; }
.wft-search-header input::placeholder { color: rgba(255, 255, 255, .7); }
.wft-search-header .wft-search-ico { color: rgba(255, 255, 255, .8); }
.wft-search-header .wft-btn { display: none; }
.wft-search-hero { padding: 6px 6px 6px 18px; border-color: transparent; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.wft-search-hero .wft-btn { min-height: 48px; padding: 10px 22px; }
.wft-suggest {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px;
	background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	max-height: 60vh; overflow-y: auto; text-align: left;
}
.wft-suggest li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; color: inherit; text-decoration: none; }
.wft-suggest li a:hover, .wft-suggest li[aria-selected="true"] a { background: var(--surface-2); }
.wft-suggest .wft-sg-meta { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.wft-suggest .wft-sg-note { padding: 8px 12px; font-size: .82rem; color: var(--muted); }

/* ---------- Hero ---------- */
.wft-hero {
	background-color: var(--navy);
	background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.3px);
	background-size: 22px 22px;
	color: #fff; padding: 40px 0 48px;
}
.wft-hero-grid { display: grid; gap: 28px; align-items: center; }
.wft-hero h1 { color: #fff; max-width: 15em; }
.wft-hero-sub { font-size: 1.08rem; color: rgba(255, 255, 255, .85); max-width: 36em; }
.wft-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--seal); margin-bottom: 12px; }
.wft-page-head .wft-eyebrow { color: var(--royal); }
[data-theme="dark"] .wft-page-head .wft-eyebrow { color: var(--seal); }
.wft-suggested { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.wft-suggested ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wft-suggested a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .16); }
.wft-suggested a:hover { background: rgba(255, 255, 255, .2); }
.wft-hero-art { display: none; }
.wft-hero-art img { display: block; width: 100%; max-width: 440px; margin-left: auto; border-radius: 24px; }

/* ---------- Trust message ---------- */
.wft-trust {
	display: flex; gap: 14px; align-items: flex-start; margin: 28px 0; padding: 18px;
	background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--seal); border-radius: var(--radius);
}
.wft-trust p { margin: 0; font-size: .95rem; }
.wft-footer .wft-trust { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); border-left-color: var(--seal); color: #fff; }

/* ---------- Sections & grid ---------- */
.wft-section { margin: 40px 0; }
.wft-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wft-section-head h2 { margin: 0; }
.wft-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.wft-more:hover { text-decoration: underline; }
.wft-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ---------- Card ---------- */
.wft-card {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	transition: border-color .15s, transform .15s;
}
.wft-card:hover { border-color: var(--blue); }
.wft-card.is-sponsored { border-color: rgba(240, 162, 31, .5); }
.wft-card-top { display: flex; gap: 12px; align-items: center; }
.wft-card-logo { flex: none; }
.wft-card-head { min-width: 0; }
.wft-card-title { margin: 0; font-size: 1.02rem; }
.wft-card-title a { color: var(--text); text-decoration: none; }
.wft-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.wft-card-title a:focus-visible { outline: none; }
.wft-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.wft-card-type { margin: 0; font-size: .8rem; color: var(--muted); }
.wft-card-desc { margin: 0; font-size: .92rem; color: var(--muted); }
.wft-card-meta, .wft-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wft-card-plat { font-size: .8rem; color: var(--muted); }
.wft-card-foot { margin-top: auto; }

.wft-logo-img { display: block; width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.wft-listing-logo .wft-logo-img, .wft-listing-logo .wft-logo-ph { width: 72px; height: 72px; font-size: 1.8rem; border-radius: 18px; }
.wft-logo-ph { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; color: #fff; font: 700 1.4rem/1 var(--font-head); }
.wft-tone-blue { --tone: var(--blue); } .wft-tone-green { --tone: var(--green); } .wft-tone-teal { --tone: var(--teal); }
.wft-tone-pink { --tone: var(--pink); } .wft-tone-purple { --tone: var(--purple); } .wft-tone-orange { --tone: var(--orange); }
.wft-tone-royal { --tone: var(--royal); }
.wft-logo-ph { background: var(--tone, var(--royal)); }

/* ---------- Category tiles ---------- */
.wft-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wft-tile {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none;
	box-shadow: inset 0 3px 0 var(--tone, var(--blue));
}
.wft-tile:hover { border-color: var(--tone, var(--blue)); }
.wft-tile img { width: 52px; height: 52px; border-radius: 12px; }
.wft-tile-name { font: 600 1rem/1.25 var(--font-head); }
.wft-tile-count { font-size: .8rem; color: var(--muted); }
.wft-tiles-sm { margin: 16px 0; }

/* ---------- Platforms ---------- */
.wft-platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wft-platform {
	display: flex; flex-direction: column; overflow: hidden; height: 100%;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none;
}
.wft-platform:hover { border-color: var(--blue); }
.wft-platform img, .wft-platform-art { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.wft-platform-art { display: grid; place-items: center; background: linear-gradient(135deg, #107c10, #0b5a0b); color: #fff; }
.wft-platform-art .wft-ico { width: 34%; height: auto; stroke-width: 1.4; }
.wft-platform-name { padding: 10px 12px 0; font: 600 1rem/1.2 var(--font-head); }
.wft-platform-count { padding: 0 12px 12px; font-size: .8rem; color: var(--muted); }

/* ---------- Page heads, breadcrumbs ---------- */
.wft-page-head { padding: 24px 0 8px; }
.wft-lead { font-size: 1.08rem; color: var(--muted); max-width: 46em; }
.wft-lead p:last-child { margin-bottom: 0; }
.wft-crumbs { padding-top: 16px; font-size: .85rem; }
.wft-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.wft-crumbs li + li::before { content: "›"; margin-right: 4px; opacity: .7; }
.wft-crumbs a { color: var(--muted); }
.wft-listing-head .wft-crumbs a, .wft-listing-head .wft-crumbs { color: rgba(255, 255, 255, .8); }

/* ---------- Listing page ---------- */
.wft-listing-head {
	background-color: var(--navy);
	background-image: radial-gradient(rgba(255, 255, 255, .1) 1.2px, transparent 1.3px);
	background-size: 22px 22px; color: #fff; padding-bottom: 28px;
}
.wft-listing-title { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; }
.wft-listing-title h1 { color: #fff; margin-bottom: .3em; }
.wft-listing-head .wft-lead { color: rgba(255, 255, 255, .85); }
.wft-listing-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.wft-listing-head .wft-badge { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
.wft-listing-head .wft-badge-verified { background: rgba(255, 194, 60, .16); border-color: var(--seal); }
.wft-listing-head .wft-chip { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.wft-listing-head .wft-chip-price { background: rgba(22, 160, 107, .25); border-color: rgba(111, 224, 179, .5); }
.wft-verified-line { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.wft-listing-body { display: grid; gap: 18px; margin-top: 22px; }
.wft-listing-main, .wft-listing-side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.wft-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; }
.wft-panel > h2 { font-size: 1.2rem; }
.wft-panel > :last-child { margin-bottom: 0; }
.wft-official { border: 2px solid var(--blue); }
.wft-official-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.wft-facts { margin: 0; display: grid; }
.wft-facts > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.wft-facts > div:last-child { border-bottom: 0; }
.wft-facts dt { font-weight: 600; color: var(--muted); font-size: .9rem; }
.wft-facts dd { margin: 0; overflow-wrap: anywhere; }
ul.wft-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul.wft-checks li { display: flex; gap: 10px; align-items: flex-start; }
ul.wft-checks .wft-ico { color: var(--green); margin-top: 3px; }
.wft-list { margin: 0 0 1em; padding-left: 1.2em; }
.wft-list li { margin-bottom: 4px; }
.wft-faq h3 { margin-top: 1.1em; }
.wft-faq h3:first-of-type { margin-top: 0; }
.wft-shots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.wft-shots img { flex: none; width: min(80%, 480px); border-radius: var(--radius-sm); scroll-snap-align: start; border: 1px solid var(--line); }
.wft-report .wft-btn { width: 100%; }
.wft-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.wft-pills a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.wft-pills a:hover { border-color: var(--blue); }
.wft-related h3 { font-size: .95rem; color: var(--muted); }

/* ---------- Collections ---------- */
.wft-criteria { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 18px; margin: 12px 0 24px; }
.wft-criteria h2 { font-size: 1.1rem; }

/* ---------- Archives & filters ---------- */
.wft-subcats { margin: 8px 0 12px; }
.wft-filters { margin: 12px 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.wft-filters > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.wft-filters > summary::-webkit-details-marker { display: none; }
.wft-filters > summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; }
.wft-filters[open] > summary::after { content: "–"; }
.wft-filter-form { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 16px 16px; }
.wft-filter { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.wft-filter select, .wft-form input, .wft-form textarea, .wft-form select {
	width: 100%; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line);
	background: var(--bg); color: var(--text); font: 1rem/1.4 var(--font-body);
}
.wft-filter-actions { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; }
.wft-results-count { color: var(--muted); font-size: .9rem; }
.wft-empty-state { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; margin: 16px 0; }
.wft-empty-state .wft-search { max-width: 560px; margin-bottom: 12px; }
.pagination, .nav-links { margin: 28px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.nav-links .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Pages, prose, forms ---------- */
.wft-prose { font-size: 1.02rem; }
.wft-prose h2 { margin-top: 1.6em; }
.wft-prose ul, .wft-prose ol { padding-left: 1.3em; }
.wft-prose img { border-radius: var(--radius-sm); }
.wft-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.wft-prose th, .wft-prose td { border: 1px solid var(--line); padding: 8px; text-align: left; }
.wft-form-wrap { margin: 16px 0 32px; }
.wft-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 4px; margin: 0 0 16px; background: var(--surface); }
.wft-form legend { font: 600 1rem/1.2 var(--font-head); padding: 0 6px; }
.wft-field { display: grid; gap: 6px; margin: 0 0 14px; }
.wft-field label, .wft-label { font-weight: 600; }
.wft-field small { color: var(--muted); }
.wft-form div.wft-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.wft-form div.wft-checks label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; min-height: 44px; }
.wft-form div.wft-checks input { width: 20px; min-height: 20px; height: 20px; }
.wft-form input:focus, .wft-form textarea:focus, .wft-form select:focus, .wft-filter select:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
.wft-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wft-alert { padding: 14px 16px; border-radius: var(--radius-sm); margin: 0 0 16px; font-weight: 600; }
.wft-alert-ok { background: rgba(22, 160, 107, .12); border: 1px solid rgba(22, 160, 107, .4); }
.wft-alert-err { background: rgba(214, 69, 46, .1); border: 1px solid rgba(214, 69, 46, .4); }
.wft-disclaimer { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.wft-cat-groups { display: grid; gap: 16px; margin: 16px 0; }
.wft-cat-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.wft-cat-group h2 { font-size: 1.15rem; }
.wft-cat-group h2 a { color: var(--text); text-decoration: none; }
.wft-cat-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wft-cat-group li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.wft-cat-group li:last-child { border-bottom: 0; }
.wft-platform-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.wft-platform-list a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; }
.wft-ad { margin: 8px 0; padding: 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm); text-align: center; overflow: hidden; }
.wft-ad-label { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.wft-posts { display: grid; gap: 14px; }
.wft-404 .wft-page-head { text-align: left; }
.wft-404 .wft-search { max-width: 600px; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.wft-footer { margin-top: 56px; background: var(--navy); color: rgba(255, 255, 255, .85); padding: 8px 0 28px; font-size: .95rem; }
.wft-footer a { color: #fff; text-decoration: none; }
.wft-footer a:hover { text-decoration: underline; }
.wft-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.wft-footer-brand { grid-column: 1 / -1; }
.wft-footer-col h2 { font-size: .95rem; color: var(--seal); margin-bottom: 10px; }
.wft-footer-col ul, .wft-socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wft-footer-col a { display: inline-block; padding: 6px 0; }
.wft-footer-email { margin: 14px 0 8px; font-weight: 600; }
.wft-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.wft-footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.wft-copy { margin: 12px 0 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }

/* ---------- Consent banner (from plugin) ---------- */
.wft-consent {
	position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90;
	max-width: 640px; margin: 0 auto; padding: 16px; background: var(--surface); color: var(--text);
	border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.wft-consent p { margin: 0 0 10px; font-size: .92rem; }
.wft-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
	.wft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wft-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wft-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wft-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wft-official-btns { flex-direction: row; flex-wrap: wrap; }
	.wft-listing-title { flex-direction: row; align-items: flex-start; }
	.wft-cat-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wft-wrap { padding: 0 24px; }
}
@media (min-width: 900px) {
	.wft-header-search { display: block; }
	.wft-menu-toggle { display: none; }
	.wft-nav, .wft-menu-open .wft-nav { display: block; max-height: none; overflow: visible; }
	.wft-nav-search { display: none; }
	.wft-nav-list { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px 0; }
	.wft-nav-list a { padding: 8px 10px; font-size: .9rem; }
	.wft-nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--seal); }
	.wft-hero { padding: 64px 0 72px; }
	.wft-hero-grid { grid-template-columns: 1.25fr 1fr; }
	.wft-hero-art { display: block; }
	.wft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wft-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wft-filter-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wft-listing-body { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
	.wft-listing-side { position: sticky; top: 132px; }
	.wft-footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
	.wft-footer-brand { grid-column: auto; }
	.wft-cat-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.wft-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wft-tiles { grid-template-columns: repeat(7, minmax(0, 1fr)); }
	.wft-filter-form { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.wft-header, .wft-footer, .wft-filters, .wft-ad, .wft-consent, .wft-report { display: none !important; }
	body { background: #fff; color: #000; }
}
