@font-face{font-family:Bricolage;src:url('assets/bricolage.woff2') format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:DM;src:url('assets/dm-sans-600.woff2') format('woff2');font-weight:400 600;font-display:swap}
@font-face{font-family:DM;src:url('assets/dm-sans-700.woff2') format('woff2');font-weight:700 900;font-display:swap}
:root{--teal:#007f89;--ink:#17383b;--yellow:#ffe343;--paper:#f7fbf8;--mint:#e8f3ed;--line:#c7ddd3;--muted:#587477;--display:Bricolage,'Arial Rounded MT Bold','Trebuchet MS',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:DM,Arial,sans-serif;font-size:14px;background-image:radial-gradient(#008b9015 1px,transparent 1px);background-size:20px 20px}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #df7400;outline-offset:4px}button:disabled{cursor:default}button{user-select:none}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}h1,h2,p{margin:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.site-nav{height:37px;display:flex;align-items:center;justify-content:space-between;max-width:1380px;padding:0 32px;margin:auto;font-size:11px;font-weight:700}.back-link:hover{text-decoration:underline}.donate{padding:4px 10px;border:1px solid #d9bd25;border-radius:5px;background:var(--yellow)}
.app-header{display:flex;align-items:center;gap:30px;justify-content:space-between;background:var(--teal);border-bottom:3px solid var(--ink);box-shadow:0 4px 0 var(--yellow);padding:18px max(32px,calc((100vw - 1316px)/2));color:white}.brand{display:flex;align-items:center;gap:15px;flex-shrink:0}.brand img{width:76px;height:76px;object-fit:cover;border:3px solid var(--yellow);border-radius:17px;transform:rotate(-4deg);box-shadow:3px 3px 0 #12464b}.brand h1{font-family:var(--display);font-weight:800;font-size:34px;line-height:1;letter-spacing:-.9px}.brand h1>span{display:block;font-family:DM,Arial,sans-serif;color:var(--yellow);font-size:11px;letter-spacing:2px;margin-bottom:7px}.brand h1 strong{display:block;font-size:36px;font-weight:800}.title-dot{color:var(--yellow)}.header-actions{display:flex;gap:7px}.utility{border:1px solid #ffffff58;border-radius:8px;background:#ffffff0a;color:#fff;min-width:40px;min-height:40px;padding:8px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px}.utility svg{width:19px;height:19px}.utility:hover{background:#ffffff20}.utility[aria-pressed=true]{background:#ffffff26}.mw-live-highscores{display:flex;gap:28px;margin-left:auto;text-align:center}.mw-live-highscores>div{display:flex;flex-direction:column;gap:3px}.mw-live-highscores span{font-size:11px;color:#e1f3ed;white-space:nowrap}.mw-live-highscores strong{font-family:var(--display);font-size:39px;line-height:1.1;color:var(--yellow)}
main{max-width:1250px;margin:28px auto 0;padding:0 28px}.setup-shell{border:1.5px solid var(--line);background:white;border-radius:20px;box-shadow:0 5px 0 #d5e6dd;overflow:hidden}.setup-heading{padding:23px 28px 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3ede7}.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.7px;color:var(--teal)}.setup-heading h2{font-family:var(--display);font-size:30px;letter-spacing:-.9px;margin-top:6px}.duration-pill{border:1px solid #d9e2d8;border-radius:20px;padding:8px 12px;display:flex;align-items:center;gap:6px;font-size:11px;background:var(--paper)}.duration-pill svg{width:16px;height:16px}.setup-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:34px;padding:25px 28px}.settings{min-width:0}fieldset{padding:0;margin:0;border:0;min-width:0}legend{font-weight:800;font-size:12px;margin-bottom:10px}.top-settings{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;margin-bottom:24px}.segmented{display:flex;gap:5px}.segmented button{min-height:43px;background:var(--paper);border:1.5px solid #ccddd4;border-radius:8px;flex:1;padding:8px 10px;font-size:12px;font-weight:700;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px}.segmented svg{width:17px;height:17px}.segmented button[aria-pressed=true]{background:var(--teal);border-color:#00515a;color:#fff;box-shadow:0 2px 0 #00515a}.segmented button:hover{border-color:var(--teal)}.image-field{position:relative}.image-field legend{padding:0 0 3px}.mixed-button{width:100%;display:flex;align-items:center;gap:8px;min-height:39px;padding:8px 12px;border:1.5px solid var(--line);border-radius:8px;background:var(--paper);font-size:12px;font-weight:700;margin-bottom:9px}.mixed-button svg{width:17px;height:17px}.selection-check{margin-left:auto;font-size:13px;opacity:0}.mixed-button[aria-pressed=true]{background:#e1f2eb;border-color:var(--teal);color:#005c64}.mixed-button[aria-pressed=true] .selection-check{opacity:1}.image-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.image-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:white;border:1.5px solid var(--line);border-radius:10px;min-height:91px;padding:7px 2px 9px;transition:transform .12s,border-color .12s}.image-choice>svg{width:77px;height:51px;stroke:none}.image-choice>span{font-size:10px;font-weight:700;margin-top:3px}.image-choice:hover{background:var(--paper);border-color:var(--teal);transform:translateY(-2px)}.image-choice[aria-pressed=true]{background:#e6f3ec;border-color:var(--teal);box-shadow:0 2px 0 #005c64}.image-choice[aria-pressed=true]:after{content:'✓';position:absolute;right:5px;top:3px;color:var(--teal);font-size:11px}
.preview-panel{border:1px solid #e2e8db;border-radius:14px;background:#f8faef;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:21px 20px 19px;position:relative;overflow:hidden}.preview-panel:before{content:'';width:160px;height:160px;border:1px dashed #cad7b9;border-radius:50%;position:absolute;left:-90px;top:-90px;pointer-events:none}.preview-question{font-family:var(--display);font-size:23px;letter-spacing:-.5px}.preview-image{width:100%;height:195px;display:grid;place-items:center}.preview-image svg{width:100%;height:100%;max-width:350px;stroke:none}.preview-numbers{display:flex;gap:8px;margin-bottom:16px}.preview-numbers span{width:37px;height:37px;border:1.5px solid #b8d3c9;border-radius:8px;display:grid;place-items:center;background:#fff;box-shadow:0 2px 0 #c5dacd;font-family:var(--display);font-size:22px}.preview-numbers .example-choice{background:var(--yellow);border-color:var(--ink);box-shadow:0 2px 0 var(--ink);transform:rotate(-4deg)}.preview-panel p{text-align:center;color:var(--muted);font-size:12px;line-height:1.7}.setup-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--mint);padding:18px 28px;border-top:1px solid var(--line)}.setup-bottom>p{font-size:11px;color:var(--muted)}.primary{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:48px;min-width:207px;background:var(--yellow);border:2px solid var(--ink);box-shadow:0 3px 0 var(--ink);padding:10px 21px;border-radius:9px;font-weight:800;font-size:16px}.primary:hover{background:#ffec79}.primary:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}.primary svg{width:20px;height:20px}
footer{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1194px;margin:23px auto 15px;font-size:10px;color:var(--muted);padding:0 2px}footer a{font-weight:800;color:var(--teal)}footer a:hover{text-decoration:underline}footer p{text-align:right;font-size:9px}.round-top{display:flex;align-items:center;justify-content:space-between;position:relative;min-height:66px;margin-bottom:10px}.round-top>p{font-size:12px;color:var(--muted);max-width:37%;line-height:1.6}.clock{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:baseline;gap:8px}.clock strong{font-family:var(--display);font-size:51px;line-height:1}.clock span{font-size:10px;color:var(--muted)}.clock.urgent strong{color:#b84d2b}.text-button{border:0;background:none;color:var(--teal);font-size:12px;font-weight:700;padding:10px;min-height:40px}.text-button:hover{text-decoration:underline}.time-track{height:7px;background:#deebe1;border-radius:9px;overflow:hidden}.time-track>div{height:100%;background:var(--teal);width:100%;border-radius:9px;transition:background .3s}.quantity-stage{position:relative;margin-top:12px;background:white;border:1.5px solid var(--line);border-radius:17px;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:8px 20px 6px;overflow:hidden;box-shadow:0 3px 0 #e0ebe3}.image-label{position:absolute;top:14px;left:17px;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-weight:700}.quantity-image{width:100%;height:clamp(180px,29vh,320px);display:grid;place-items:center}.quantity-image>svg{height:100%;width:auto;max-width:100%;stroke:none}.quantity-image.pop>svg{animation:pop .22s ease-out}.shared-feedback{min-height:25px;font-family:var(--display);font-size:20px;margin-top:0;text-align:center}.quantity-stage.correct{background:#eff8ec;border-color:#75a88c}.quantity-stage.missed{background:#fff7e9;border-color:#deb46e}.quantity-stage.correct .shared-feedback{color:#006943}.quantity-stage.missed .shared-feedback{color:#946125}
.player-panels{display:grid;grid-template-columns:1fr;gap:17px;margin-top:17px}body[data-players="2"] .player-panels{grid-template-columns:1fr 1fr}.player-panel{border:2px solid #8fbcb2;background:#e9f5ee;border-radius:15px;padding:12px 17px 4px;box-shadow:0 3px 0 #bed8ce;min-width:0}.player-two{background:#fff8d8;border-color:#d0b750;box-shadow:0 3px 0 #dfd087}.player-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.player-top h2{font-family:var(--display);font-size:23px;letter-spacing:-.3px}.score{display:flex;align-items:baseline;gap:7px}.score strong{font-family:var(--display);font-size:34px;line-height:1}.score span{font-size:10px;color:var(--muted)}.answer-buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.answer-buttons button{border:1.5px solid #8fbbb0;border-radius:10px;background:#fff;box-shadow:0 3px 0 #a2c6b9;min-height:clamp(54px,7.5vh,80px);font-family:var(--display);font-size:clamp(27px,3vw,39px);line-height:1;padding:8px 4px;transition:background .1s}.answer-buttons button:hover:enabled{background:#d3eee3}.player-two .answer-buttons button{border-color:#d0bb62;box-shadow:0 3px 0 #ddcb7e}.player-two .answer-buttons button:hover:enabled{background:#fff0a1}.answer-buttons button:active:enabled{transform:translateY(3px);box-shadow:none}.answer-buttons button:disabled{opacity:.46}.answer-buttons button.right-answer{background:var(--teal);color:white;opacity:1;border-color:#004f56;box-shadow:0 3px 0 #004f56}.player-two .answer-buttons button.right-answer{background:var(--yellow);color:var(--ink);border-color:#a98e27;box-shadow:0 3px 0 #a98e27}.answer-buttons button.wrong-answer{background:#f7dbcb;border-color:#bb7458;opacity:1}.player-feedback{min-height:26px;padding-top:9px;font-size:11px;text-align:center;color:#426b66}.player-two .player-feedback{color:#73602b}.player-panel.locked{opacity:.67}.keyboard-help{text-align:center;font-size:10px;color:var(--muted);margin-top:14px}
.countdown-overlay{position:fixed;z-index:90;inset:0;background:#123b3ee6;display:grid;place-items:center;backdrop-filter:blur(5px)}.countdown-overlay>div{width:260px;max-width:90vw;text-align:center;background:var(--yellow);border:3px solid var(--ink);border-radius:22px;box-shadow:8px 8px 0 #0002;padding:24px}.countdown-overlay span{font-size:11px;font-weight:800;letter-spacing:2px}.countdown-overlay strong{display:block;font-family:var(--display);font-size:128px;line-height:1.2;text-shadow:4px 4px 0 #fff7}.countdown-overlay p{font-size:12px;line-height:1.6}
dialog{width:520px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 32px);overflow:auto;border:2px solid var(--ink);border-radius:21px;padding:26px 30px;text-align:center;background:var(--paper);color:var(--ink);box-shadow:6px 7px 0 #0c373a24}dialog::backdrop{background:#123b3edb;backdrop-filter:blur(4px)}.result-icon{margin:0 auto 12px;display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:var(--yellow);border:1.5px solid var(--ink)}.result-icon svg{width:43px;height:43px;stroke-width:2.4}dialog h2{font-family:var(--display);font-size:36px;letter-spacing:-.9px;line-height:1.1;margin:9px 0 10px}#result-description{font-size:12px;color:var(--muted)}.result-scores{display:flex;gap:12px;margin:22px 0}.result-scores>div{flex:1;display:flex;flex-direction:column;gap:5px;background:#e0f1e7;border:1px solid #abcbb8;border-radius:12px;padding:15px}.result-scores>div:nth-child(2){background:#fff2b4;border-color:#d8c56b}.result-scores span{font-size:13px;font-weight:700}.result-scores strong{font-family:var(--display);font-size:49px;line-height:1.2}.result-scores small{font-size:10px;color:var(--muted)}dialog .primary{width:100%;margin:2px 0 9px}dialog .text-button{display:block;margin:auto}.return-games{display:block;margin-top:9px;font-size:11px;color:var(--teal);font-weight:700}.return-games:hover{text-decoration:underline}.mw-highscores{margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:11px;line-height:1.7}.mw-highscores small{display:block;font-size:9px;color:var(--muted)}.record-message{font-size:13px;color:#006343;padding:0 0 17px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;font-size:12px;padding:12px 20px;border-radius:8px;z-index:100;max-width:90vw;text-align:center}
body[data-screen="game"] main{margin-top:16px}body[data-screen="game"] .app-header,body[data-screen="countdown"] .app-header{padding-top:12px;padding-bottom:12px}body[data-screen="game"] .brand img,body[data-screen="countdown"] .brand img{width:58px;height:58px;border-radius:13px}body[data-screen="game"] .brand h1,body[data-screen="countdown"] .brand h1{font-size:27px}body[data-screen="game"] .brand h1 strong,body[data-screen="countdown"] .brand h1 strong{font-size:29px}body[data-screen="game"] .brand h1>span,body[data-screen="countdown"] .brand h1>span{font-size:9px;margin-bottom:5px}
@keyframes pop{from{transform:scale(.91);opacity:.5}to{transform:scale(1);opacity:1}}
@media(min-width:1600px){main{max-width:1390px;margin-top:38px}.setup-grid{padding:34px;gap:45px}.image-choice{min-height:110px}.image-choice>svg{height:65px;width:94px}.image-choice>span{font-size:12px}.preview-image{height:240px}.preview-panel p{font-size:14px}.top-settings{margin-bottom:30px}.segmented button{min-height:49px}.setup-heading{padding:27px 34px}.setup-bottom{padding:22px 34px}footer{max-width:1334px}.quantity-image{height:clamp(260px,33vh,390px)}}
@media(max-width:1050px){.app-header{gap:20px;padding:17px 26px}.brand img{width:65px;height:65px}.brand h1{font-size:29px}.brand h1 strong{font-size:31px}.mw-live-highscores{gap:18px}.mw-live-highscores span{font-size:10px}.mw-live-highscores strong{font-size:34px}.utility span{display:none}main{padding:0 22px;margin-top:25px}.setup-grid{gap:22px;padding:23px}.setup-heading{padding:20px 23px}.top-settings{gap:14px}.segmented button{padding:7px;font-size:11px}.segmented svg{display:none}.preview-panel{padding:18px 13px}.preview-question{font-size:21px}.preview-image{height:180px}.image-choice{min-height:83px}.image-choice>svg{width:65px;height:46px}.image-choice>span{font-size:9px}.primary{min-width:195px}footer{padding:0 23px}.player-panel{padding:12px 12px 5px}.answer-buttons{gap:8px}}
@media(max-width:740px){.site-nav{padding:0 18px;font-size:10px;height:32px}.app-header{flex-wrap:wrap;gap:13px;padding:15px 18px}.brand{gap:11px}.brand img{width:58px;height:58px;border-radius:14px}.brand h1{font-size:26px}.brand h1 strong{font-size:28px}.brand h1>span{font-size:9px}.header-actions{margin-left:auto}.mw-live-highscores{order:3;margin:2px 0 0;padding-top:10px;border-top:1px solid #ffffff35;flex-basis:100%;justify-content:center;gap:34px}.mw-live-highscores>div{flex-direction:row;align-items:center;gap:12px}.mw-live-highscores strong{font-size:26px}.mw-live-highscores span{font-size:10px}main{padding:0 15px;margin-top:24px}.setup-heading{padding:20px}.setup-heading h2{font-size:26px}.duration-pill{padding:7px 9px;font-size:10px}.setup-grid{padding:21px 20px;grid-template-columns:1fr;gap:24px}.top-settings{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.segmented button{font-size:12px;min-height:44px}.image-choice{min-height:88px}.image-choice>svg{width:80px;height:53px}.image-choice>span{font-size:10px}.preview-panel{display:none}.setup-bottom{padding:17px 20px;gap:14px}.setup-bottom>p{font-size:10px;max-width:45%;line-height:1.7}.primary{min-width:165px;gap:20px;font-size:15px;padding:10px 15px}.quantity-image{height:clamp(160px,27vh,260px)}.quantity-stage{padding:14px 10px 6px}.image-label{top:10px;left:12px;font-size:9px}.shared-feedback{font-size:17px}.round-top{min-height:57px;margin-bottom:9px}.round-top>p{font-size:10px;max-width:32%}.clock strong{font-size:43px}.clock span{font-size:9px}.text-button{font-size:11px}.player-panels{gap:11px;margin-top:13px}.player-panel{padding:11px 9px 4px;border-radius:12px}.player-top{margin-bottom:12px}.player-top h2{font-size:19px}.score{gap:5px}.score strong{font-size:28px}.score span{font-size:8px}.answer-buttons{gap:7px}.answer-buttons button{min-height:54px;font-size:28px;border-radius:8px}.player-feedback{font-size:9px;min-height:26px}.player-two .score span{display:none}body[data-players="2"] .player-one .score span{display:none}footer{padding:0 17px;margin-top:20px;align-items:flex-start}footer>a{font-size:9px;white-space:nowrap}footer p{max-width:205px;font-size:8px;line-height:1.7}}
@media(max-width:430px){.app-header{padding:13px 14px;gap:12px}.brand img{width:48px;height:48px;border-radius:12px}.brand h1{font-size:22px}.brand h1 strong{font-size:25px}.brand h1>span{font-size:8px;letter-spacing:1.5px}.brand{gap:9px}.header-actions{gap:5px}.utility{min-height:34px;min-width:32px;padding:6px}.utility svg{width:16px;height:16px}.mw-live-highscores{gap:22px;padding-top:9px}.mw-live-highscores>div{gap:8px}.mw-live-highscores span{font-size:9px}.mw-live-highscores strong{font-size:25px}.setup-heading{padding:19px 16px}.setup-heading h2{font-size:24px}.duration-pill{font-size:9px;gap:4px}.duration-pill svg{width:13px;height:13px}.setup-grid{padding:21px 16px}.top-settings{gap:15px}.segmented button{font-size:11px;padding:7px 6px}.image-options{gap:7px}.image-choice>svg{width:61px;height:47px}.image-choice{min-height:82px}.image-choice>span{font-size:9px}.setup-bottom{padding:16px;gap:10px}.setup-bottom>p{font-size:9px}.primary{min-width:150px;font-size:14px}.quantity-stage{padding:17px 5px 6px}.quantity-image{height:190px}.player-panels{gap:9px}.player-panel{padding:9px 7px 3px}.player-top h2{font-size:17px}.score strong{font-size:26px}.answer-buttons{gap:6px;grid-template-columns:repeat(3,1fr)}.answer-buttons button{font-size:25px;min-height:49px}body[data-players="1"] .answer-buttons{grid-template-columns:repeat(5,1fr)}body[data-players="2"] .answer-buttons button:last-child:nth-child(3n + 1){grid-column:2}.shared-feedback{font-size:16px}.player-feedback{font-size:8px;padding-top:9px}body[data-screen="game"] .brand img,body[data-screen="countdown"] .brand img{width:45px;height:45px}body[data-screen="game"] .brand h1,body[data-screen="countdown"] .brand h1{font-size:21px}body[data-screen="game"] .brand h1 strong,body[data-screen="countdown"] .brand h1 strong{font-size:24px}body[data-screen="game"] .brand h1>span,body[data-screen="countdown"] .brand h1>span{font-size:8px}.clock{flex-direction:column;gap:1px;align-items:center}.clock strong{font-size:39px}.round-top>p{font-size:9px;max-width:34%}footer{display:block;text-align:center}footer p{text-align:center;max-width:none;margin-top:7px}.keyboard-help{font-size:9px}dialog{padding:24px 22px}dialog h2{font-size:31px}.mw-highscores{font-size:10px}.mw-highscores small{font-size:8px}}
@media(max-height:800px) and (min-width:741px){.app-header{padding-top:12px;padding-bottom:12px}.brand img{width:61px;height:61px}.brand h1{font-size:28px}.brand h1 strong{font-size:30px}main{margin-top:22px}.setup-heading{padding-top:17px;padding-bottom:17px}.setup-grid{padding-top:20px;padding-bottom:20px}.top-settings{margin-bottom:18px}.image-choice{min-height:79px}.image-choice>svg{height:44px}.preview-image{height:168px}.setup-bottom{padding-top:14px;padding-bottom:14px}body[data-screen="game"] main{margin-top:11px}.round-top{min-height:55px}.clock strong{font-size:45px}.quantity-image{height:clamp(155px,25vh,235px)}.player-panels{margin-top:12px}.player-top{margin-bottom:9px}.answer-buttons button{min-height:clamp(46px,7vh,60px)}.keyboard-help{margin-top:11px}body[data-screen="game"] footer{margin-top:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
