/* AFG Modern — main stylesheet */

:root {
	--bg: #F3F5F7;
	--surface: #FFFFFF;
	--ink: #14202B;
	--ink-2: #33414D;
	--muted: #5A6773;
	--line: #DDE3E8;
	--soft: #EEF2F5;
	--accent: #1D5FA8;
	--accent-dark: #174C87;
	--accent-soft: #DCE8F6;
	--accent-light: #BFD7F3;
	--star: #B4430B;
	--dark: #14202B;
	--dark-line: #3A4A58;
	--dark-text: #D5DDE3;
	--radius: 18px;
	--radius-lg: 24px;
	--font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body.afg { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
/*
 * Game pages on phones in landscape: keep the page as wide as the phone held upright.
 * AdSense sizes an ad to its container when it loads and never resizes it,
 * so ads that load while the phone is sideways would otherwise stick out of
 * the page after rotating back. (Ads themselves are never resized or cropped.)
 */
@media (orientation: landscape) and (max-height: 540px) {
	html { background: var(--bg); }
	body.afg-game { max-width: 100vh; margin-inline: auto; }
	body.afg-game .tabbar { left: 50%; right: auto; width: 100vh; transform: translateX(-50%); }
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.3px; text-wrap: balance; margin: 0; }
p { margin: 0; }
button { font: inherit; }

.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; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--surface); padding: 10px 16px; border-radius: 10px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

.muted { color: var(--muted); font-size: 14px; }
.center { text-align: center; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
.eyebrow-light { color: var(--accent-light); }
.text-link { font-weight: 700; color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--dark-line); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--ink); }
.btn-soft { background: var(--accent-soft); color: var(--ink); }
.btn-soft:hover { background: var(--accent-light); color: var(--ink); }
.btn-block { width: 100%; }
.btn[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.btn[aria-pressed="true"] .icon { fill: currentColor; color: var(--accent); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.hdr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; flex: none; }
.brand-name span { color: var(--accent); }
.brand-logo { max-height: 44px; width: auto; }
.hdr-search { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.hdr-search:focus-within { border-color: var(--accent); }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.hdr-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
@media (max-width: 700px) {
	.hdr-search { order: 3; flex-basis: 100%; height: 44px; }
	.brand { flex: 1; font-size: 21px; }
	.brand-mark { width: 34px; height: 34px; border-radius: 10px; }
	.hdr-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.hdr-btn { width: 44px; padding: 0; justify-content: center; }
}
.cat-nav { border-top: 1px solid var(--soft); }
.cat-nav-list { list-style: none; margin: 0; padding: 10px 0 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-list a { display: flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 700; white-space: nowrap; }
.cat-nav-list a:hover, .cat-nav-list .current-menu-item a, .cat-nav-list .current-cat a { background: var(--accent-soft); color: var(--ink); }

/* Sections */
main.home, main.listing, main.game-page, main.article-wrap { padding-block: 28px 64px; display: flex; flex-direction: column; gap: 48px; min-width: 0; }
main.listing, main.game-page, main.article-wrap { gap: 24px; }
main > * { min-width: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin-bottom: 16px; }
.section-head h2, .h-section { font-size: 28px; }
@media (max-width: 600px) { .section-head h2, .h-section { font-size: 23px; } main.home { gap: 36px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
@media (max-width: 600px) { .panel { padding: 18px; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.feature { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 36px; display: flex; gap: 28px; align-items: center; justify-content: space-between; min-height: 320px; }
.feature-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feature-title { font-size: clamp(34px, 5vw, 52px); line-height: 1; color: #fff; }
.feature p { font-size: 18px; color: var(--dark-text); max-width: 44ch; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.feature-art { flex: none; width: min(36%, 260px); aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--dark-line); transform: rotate(3deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.feature-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .feature { padding: 24px; min-height: 0; } .feature-art { display: none; } .feature p { font-size: 16px; } .feature-actions .btn { flex: 1 1 auto; } }

/* Row list (daily puzzles, related) */
.row-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.row-card { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; background: var(--bg); }
.row-card:hover { background: var(--accent-soft); color: var(--ink); }
.row-thumb { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: var(--tint, var(--soft)); font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-text strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-text span { font-size: 14px; color: var(--muted); }
.row-status { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.row-status.is-done { color: #2F6B27; }
.related .row-status { display: none; }
.daily .text-link { display: inline-block; margin-top: 14px; }

/* Grids */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px 18px; }
@media (max-width: 600px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }
.grid-break { grid-column: 1 / -1; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card:hover { color: var(--ink); }
.card-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint, var(--soft)); }
.card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-initials { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--ink); }
.card-chip { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.94); color: var(--ink); padding: 4px 9px; border-radius: 999px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-title { font-weight: 700; font-size: 16px; line-height: 1.3; }
.card:hover .card-title { color: var(--accent); }
.card-meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
@media (max-width: 600px) { .mini-grid { display: flex; overflow-x: auto; margin-inline: -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; } .mini-grid .mini { flex: none; width: 200px; scroll-snap-align: start; } }
.mini { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.mini:hover { border-color: var(--accent); color: var(--ink); }
.mini-thumb { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--soft); font-family: var(--font-display); font-weight: 800; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-text { display: flex; flex-direction: column; min-width: 0; }
.mini-text strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-text span { font-size: 13px; color: var(--muted); }
.empty-note { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: 16px; padding: 18px; }

/* Category hubs */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
@media (max-width: 600px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.hub { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 140px; padding: 18px; border-radius: 20px; background: var(--tint, var(--soft)); transition: transform .15s ease; }
.hub:hover { transform: translateY(-3px); color: var(--ink); }
.hub-glyph { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.hub-text { display: flex; flex-direction: column; }
.hub-text strong { font-size: 18px; }
.hub-text span { font-size: 14px; color: var(--ink-2); }

/* Tabs and chips */
.tabs, .chips { display: flex; flex-wrap: wrap; gap: 6px; background: #E6EBEF; padding: 4px; border-radius: 999px; }
.tabs button, .chip { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 700; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; }
.tabs button[aria-selected="true"], .chip.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20,32,43,.08); }

/* Exclusive + intro */
.exclusive { background: var(--surface); border: 2px solid var(--accent-soft); border-radius: var(--radius-lg); padding: 28px; }
.intro { max-width: 68ch; display: flex; flex-direction: column; gap: 10px; }
.intro h2 { font-size: 24px; }
.intro p { color: var(--ink-2); line-height: 1.65; }

/* Ads */
.ad { text-align: center; min-height: 0; }
.ad:empty { display: none; }
.ad-home, .ad-archive, .ad-below_game, .ad-above_game { padding: 4px 0; }
.ad .afg-widget-title { font-size: 12px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }

/* Listing */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); }
.listing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.listing-title { display: flex; flex-direction: column; gap: 6px; }
.listing-title h1 { font-size: clamp(30px, 4.5vw, 44px); }
.listing-desc { max-width: 75ch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.empty { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form input { flex: 1 1 220px; min-height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); }
.pagination ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .dots { border: 0; background: transparent; }

/* Game page */
.game-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.game-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.game-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1000px) { .game-side { position: sticky; top: 16px; } }
.game-head { display: flex; flex-direction: column; gap: 10px; }
.game-head h1 { font-size: clamp(30px, 4.5vw, 44px); }
.game-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); font-weight: 700; font-size: 14px; }
.stars { color: var(--star); }

.player { position: relative; width: 100%; aspect-ratio: var(--ratio, 1.6); max-height: 82vh; background: #0E1720; border-radius: 22px; overflow: hidden; }
.player-frame { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.player-frame > * { max-width: 100%; }
.player-frame iframe, .player-frame object, .player-frame embed, .player-frame canvas, .player-frame #myarcade_game, .player-frame .myarcade_game { width: 100% !important; height: 100% !important; border: 0; display: block; }
.player-cover { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; background: #10241B; color: #fff; display: grid; place-items: center; overflow: hidden; }
.player-cover-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); max-width: none; object-fit: cover; filter: blur(18px) brightness(.55); }
.player-cover-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px; text-align: center; }
.player-cover-thumb { width: 120px; height: 120px; object-fit: cover; border-radius: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.player-play { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 999px; background: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .15s ease; }
.player-cover:hover .player-play { transform: scale(1.06); }
.player-label { font-weight: 700; font-size: 18px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
@media (max-width: 600px) { .player { aspect-ratio: auto; height: min(70vh, 520px); height: min(70svh, 520px); border-radius: 18px; } .player-cover-thumb { width: 88px; height: 88px; } .player-play { width: 72px; height: 72px; } }
/* Phone turned sideways while a game is playing: the game fills the screen. */
@media (orientation: landscape) and (max-height: 540px) {
	.player.is-playing { position: fixed; inset: 0; z-index: 9998; width: 100%; height: 100%; height: 100dvh; max-height: none; aspect-ratio: auto; border-radius: 0; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
	body.afg-playing { overflow: hidden; }
	body.afg-playing .tabbar { display: none; }
}
.player-missing { color: #fff; position: absolute; inset: 0; display: grid; place-items: center; }
.player:fullscreen { border-radius: 0; max-height: none; }
.player.is-pseudo-fs { position: fixed; inset: 0; z-index: 9999; border-radius: 0; max-height: none; aspect-ratio: auto; height: 100%; padding-top: env(safe-area-inset-top, 0px); }
.player-exit { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; z-index: 3; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 700; cursor: pointer; }
body.afg-noscroll { overflow: hidden; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rate { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; }
.rate .post-ratings { display: inline-flex; align-items: center; gap: 2px; }
.rate .post-ratings img { width: 20px; height: 20px; }
@media (max-width: 600px) { .toolbar .btn { flex: 1 1 calc(33% - 10px); padding: 0 8px; gap: 6px; font-size: 14px; white-space: nowrap; } .rate { margin-left: 0; } }

.game-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 600px) { .game-info { padding: 20px; } }
.game-info h2 { font-size: 24px; margin-bottom: 10px; }
.steps, .ticks { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.faq p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--soft); }
.admin-note { font-size: 14px; background: #FFF6E5; border: 1px solid #F1D9A6; border-radius: 12px; padding: 12px 14px; color: var(--ink-2); }
.related h2 { font-size: 21px; margin-bottom: 14px; }
.related .btn { margin-top: 14px; }
.ad-sidebar { display: flex; justify-content: center; }
.comments-wrap, .article-wrap .comments-area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }

/* Prose */
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose h2 { font-size: 24px; color: var(--ink); margin-top: 1.4em; }
.prose h3 { font-size: 20px; color: var(--ink); margin-top: 1.2em; }
.prose img { border-radius: 12px; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.article h1 { font-size: clamp(30px, 4.5vw, 42px); }
@media (max-width: 600px) { .article { padding: 20px; } }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-text); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 32px; padding-block: 40px; font-size: 15px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; max-width: 360px; }
.footer-brand strong { font-family: var(--font-display); font-size: 22px; color: #fff; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-list a, .site-footer a { color: var(--dark-text); }
.footer-list a:hover { color: #fff; }
.footer-copy { width: 100%; color: #9FB0BD; font-size: 14px; }

/* Mobile tab bar */
.tabbar { display: none; }
@media (max-width: 820px) {
	body.has-tabbar { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
	.tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px)); }
	.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 12px; font-weight: 700; color: var(--ink-2); }
	.tabbar a[aria-current="page"] { color: var(--accent); }
}

/* Toast */
.afg-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; z-index: 10000; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@media (min-width: 821px) { .afg-toast { bottom: 28px; } }
