/*
Theme Name: Insider
Description: Standalone theme for Online Pokies Insider. Archetype H Poster, P9 warm cream, violet.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: insider
*/

:root {
	--bg: #faf6ef;
	--card: #ffffff;
	--soft: #f1ebdf;
	--line: #e2dacb;
	--ink: #1b1530;
	--text: #1b1530;
	--muted: #5e5870;
	--violet: #4b2be0;
	--violet-d: #3a1fc0;
	--violet-soft: #ece8ff;
	--on-violet: #ffffff;
	--gold: #ffc23d;
	--ok: #13663f;
	--warn: #b3261e;
	--display: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
	--body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--wrap: 1160px;
	--gut: 16px;
	--r: 14px;
	color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #13101d;
		--card: #1d1830;
		--soft: #241e3a;
		--line: #342c52;
		--ink: #efeaf8;
		--text: #efeaf8;
		--muted: #b3abc8;
		--violet: #8c7bff;
		--violet-d: #a597ff;
		--violet-soft: #2a2350;
		--ok: #4cc58f;
		--warn: #ff7a6b;
	}
	.poster, .site-head { --violet: #4b2be0; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-top: 2.2em; }
h3 { font-size: 1.4rem; margin-top: 1.8em; font-weight: 800; }
h4 { font: 700 1rem/1.4 var(--body); margin: 1.4em 0 .4em; }
p, ul, ol { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 720px) { :root { --gut: 32px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--gold); color: #1b1530; padding: 8px 14px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header lives inside the violet block ---------- */
.age-strip { background: #1b1530; color: #d9d3ea; font-size: .8rem; }
.age-strip .wrap { display: flex; gap: 16px; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.age-strip b { color: #1b1530; background: var(--gold); padding: 0 6px; margin-right: 8px; font-size: .72rem; }
.age-strip a { color: #fff; }
.site-head { background: var(--violet); color: var(--on-violet); position: relative; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 900 1.3rem/1 var(--display); letter-spacing: -.02em; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo span b { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 2px solid #fff; color: #fff; font: 800 .8rem var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px; cursor: pointer; border-radius: 8px; }
#site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
#site-nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; padding: 6px 0; text-decoration: none; text-underline-offset: 8px; text-decoration-thickness: 3px; }
#site-nav a:hover, #site-nav .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--gold); }
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	#site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--violet-d); z-index: 20; }
	#site-nav.open { display: block; }
	#site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; }
	#site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
}

/* ---------- Poster hero: saturated block, huge H1, one oversized number ---------- */
.poster { background: var(--violet); color: #fff; padding: 16px 0 44px; }
.poster .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: end; }
.poster h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; color: #fff; margin: 14px 0 20px; max-width: 19ch; }
.poster h1 em { font-style: normal; color: #1b1530; background: var(--gold); padding: 0 .1em; line-height: 1.1; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.poster .dateline { color: #e3dcff; }
.poster .dateline a { color: #fff; }
.poster .capsule { font-size: 1.12rem; max-width: 64ch; color: #f3f0ff; }
.poster .capsule strong { color: #fff; }
.poster .capsule a { color: #fff; }
.big-num { border-top: 4px solid #fff; padding-top: 14px; }
.big-num b { display: block; font: 900 clamp(5rem, 13vw, 9.5rem)/.85 var(--display); letter-spacing: -.05em; color: var(--gold); }
.big-num span { display: block; font-weight: 700; font-size: 1rem; margin-top: 10px; max-width: 22ch; }
.jump { display: inline-flex; gap: 10px; align-items: center; margin-top: 8px; color: #fff; font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--gold); padding-bottom: 2px; }
.jump:hover { color: var(--gold); }
@media (max-width: 860px) { .poster .wrap { grid-template-columns: 1fr; } .big-num b { font-size: 5.4rem; } }
.dateline { font: 600 .85rem var(--body); color: var(--muted); margin-bottom: 0; }
.dateline a { color: inherit; }

/* Fact strip under the poster */
.facts { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 4px solid var(--ink); }
.facts div { padding: 18px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font: 900 1.9rem/1 var(--display); color: var(--violet); margin-bottom: 4px; }
.facts span { font-size: .85rem; color: var(--muted); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; font: 800 .95rem/1 var(--body); text-decoration: none; border: 3px solid var(--ink); border-radius: 10px; white-space: nowrap; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn-go { background: var(--violet); color: #fff; box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
.btn-go::after { content: "\2192"; font-weight: 900; }
.btn-go:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); color: #fff; }
.btn-go:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- Disclosure + list head ---------- */
.disclose { font-size: .82rem; color: var(--muted); background: var(--card); border: 2px dashed var(--line); padding: 10px 14px; margin: 26px 0 18px; border-radius: 8px; }
.disclose a { color: var(--text); }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin: 40px 0 16px; border-bottom: 4px solid var(--ink); padding-bottom: 10px; }
.list-head h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.list-head p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Casino rows: printed cards ---------- */
.ctable { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.crow { display: grid; grid-template-columns: 64px 150px 1.1fr 1.3fr 1fr 180px; align-items: center; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); position: relative; box-shadow: 5px 5px 0 var(--line); overflow: hidden; }
.crow > * { padding: 18px 16px; }
.crow.top { box-shadow: 6px 6px 0 var(--violet); }
.c-rank { font: 900 2.4rem/1 var(--display); color: var(--ink); text-align: center; align-self: stretch; display: flex; align-items: center; justify-content: center; background: var(--soft); box-shadow: inset -2px 0 0 var(--ink); }
.crow.top .c-rank { background: var(--violet); color: #fff; }
.c-logo { display: flex; align-items: center; justify-content: center; }
.tile { width: 132px; height: 70px; display: flex; align-items: center; justify-content: center; text-align: center; font: 800 .95rem/1.05 var(--body); color: #fff; text-transform: uppercase; background: var(--tile, #2b2440); border-radius: 10px; padding: 6px; text-decoration: none; }
.tile.has-logo { padding: 8px 10px; }
.tile.has-logo img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.c-name h3 { font: 800 1.12rem/1.2 var(--body); margin: 0 0 6px; }
.badge { display: inline-block; font: 800 .7rem/1 var(--body); letter-spacing: .04em; text-transform: uppercase; background: var(--gold); color: #1b1530; padding: 5px 8px; margin-bottom: 8px; border-radius: 6px; }
.flag { display: inline-block; font: 700 .72rem/1.3 var(--body); color: var(--warn); border: 1px solid currentColor; border-radius: 6px; padding: 3px 7px; margin-top: 8px; }
.score { display: flex; align-items: center; gap: 8px; font: 700 .9rem var(--mono); }
.stars { --pct: 90%; width: 84px; height: 14px; background: linear-gradient(90deg, #f0a500 var(--pct), var(--line) var(--pct)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.7 6 6.3.6-4.8 4.2 1.4 6.3L10 15l-5.6 3.1 1.4-6.3L1 7.6 7.3 7z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/84px 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.7 6 6.3.6-4.8 4.2 1.4 6.3L10 15l-5.6 3.1 1.4-6.3L1 7.6 7.3 7z'/%3E%3Cuse href='%23s' x='24'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='72'/%3E%3Cuse href='%23s' x='96'/%3E%3C/g%3E%3C/svg%3E") 0 0/84px 14px no-repeat; }
.c-bonus small { display: block; font: 700 .72rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.c-bonus strong { display: block; font: 900 1.12rem/1.25 var(--display); color: var(--text); }
.c-bonus span { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.c-feat ul { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.c-feat li { padding-left: 20px; position: relative; margin: 4px 0; }
.c-feat li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 900; color: var(--ok); }
.c-cta { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.c-cta .btn { width: 100%; }
.c-cta a.rev { font-size: .84rem; text-align: center; color: var(--muted); }
.c-terms { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding: 8px 16px !important; font-size: .75rem; color: var(--muted); background: var(--bg); }
@media (max-width: 1040px) {
	.crow { grid-template-columns: 56px 140px 1fr 1fr; }
	.c-feat { grid-column: 3 / 4; }
	.c-cta { grid-column: 4 / 5; }
	.c-bonus { grid-column: 4 / 5; grid-row: 1; }
	.c-rank { grid-row: 1 / 3; }
}
@media (max-width: 700px) {
	.crow { grid-template-columns: 48px 1fr; }
	.crow > * { padding: 12px 14px; }
	.c-rank { grid-row: 1 / 3; font-size: 1.7rem; }
	.c-logo { justify-content: flex-start; grid-column: 2; }
	.c-name, .c-bonus, .c-feat, .c-cta { grid-column: 1 / -1; grid-row: auto; }
	.c-bonus { border-top: 1px solid var(--line); }
	.c-cta { flex-direction: row; }
	.c-cta .btn { flex: 1; }
	.c-cta a.rev { align-self: center; flex: 0 0 auto; }
}
.prose .crow { grid-template-columns: 52px 140px minmax(0,1fr) minmax(0,1fr); }
.prose .c-name { grid-column: 3; grid-row: 1; }
.prose .c-bonus { grid-column: 4; grid-row: 1; }
.prose .c-feat { grid-column: 3; grid-row: 2; }
.prose .c-cta { grid-column: 4; grid-row: 2; }
.prose .c-rank, .prose .c-logo { grid-row: 1 / 3; }
.prose .c-terms { grid-row: 3; }
.prose .ctable { margin: 1.4em 0 1.8em; }
@media (max-width: 700px) {
	.prose .crow { grid-template-columns: 48px 1fr; }
	.prose .c-logo { grid-column: 2; grid-row: 1; }
	.prose .c-name, .prose .c-bonus, .prose .c-feat, .prose .c-cta, .prose .c-terms { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Pokies game tiles ---------- */
.gfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.gfilter button { font: 700 .88rem var(--body); background: var(--card); color: var(--text); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 40px; }
.gfilter button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; margin: 0 0 1.6em; padding: 0 !important; }
.game { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; margin: 0 !important; }
.game[hidden] { display: none; }
.game .art { aspect-ratio: 16 / 9; background: var(--g, var(--violet)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; position: relative; }
.game .art::before { content: ""; position: absolute; inset: 12px 12px auto auto; width: 58px; height: 34px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 16px, transparent 16px 21px); border-radius: 4px; opacity: .35; }
.game .art b { font: 900 1.25rem/1.05 var(--display); letter-spacing: -.01em; }
.game .art small { font-size: .78rem; opacity: .9; }
.game dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; font-size: .82rem; }
.game dl div { padding: 8px 12px; border-top: 1px solid var(--line); }
.game dl div:nth-child(odd) { border-right: 1px solid var(--line); }
.game dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.game dd { margin: 0; font-weight: 800; }
.game .where { padding: 10px 12px; border-top: 2px solid var(--ink); font-size: .82rem; margin-top: auto; }

/* ---------- Pick cards ---------- */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 20px 0 8px; }
.picks > div { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: 18px; }
.picks small { font: 700 .72rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.picks b { display: block; font: 900 1.5rem/1.1 var(--display); margin: 6px 0; }
.picks p { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }

/* ---------- Prose: white sections, numbered headings, thick rules ---------- */
main { display: block; }
.prose { max-width: 780px; counter-reset: sec; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; }
.page-grid aside { position: sticky; top: 16px; font-size: .9rem; }
@media (max-width: 1040px) { .page-grid { grid-template-columns: minmax(0, 1fr); } .page-grid aside { position: static; } }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose h2 { padding-top: 22px; border-top: 4px solid var(--ink); counter-increment: sec; }
.prose h2::before { content: counter(sec, decimal-leading-zero); display: block; font: 900 1rem/1 var(--mono); color: var(--violet); margin-bottom: 10px; letter-spacing: .04em; }
.prose h2.plain::before, .faq h2::before { content: none; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--violet-soft); border: 2px solid var(--violet); border-radius: 10px; font: 800 1.2rem/1.4 var(--display); }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 800 .74rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
tbody tr:last-child td { border-bottom: 0; }
.box { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: 18px 20px; margin: 1.6em 0; }
.box > :last-child { margin-bottom: 0; }
.box-title { font: 800 .76rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; display: block; }
.box.warn { border-color: var(--warn); }
.box.key { background: var(--violet-soft); border-color: var(--violet); }
.proscons { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); border-radius: 10px; margin: 1.2em 0; background: var(--card); overflow: hidden; }
.proscons > div { padding: 14px 18px; }
.proscons > div + div { border-left: 1px solid var(--line); }
.proscons h4, .proscons .ph { margin: 0 0 .4em; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.proscons .pro h4, .proscons .pro .ph { color: var(--ok); }
.proscons .con h4, .proscons .con .ph { color: var(--warn); }
.proscons ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
@media (max-width: 600px) { .proscons { grid-template-columns: 1fr; } .proscons > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.mini-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 1.6em 0 .6em; }
.mini-head h3 { margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 54px; margin: 0 0 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; display: grid; place-items: center; font: 900 1.1rem/1 var(--display); background: var(--violet); color: #fff; border-radius: 50%; }
figure.info { margin: 1.8em 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--card); }
figure.info img { width: 100%; height: auto; }
figure.info figcaption { font-size: .82rem; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }
.post-hero { margin: 0 0 36px; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 6px 6px 0 var(--violet); }
.post-hero img { width: 100%; height: auto; }

/* TOC */
.toc { background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 14px 18px; margin: 0 0 28px; font-size: .9rem; }
.toc summary { font: 800 .8rem var(--body); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-left: 1.4em; columns: 2 260px; column-gap: 28px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--violet); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 900 1.6rem var(--display); color: var(--violet); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 16px; color: var(--muted); }

/* Author card, sources */
.author-card { display: grid; grid-template-columns: 84px 1fr; gap: 18px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: 20px; margin: 36px 0; }
.author-card img { width: 84px; height: 84px; border-radius: 50%; }
.author-card h3 { margin: 0 0 2px; font-size: 1.3rem; }
.author-card .role { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.author-card p { font-size: .92rem; margin: 0 0 6px; }
.sources { font-size: .85rem; color: var(--muted); border-top: 4px solid var(--ink); padding-top: 12px; }
.sources ol { padding-left: 1.2em; }
.sources a { color: var(--muted); word-break: break-word; }

/* Page header: violet strip continues the poster */
.page-head { background: var(--violet); color: #fff; padding: 36px 0 34px; margin-bottom: 34px; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 22ch; color: #fff; margin-bottom: 14px; }
.page-head .dateline { color: #e3dcff; }
.page-head .dateline a { color: #fff; }
.crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: #d9d2ff; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #fff; }

/* Post list */
.plist { list-style: none; padding: 0; margin: 0; border-top: 4px solid var(--ink); }
.plist li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.plist a { font: 900 1.3rem/1.2 var(--display); color: var(--text); text-decoration: none; }
.plist a:hover { color: var(--violet); }
.plist p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

/* Forms */
.form { display: grid; gap: 8px; max-width: 560px; }
.form label { font-weight: 700; font-size: .88rem; margin-top: 8px; }
.form input, .form textarea { width: 100%; background: var(--card); color: var(--text); border: 2px solid var(--ink); border-radius: 8px; padding: 12px; font: inherit; }
.form textarea { min-height: 160px; }
.form .btn { margin-top: 14px; justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border: 2px solid var(--ink); border-radius: 8px; }
.notice.ok { border-color: var(--ok); }
.notice.err { border-color: var(--warn); }

/* Sidebar */
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin: 6px 0; }
.side-list a { color: var(--text); }

/* Help strip + footer */
.help { background: var(--gold); color: #1b1530; margin-top: 64px; border-top: 4px solid #1b1530; }
.help .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.help b.age { font: 900 2rem/1 var(--display); border: 3px solid #1b1530; padding: 6px 10px; border-radius: 8px; }
.help p { margin: 0; font-size: .95rem; }
.help .phone { font: 900 1.4rem var(--display); color: #1b1530; }
@media (max-width: 700px) { .help .wrap { grid-template-columns: 1fr; } }
.site-foot { background: #1b1530; color: #cfc8e2; padding: 44px 0 30px; font-size: .88rem; }
.site-foot .logo { margin-bottom: 14px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-cols h2 { font: 800 .76rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin: 6px 0; }
.foot-cols a { color: #cfc8e2; text-decoration: none; }
.foot-cols a:hover { color: var(--gold); }
.foot-legal { border-top: 1px solid #3a3258; margin-top: 32px; padding-top: 18px; font-size: .78rem; }
@media (max-width: 800px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- Mobile: shorter hero, compact rows, sticky #1 bar ---------- */
.sticky-cta { display: none; }
@media (max-width: 700px) {
	body { font-size: 16px; }
	.age-strip .wrap { font-size: .74rem; }
	.age-strip .long { display: none; }
	.site-head .wrap { min-height: 62px; }
	.logo { font-size: 1.1rem; }
	.logo svg { width: 32px; height: 32px; }
	.poster { padding: 8px 0 26px; }
	.poster .wrap { gap: 14px; }
	.poster h1 { font-size: 2.05rem; margin: 10px 0 12px; }
	.poster .capsule { font-size: .98rem; line-height: 1.55; }
	.poster .capsule p { margin-bottom: .6em; }
	.big-num { display: flex; align-items: center; gap: 12px; border-top-width: 3px; padding-top: 10px; }
	.big-num b { font-size: 3.2rem; }
	.big-num span { margin: 0; font-size: .88rem; }
	.jump { font-size: .95rem; }
	.facts { display: none; }
	.disclose { font-size: .76rem; margin: 16px 0 12px; padding: 8px 12px; }
	.list-head { margin: 18px 0 12px; }
	.list-head h2 { font-size: 1.45rem; }
	.list-head p { font-size: .8rem; }
	.ctable { gap: 12px; }
	.crow, .prose .crow { grid-template-columns: 40px 104px minmax(0, 1fr); box-shadow: 3px 3px 0 var(--line); }
	.crow.top { box-shadow: 4px 4px 0 var(--violet); }
	.crow > * { padding: 10px 12px; }
	.c-rank, .prose .c-rank { grid-row: 1; grid-column: 1; font-size: 1.4rem; }
	.c-logo, .prose .c-logo { grid-row: 1; grid-column: 2; padding: 8px 0 8px 10px; justify-content: flex-start; }
	.c-logo .tile { width: 96px; height: 52px; }
	.tile.has-logo img { max-height: 34px; }
	.c-name, .prose .c-name { grid-row: 1; grid-column: 3; padding-left: 10px; }
	.c-name h3 { font-size: .98rem; margin-bottom: 3px; }
	.badge { font-size: .62rem; padding: 3px 6px; margin-bottom: 4px; }
	.score { font-size: .78rem; gap: 6px; }
	.stars { width: 70px; height: 12px; -webkit-mask-size: 70px 12px; mask-size: 70px 12px; }
	.flag { font-size: .66rem; margin-top: 4px; }
	.c-bonus, .prose .c-bonus { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line); }
	.c-bonus small { display: none; }
	.c-bonus strong { font-size: 1.05rem; }
	.c-bonus span { font-size: .76rem; margin-top: 3px; }
	.c-feat, .prose .c-feat { grid-column: 1 / -1; grid-row: 3; padding-top: 0 !important; }
	.c-feat ul { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; }
	.c-feat li { margin: 0; padding-left: 16px; }
	.c-feat li:nth-child(n+3) { display: none; }
	.c-cta, .prose .c-cta { grid-column: 1 / -1; grid-row: 4; flex-direction: row; padding-top: 0 !important; }
	.c-cta .btn { min-height: 46px; box-shadow: 3px 3px 0 var(--ink); }
	.c-terms, .prose .c-terms { grid-row: 5; font-size: .68rem; line-height: 1.4; }
	.games { grid-template-columns: 1fr 1fr; gap: 10px; }
	.game .art { padding: 10px; }
	.game .art b { font-size: 1rem; }
	.game .art::before { width: 40px; height: 24px; }
	.game dl { font-size: .74rem; }
	.game dl div { padding: 6px 8px; }
	.game .where { font-size: .74rem; padding: 8px; }
	.gfilter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.gfilter button { flex: none; min-height: 40px; }
	.page-head { padding: 22px 0 22px; margin-bottom: 22px; }
	.page-head h1 { font-size: 1.85rem; }
	.post-hero { margin-bottom: 22px; box-shadow: 4px 4px 0 var(--violet); }
	.prose h2 { font-size: 1.55rem; }
	.table-wrap { font-size: .85rem; }
	th, td { padding: 9px 10px; }
	.help { margin-top: 40px; }
	.sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--bg); transform: translateY(110%); transition: transform .2s; }
	.sticky-cta.on { transform: none; }
	.sticky-cta div { flex: 1; min-width: 0; font-size: .8rem; line-height: 1.3; }
	.sticky-cta b { display: block; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.sticky-cta .btn { min-height: 44px; padding: 0 16px; border-color: var(--bg); box-shadow: none; }
	body.has-sticky .site-foot { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
@media (max-width: 700px) {
	.poster .big-num, .poster .jump, .list-head p { display: none; }
	.poster .capsule p:last-child { margin-bottom: 0; }
	.poster { padding-bottom: 20px; }
}
@media (max-width: 700px) {
	.table-wrap { position: relative; -webkit-overflow-scrolling: touch; background: linear-gradient(90deg, var(--card) 30%, transparent) left / 24px 100% no-repeat local, linear-gradient(270deg, var(--card) 30%, transparent) right / 24px 100% no-repeat local, radial-gradient(farthest-side at 100% 50%, rgba(27,21,48,.22), transparent) right / 12px 100% no-repeat scroll, var(--card); }
	.table-wrap table { min-width: 560px; }
	.table-wrap th:first-child, .table-wrap td:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; box-shadow: 1px 0 0 var(--line); }
	.table-wrap th:first-child { background: var(--soft); }
}
@media (max-width: 700px) { .game .art::before { display: none; } .game .art { aspect-ratio: auto; min-height: 96px; } }
