:root{--bg:#211530;--panel:#2d1e40;--raised:#38264d;--line:#543d69;--text:#fbf6ff;--muted:#c6b6d3;--yellow:#eed181;--green:#9be5b5;--pink:#efb4ca;--purple:#ad85db;--width:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:radial-gradient(ellipse at 85% 5%,#69418a33,transparent 40%),var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}[hidden]{display:none!important}.wrap{width:min(var(--width),calc(100% - 64px));margin-inline:auto}.skip{position:absolute;top:-100px;left:20px;z-index:20;background:var(--yellow);color:#20142e;padding:12px 20px}.skip:focus{top:10px}.test-bar{text-align:center;padding:7px 15px;background:#352147;color:#d7c2e6;font-size:10px;letter-spacing:1.2px}.test-bar a{text-decoration:underline}.site-header{border-bottom:1px solid var(--line);background:#211530aa}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:94px}.brand{display:inline-flex;align-items:center;gap:9px;font-weight:900;font-size:32px;letter-spacing:-1.8px;white-space:nowrap;line-height:1}.brand img{width:53px;height:53px;display:block;filter:drop-shadow(0 4px 8px #0d071f44)}.main-nav{display:flex;gap:25px;align-items:center;font-size:13px}.main-nav a:hover{color:var(--yellow)}.menu-toggle{display:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:23px;min-height:47px;border:1px solid #75588d;border-radius:100px;padding:12px 22px;background:transparent;color:var(--text);font-weight:700;font-size:13px;transition:transform .2s,background .2s,box-shadow .2s,border-color .2s}.button:hover:not(:disabled){transform:translateY(-3px);border-color:var(--yellow);box-shadow:0 10px 28px #0d071f44}.button.primary{background:var(--yellow);color:#31203b;border-color:var(--yellow)}.button.primary:hover{background:#f6df9f}.button.small{font-size:12px;padding:9px 16px;min-height:40px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:10px}.dot{width:7px;height:7px;border-radius:50%;background:var(--yellow);display:inline-block;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.08;letter-spacing:-.05em}h1{font-size:clamp(44px,6.1vw,77px);font-weight:900}h2{font-size:clamp(30px,4vw,46px)}h3{font-size:23px}.hero{padding:65px 0;display:grid;grid-template-columns:1.15fr 1fr;gap:65px;align-items:center}.hero h1{margin:24px 0}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{max-width:480px;font-size:16px;color:var(--muted)}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:25px}.tiny{font-size:12px;color:var(--muted)}.hero .tiny{margin-top:19px;font-size:12px}.feature-card{padding:31px;background:var(--yellow);color:#2a1b36;border-radius:30px;transform:rotate(2deg);box-shadow:13px 15px 0 #513669;transition:transform .25s}.feature-card:hover{transform:rotate(0deg) translateY(-4px)}.feature-card .eyebrow{color:#61462d;justify-content:space-between}.feature-card h2{font-size:47px;margin:25px 0 18px}.feature-card p{font-size:14px;color:#624c36}.feature-levels{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}.feature-levels span{padding:10px 13px;border:1px solid #57374744;border-radius:12px;font-size:12px;font-weight:700}.feature-levels span:last-child{background:#4b2c65;color:#ffecb7}.feature-card .button{background:#382249;color:#f5df9c;width:100%;margin-top:22px;justify-content:space-between;border:0}.stats-strip{border-block:1px solid var(--line);background:#2c1d3d66}.stats-inner{display:flex;justify-content:space-between;gap:20px;padding:17px 0;font-size:12px;color:var(--muted)}.stats-inner strong{color:var(--text)}.section{padding:54px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.section-head h2{margin-top:12px}.tag{display:inline-block;border:1px solid var(--line);border-radius:100px;background:#ffffff05;padding:5px 11px;font-size:10px;color:var(--muted);font-weight:700;letter-spacing:.4px}.search-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.search-field{position:relative;max-width:560px;width:100%}.search-field input{width:100%;background:#2d1f40;border:1px solid var(--line);border-radius:15px;padding:14px 17px;color:var(--text);outline-offset:2px;font-size:14px}.search-field input::placeholder{color:#b2a0c1}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.filters button{color:var(--muted);background:transparent;border:1px solid var(--line);padding:8px 14px;border-radius:100px;font-size:11px}.filters button[aria-pressed=true]{background:#eed181;color:#33213d;border-color:#eed181}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.topic-card{display:flex;flex-direction:column;gap:13px;background:linear-gradient(145deg,#352348,#2b1c3d);border:1px solid var(--line);border-radius:23px;padding:22px;transition:transform .2s,box-shadow .2s,border-color .2s;min-width:0}.topic-card:hover{transform:translateY(-5px);border-color:#b58adb;box-shadow:0 14px 30px #12091e44}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.topic-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#c5a0e3;color:#30203e;font-size:28px;line-height:1;transform:rotate(-5deg)}.topic-card:nth-child(4n+2) .topic-icon{background:#eed181}.topic-card:nth-child(4n+3) .topic-icon{background:#b9b9ed}.topic-card:nth-child(4n+4) .topic-icon{background:#e4b9d6}.topic-card h3{font-size:23px;letter-spacing:-.8px}.topic-card p{font-size:12px;color:var(--muted);flex:1}.card-link{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;font-size:12px;font-weight:700;color:var(--yellow)}.topic-card .eyebrow{font-size:8px;letter-spacing:1px}.empty-state{border:1px solid var(--line);padding:35px;border-radius:23px}.empty-state p{color:var(--muted);margin-top:10px}.how-panel{border:1px solid var(--line);background:linear-gradient(120deg,#3b2850,#281c38);border-radius:28px;padding:35px;display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-bottom:55px}.how-panel h2{margin:13px 0 18px;font-size:38px}.how-panel p{color:var(--muted);font-size:14px}.steps{display:grid;align-content:center;gap:8px}.step{display:flex;gap:20px;align-items:start;border-bottom:1px solid var(--line);padding:15px 0;font-size:14px}.step strong{color:var(--yellow);font-size:12px}.faq-section{padding-top:0}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.faq-grid details{border:1px solid var(--line);border-radius:18px;padding:20px;background:#2c1f3d}.faq-grid summary{cursor:pointer;font-weight:700;font-size:14px}.faq-grid p{color:var(--muted);font-size:13px;margin-top:14px}.site-footer{border-top:1px solid var(--line);padding:35px 0}.footer-top{display:flex;justify-content:space-between;align-items:start;gap:30px}.footer-top .brand{font-size:27px}.footer-top .brand img{width:43px;height:43px}.footer-top p{color:var(--muted);font-size:12px;margin-top:12px}.footer-links{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;max-width:480px}.footer-links a:hover{color:var(--yellow)}.footer-bottom{margin-top:25px;padding-top:18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}.breadcrumb{display:flex;gap:9px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding-top:25px}.breadcrumb a{text-decoration:underline;text-underline-offset:3px}.page-hero{padding:33px 0 30px;max-width:850px}.page-hero h1{font-size:clamp(38px,5vw,62px);margin:14px 0 18px}.page-hero p{color:var(--muted);font-size:15px;max-width:680px}.quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:25px;align-items:start;margin-bottom:42px}.quiz-panel{border:1px solid var(--line);border-radius:27px;background:var(--panel);padding:30px;min-width:0}.setup-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.setup-top .tag{color:var(--yellow)}.setup-top select,.host-bar select{background:#241833;color:var(--text);border:1px solid var(--line);border-radius:10px;padding:8px 12px;font-size:12px;max-width:150px}.setup h2{font-size:34px;margin:10px 0 13px}.setup>p{font-size:14px;color:var(--muted)}.difficulty-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:24px 0}.level-button{display:flex;flex-direction:column;align-items:start;gap:4px;border:1px solid #624b76;border-radius:16px;padding:17px;background:#241833;color:var(--text);text-align:left;transition:background .2s,border-color .2s}.level-button strong{font-size:17px}.level-button small{font-size:11px;color:var(--muted)}.level-button[aria-pressed=true]{background:#eed18115;border-color:var(--yellow)}.level-button[aria-pressed=true] strong{color:var(--yellow)}.level-button:hover{border-color:#c29be3}.start-summary{border-left:3px solid var(--yellow);padding:9px 15px;background:#eed18108;margin-bottom:24px;font-size:13px;color:var(--muted)}.setup .button.primary{width:100%;justify-content:space-between}.setup .tiny{margin-top:17px;text-align:center}.round-info{padding:23px;border:1px solid var(--line);border-radius:23px;background:#2b1c3b;min-width:0}.round-info h2{font-size:23px;margin:12px 0 20px}.round-info ul{list-style:none;margin:0;padding:0}.round-info li{padding:12px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.round-info li strong{display:block;color:var(--text);font-size:13px;margin-bottom:3px}.round-info .tiny{margin-top:15px;font-size:11px}.game-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}.game-bar .tag{color:var(--yellow)}.text-button{border:0;background:none;padding:0;color:var(--muted);font-size:11px;text-decoration:underline;cursor:pointer}.progress-labels{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted);margin:17px 0 10px}.progress-track{height:5px;background:#513b65;border-radius:20px;overflow:hidden;margin-bottom:25px}.progress-track span{display:block;height:100%;background:var(--yellow);transition:width .2s}.difficulty-label{font-size:10px;color:var(--yellow);font-weight:700;text-transform:uppercase;letter-spacing:1.5px}.question{font-size:clamp(24px,2.8vw,33px);line-height:1.25;letter-spacing:-.025em;margin:13px 0 24px}.question:focus,.result-heading:focus,#setup-heading:focus{outline:none}.options{display:grid;grid-template-columns:1fr 1fr;gap:11px}.option{display:flex;align-items:center;gap:12px;flex-wrap:wrap;text-align:left;min-height:67px;padding:15px;border:1px solid #624b76;border-radius:15px;background:#241833;color:var(--text);font-size:14px;transition:background .15s,border-color .15s}.option:hover:not(:disabled){border-color:var(--yellow);background:#3d2952}.answer-letter{width:28px;height:28px;display:grid;place-items:center;border:1px solid #745d87;border-radius:8px;font-size:11px;flex-shrink:0}.answer-text{flex:1;min-width:100px;overflow-wrap:anywhere}.answer-badge{font-size:9px;letter-spacing:.3px;margin-left:auto}.option:disabled{opacity:1}.option.is-correct{background:#243b32;border-color:#86dba5;color:#dcfbe6}.option.is-correct .answer-letter{background:#94e3b0;color:#163923;border-color:#94e3b0}.option.is-wrong{background:#4c293d;border-color:#df9eb2;color:#fbdae6}.option.is-wrong .answer-letter{background:#e8afc2;color:#3a1a29;border-color:#e8afc2}.answer-feedback{padding:15px 18px;border-radius:14px;background:#243b32;color:#d1f4dd;border:1px solid #86dba555;margin-top:17px;font-size:13px}.answer-feedback.wrong{background:#3b2947;color:#f0dff4;border-color:#b78dd155}.game-controls{display:flex;justify-content:space-between;gap:15px;margin-top:23px}.question-nav{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:23px}.question-nav button{border:1px solid var(--line);border-radius:50%;width:29px;height:29px;background:transparent;color:var(--muted);font-size:10px}.question-nav button.answered{background:#eed18114;color:var(--yellow)}.question-nav button[aria-current=step]{border-color:var(--yellow);color:var(--text)}.fair-play{font-size:11px;color:var(--muted);text-align:center;margin-top:18px}.result-top{text-align:center}.score{display:flex;justify-content:center;gap:5px;align-items:baseline;font-size:91px;letter-spacing:-6px;font-weight:900;color:var(--yellow);line-height:1.1;margin:20px 0}.score small{font-size:34px;letter-spacing:-1px;color:var(--muted)}.result-heading{font-size:33px}.result-top p{font-size:14px;color:var(--muted);margin:17px 0}.result-top .actions{justify-content:center}.review{margin-top:25px}.review-item{border-top:1px solid var(--line);padding:20px 0}.review-item h3{font-size:17px;line-height:1.4;letter-spacing:-.02em}.review-item p{font-size:12px;color:var(--muted);margin-top:8px}.review-item .correct{color:var(--green)}.review-item .incorrect{color:var(--pink)}.host-view{border:1px solid var(--line);background:#2b1d3d;border-radius:22px;padding:23px;margin:30px 0}.host-view>summary{cursor:pointer;font-size:17px;font-weight:700;letter-spacing:-.3px}.host-view .host-intro{font-size:12px;color:var(--muted);margin-top:15px}.host-bar{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:20px 0}.host-questions{padding-left:23px}.host-questions li{padding:15px 5px;border-bottom:1px solid var(--line);font-size:14px;break-inside:avoid}.host-questions p{font-size:13px;color:var(--green);margin-top:7px}.host-questions small{font-size:10px;color:var(--muted)}.source-note{font-size:11px;color:var(--muted);margin-top:20px}.source-note a{text-decoration:underline}.related-grid{grid-template-columns:repeat(3,1fr)}.related-grid .topic-card{padding:20px}.prose{max-width:800px;padding:35px 0 65px}.prose h1{font-size:48px;margin:16px 0 25px}.prose h2{font-size:26px;margin:30px 0 15px}.prose p,.prose li{color:var(--muted);font-size:15px;margin-bottom:15px}.prose a{color:var(--yellow);text-decoration:underline}.prose strong{color:var(--text)}.prose ul{padding-left:22px}.group-intro{padding-bottom:20px}.topic-count{font-size:11px;color:var(--muted);white-space:nowrap}.print-area{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.topic-grid{grid-template-columns:repeat(3,1fr)}.hero{gap:40px}.hero h1{font-size:61px}.feature-card h2{font-size:38px}.quiz-layout{grid-template-columns:minmax(0,1fr) 220px}.quiz-panel{padding:25px}.round-info{padding:20px}.main-nav{gap:18px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header-inner{min-height:78px;position:relative}.brand{font-size:29px}.brand img{width:45px;height:45px}.menu-toggle{display:block;border:1px solid #715287;border-radius:100px;background:#352147;color:var(--text);padding:9px 16px;font-size:12px}.main-nav{display:none;position:absolute;z-index:10;top:calc(100% - 3px);left:0;right:0;background:#352147;border:1px solid #705088;border-radius:0 0 20px 20px;box-shadow:0 20px 35px #12091d88;padding:23px;gap:21px;align-items:stretch;flex-direction:column}.main-nav.is-open{display:flex}.hero{grid-template-columns:1fr 1fr;gap:28px;padding:42px 0}.hero h1{font-size:50px}.hero p{font-size:14px}.feature-card{padding:23px}.feature-card h2{font-size:34px}.feature-levels{gap:7px}.feature-levels span{font-size:10px;padding:8px}.feature-card .button{font-size:11px;gap:12px}.topic-grid{grid-template-columns:1fr 1fr}.related-grid{grid-template-columns:1fr 1fr}.section{padding:38px 0}.section-head{gap:16px;align-items:start}.section-head h2{font-size:34px}.quiz-layout{grid-template-columns:1fr}.round-info{display:none}.page-hero{padding:25px 0}.page-hero h1{font-size:46px}.how-panel{gap:25px;padding:27px}.how-panel h2{font-size:31px}.stats-inner{gap:14px;flex-wrap:wrap;font-size:11px;justify-content:center}.faq-grid{grid-template-columns:1fr}.footer-top{flex-direction:column}.footer-links{gap:15px}.footer-bottom{flex-direction:column;gap:8px}.host-bar{flex-wrap:wrap}.quiz-panel{padding:25px}.options{gap:10px}.prose h1{font-size:41px}}
@media(max-width:480px){.hero{grid-template-columns:1fr;gap:32px;padding:35px 0 42px}.hero h1{font-size:55px;margin:19px 0}.hero p{font-size:15px}.feature-card{margin:0 8px;transform:rotate(1deg);padding:25px}.feature-card h2{font-size:40px}.feature-levels span{font-size:12px;padding:10px}.feature-card .button{font-size:12px}.section-head{flex-direction:column;gap:12px}.search-row{align-items:stretch;flex-direction:column;gap:10px}.topic-grid{gap:11px}.topic-card{padding:17px;border-radius:20px;gap:11px}.topic-card h3{font-size:21px}.topic-card p{font-size:11px}.topic-icon{width:42px;height:42px;font-size:23px;border-radius:12px}.topic-card .tag{font-size:8px;padding:4px 7px}.topic-card .eyebrow{font-size:7px;letter-spacing:.5px}.card-link{font-size:11px}.how-panel{grid-template-columns:1fr;gap:20px;padding:24px;margin-bottom:35px}.how-panel h2{font-size:34px}.page-hero h1{font-size:39px}.page-hero p{font-size:14px}.quiz-panel{padding:21px 17px;border-radius:23px}.difficulty-grid{gap:9px}.level-button{padding:15px 12px}.level-button strong{font-size:16px}.level-button small{font-size:10px}.setup h2{font-size:30px}.setup-top{gap:10px}.setup-top .eyebrow{font-size:9px;letter-spacing:1px}.setup-top select{max-width:125px}.options{grid-template-columns:1fr}.option{padding:13px 14px;min-height:58px;font-size:13px}.answer-text{min-width:100px}.game-controls{gap:10px}.game-controls .button{padding:12px 15px;gap:9px;font-size:12px}.question-nav{gap:5px}.question-nav button{width:27px;height:27px}.question{font-size:26px}.score{font-size:80px}.result-heading{font-size:29px}.host-view{padding:19px}.host-view>summary{font-size:16px}.related-grid{grid-template-columns:1fr}.related-grid .topic-card{display:grid;grid-template-columns:1fr;gap:10px}.prose h1{font-size:35px}.prose p,.prose li{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.feature-card,.topic-icon{transform:none}.topic-card:hover,.button:hover{transform:none}}
@media print{body{color:#111;background:#fff}body>*{display:none!important}body>.print-area{display:block!important;font:12px/1.5 Arial,sans-serif}.print-area h1{font-size:24px;letter-spacing:-.5px}.print-area h2{font-size:20px}.print-area p{margin:14px 0}.print-area li{padding:10px 0;break-inside:avoid}.answer-space{height:23px;border-bottom:1px solid #aaa}.print-answers{break-before:page}.print-credit{font-size:9px}}
/* Category-first browsing: keep every quiz on its existing permanent address. */
.category-lead{margin-top:14px;color:var(--muted);font-size:14px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-card{gap:16px;padding:26px}.category-card h3{font-size:29px}.category-card p{font-size:13px}.category-card .card-link{margin-top:auto}.category-subjects{list-style:none;margin:0;padding:0;display:flex;gap:7px;flex-wrap:wrap}.category-subjects li{font-size:10px;border:1px solid #80609677;background:#ad85db0d;color:var(--muted);border-radius:100px;padding:4px 9px}.category-rounds{margin-top:16px;font-size:13px!important}.category-quizzes{padding-top:20px}.category-quizzes h2{font-size:30px}.category-quizzes .topic-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}.category-quizzes .topic-card:only-child{max-width:420px}.category-links{display:flex;gap:12px;flex-wrap:wrap}.other-categories{border-top:1px solid var(--line);margin-top:10px}.other-categories h2{font-size:34px}.topic-card{position:relative}.topic-card h3 a::after{content:"";position:absolute;inset:0;border-radius:23px}.topic-card h3 a:focus-visible::after{outline:3px solid var(--yellow);outline-offset:4px}.topic-card>a.card-link{position:relative;z-index:1}
@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.category-grid{grid-template-columns:1fr}.category-card{padding:24px}.category-card h3{font-size:28px}.category-card p{font-size:13px}.category-card .tag{font-size:10px}.category-card .card-link{font-size:12px}.category-links .button{font-size:12px;padding:10px 16px}.other-categories h2{font-size:29px}}
/* Keep round selection and the active question together. */
.setup{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}.setup-top{margin-bottom:18px}.setup h2{font-size:27px}.difficulty-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.level-button{padding:12px 10px}.level-button strong{font-size:14px}.level-button small{font-size:10px}.start-summary{margin-bottom:12px}.round-change-note{font-size:11px!important;color:var(--muted)}
@media(max-width:600px){.difficulty-grid{grid-template-columns:1fr 1fr}.setup h2{font-size:25px}.setup{padding-bottom:20px;margin-bottom:20px}}
/* Editorial topic notes remain secondary to the playable quiz. */
.quiz-topic-guide{display:grid;grid-template-columns:1.1fr 1fr;gap:35px;border:1px solid var(--line);background:#2c1f3d;border-radius:24px;padding:28px;margin:28px 0}.quiz-topic-guide h2{font-size:29px;margin:12px 0 16px}.quiz-topic-guide h3{font-size:20px;margin-bottom:14px}.quiz-topic-guide p,.quiz-topic-guide li{font-size:13px;color:var(--muted)}.quiz-topic-guide ul{padding-left:20px;margin:0 0 15px}.quiz-topic-guide a{color:var(--yellow);text-decoration:underline;text-underline-offset:3px}.page-hero h1{font-size:clamp(36px,4.5vw,57px)}
@media(max-width:650px){.quiz-topic-guide{grid-template-columns:1fr;gap:24px;padding:22px}.quiz-topic-guide h2{font-size:25px}.hero h1{font-size:49px}}
