@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 500 900;
  font-display: optional;
  src: url("../fonts/nunito-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 500 900;
  font-display: optional;
  src: url("../fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #172237;
  --muted: #657087;
  --line: #dce3ec;
  --cream: #fbfaf7;
  --white: #fff;
  --blue: #2672f3;
  --purple: #8b43ef;
  --orange: #e67c08;
  --shadow: 0 18px 45px rgba(27, 40, 67, .09);
  --soft-shadow: 0 10px 28px rgba(27, 40, 67, .07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 14px; background: #fff; border: 2px solid var(--blue); border-radius: 10px; }
.content-width { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.content-narrow { width: min(860px, calc(100% - 28px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(216, 224, 234, .9); background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); }
.header-inner { position: relative; display: flex; min-height: 66px; width: min(1280px, calc(100% - 24px)); margin: auto; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 850; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #44536a, #172237); color: #fff; box-shadow: 0 8px 16px rgba(23, 34, 55, .2), inset 0 1px 1px rgba(255, 255, 255, .3); }
.home-link { display: inline-flex; width: 44px; min-height: 44px; padding: 0; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 13px; font-weight: 700; }
.home-link span:last-child { display: none; }
.menu-toggle { display: grid; width: 46px; height: 46px; margin-left: auto; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); cursor: pointer; font-size: 21px; }
.main-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; padding: 9px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
.main-nav.is-open { display: grid; }
.main-nav a { display: flex; min-height: 48px; padding: 10px 13px; align-items: center; gap: 9px; border-radius: 12px; font-weight: 760; }
.main-nav a:hover, .main-nav a:focus-visible { background: #f2f5f9; }

.hero { width: min(1180px, calc(100% - 28px)); margin: 24px auto 14px; padding: 34px 24px; border: 1px solid #d9e1ec; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 80% 5%, rgba(139,67,239,.12), transparent 30%), radial-gradient(circle at 5% 95%, rgba(38,114,243,.12), transparent 32%), #fff; text-align: center; box-shadow: var(--soft-shadow); }
.hero > div { max-width: 720px; margin: auto; }
.eyebrow, .section-kicker { display: block; margin-bottom: 7px; color: #5b69d7; font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.hero h1 { margin-bottom: 12px; font-size: clamp(2.15rem, 9vw, 4.25rem); }
.hero p { margin-bottom: 0; color: var(--muted); font-size: clamp(1rem, 3.7vw, 1.18rem); }
.home-section { width: min(1180px, calc(100% - 28px)); margin: 34px auto; }
.category-choice-grid { display: grid; gap: 14px; }
.category-choice { position: relative; display: flex; min-height: 138px; padding: 23px; align-items: center; gap: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.65); border-radius: 24px; color: #fff; box-shadow: var(--soft-shadow), inset 0 1px 1px rgba(255,255,255,.35); transition: transform .2s ease, box-shadow .2s ease; }
.category-choice:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.category-choice > span { display: grid; min-width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 19px; background: rgba(255,255,255,.18); font-size: 1.8rem; backdrop-filter: blur(8px); }
.category-choice h2 { margin-bottom: 5px; font-size: 1.35rem; }
.category-choice p { margin-bottom: 6px; opacity: .9; }
.category-choice strong { font-size: .82rem; }
.choice-education { background: linear-gradient(135deg, #1577ee, #2445b8); }
.choice-fun { background: linear-gradient(135deg, #8b43ef, #cf4d7c); }
.choice-true-or-false { background: linear-gradient(135deg, #f0a512, #d76608); }
.section-heading { display: flex; margin-bottom: 18px; align-items: flex-end; justify-content: space-between; gap: 14px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(1.65rem, 7vw, 2.35rem); }
.view-all { display: flex; margin-top: 24px; justify-content: center; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.quiz-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--soft-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.quiz-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quiz-card-art { position: relative; display: grid; aspect-ratio: 16 / 9; padding: 22px; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #1777ef, #173b8b); }
.quiz-card-art::before, .quiz-cover::before { position: absolute; width: 170px; height: 170px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; content: ""; transform: translate(50%, -45%); }
.quiz-card-art > span { position: relative; font-size: 3.1rem; filter: drop-shadow(0 8px 20px rgba(0,0,0,.16)); }
.quiz-card-art small { position: absolute; right: 15px; bottom: 12px; left: 15px; font-weight: 800; text-align: center; }
.card-fun .quiz-card-art { background: linear-gradient(145deg, #8b43ef, #c44978); }
.card-true-or-false .quiz-card-art { background: linear-gradient(145deg, #ef9d08, #cf5d08); }
.quiz-card-body { padding: 18px; }
.quiz-card-labels { display: flex; margin-bottom: 11px; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .72rem; font-weight: 820; letter-spacing: .04em; text-transform: uppercase; }
.quiz-card .card-title { margin-bottom: 8px; font-size: 1.22rem; }
.quiz-card p { min-height: 50px; margin-bottom: 15px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.quiz-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.button, .qm-button { display: inline-flex; min-height: 46px; padding: 10px 17px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 14px; background: linear-gradient(145deg, #377df1, #205bc9); color: #fff; box-shadow: 0 9px 18px rgba(38,114,243,.2), inset 0 1px 1px rgba(255,255,255,.35); cursor: pointer; font-weight: 800; text-align: center; }
.button-small { min-height: 40px; padding: 8px 13px; font-size: .8rem; }
.button-ghost, .qm-button-ghost { border-color: var(--line); background: linear-gradient(145deg, #fff, #f1f4f8); color: var(--ink); box-shadow: 0 9px 18px rgba(27,40,67,.08), inset 0 1px 1px #fff; }

.category-hero { padding: 28px 0 24px; border-bottom: 1px solid var(--line); background: linear-gradient(145deg, #eaf3ff, #f9fbff); }
.category-hero.category-fun { background: linear-gradient(145deg, #f3eaff, #fff5fa); }
.category-hero.category-true-or-false { background: linear-gradient(145deg, #fff3d8, #fffaf0); }
.breadcrumb { display: flex; margin-bottom: 19px; align-items: center; gap: 8px; overflow: hidden; color: var(--muted); font-size: .77rem; white-space: nowrap; }
.breadcrumb a { color: #4166a3; }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.category-hero-copy { display: flex; align-items: center; gap: 17px; }
.category-hero-copy > span { display: grid; min-width: 66px; height: 66px; place-items: center; border-radius: 22px; background: rgba(255,255,255,.75); box-shadow: var(--soft-shadow); font-size: 2rem; }
.category-hero-copy small { color: #5272aa; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.category-hero-copy h1 { margin: 4px 0 7px; font-size: clamp(2rem, 8vw, 3.4rem); }
.category-hero-copy p { max-width: 720px; margin: 0; color: var(--muted); }
.submenu-nav { display: flex; width: min(1180px, calc(100% - 28px)); margin: 18px auto 0; padding: 6px; gap: 6px; overflow-x: auto; border: 1px solid var(--line); border-radius: 17px; background: #fff; scrollbar-width: thin; }
.submenu-nav a { min-height: 42px; padding: 9px 13px; border-radius: 12px; font-size: .82rem; font-weight: 740; white-space: nowrap; }
.submenu-nav a.active { background: var(--ink); color: #fff; }
.archive-section { padding-block: 26px 48px; }
.archive-count { margin-bottom: 14px; color: var(--muted); font-weight: 700; }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.page-numbers { display: grid; min-width: 43px; min-height: 43px; padding: 7px 11px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 750; }
.page-numbers.current { border-color: var(--blue); background: var(--blue); color: #fff; }

.quiz-article { padding-bottom: 55px; }
.quiz-header { padding-top: 24px; }
.quiz-kicker { display: flex; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.quiz-kicker span { padding: 6px 10px; border-radius: 999px; background: #e9f2ff; color: #235eaf; font-size: .72rem; font-weight: 820; text-transform: uppercase; }
.category-fun .quiz-kicker span { background: #f3e7ff; color: #7840bd; }
.category-true-or-false .quiz-kicker span { background: #fff0cb; color: #a85808; }
.quiz-header h1 { margin-bottom: 13px; font-size: clamp(2.1rem, 9vw, 3.8rem); }
.quiz-excerpt { color: var(--muted); font-size: 1.05rem; }
.quiz-meta { display: flex; margin: 17px 0; gap: 8px; flex-wrap: wrap; }
.quiz-meta span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: .75rem; font-weight: 700; }
.quiz-cover { position: relative; display: flex; min-height: 240px; padding: 26px; align-items: center; gap: 24px; overflow: hidden; border-radius: 25px; color: #fff; background: linear-gradient(145deg, #126ee8, #17376f); box-shadow: var(--shadow); }
.category-fun .quiz-cover { background: linear-gradient(145deg, #8a3fe9, #bd3d70); }
.category-true-or-false .quiz-cover { background: linear-gradient(145deg, #ef9d0b, #c75308); }
.quiz-cover > span { position: relative; z-index: 1; font-size: 4.6rem; }
.quiz-cover div { position: relative; z-index: 1; }
.quiz-cover small { display: block; margin-bottom: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.quiz-cover strong { display: block; max-width: 570px; font-size: clamp(1.5rem, 6vw, 2.45rem); line-height: 1.15; }
.quiz-intro { margin: 19px 0 22px; padding: 18px 20px; border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; background: #fff; color: #505d71; box-shadow: var(--soft-shadow); }
.quiz-intro p:last-child { margin-bottom: 0; }

.qm-progress { position: sticky; z-index: 20; top: 76px; margin: 20px 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: var(--soft-shadow); backdrop-filter: blur(14px); }
.qm-progress > div:first-child { display: flex; margin-bottom: 10px; justify-content: space-between; gap: 12px; }
.qm-progress-track { height: 11px; overflow: hidden; border-radius: 999px; background: #e8edf4; }
.qm-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2672f3, #8b43ef); transition: width .2s ease; }
.category-true-or-false .qm-progress-track span { background: linear-gradient(90deg, #e67c08, #ffc342); }
.qm-questions { display: grid; gap: 18px; }
.qm-question { min-width: 0; margin: 0; padding: 22px 17px 18px; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: var(--soft-shadow); }
.qm-question legend { display: flex; width: 100%; padding: 0 0 7px; align-items: flex-start; gap: 12px; color: var(--ink); font-size: 1.05rem; font-weight: 820; line-height: 1.35; }
.qm-question legend > span { display: grid; min-width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #eaf2ff; color: #245fbd; }
.qm-answer-list { display: grid; gap: 10px; margin-top: 13px; }
.qm-answer { display: flex; min-height: 64px; padding: 11px 13px; align-items: center; gap: 12px; border: 1px solid #d9e0e9; border-radius: 16px; background: #fafbfd; color: #4e5b70; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.qm-answer:hover { transform: translateY(-1px); border-color: #8eb8f5; }
.qm-answer.selected { border-color: #76aaf5; background: #edf5ff; color: #1f5db5; }
.qm-answer input { position: absolute; opacity: 0; pointer-events: none; }
.qm-answer:has(input:focus-visible) { outline: 3px solid rgba(38,114,243,.28); outline-offset: 2px; }
.qm-letter { display: grid; min-width: 39px; height: 39px; place-items: center; border: 1px solid #d4dce6; border-radius: 12px; background: #fff; color: #778398; font-weight: 800; }
.qm-submit-panel { padding: 25px 19px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.qm-submit-panel p { color: var(--muted); }
.qm-button-large { width: 100%; min-height: 58px; font-size: 1rem; }
.qm-form-message { margin: 13px 0 0; color: #b42318 !important; font-weight: 800; }
.qm-ad-slot { margin: 35px 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }

.qm-result { scroll-margin-top: 84px; padding-top: 28px; }
.qm-result-title { margin-bottom: 21px; text-align: center; font-size: clamp(2.2rem, 10vw, 3.7rem); }
.qm-result-card { --card-from: #3159d6; --card-to: #21185a; --card-accent: #ffb4d0; --card-accent-glow: rgba(255,180,208,.65); --motif: "✦"; position: relative; width: min(100%, 660px); aspect-ratio: 2 / 3; margin: auto; padding: 5.5%; overflow: hidden; border: 1px solid rgba(255,255,255,.62); border-radius: clamp(28px, 7vw, 56px); color: #fff; background: radial-gradient(circle at 78% 22%, var(--card-accent-glow), transparent 26%), linear-gradient(150deg, var(--card-from), var(--card-to)); }
.qm-result-card-token-source { position: fixed; top: 0; left: -9999px; width: 660px; height: 990px; margin: 0; opacity: 0; pointer-events: none; }
.qm-result-card-canvas { display: block; width: min(100%, 660px); height: auto; aspect-ratio: 2 / 3; margin: auto; background: transparent; }
.qm-result-preparing { width: min(100%, 660px); min-height: 220px; margin: auto; padding: 70px 20px; border: 1px solid var(--line); border-radius: 24px; background: #f7f9fc; color: var(--muted); font-weight: 750; text-align: center; }
.qm-result-card::after { position: absolute; z-index: 0; right: 2%; bottom: 12%; color: rgba(255,255,255,.11); content: var(--motif); font-family: Georgia, serif; font-size: clamp(7rem, 42vw, 17rem); font-weight: 900; line-height: 1; transform: rotate(-12deg); }
.qm-result-card[data-submenu="general-knowledge"] { --card-from:#075bd8;--card-to:#071f55;--card-accent:#72dcff;--motif:"?"; }
.qm-result-card[data-submenu="geography"] { --card-from:#0076c9;--card-to:#073460;--card-accent:#65f1d2;--motif:"◎"; }
.qm-result-card[data-submenu="science-nature"] { --card-from:#1457d8;--card-to:#061d50;--card-accent:#b5ff9d;--motif:"⚗"; }
.qm-result-card[data-submenu="history"] { --card-from:#174d9e;--card-to:#151c3f;--card-accent:#ffd276;--motif:"Ⅹ"; }
.qm-result-card[data-submenu="english-vocabulary"] { --card-from:#3159d6;--card-to:#21185a;--card-accent:#ffb4d0;--motif:"A"; }
.qm-result-card[data-submenu="math-logic"] { --card-from:#004fc2;--card-to:#081943;--card-accent:#63f1ff;--motif:"π"; }
.qm-result-card[data-submenu="space-astronomy"] { --card-from:#3432a7;--card-to:#070b27;--card-accent:#ba9cff;--motif:"✦"; }
.qm-result-card[data-submenu="animals"] { --card-from:#0878bb;--card-to:#07364d;--card-accent:#91f2c5;--motif:"●"; }
.qm-result-card[data-submenu="world-culture"] { --card-from:#00769b;--card-to:#40236f;--card-accent:#ffc96f;--motif:"◆"; }
.qm-result-card[data-submenu="technology"] { --card-from:#0064d8;--card-to:#061b49;--card-accent:#42f1cf;--motif:"01"; }
.qm-result-card-fun { --card-from:#7d35e8;--card-to:#c84378;--card-accent:#ffc0de; }
.qm-result-card-myth-or-fact { --card-from:#f29b08;--card-to:#8f3d08;--card-accent:#fff18b; }
.qm-result-card-fun[data-submenu="personality"] { --card-from:#7d35e8;--card-to:#c84378;--card-accent:#ffc0de;--motif:"YOU"; }
.qm-result-card-fun[data-submenu="would-you-rather"] { --card-from:#8a35df;--card-to:#ed5c67;--card-accent:#ffe27a;--motif:"↔"; }
.qm-result-card-fun[data-submenu="travel"] { --card-from:#4f46d9;--card-to:#d34f82;--card-accent:#77f0df;--motif:"⌖"; }
.qm-result-card-fun[data-submenu="food-lifestyle"] { --card-from:#c13d77;--card-to:#f06d5f;--card-accent:#ffe487; }
.qm-result-card-fun[data-submenu="movies-tv"] { --card-from:#6734b7;--card-to:#be315e;--card-accent:#ffd16d; }
.qm-result-card-fun[data-submenu="music"] { --card-from:#5a3be0;--card-to:#7d2d8f;--card-accent:#75eaff; }
.qm-result-card-fun[data-submenu="relationships"] { --card-from:#a637b5;--card-to:#e45173;--card-accent:#ffd0df; }
.qm-result-card-fun[data-submenu="fashion-aesthetic"] { --card-from:#7540c9;--card-to:#d65684;--card-accent:#f6d7ff; }
.qm-result-card-fun[data-submenu="holidays"] { --card-from:#9239c7;--card-to:#e84f67;--card-accent:#ffe26f; }
.qm-result-card-fun[data-submenu="funny-trivia"] { --card-from:#9d3fc4;--card-to:#f16c4f;--card-accent:#fff06f; }
.qm-result-card-myth-or-fact[data-submenu="science"] { --card-from:#f29b08;--card-to:#8f3d08;--card-accent:#fff18b; }
.qm-result-card-myth-or-fact[data-submenu="health-body"] { --card-from:#ef7f16;--card-to:#a4312b;--card-accent:#ffd88b; }
.qm-result-card-myth-or-fact[data-submenu="animals"] { --card-from:#ee9212;--card-to:#9b4c0c;--card-accent:#fff0a1; }
.qm-result-card-myth-or-fact[data-submenu="food-nutrition"] { --card-from:#f0a20d;--card-to:#a54510;--card-accent:#ffe18b; }
.qm-result-card-myth-or-fact[data-submenu="history"] { --card-from:#e98712;--card-to:#783611;--card-accent:#ffd477; }
.qm-result-card-myth-or-fact[data-submenu="travel-geography"] { --card-from:#f29b16;--card-to:#88420d;--card-accent:#fff09b; }
.qm-result-card-myth-or-fact[data-submenu="everyday-life"] { --card-from:#e99a09;--card-to:#9c4b11;--card-accent:#ffe09a; }
.qm-result-card-myth-or-fact[data-submenu="pop-culture"] { --card-from:#e8781a;--card-to:#8d2f24;--card-accent:#ffd47e; }
.qm-result-card-trivia { --card-from:#008da8;--card-to:#083b66;--card-accent:#8df3e8; }
.qm-result-card-trivia[data-submenu="general-knowledge"] { --card-from:#008da8;--card-to:#083b66;--card-accent:#8df3e8;--motif:"?"; }
.qm-result-card-trivia[data-submenu="movies-tv"] { --card-from:#006ea8;--card-to:#112c57;--card-accent:#ffcf73;--motif:"▶"; }
.qm-result-card-trivia[data-submenu="music"] { --card-from:#0084a3;--card-to:#173766;--card-accent:#b6e8ff;--motif:"♫"; }
.qm-result-card-trivia[data-submenu="sports"] { --card-from:#008b83;--card-to:#154959;--card-accent:#c7ff9c;--motif:"★"; }
.qm-result-card-trivia[data-submenu="food-drink"] { --card-from:#02957e;--card-to:#1d4959;--card-accent:#ffe38f;--motif:"◉"; }
.qm-result-card-trivia[data-submenu="animals"] { --card-from:#078e75;--card-to:#164451;--card-accent:#b7f8cf;--motif:"●"; }
.qm-result-card-trivia[data-submenu="geography"] { --card-from:#008aa8;--card-to:#123c67;--card-accent:#8cebd8;--motif:"◎"; }
.qm-result-card-trivia[data-submenu="history"] { --card-from:#167d95;--card-to:#213853;--card-accent:#ffd789;--motif:"Ⅹ"; }
.qm-result-card-trivia[data-submenu="science"] { --card-from:#008ba1;--card-to:#12345d;--card-accent:#b8f2ff;--motif:"⚗"; }
.qm-result-card-trivia[data-submenu="pop-culture"] { --card-from:#0780a8;--card-to:#28305f;--card-accent:#ffd0e6;--motif:"★"; }
.qm-card-orb { position: absolute; z-index: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.07); }
.qm-card-orb-one { width: 48%; aspect-ratio: 1; top: -16%; right: -15%; }
.qm-card-orb-two { width: 58%; aspect-ratio: 1; right: -27%; bottom: -15%; }
.qm-card-brand { position: relative; z-index: 1; display: flex; min-height: 8%; align-items: center; justify-content: space-between; gap: 10px; }
.qm-card-brand-id { display: flex; align-items: center; gap: 10px; }
.qm-card-logo { display: grid; width: clamp(34px, 8vw, 58px); aspect-ratio: 1; place-items: center; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(255,255,255,.18); font-size: clamp(1rem, 4vw, 1.7rem); font-weight: 900; }
.qm-card-brand-copy { display: grid; line-height: 1.12; }
.qm-card-brand-copy strong { font-size: clamp(.82rem, 3.6vw, 1.35rem); }
.qm-card-brand-copy small { color: var(--card-accent); font-size: clamp(.48rem, 2vw, .75rem); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.qm-card-edition { max-width: 36%; padding: 6px 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; background: rgba(255,255,255,.1); font-size: clamp(.45rem, 1.8vw, .7rem); font-weight: 850; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.qm-card-lens { position: relative; z-index: 1; display: flex; height: 76%; margin-top: 4%; padding: 7% 6%; flex-direction: column; align-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: clamp(28px, 7vw, 65px); background: linear-gradient(155deg, rgba(255,255,255,.24), rgba(255,255,255,.07)); text-align: center; }
.qm-card-topic { color: var(--card-accent); font-size: clamp(.5rem, 2.2vw, .78rem); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.qm-card-lens h3 { max-width: 96%; margin: 3% 0 2%; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 5.3vw, 2.3rem); line-height: 1.08; }
.qm-card-focus { display: flex; width: 35%; aspect-ratio: 1; margin: auto 0 2%; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,.62); border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.42), rgba(255,255,255,.1)); }
.qm-card-score strong { font-family: Georgia, serif; font-size: clamp(2.8rem, 15vw, 6rem); line-height: 1; }
.qm-card-score span { align-self: flex-end; margin: 0 0 24% 2px; color: var(--card-accent); font-size: clamp(.7rem, 3vw, 1.15rem); }
.qm-card-emoji { font-size: clamp(2.5rem, 13vw, 5.5rem); }
.qm-card-result-label { color: var(--card-accent); font-size: clamp(.48rem, 2vw, .75rem); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.qm-card-banner { position: relative; display: grid; width: 86%; min-height: 9%; margin: 2% 0; padding: 2% 5%; place-items: center; }
.qm-card-banner-shape { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; color: var(--card-accent); pointer-events: none; }
.qm-card-banner strong { position: relative; z-index: 1; color: #fff; font-family: Georgia, serif; font-size: clamp(1rem, 5.1vw, 2.15rem); line-height: 1.02; }
.qm-card-insight { min-height: 8%; margin: 1% 0 2%; overflow: hidden; font-size: clamp(.57rem, 2.25vw, .88rem); line-height: 1.35; }
.qm-card-facts { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); gap: 2%; }
.qm-card-facts span { display: grid; min-width: 0; min-height: clamp(28px, 8vw, 48px); padding: 4%; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.1); font-size: clamp(.42rem, 1.8vw, .69rem); font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.qm-card-cta { position: relative; z-index: 1; display: flex; height: 10%; margin: 3% 0 0; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.qm-card-cta strong { font-family: Georgia, serif; font-size: clamp(.8rem, 4vw, 1.55rem); }
.qm-card-cta span { color: var(--card-accent); font-size: clamp(.4rem, 1.8vw, .65rem); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.qm-result-actions { display: grid; width: min(100%, 660px); margin: 20px auto 0; gap: 12px; }
.qm-result-action { position: relative; min-height: 66px; border-radius: 22px; font-size: 1rem; box-shadow: 0 15px 30px rgba(37,43,77,.16), inset 0 2px 2px rgba(255,255,255,.48); }
.qm-result-explanation { width: min(100%, 660px); margin: 19px auto; padding: 21px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--soft-shadow); }
.qm-result-description { color: #4e5c70; }
.qm-result-detail-grid { display: grid; gap: 18px; }
.qm-result-detail-grid h3 { margin-bottom: 8px; }
.qm-trait-list { margin: 0; padding-left: 20px; }
.qm-score-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.qm-score-summary span { display: grid; padding: 13px 6px; border-radius: 14px; background: #f4f7fb; color: var(--muted); font-size: .72rem; }
.qm-score-summary strong { color: var(--ink); font-size: 1.35rem; }

.qm-review { margin-top: 30px; }
.qm-review-head { display: flex; margin-bottom: 16px; flex-direction: column; gap: 13px; }
.qm-review-head > div:first-child > span { color: #5b69d7; font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.qm-review-head h2 { margin: 3px 0 0; }
.qm-review-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.qm-review-controls button { min-height: 42px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); cursor: pointer; font-size: .75rem; font-weight: 760; }
.qm-review-list { display: grid; gap: 12px; }
.qm-review-item { display: grid; padding: 17px; grid-template-columns: 38px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.qm-review-item.correct { border-left: 4px solid #20a05b; }
.qm-review-item.incorrect { border-left: 4px solid #dc3d45; }
.qm-review-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #e8f8ef; color: #148149; font-weight: 900; }
.qm-review-item.incorrect .qm-review-icon { background: #ffebed; color: #bb2831; }
.qm-review-item h3 { margin-bottom: 9px; font-size: 1rem; }
.qm-review-item p { margin-bottom: 6px; color: #566277; font-size: .88rem; }
.qm-explanation { padding-top: 5px; border-top: 1px solid #edf0f4; }
.qm-source { color: #245fbd; font-size: .8rem; font-weight: 750; }
.related-section { padding-top: 40px; }

.legal-page { min-height: 60vh; padding: 34px 0 60px; }
.legal-page h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); }
.legal-content { padding: 22px; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: var(--soft-shadow); }
.legal-content h2 { margin-top: 28px; }
.legal-content h2:first-child { margin-top: 0; }

.site-footer { margin-top: 45px; border-top: 1px solid #dce2eb; background: #fff; }
.footer-inner { display: grid; width: min(1180px, calc(100% - 32px)); margin: auto; padding: 38px 0; gap: 28px; }
.footer-lead p { max-width: 360px; margin: 13px 0 0; color: var(--muted); }
.footer-inner nav { display: grid; align-content: start; gap: 7px; }
.footer-inner h2 { margin-bottom: 5px; font-size: .95rem; }
.footer-inner nav a { color: var(--muted); font-size: .88rem; }
.copyright { padding: 16px; border-top: 1px solid #edf0f4; color: var(--muted); font-size: .8rem; text-align: center; }

@media (min-width: 540px) {
  .home-link { width: auto; padding: 0 13px; }
  .home-link span:last-child { display: inline; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qm-result-detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .header-inner { min-height: 76px; }
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; margin-left: auto; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .main-nav a { padding-inline: 11px; font-size: .87rem; }
  .hero { margin-top: 34px; padding: 48px 35px; }
  .category-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-choice { min-height: 170px; padding: 25px; flex-direction: column; align-items: flex-start; }
  .qm-question { padding: 28px; }
  .qm-question legend { font-size: 1.22rem; }
  .qm-answer { min-height: 68px; padding-inline: 17px; }
  .qm-result-actions { grid-template-columns: 1fr 1fr; }
  .qm-review-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-inner { grid-template-columns: 1.5fr repeat(3, 1fr); }
}

@media (min-width: 980px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-choice { flex-direction: row; align-items: center; }
  .quiz-card-body { padding: 20px; }
}

@media (max-width: 374px) {
  .header-inner { width: calc(100% - 16px); }
  .brand span:last-child { font-size: .94rem; }
  .brand-mark { width: 36px; height: 36px; }
  .quiz-cover { align-items: flex-start; flex-direction: column; }
  .qm-card-lens { padding-inline: 4%; }
  .qm-card-facts span { padding-inline: 2%; font-size: .4rem; }
}

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

/* ChatGPT Sites visual parity — v1.1.0 */
:root {
  --ink: #152033;
  --muted: #667085;
  --line: #dfe5ec;
  --cream: #fbfaf6;
  --blue: #246bfe;
  --purple: #8b4cf6;
  --orange: #f59e0b;
  --shadow: 0 22px 55px rgba(21, 32, 51, .11);
  --soft-shadow: 0 12px 32px rgba(21, 32, 51, .07);
}

body { background: var(--cream); color: var(--ink); line-height: 1.55; }
.content-width,
.home-section,
.header-inner,
.footer-inner,
.hero-inner { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.content-narrow,
.article-width,
.legal-width { width: min(850px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header { position: relative; z-index: 100; top: auto; border-bottom: 1px solid var(--line); background: #fff; backdrop-filter: none; }
.header-inner { display: grid; min-height: 74px; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 22px; }
.brand { font-size: 1.18rem; font-weight: 900; }
.brand-mark { width: 48px; height: 48px; border-radius: 17px; }
.home-link { width: 50px; min-height: 50px; margin-left: auto; border-radius: 17px; background: #fff; font-size: 1.2rem; }
.home-label { display: none !important; }
.menu-toggle { display: none !important; }
.main-nav,
.main-nav.is-open { position: static; display: flex; min-width: 0; margin-left: auto; padding: 0; justify-content: flex-end; gap: 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.main-nav a { min-height: 46px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 15px; background: #fff; font-size: .9rem; font-weight: 800; white-space: nowrap; }
.main-nav a:hover,
.main-nav a:focus-visible { background: #f6f8fb; transform: translateY(-1px); }

/* Shared buttons */
.button,
.qm-button { min-height: 50px; padding: 12px 20px; border-radius: 16px; background: var(--ink); box-shadow: 0 12px 24px rgba(21, 32, 51, .16); font-weight: 850; }
.button-small { min-height: 44px; padding: 10px 17px; font-size: .88rem; }
.button-ghost,
.qm-button-ghost { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: none; }

/* Home */
.hero { width: auto; margin: 0; padding: 70px 0 66px; border: 0; border-radius: 0; background: radial-gradient(circle at 78% 10%, rgba(139, 76, 246, .12), transparent 28%), radial-gradient(circle at 18% 90%, rgba(36, 107, 254, .12), transparent 30%), #f5f7ff; box-shadow: none; text-align: left; }
.hero-inner { display: flex; justify-content: center; }
.hero-copy { width: min(760px, 100%); text-align: center; }
.hero h1 { margin-bottom: 16px; font-size: clamp(2.7rem, 7vw, 5.4rem); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.home-section { margin-block: 58px; }
.category-choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-choice { min-height: 180px; padding: 25px; align-items: flex-start; border: 0; border-radius: 26px; }
.category-choice .choice-icon { min-width: 62px; height: 62px; border-radius: 20px; }
.category-choice h2 { margin: 2px 0 7px; font-size: 1.35rem; }
.category-choice p { margin-bottom: 10px; }
.category-choice strong { font-size: .84rem; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Quiz cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quiz-card { display: grid; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 8px 24px rgba(21, 32, 51, .055); }
.card-art { position: relative; display: grid; min-height: 210px; padding: 24px; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #4d9bff, #246bfe 55%, #173ca8); }
.card-art::before { position: absolute; width: 210px; height: 210px; top: -92px; right: -70px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; content: ""; }
.card-fun .card-art { background: linear-gradient(145deg, #b276ff, #8b4cf6 55%, #5c22bd); }
.card-myth-or-fact .card-art { background: linear-gradient(145deg, #ffc34d, #f59e0b 55%, #b95508); }
.art-orb { position: relative; z-index: 1; display: grid; width: 92px; height: 92px; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 32px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 2px rgba(255,255,255,.45); font-size: 2.75rem; }
.art-count { position: absolute; z-index: 1; right: 18px; bottom: 17px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.94); color: #344054; font-size: .78rem; font-weight: 850; }
.card-body { display: flex; min-width: 0; padding: 22px; flex-direction: column; align-items: flex-start; }
.card-kickers { display: flex; max-width: 100%; margin-bottom: 13px; align-items: center; gap: 7px; }
.card-kickers span { max-width: 100%; padding: 5px 10px; overflow: hidden; border-radius: 999px; background: #eef4ff; color: #245db8; font-size: .72rem; font-weight: 850; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.card-kickers span + span { background: #f2f4f7; color: #667085; }
.card-fun .card-kickers span:first-child { background: #f3ebff; color: #7441c6; }
.card-myth-or-fact .card-kickers span:first-child { background: #fff2d6; color: #a95608; }
.quiz-card .card-title { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.16; }
.quiz-card p { min-height: 0; margin-bottom: 17px; color: var(--muted); font-size: .9rem; line-height: 1.48; }
.card-meta { display: flex; margin-top: auto; margin-bottom: 16px; align-items: center; gap: 10px; color: #536176; font-size: .82rem; font-weight: 650; }
.card-meta span + span::before { margin-right: 10px; color: #667085; content: "•"; }

/* Category archives */
.category-hero { padding: 42px 0 64px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 22%, rgba(36,107,254,.14), transparent 28%), #f5f7ff; }
.category-hero-fun { background: radial-gradient(circle at 78% 22%, rgba(139,76,246,.16), transparent 28%), #faf6ff; }
.category-hero-myth-or-fact { background: radial-gradient(circle at 78% 22%, rgba(245,158,11,.17), transparent 28%), #fffaf0; }
.breadcrumb { margin-bottom: 38px; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: #4f5d73; font-weight: 750; }
.category-hero-copy { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 30px; }
.category-hero-copy .category-big-icon { display: grid; min-width: 0; width: 92px; height: 92px; place-items: center; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--soft-shadow); font-size: 2.7rem; }
.category-hero-copy h1 { margin: 5px 0 18px; font-size: clamp(3.2rem, 7vw, 6.5rem); line-height: .93; }
.category-hero-copy p { max-width: 680px; color: var(--muted); font-size: 1.12rem; line-height: 1.55; }
.listing-content { padding: 58px 0 64px; }
.submenu-nav { width: 100%; margin: 0 0 46px; padding: 0 0 14px; gap: 12px; border: 0; border-radius: 0; background: transparent; scrollbar-width: thin; }
.submenu-nav a { min-height: 50px; padding: 12px 23px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #5e6879; font-size: .92rem; font-weight: 800; }
.submenu-nav a.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.listing-toolbar { display: flex; margin-bottom: 28px; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); }
.listing-toolbar p { margin: 0; }
.listing-toolbar strong { color: var(--ink); }
.navigation.pagination { margin-top: 42px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.navigation.pagination .page-numbers { display: grid; min-width: 44px; min-height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.navigation.pagination .page-numbers.current { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Quiz article */
.quiz-page { padding: 0 0 64px; }
.article-breadcrumb { margin-top: 32px; margin-bottom: 30px; }
.quiz-article { padding: 0; }
.article-header h1 { margin: 0 0 18px; font-size: clamp(2.7rem, 7vw, 4.8rem); }
.article-deck { max-width: 740px; margin-bottom: 20px; color: var(--muted); font-size: 1.16rem; }
.article-meta { display: flex; margin-bottom: 26px; flex-wrap: wrap; gap: 9px; }
.article-meta span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: .78rem; font-weight: 750; }
.article-art { position: relative; display: grid; min-height: 300px; padding: 38px; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 34px; overflow: hidden; border-radius: 32px; color: #fff; background: linear-gradient(145deg, #4d9bff, #246bfe 55%, #173ca8); box-shadow: var(--shadow); }
.article-art::after { position: absolute; width: 300px; height: 300px; top: -150px; right: -90px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; content: ""; }
.quiz-page-fun .article-art { background: linear-gradient(145deg, #b276ff, #8b4cf6 55%, #5c22bd); }
.quiz-page-myth-or-fact .article-art { background: linear-gradient(145deg, #ffc34d, #f59e0b 55%, #b95508); }
.article-art-icon { position: relative; z-index: 1; display: grid; width: 118px; height: 118px; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 38px; background: rgba(255,255,255,.12); font-size: 3.6rem; }
.article-art div { position: relative; z-index: 1; display: grid; }
.article-art small { font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.article-art-title { margin: 7px 0 12px; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.08; }
.article-art div > span { color: rgba(255,255,255,.82); font-weight: 700; }
.article-byline { display: flex; margin: 23px 0; align-items: center; gap: 12px; }
.byline-avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 15px; background: var(--ink); color: #fff; font-weight: 900; }
.article-byline p { display: grid; margin: 0; }
.article-byline p span { color: var(--muted); font-size: .78rem; }
.article-intro { margin: 0 0 30px; padding: 22px 24px; border-left: 4px solid var(--blue); border-radius: 0 18px 18px 0; background: #fff; color: #505d71; }
.article-intro p:last-child { margin-bottom: 0; }
.qm-progress { top: 12px; border-radius: 20px; }
.qm-question { border-radius: 22px; box-shadow: 0 8px 24px rgba(21,32,51,.055); }
.qm-submit-panel { margin-top: 22px; border-radius: 24px; }
.related-section .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Footer */
.site-footer { margin-top: 60px; border: 0; background: #111b2d; color: #fff; }
.footer-inner { display: grid; padding: 58px 0 46px; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 42px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--ink); box-shadow: none; }
.footer-lead p { color: #aeb8c8; line-height: 1.65; }
.footer-inner h2 { color: #fff; font-size: .95rem; }
.footer-inner nav a { color: #aeb8c8; }
.footer-inner nav a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); color: #9aa6b8; }

@media (max-width: 980px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 6px; }
  .main-nav a { padding-inline: 11px; font-size: .8rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-choice-grid { grid-template-columns: 1fr; }
  .category-choice { min-height: 150px; }
  .related-section .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .content-width,
  .home-section,
  .header-inner,
  .footer-inner,
  .hero-inner { width: min(100% - 28px, 1180px); }
  .content-narrow,
  .article-width,
  .legal-width { width: min(100% - 28px, 850px); }
  .header-inner { display: grid; min-height: 0; padding: 14px 0 13px; grid-template-columns: 1fr auto; gap: 12px; }
  .brand { grid-column: 1; grid-row: 1; }
  .home-link { grid-column: 2; grid-row: 1; }
  .main-nav,
  .main-nav.is-open { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; margin: 2px -14px 0; padding: 0 14px 2px; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { min-height: 44px; padding: 9px 14px; flex: 0 0 auto; font-size: .86rem; }
  .hero { padding: 54px 0; }
  .hero h1 { font-size: clamp(2.55rem, 11vw, 4rem); }
  .home-section { margin-block: 42px; }
  .category-choice { min-height: 132px; padding: 22px; align-items: center; }
  .card-grid,
  .related-section .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .category-hero { padding: 28px 0 50px; }
  .breadcrumb { margin-bottom: 28px; }
  .category-hero-copy { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
  .category-hero-copy .category-big-icon { width: 70px; height: 70px; border-radius: 22px; font-size: 2rem; }
  .category-hero-copy h1 { font-size: clamp(3.1rem, 13vw, 5rem); }
  .listing-content { padding-top: 40px; }
  .submenu-nav { margin-bottom: 34px; }
  .listing-toolbar { margin-bottom: 22px; }
  .article-art { min-height: 240px; padding: 28px; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; }
  .article-art-icon { width: 86px; height: 86px; border-radius: 29px; font-size: 2.7rem; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-lead { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .header-inner { width: calc(100% - 28px); }
  .brand-mark { width: 44px; height: 44px; border-radius: 15px; }
  .brand { font-size: 1.08rem; }
  .home-link { width: 46px; min-height: 46px; border-radius: 15px; }
  .main-nav { margin-inline: -14px; }
  .hero { padding: 46px 0; }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: 2.7rem; }
  .category-choice { min-height: 128px; padding: 20px; }
  .category-choice h2 { font-size: 1.18rem; }
  .category-hero { padding-bottom: 46px; }
  .category-hero-copy { grid-template-columns: 66px minmax(0, 1fr); gap: 22px; }
  .category-hero-copy .category-big-icon { width: 66px; height: 66px; border-radius: 21px; font-size: 1.9rem; }
  .category-hero-copy h1 { margin-top: 2px; font-size: clamp(3rem, 14.5vw, 4.1rem); }
  .category-hero-copy p { font-size: 1rem; }
  .submenu-nav a { min-height: 48px; padding: 11px 20px; }
  .listing-toolbar { font-size: .86rem; }
  .quiz-card { min-height: 158px; grid-template-columns: 38% 62%; border-radius: 22px; }
  .card-art { min-height: 158px; height: 100%; padding: 12px; }
  .card-art::before { width: 150px; height: 150px; top: -58px; right: -78px; }
  .art-orb { width: 60px; height: 60px; border-radius: 22px; font-size: 2rem; }
  .art-count { right: 10px; bottom: 9px; padding: 6px 10px; font-size: .68rem; }
  .card-body { padding: 13px 14px; }
  .card-kickers { width: 100%; margin-bottom: 7px; gap: 5px; }
  .card-kickers span { padding: 4px 7px; font-size: .59rem; }
  .quiz-card .card-title { margin-bottom: 7px; font-size: 1rem; line-height: 1.14; }
  .quiz-card p { display: none; }
  .card-meta { margin-bottom: 8px; gap: 7px; font-size: .69rem; }
  .card-meta span + span::before { margin-right: 7px; }
  .button-small { min-height: 40px; padding: 8px 12px; border-radius: 13px; font-size: .76rem; }
  .article-breadcrumb { margin-top: 22px; }
  .article-header h1 { font-size: 2.55rem; }
  .article-deck { font-size: 1rem; }
  .article-art { min-height: 260px; padding: 25px; grid-template-columns: 1fr; gap: 18px; }
  .article-art-icon { width: 78px; height: 78px; }
  .article-art-title { font-size: 1.55rem; }
  .qm-progress { position: relative; top: auto; }
  .qm-question { padding: 20px 15px 17px; }
  .footer-inner { padding-block: 44px 36px; gap: 30px 22px; }
}

@media (max-width: 374px) {
  .header-inner,
  .content-width,
  .home-section,
  .hero-inner,
  .footer-inner { width: calc(100% - 20px); }
  .main-nav { margin-inline: -10px; padding-inline: 10px; }
  .brand span:last-child { font-size: .96rem; }
  .category-hero-copy { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; }
  .category-hero-copy .category-big-icon { width: 58px; height: 58px; }
  .category-hero-copy h1 { font-size: 2.65rem; }
  .quiz-card { grid-template-columns: 36% 64%; }
  .card-body { padding-inline: 11px; }
  .card-kickers span { font-size: .54rem; }
  .quiz-card .card-title { font-size: .91rem; }
}

/* Quiz reference interface — v1.1.1 */
.qm-quiz {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
.qm-answer.selected .qm-letter {
  border-color: #246bfe;
  background: #246bfe;
  color: #fff;
  box-shadow: 0 7px 15px rgba(36, 107, 254, .24);
}
.qm-result-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qm-action-another { grid-column: 1 / -1; }
.qm-result-action {
  min-width: 0;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: .92rem;
  font-weight: 760;
  line-height: 1.2;
}
.qm-action-review {
  border: 0;
  background: linear-gradient(145deg, #347df5, #2454bd);
  color: #fff;
}
.qm-action-another {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(37, 43, 77, .09), inset 0 1px 1px rgba(255,255,255,.8);
}

@media (max-width: 760px) {
  .qm-questions { gap: 28px; }
  .qm-question {
    padding: 20px 15px 17px;
    border-color: #d9dfe7;
    border-radius: 21px;
    box-shadow: 0 8px 24px rgba(21, 32, 51, .055);
  }
  .qm-question legend {
    padding-bottom: 6px;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.018em;
  }
  .qm-question legend > span {
    min-width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
  }
  .qm-answer-list { gap: 10px; margin-top: 13px; }
  .qm-answer {
    min-height: 60px;
    padding: 10px 11px;
    gap: 11px;
    border-color: #d8dee7;
    border-radius: 16px;
    background: #fafbfc;
    color: #536073;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .qm-answer:hover { transform: none; }
  .qm-answer.selected {
    border-color: #79a4ed;
    background: #eaf2ff;
    color: #1d56ad;
  }
  .qm-letter {
    min-width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 11px;
    font-size: .95rem;
    font-weight: 750;
  }
}

/* Quiz Cora GPT sizing and collision-free card art — v1.1.3 */
.quiz-card .card-art {
  --art-light: #4d9bff;
  --art-mid: #246bfe;
  --art-dark: #173ca8;
  background: linear-gradient(145deg, var(--art-light), var(--art-mid) 55%, var(--art-dark));
}
.card-art.art-variant-1 { --art-light: #4d9bff; --art-mid: #246bfe; --art-dark: #173ca8; }
.card-art.art-variant-2 { --art-light: #50c8d3; --art-mid: #168ca8; --art-dark: #0b486c; }
.card-art.art-variant-3 { --art-light: #9182f6; --art-mid: #6550d6; --art-dark: #342975; }
.card-art.art-variant-4 { --art-light: #65cf9d; --art-mid: #27976f; --art-dark: #12563f; }
.card-art.art-variant-5 { --art-light: #ffbd63; --art-mid: #ee7a27; --art-dark: #9b3d1c; }
.card-art.art-variant-6 { --art-light: #ef86bf; --art-mid: #c34f91; --art-dark: #71305e; }
.card-art.art-variant-7 { --art-light: #42c7bf; --art-mid: #07817e; --art-dark: #075052; }
.card-art.art-variant-8 { --art-light: #80b96d; --art-mid: #3f8648; --art-dark: #23512d; }
.card-art.art-variant-9 { --art-light: #ff8f76; --art-mid: #dc4f4f; --art-dark: #812b3a; }
.card-art.art-variant-10 { --art-light: #9c83ed; --art-mid: #7151b8; --art-dark: #3d2a6b; }
.card-art.art-variant-11 { --art-light: #55a9d8; --art-mid: #26739d; --art-dark: #16445f; }
.card-art.art-variant-12 { --art-light: #d49b55; --art-mid: #a5662d; --art-dark: #60391f; }

.quiz-card .card-art::after {
  position: absolute;
  width: 150px;
  height: 150px;
  left: -78px;
  bottom: -82px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  content: "";
}
.card-art.art-motif-2::before { transform: rotate(18deg) scaleX(.72); }
.card-art.art-motif-2::after { transform: rotate(-22deg) scaleY(.7); }
.card-art.art-motif-3::before { border-radius: 34%; transform: rotate(28deg); }
.card-art.art-motif-3::after { border-radius: 34%; transform: rotate(-16deg) scale(.82); }
.card-art.art-motif-4::before { transform: translate(-18px, 18px) scale(.76); }
.card-art.art-motif-4::after { transform: translate(44px, -30px) scale(1.18); }
.card-art.art-motif-5::before { border-style: dashed; transform: rotate(12deg) scale(.88); }
.card-art.art-motif-5::after { border-style: dashed; transform: rotate(-12deg) scale(.72); }
.card-art.art-motif-6::before { border-radius: 42% 58% 38% 62%; transform: rotate(32deg); }
.card-art.art-motif-6::after { border-radius: 60% 40% 58% 42%; transform: rotate(-24deg); }

.art-orb { isolation: isolate; }
.art-primary { display: grid; place-items: center; line-height: 1; }
.art-accent {
  position: absolute;
  z-index: 2;
  top: -10px;
  right: -10px;
  display: grid;
  min-width: 30px;
  height: 30px;
  padding: 0 5px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 5px 12px rgba(20,35,60,.16);
  color: var(--art-dark);
  font-family: Inter, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 760px) {
  .art-accent {
    top: -7px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 3px;
    font-size: .58rem;
  }
  .qm-question legend {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.012em;
  }
  .qm-question legend > span {
    font-size: .875rem;
    font-weight: 750;
  }
  .qm-answer {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .qm-letter {
    font-size: .875rem;
    font-weight: 700;
  }
}

/* QuizMora 1.2 — exact visual parity with the current Quiz Cora GPT theme. */
:root {
  --ink: #10264a;
  --muted: #667085;
  --line: #e1e7f0;
  --cream: #f6f8fc;
  --white: #fff;
  --blue: #2f80ed;
  --purple: #557ee8;
  --orange: #2797d8;
  --shadow: 0 22px 58px rgba(24, 55, 96, .1);
  --soft-shadow: 0 8px 24px rgba(24, 55, 96, .07);
}

html,
body {
  background: #f6f8fc;
}

body {
  background-image: none;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid #e6ebf3;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 22px rgba(28, 56, 92, .035);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  gap: 18px;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 860;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #4393f4, #2475dc);
  box-shadow: 0 7px 17px rgba(37, 116, 221, .2);
  color: #fff;
}

.home-link {
  width: auto;
  min-height: 40px;
  padding-inline: 13px;
  border: 1px solid #e1e7f0;
  border-radius: 13px;
  background: #fff;
  color: #233b5f;
  font-size: .86rem;
  box-shadow: none;
}

.home-label {
  display: inline !important;
}

.main-nav a {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #e1e7f0;
  border-radius: 13px;
  background: #fff;
  color: #233b5f;
  box-shadow: none;
  font-size: .88rem;
  font-weight: 760;
}

.home-link:hover,
.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: #bdd5f3;
  background: #f2f7fe;
  color: #1768d5;
}

.hero,
.hero.hero-compact {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e6ebf3;
  border-radius: 0;
  background:
    radial-gradient(circle at 86% 16%, rgba(70, 145, 239, .11), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: none;
  text-align: left;
}

.hero-inner {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 48px 50px;
  align-items: center;
}

.hero-copy {
  width: min(820px, 100%);
  max-width: 820px;
  margin: 0;
  text-align: left;
}

.hero .eyebrow,
.section-kicker {
  color: #175ea8;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 860;
  line-height: 1.02;
}

.hero p {
  color: var(--muted);
  font-size: 1rem;
}

.home-section {
  width: min(1180px, calc(100% - 32px));
  margin-block: 34px;
}

.category-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-choice,
.choice-education,
.choice-fun,
.choice-true-or-false {
  display: grid;
  min-height: 166px;
  padding: 24px;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  color: var(--ink);
}

.category-choice::after {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: #2f80ed;
  content: "→";
  font-size: 1.1rem;
  opacity: .35;
}

.category-choice:hover {
  border-color: #bdd5f3;
  box-shadow: var(--shadow);
}

.category-choice .choice-icon {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border: 1px solid #dce8f7;
  border-radius: 17px;
  background: #eef5ff;
  box-shadow: none;
  color: var(--ink);
  font-size: 1.55rem;
}

.category-choice h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

.category-choice p {
  min-height: 0;
  margin-bottom: 10px;
  color: var(--muted);
  opacity: 1;
}

.category-choice strong {
  color: #2878df;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 2.55rem);
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.quiz-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border: 1px solid #dfe6ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.quiz-card:hover {
  border-color: #bdd5f3;
  box-shadow: var(--shadow);
}

.quiz-card .card-art,
.card-fun .card-art,
.card-myth-or-fact .card-art {
  isolation: isolate;
  min-height: 0;
  aspect-ratio: 16 / 10;
  padding: 0;
  color: var(--ink);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, .82) 0 13%, transparent 13% 42%, rgba(255, 255, 255, .28) 42% 54%, transparent 54%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .94), transparent 31%),
    linear-gradient(145deg, #edf7ff 0%, #cfe8ff 48%, #b5d9ff 100%);
}

.card-fun .card-art {
  background:
    linear-gradient(132deg, rgba(255, 255, 255, .82) 0 13%, transparent 13% 42%, rgba(255, 255, 255, .25) 42% 54%, transparent 54%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .94), transparent 31%),
    linear-gradient(145deg, #f1f5ff 0%, #d9e5ff 48%, #c4d5ff 100%);
}

.card-myth-or-fact .card-art {
  background:
    linear-gradient(132deg, rgba(255, 255, 255, .82) 0 13%, transparent 13% 42%, rgba(255, 255, 255, .25) 42% 54%, transparent 54%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .94), transparent 31%),
    linear-gradient(145deg, #eefaff 0%, #d5f0ff 48%, #bfe4f9 100%);
}

.quiz-card .card-art::before {
  width: 190px;
  height: 190px;
  top: auto;
  right: auto;
  bottom: -74px;
  left: -72px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  transform: none;
}

.quiz-card .card-art::after {
  width: 78px;
  height: 78px;
  top: 14px;
  right: 18px;
  bottom: auto;
  left: auto;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 68%);
  transform: none;
}

.quiz-card .art-orb {
  z-index: 2;
  width: 106px;
  height: 106px;
  border: 2px solid rgba(255, 255, 255, .96);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .93), rgba(240, 248, 255, .72));
  box-shadow: 0 19px 34px rgba(32, 108, 194, .16), inset 0 1px 0 rgba(255, 255, 255, .95);
  color: var(--ink);
  font-size: 3.55rem;
  transform: none;
  backdrop-filter: blur(10px);
}

.art-primary {
  font-size: inherit;
}

.icon-count-1 .art-primary {
  white-space: nowrap;
  font-size: 1em;
}

.icon-count-2 .art-primary {
  white-space: nowrap;
  font-size: .68em;
  letter-spacing: -.08em;
}

.art-accent {
  display: none;
}

.quiz-card .art-count {
  z-index: 2;
  right: 15px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(247, 251, 255, .88);
  box-shadow: 0 7px 18px rgba(35, 101, 174, .09);
  color: #1768c8;
  font-size: .7rem;
  backdrop-filter: blur(9px);
}

.card-body {
  padding: 22px;
}

.card-kickers span,
.card-kickers span:first-child,
.card-kickers span + span,
.card-fun .card-kickers span:first-child,
.card-myth-or-fact .card-kickers span:first-child,
.article-meta span {
  border-color: #dce7f4;
  background: #f0f6fd;
  color: #1e568a;
}

.quiz-card .card-title {
  color: var(--ink);
  font-size: 1.13rem;
  font-weight: 820;
  line-height: 1.28;
}

.quiz-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.62;
}

.button,
.qm-button,
.card-fun .button,
.card-myth-or-fact .button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3589ef, #2574dc);
  box-shadow: 0 8px 18px rgba(37, 116, 220, .18);
  color: #fff;
}

.button:hover,
.qm-button:hover {
  box-shadow: 0 11px 23px rgba(37, 116, 220, .23);
}

.button-ghost,
.qm-button-ghost {
  border-color: #dce4ef;
  background: #fff;
  box-shadow: none;
  color: #294263;
}

.category-hero,
.category-hero-fun,
.category-hero-myth-or-fact {
  border-bottom: 1px solid #e5ebf3;
  background:
    radial-gradient(circle at 88% 22%, rgba(54, 135, 235, .12), transparent 28%),
    linear-gradient(180deg, #fff, #f7faff);
}

.category-hero-copy .category-big-icon {
  border: 1px solid #dce7f4;
  border-radius: 23px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.submenu-nav a,
.navigation.pagination .page-numbers {
  border-color: #dce4ef;
  background: #fff;
  color: #51657f;
}

.submenu-nav a:hover,
.submenu-nav a.active,
.navigation.pagination .page-numbers.current {
  border-color: #2f80ed;
  background: #2f80ed;
  color: #fff;
}

.quiz-page,
.quiz-page-fun,
.quiz-page-myth-or-fact {
  min-height: calc(100vh - 68px);
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 90% 8%, rgba(61, 138, 231, .075), transparent 24rem),
    #f7f9fc;
}

.article-width {
  width: min(820px, calc(100% - 40px));
}

.article-breadcrumb {
  margin-block: 0;
  padding-block: 22px;
}

.article-header {
  margin-bottom: 28px;
}

.article-kickers {
  justify-content: center;
  margin-bottom: 12px;
}

.article-header h1 {
  max-width: 740px;
  margin: 0 auto 12px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 875;
  letter-spacing: -.05em;
  line-height: 1.06;
  text-align: center;
}

.article-deck {
  max-width: 700px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
  text-align: center;
}

.article-meta {
  margin-bottom: 20px;
  justify-content: center;
}

.article-art,
.quiz-page-fun .article-art,
.quiz-page-myth-or-fact .article-art {
  display: flex;
  min-height: 155px;
  padding: 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #dbe5f1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 20%, rgba(66, 145, 240, .13), transparent 30%),
    linear-gradient(145deg, #fff, #edf5ff);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  text-align: center;
}

.article-art::after {
  display: none;
}

.article-art-icon {
  width: auto;
  height: auto;
  margin-bottom: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 3.7rem;
  line-height: 1.1;
}

.article-art-icon.icon-count-2 {
  font-size: 2.75rem;
  letter-spacing: -.08em;
  white-space: nowrap;
}

.article-art div {
  display: grid;
  justify-items: center;
}

.article-art small {
  display: none;
}

.article-art-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.35;
}

.article-art div > span {
  color: var(--muted);
  font-size: .82rem;
}

.article-byline {
  margin: 16px 0 20px;
}

.byline-avatar {
  border-radius: 12px;
  background: linear-gradient(145deg, #4393f4, #2475dc);
  color: #fff;
}

.article-intro,
.quiz-page-fun .article-intro,
.quiz-page-myth-or-fact .article-intro {
  margin: 0;
  padding: 21px 23px;
  border: 1px solid #dfe6ef;
  border-left: 1px solid #dfe6ef;
  border-radius: 19px;
  background: #fff;
  box-shadow: none;
  color: var(--ink);
}

.qm-progress {
  position: sticky;
  z-index: 20;
  top: 82px;
  display: block;
  margin: 0 0 24px;
  padding: 18px 20px 17px;
  border: 1px solid #dfe6ef;
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 27px rgba(31, 64, 104, .075);
  backdrop-filter: blur(14px);
}

.qm-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.qm-progress-count {
  min-width: 70px;
  color: #276fcb;
  font-size: 1rem;
  font-weight: 850;
  text-align: right;
}

.qm-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5eaf2;
}

.qm-progress-track span,
.category-fun .qm-progress-track span,
.category-true-or-false .qm-progress-track span {
  background: linear-gradient(90deg, #378bf1, #2879df);
}

.qm-progress-meta {
  display: flex;
  margin-top: 14px;
  align-items: center;
  gap: 8px;
  color: #536176;
  font-size: .82rem;
  font-weight: 650;
}

.qm-progress-book {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #8e9aaf;
  border-radius: 5px;
  color: transparent;
  transform: scaleX(.9);
}

.qm-progress-percent {
  display: none;
}

.qm-questions {
  display: grid;
  gap: 22px;
}

.qm-question {
  overflow: hidden;
  scroll-margin-top: 170px;
  margin: 0;
  padding: 28px;
  border: 1px solid #dfe6ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(27, 59, 99, .065);
}

.qm-question legend {
  display: flex;
  float: left;
  width: 100%;
  min-height: 62px;
  margin: 0 0 25px;
  padding: 0;
  align-items: flex-start;
  gap: 20px;
  color: var(--ink);
  font-size: clamp(1.04rem, 2.2vw, 1.22rem);
  font-weight: 820;
  line-height: 1.5;
}

.qm-question legend > span {
  display: grid;
  width: 56px;
  min-width: 56px;
  height: 56px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #f2f7ff, #e8f1ff);
  box-shadow: 0 7px 18px rgba(39, 111, 200, .09);
  color: #2f80ed;
  font-size: 1.18rem;
  font-weight: 900;
}

.qm-answer-list {
  clear: both;
  gap: 11px;
  margin-top: 0;
}

.qm-answer {
  position: relative;
  display: grid;
  min-height: 66px;
  padding: 10px 48px 10px 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  color: #1c3558;
  font-size: .96rem;
  font-weight: 660;
  line-height: 1.5;
}

.qm-answer::after {
  position: absolute;
  right: 19px;
  color: #92a0b5;
  content: "›";
  font-size: 1.8rem;
  line-height: 1;
}

.qm-answer:hover {
  border-color: #aacaf0;
  background: #fbfdff;
  box-shadow: none;
  transform: none;
}

.qm-letter {
  display: grid;
  width: 42px;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: #edf4ff;
  color: #2f80ed;
  font-size: .95rem;
  font-weight: 900;
}

.qm-answer.selected {
  border-color: #3989e9;
  background: #f1f7ff;
  box-shadow: 0 0 0 2px rgba(47, 128, 237, .08);
  color: #173b68;
}

.qm-answer.selected::after {
  color: #2f80ed;
  content: "✓";
  font-size: 1rem;
  font-weight: 900;
}

.qm-answer.selected .qm-letter {
  border: 0;
  background: #2f80ed;
  box-shadow: none;
  color: #fff;
}

.qm-submit-panel,
.qm-result,
.qm-review,
.related-section {
  border-color: #dfe6ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.qm-submit-panel {
  margin-top: 12px;
}

.qm-review-controls button {
  border-color: #dce4ef;
  border-radius: 13px;
  background: #fff;
  color: #52667f;
}

.qm-review-controls button:hover,
.qm-review-controls button.active {
  border-color: #2f80ed;
  background: #2f80ed;
  color: #fff;
}

.qm-result-action,
.qm-result-explanation {
  border-radius: 19px;
}

.qm-action-another {
  border-color: #dce4ef;
  background: #fff;
  color: #294263;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid #dfe6ef;
  background: #fff;
  color: var(--ink);
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer .brand-mark {
  background: linear-gradient(145deg, #4393f4, #2475dc);
  color: #fff;
}

.footer-lead p,
.footer-inner nav a,
.copyright {
  color: var(--muted);
}

.footer-inner h2 {
  color: var(--ink);
}

.footer-inner nav a:hover {
  color: #2172d6;
}

.copyright {
  border-top-color: #e5eaf1;
}

@media (max-width: 980px) {
  .category-choice-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .content-width,
  .home-section,
  .header-inner,
  .footer-inner,
  .hero-inner,
  .article-width,
  .legal-width {
    width: min(100% - 24px, 680px);
  }

  .header-inner {
    padding: 8px 0 11px;
  }

  .home-label {
    display: none !important;
  }

  .home-link {
    width: 46px;
    min-height: 46px;
    padding: 0;
  }

  .hero-inner {
    padding-block: 38px 40px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.35rem);
  }

  .home-section {
    margin-block: 30px;
  }

  .category-choice,
  .quiz-card {
    border-radius: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quiz-card {
    display: grid;
    min-height: 158px;
    grid-template-columns: 40% 60%;
  }

  .quiz-card .card-art {
    min-height: 158px;
    height: 100%;
    aspect-ratio: auto;
    padding: 12px;
  }

  .quiz-card .art-orb {
    width: 100px;
    height: 100px;
    border-radius: 27px;
    font-size: 3.4rem;
  }

  .quiz-card .art-count {
    right: 10px;
    bottom: 9px;
    padding: 6px 10px;
    font-size: .68rem;
  }

  .card-body {
    padding: 14px 15px;
  }

  .quiz-card p {
    display: none;
  }

  .quiz-page {
    padding-bottom: 70px;
  }

  .article-breadcrumb {
    padding-block: 17px;
  }

  .article-header h1 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
    line-height: 1.08;
  }

  .article-deck {
    font-size: .91rem;
  }

  .article-art {
    min-height: 132px;
    padding: 16px;
    border-radius: 20px;
  }

  .article-art-icon {
    font-size: 3.1rem;
  }

  .article-art-icon.icon-count-2 {
    font-size: 2.3rem;
  }

  .article-art-title {
    font-size: 1.04rem;
  }

  .article-byline {
    margin-block: 14px 18px;
  }

  .article-intro {
    padding: 18px;
    border-radius: 17px;
  }

  .qm-progress {
    top: 8px;
    padding: 15px 16px 14px;
    border-radius: 17px;
  }

  .qm-progress-row {
    gap: 13px;
  }

  .qm-progress-count {
    min-width: 62px;
    font-size: .91rem;
  }

  .qm-progress-track {
    height: 8px;
  }

  .qm-progress-meta {
    margin-top: 12px;
    gap: 6px;
    font-size: .75rem;
  }

  .qm-progress-book {
    width: 19px;
    height: 19px;
  }

  .qm-questions {
    gap: 18px;
  }

  .qm-question {
    scroll-margin-top: 145px;
    padding: 20px;
    border-radius: 22px;
  }

  .qm-question legend {
    min-height: 50px;
    margin-bottom: 21px;
    gap: 14px;
    font-size: 1rem;
    font-weight: 820;
    line-height: 1.48;
  }

  .qm-question legend > span {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.04rem;
  }

  .qm-answer-list {
    gap: 9px;
  }

  .qm-answer {
    min-height: 60px;
    padding: 8px 42px 8px 10px;
    border-radius: 16px;
    font-size: .9rem;
    font-weight: 660;
  }

  .qm-answer::after {
    right: 15px;
  }

  .qm-letter {
    width: 39px;
    min-width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .qm-submit-panel,
  .qm-result,
  .qm-review,
  .related-section {
    border-radius: 22px;
  }

  .site-footer {
    background: #fff;
  }
}

@media (max-width: 420px) {
  .quiz-card .art-orb {
    width: 96px;
    height: 96px;
    border-radius: 25px;
    font-size: 3.25rem;
  }

  .qm-progress-meta span:last-child {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .qm-question {
    padding: 18px 16px;
  }

  .qm-question legend {
    gap: 12px;
    font-size: .96rem;
  }

  .qm-question legend > span {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .qm-answer {
    font-size: .86rem;
  }
}

/* QuizMora category tokens and result-action layout — 1.3.4. */
.qm-quiz {
  --qm-question-accent: #2f80ed;
  --qm-question-accent-strong: #2169c7;
  --qm-question-accent-soft: #edf5ff;
  --qm-question-selected: #f2f7ff;
  --qm-question-selected-border: #8cbaef;
}

.qm-quiz[data-category="fun"] {
  --qm-question-accent: #7d5bd6;
  --qm-question-accent-strong: #6543be;
  --qm-question-accent-soft: #f1edff;
  --qm-question-selected: #f7f4ff;
  --qm-question-selected-border: #bba9eb;
}

.qm-quiz[data-category="myth-or-fact"],
.qm-quiz[data-category="true-or-false"] {
  --qm-question-accent: #df8417;
  --qm-question-accent-strong: #bb6710;
  --qm-question-accent-soft: #fff3df;
  --qm-question-selected: #fff8ec;
  --qm-question-selected-border: #edbd76;
}

.qm-quiz[data-category="trivia"] {
  --qm-question-accent: #07899f;
  --qm-question-accent-strong: #056b7d;
  --qm-question-accent-soft: #e7f8fa;
  --qm-question-selected: #f0fbfc;
  --qm-question-selected-border: #82cbd4;
}

.qm-quiz[data-category="guessing"] {
  --qm-question-accent: #cf3a83;
  --qm-question-accent-strong: #aa2868;
  --qm-question-accent-soft: #fcebf4;
  --qm-question-selected: #fff4f9;
  --qm-question-selected-border: #e5a0c2;
}

.qm-result-actions {
  display: grid;
  width: min(100%, 660px);
  margin: 20px auto 0;
  grid-template-columns: 1fr;
  gap: 12px;
}

.qm-result-download-row {
  display: flex;
  justify-content: center;
}

.qm-result-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qm-result-action-row.is-single {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

.qm-result-action {
  width: 100%;
  min-width: 0;
  grid-column: auto;
}

.qm-action-download {
  width: min(100%, 360px);
  border: 0;
  background: linear-gradient(135deg, #e60023, #bd001b);
  box-shadow: 0 15px 30px rgba(190, 0, 28, .2), inset 0 2px 2px rgba(255,255,255,.34);
  color: #fff;
}

.qm-action-download::before {
  margin-right: 8px;
  content: "↓";
  font-size: 1.08em;
  font-weight: 900;
}

.qm-action-download:disabled {
  cursor: wait;
  opacity: .72;
}

.qm-action-another,
.qm-action-review,
.qm-action-retry {
  grid-column: auto;
}

.qm-action-another,
.qm-action-retry {
  border: 0;
  background: linear-gradient(145deg, #347df5, #2454bd);
  color: #fff;
}

.qm-action-copy {
  grid-column: auto;
  border: 0;
  background: linear-gradient(145deg, #347df5, #2454bd);
  color: #fff;
}

.qm-action-copy.is-copied {
  border-color: #72bf91;
  background: #eaf8ef;
  box-shadow: 0 10px 24px rgba(31, 128, 78, .12), inset 0 1px 1px #fff;
  color: #187a49;
}

.qm-action-copy.is-copied::before {
  margin-right: 7px;
  content: "✓";
  font-weight: 900;
}

.qm-action-copy.is-error {
  border-color: #e1a0a5;
  background: #fff0f1;
  color: #aa3038;
}

@media (max-width: 760px) {
  .qm-result-action {
    min-height: 56px;
    padding-inline: 9px;
    font-size: .84rem;
  }
}
/* Guessing Quizzes category — 1.2.6. */
.choice-guessing {
  background: linear-gradient(135deg, #fff 0%, #fff7fc 54%, #fce7f3 100%);
}

.choice-guessing::before {
  background: linear-gradient(180deg, #ec4899, #a21caf);
}

.choice-guessing .choice-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(252, 231, 243, .94));
}

.card-guessing .card-art,
.quiz-page-guessing .article-art {
  background: linear-gradient(145deg, #f472b6, #c026d3 55%, #701a75);
}

.card-guessing .card-kickers span:first-child {
  background: #fce7f3;
  color: #86177f;
}

.category-hero-guessing {
  background: radial-gradient(circle at 78% 22%, rgba(219, 39, 119, .16), transparent 28%), #fff7fc;
}

.category-guessing .qm-progress-track span {
  background: linear-gradient(90deg, #a21caf, #ec4899);
}

.qm-result-card-guessing {
  --card-from: #db2777;
  --card-to: #701a75;
  --card-accent: #fde68a;
  --motif: "?";
}

.qm-result-card-guessing[data-submenu="animals"] { --card-accent: #bbf7d0; --motif: "🐾"; }
.qm-result-card-guessing[data-submenu="food-drinks"] { --card-accent: #fef08a; --motif: "🍕"; }
.qm-result-card-guessing[data-submenu="landmarks-places"] { --card-accent: #bfdbfe; --motif: "🗽"; }
.qm-result-card-guessing[data-submenu="movies-tv"] { --card-accent: #fed7aa; --motif: "▶"; }
.qm-result-card-guessing[data-submenu="music"] { --card-accent: #bae6fd; --motif: "♫"; }
.qm-result-card-guessing[data-submenu="sports"] { --card-accent: #d9f99d; --motif: "⚽"; }
.qm-result-card-guessing[data-submenu="words-emoji"] { --card-accent: #fbcfe8; --motif: "🧩"; }

.qm-progress > div.qm-progress-row:first-child {
  display: grid;
  margin-bottom: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: normal;
  gap: 18px;
}

@media (max-width: 760px) {
  .qm-progress > div.qm-progress-row:first-child {
    gap: 13px;
  }
}

/* Refined quiz typography and compact home cards — 1.2.3. */
.quiz-page,
.quiz-page button,
.quiz-page input,
.quiz-page select,
.quiz-page textarea,
.qm-quiz {
  font-family: "Nunito Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.qm-question legend {
  font-weight: 800;
  letter-spacing: -.012em;
}

.qm-answer {
  font-weight: 700;
  letter-spacing: -.006em;
}

.category-choice-grid {
  gap: 16px;
}

.category-choice,
.choice-education,
.choice-fun,
.choice-true-or-false {
  position: relative;
  min-height: 148px;
  padding: 20px 18px;
  grid-template-columns: 62px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border-color: #d8e5f4;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #f8fbff 54%, #eaf4ff 100%);
  box-shadow: 0 10px 28px rgba(35, 83, 139, .075), inset 0 1px 0 rgba(255, 255, 255, .96);
}

.choice-fun {
  background: linear-gradient(135deg, #fff 0%, #fafaff 54%, #eef1ff 100%);
}

.choice-true-or-false {
  background: linear-gradient(135deg, #fff 0%, #f8fcff 54%, #eaf8ff 100%);
}

.category-choice::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #5ea7f6, #2f80ed);
  content: "";
  opacity: .88;
}

.choice-fun::before {
  background: linear-gradient(180deg, #829cf5, #5f7fe9);
}

.choice-true-or-false::before {
  background: linear-gradient(180deg, #55b6ee, #2f8bd1);
}

.category-choice::after {
  position: static;
  display: grid;
  width: 34px;
  height: 34px;
  grid-column: 3;
  grid-row: 1;
  place-items: center;
  align-self: center;
  justify-self: end;
  border: 1px solid #d9e6f5;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 6px 16px rgba(43, 105, 177, .1);
  color: #2f80ed;
  content: "→";
  font-size: .96rem;
  opacity: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.category-choice:hover::after {
  background: #2f80ed;
  color: #fff;
  transform: translateX(2px);
}

.category-choice > div {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.category-choice .choice-icon {
  width: 62px;
  min-width: 62px;
  height: 62px;
  grid-column: 1;
  grid-row: 1;
  border-color: rgba(197, 218, 244, .9);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(229, 241, 255, .9));
  box-shadow: 0 10px 22px rgba(49, 112, 188, .1), inset 0 1px 0 #fff;
  font-size: 1.7rem;
}

.choice-fun .choice-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(233, 237, 255, .92));
}

.choice-true-or-false .choice-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(229, 246, 255, .92));
}

.choice-trivia {
  background: linear-gradient(135deg, #fff 0%, #f7fdfd 54%, #e4f7f5 100%);
}

.choice-trivia::before {
  background: linear-gradient(180deg, #32b8a8, #087f8c);
}

.choice-trivia .choice-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(224, 247, 243, .94));
}

.card-trivia .card-kickers span:first-child {
  background: #e2f7f3;
  color: #075f5a;
}

.category-hero-trivia {
  background: radial-gradient(circle at 78% 22%, rgba(21, 154, 145, .15), transparent 28%), #f3fcfb;
}

.quiz-page-trivia .article-art {
  background: linear-gradient(145deg, #43c7b7, #0f938f 55%, #075c72);
}

.category-trivia .qm-progress-track span {
  background: linear-gradient(90deg, #0f938f, #43c7b7);
}

.category-choice h2 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.category-choice p {
  margin: 0 0 8px;
  font-size: .84rem;
  line-height: 1.42;
}

.category-choice strong {
  display: inline-flex;
  min-height: 27px;
  padding: 5px 9px;
  align-items: center;
  border: 1px solid rgba(195, 216, 242, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #2878df;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1;
}

.category-choice strong span {
  display: none;
}

@media (max-width: 760px) {
  .category-choice-grid {
    gap: 13px;
  }

  .category-choice,
  .choice-education,
  .choice-fun,
  .choice-true-or-false,
  .choice-trivia {
    min-height: 112px;
    padding: 14px 15px;
    grid-template-columns: 54px minmax(0, 1fr) 32px;
    gap: 13px;
    border-radius: 18px;
  }

  .category-choice::before {
    top: 15px;
    bottom: 15px;
    width: 3px;
  }

  .category-choice::after {
    width: 30px;
    height: 30px;
    font-size: .84rem;
  }

  .category-choice .choice-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-radius: 17px;
    font-size: 1.5rem;
  }

  .category-choice h2 {
    margin-bottom: 3px;
    font-size: 1rem;
  }

  .category-choice p {
    margin-bottom: 6px;
    overflow: hidden;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-choice strong {
    min-height: 24px;
    padding: 4px 8px;
    font-size: .65rem;
  }

  .quiz-card {
    min-height: 138px;
    grid-template-columns: 37% 63%;
  }

  .quiz-card .card-art {
    min-height: 138px;
    padding: 9px;
  }

  .quiz-card .art-orb {
    width: 84px;
    height: 84px;
    border-radius: 23px;
    font-size: 2.85rem;
  }

  .quiz-card .art-count {
    right: 7px;
    bottom: 7px;
    padding: 4px 7px;
    font-size: .58rem;
  }

  .card-body {
    padding: 9px 11px;
  }

  .card-kickers {
    margin-bottom: 5px;
    gap: 4px;
  }

  .card-kickers span {
    padding: 3px 6px;
    font-size: .56rem;
  }

  .quiz-card .card-title {
    display: -webkit-box;
    margin: 0 0 5px;
    overflow: hidden;
    font-size: .92rem;
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .card-meta {
    margin-bottom: 5px;
    gap: 6px;
    font-size: .63rem;
  }

  .card-meta span + span::before {
    margin-right: 6px;
  }

  .quiz-card .button-small {
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 11px;
    font-size: .7rem;
  }
}

@media (max-width: 420px) {
  .quiz-card {
    min-height: 134px;
  }

  .quiz-card .card-art {
    min-height: 134px;
  }

  .quiz-card .art-orb {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    font-size: 2.7rem;
  }
}

/* Refined mobile question-card system using QuizMora tokens — 1.3.4. */
.qm-questions {
  gap: 22px;
}

.qm-question {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: 165px;
  margin: 0;
  padding: 28px 28px 18px;
  border: 1px solid color-mix(in srgb, var(--qm-question-accent) 24%, #d7cfc7);
  border-radius: 24px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--qm-question-accent) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--qm-question-accent) 3.5%, transparent) 1px, transparent 1px),
    radial-gradient(circle at 96% 0%, color-mix(in srgb, var(--qm-question-accent) 11%, transparent), transparent 13rem),
    #fffefa;
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .82), 0 22px 55px rgba(35, 29, 38, .085);
}

.qm-question::before {
  position: absolute;
  top: 0;
  right: 28px;
  width: 64px;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--qm-question-accent-strong), color-mix(in srgb, var(--qm-question-accent) 55%, white));
  content: "";
  opacity: .78;
}

.qm-question legend {
  position: relative;
  display: block;
  float: left;
  width: 100%;
  min-height: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #201d23;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

.qm-question legend::after {
  display: none;
  content: none;
}

.qm-question legend > .qm-question-overline {
  position: static;
  display: flex;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0 0 17px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--qm-question-accent-strong);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .63rem;
  font-weight: 830;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.qm-question legend > .qm-question-overline > span:first-child {
  flex: 0 0 auto;
}

.qm-question-category {
  display: inline-flex;
  min-height: 27px;
  max-width: 58%;
  min-width: 0;
  padding: 5px 9px;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--qm-question-accent) 23%, #d8cfc5);
  border-radius: 999px;
  background: color-mix(in srgb, var(--qm-question-accent-soft) 48%, rgba(248, 244, 238, .84));
  color: #6b6269;
  font-size: .58rem;
  letter-spacing: .08em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
}

.qm-question legend > .qm-question-text {
  position: static;
  display: block;
  width: auto;
  max-width: 680px;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #201d23;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.38rem, 3vw, 1.78rem);
  font-weight: 600;
  letter-spacing: -.026em;
  line-height: 1.35;
  text-wrap: balance;
}

.qm-answer-list {
  display: grid;
  clear: both;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.qm-answer {
  position: relative;
  display: grid;
  min-height: 64px;
  padding: 9px 45px 9px 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid color-mix(in srgb, var(--qm-question-accent) 10%, #dfd7cf);
  border-radius: 14px;
  background: rgba(255, 254, 251, .88);
  box-shadow: none;
  color: #403b42;
  cursor: pointer;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .92rem;
  font-weight: 640;
  letter-spacing: 0;
  line-height: 1.4;
  transition: 140ms ease;
}

.qm-answer-text {
  display: block;
  min-width: 0;
}

.qm-answer-text::first-letter {
  text-transform: uppercase;
}

.qm-answer::after {
  position: absolute;
  right: 17px;
  color: #aaa2ad;
  content: "›";
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.qm-answer:hover {
  border-color: var(--qm-question-selected-border);
  background: #fff;
  box-shadow: 0 9px 22px rgba(42, 34, 44, .065);
  transform: none;
}

.qm-answer:has(input:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--qm-question-accent) 25%, transparent);
  outline-offset: 3px;
}

.qm-letter,
.qm-answer:nth-child(2) .qm-letter,
.qm-answer:nth-child(3) .qm-letter,
.qm-answer:nth-child(4) .qm-letter {
  display: grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--qm-question-accent) 24%, #d5c7b5);
  border-radius: 50%;
  background: var(--qm-question-accent-soft);
  box-shadow: none;
  color: var(--qm-question-accent-strong);
  font-family: Georgia, serif;
  font-size: .82rem;
  font-weight: 700;
}

.qm-answer:nth-child(2) .qm-letter {
  border-color: #d8c4d9;
  background: #f3eaf4;
  color: #805480;
}

.qm-answer:nth-child(3) .qm-letter {
  border-color: #c9d8d1;
  background: #eaf1ed;
  color: #486b5e;
}

.qm-answer:nth-child(4) .qm-letter {
  border-color: #d8c9bf;
  background: #f5ebe5;
  color: #936049;
}

.qm-answer.selected {
  border-color: var(--qm-question-accent);
  background: var(--qm-question-selected);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--qm-question-accent) 10%, transparent), 0 12px 28px rgba(29, 23, 31, .075);
  color: #312c35;
}

.qm-answer.selected::after {
  color: var(--qm-question-accent-strong);
  content: "✓";
  font-size: .96rem;
  font-weight: 900;
}

.qm-answer.selected .qm-letter,
.qm-answer.selected:nth-child(2) .qm-letter,
.qm-answer.selected:nth-child(3) .qm-letter,
.qm-answer.selected:nth-child(4) .qm-letter {
  border-color: var(--qm-question-accent);
  background: var(--qm-question-accent);
  color: #fff;
}

.qm-question-brand {
  display: flex;
  clear: both;
  margin-top: 15px;
  padding-top: 13px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border-top: 1px solid color-mix(in srgb, var(--qm-question-accent) 8%, #e4ddd5);
  color: #8e868c;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .62rem;
  letter-spacing: .02em;
}

.qm-question-brand-mark {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--qm-question-selected-border);
  border-radius: 50%;
  background: var(--qm-question-accent-soft);
  color: var(--qm-question-accent-strong);
  font-family: Georgia, serif;
  font-size: .58rem;
  font-weight: 700;
}

.qm-question-brand strong {
  font-weight: 760;
}

@media (max-width: 760px) {
  .qm-question {
    scroll-margin-top: 140px;
    padding: 22px 19px 15px;
    border-radius: 20px;
  }

  .qm-question::before {
    right: 20px;
    width: 48px;
  }

  .qm-question legend {
    margin-bottom: 18px;
  }

  .qm-question legend > .qm-question-overline {
    margin-bottom: 14px;
    font-size: .61rem;
  }

  .qm-question legend > .qm-question-text {
    font-size: 1.3rem;
    line-height: 1.36;
  }

  .qm-answer {
    min-height: 59px;
    border-radius: 13px;
  }
}

@media (max-width: 520px) {
  .qm-question {
    padding-inline: 16px;
  }

  .qm-question-category {
    max-width: 58%;
    padding-inline: 8px;
    font-size: .54rem;
    letter-spacing: .06em;
  }

  .qm-question legend > .qm-question-text {
    font-size: 1.22rem;
  }

  .qm-answer {
    padding-right: 40px;
  }

  .qm-letter,
  .qm-answer:nth-child(2) .qm-letter,
  .qm-answer:nth-child(3) .qm-letter,
  .qm-answer:nth-child(4) .qm-letter {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .qm-question-brand {
    margin-top: 13px;
    padding-top: 11px;
  }
}

@media (max-width: 390px) {
  .qm-question legend > .qm-question-text {
    font-size: 1.16rem;
  }
}

/* Compact result-card personalization — v1.3.7. */
.qm-result-name-form {
  display: grid;
  width: min(100%, 660px);
  min-height: 52px;
  margin: 12px auto 0;
  padding: 6px 7px 6px 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe5ec;
  border-radius: 17px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 26px rgba(31, 45, 68, .07);
}

.qm-result-name-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #52667f;
  font-size: .8rem;
  font-weight: 820;
  white-space: nowrap;
}

.qm-result-name-spark {
  color: var(--qm-question-accent, #2672f3);
  font-size: .92rem;
}

.qm-result-name-input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-left: 1px solid #e5eaf1;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
}

.qm-result-name-input::placeholder {
  color: #98a2b3;
}

.qm-result-name-input:focus {
  box-shadow: inset 0 -2px var(--qm-question-accent, #2672f3);
}

.qm-result-name-apply {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--qm-question-accent, #2672f3);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  font-weight: 850;
  transition: filter .15s ease, transform .15s ease;
}

.qm-result-name-apply:hover:not(:disabled) {
  filter: brightness(.94);
  transform: translateY(-1px);
}

.qm-result-name-apply:focus-visible {
  outline: 3px solid rgba(38, 114, 243, .28);
  outline-offset: 2px;
}

.qm-result-name-apply:disabled {
  cursor: wait;
  opacity: .72;
}

@media (max-width: 480px) {
  .qm-result-name-form {
    padding-left: 9px;
    gap: 6px;
  }

  .qm-result-name-copy {
    display: none;
  }

  .qm-result-name-input {
    padding-inline: 8px;
  }

  .qm-result-name-apply {
    padding-inline: 12px;
  }
}


/* Keep inactive quiz controls off the mobile animation timeline — 1.4.3. */
@media (hover: none) {
  .single-quiz .qm-progress-track span,
  .single-quiz .qm-answer,
  .single-quiz .quiz-card {
    transition: none;
  }
}

/* Sponsored result support action — 1.4.4. */
.qm-result-support {
  display: grid;
  width: min(100%, 660px);
  margin: 18px auto 0;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.qm-result-support-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.qm-result-support-link {
  display: inline-flex;
  width: auto;
  min-height: 50px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #C94F7C;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(201, 79, 124, .14);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.qm-result-support-link:visited {
  color: #FFFFFF;
}

.qm-result-support-link:hover,
.qm-result-support-link:focus-visible {
  background: #B63F6B;
  color: #FFFFFF;
}

.qm-result-support-link:focus-visible {
  outline: 3px solid rgba(201, 79, 124, .28);
  outline-offset: 3px;
}
