:root{color:#172c48;font-synthesis:none;background:#eff6fd;font-family:Inter,ui-rounded,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 90% 80%,#fff2d9,#0000 50%),linear-gradient(120deg,#eff7ff,#f7faff);min-width:320px;margin:0}button,input{font:inherit}button{color:#233c5b;cursor:pointer;background:#fff;border:2px solid #dce5f0;border-radius:13px;min-height:48px;padding:12px 20px;font-weight:700;transition:background .15s,transform .15s}button:hover{background:#edf3ff;border-color:#8eaaf8}button:active{transform:scale(.97)}button:disabled{opacity:.55;cursor:default}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:4px solid #e8a62b}.shell{max-width:1220px;margin:auto;padding:20px 30px}header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.brand{color:#203857;align-items:center;gap:10px;font-size:22px;font-weight:850;text-decoration:none;display:flex}.brand-icon{color:#fff;background:#3263df;border-radius:11px;padding:4px 10px;font-size:28px}.header-actions{gap:8px;display:flex}.header-actions button{padding:9px 14px;font-size:14px}.home{text-align:center;background:#fff;border:2px solid #dfe9f5;border-radius:28px;max-width:880px;margin:auto;padding:28px 44px;box-shadow:0 20px 60px #25497712}.badge,.eyebrow{letter-spacing:1.8px;color:#496b96;font-size:12px;font-weight:850}.badge{background:#edf4ff;border-radius:30px;padding:9px 15px;display:inline-block}h1{letter-spacing:-2px;margin:18px 0 12px;font-size:clamp(36px,5vw,56px);line-height:1.08}h1 span{color:#3263df}p{color:#5a6e88;margin:8px 0 16px;line-height:1.5}h3{margin:14px 0;font-size:18px}.home-preview{text-align:left;background:#f6f9fe;border-radius:20px;justify-content:center;align-items:center;gap:28px;max-width:570px;margin:12px auto;padding:10px 24px;display:flex}.home-preview .polygon{width:180px;height:150px}.home-preview strong{font-size:22px}.home-preview p{margin:8px 0}.mini-tag{letter-spacing:1px;color:#4562a0;font-size:10px;font-weight:700}.timer-options{justify-content:center;gap:10px;display:flex}.timer-options button{width:88px;padding:7px;font-size:24px}.timer-options small{font-size:12px;display:block}.selected{box-shadow:0 0 0 1px #3564df;color:#254fbe!important;background:#eaf0ff!important;border-color:#3564df!important}.primary{color:#fff;background:#3263df;border-color:#3263df;font-size:18px;box-shadow:0 5px #214cb6}.primary:hover{color:#fff;background:#254fc0}.start{min-width:320px;margin:20px 0}.home-footer{color:#64748b;justify-content:space-between;gap:15px;font-size:12px;display:flex}.game-bar{align-items:center;gap:25px;padding:0 12px 18px;display:flex}.game-bar>div:first-child{margin-right:auto}.game-bar>div:first-child strong{margin-top:4px;font-size:20px;display:block}.stat{flex-direction:column;min-width:104px;display:flex}.stat span{letter-spacing:1.4px;color:#5b7393;font-size:10px;font-weight:800}.stat strong{font-size:28px}.urgent strong{color:#b72c40}.game-panel{text-align:center;background:#fff;border:2px solid #dfe9f5;border-radius:25px;min-height:455px;padding:22px 28px;box-shadow:0 12px 30px #25497708}.question-title h2{letter-spacing:-.5px;margin:8px 0 4px;font-size:clamp(24px,3vw,32px)}.question-title p{margin:0 0 16px;font-size:16px}.area-layout,.shape-layout{grid-template-columns:minmax(0,1.35fr) minmax(275px,1fr);align-items:center;gap:26px;display:grid}.board{background-color:#f8fbff;background-image:linear-gradient(#c9d9ee40 1px,#0000 1px),linear-gradient(90deg,#c9d9ee40 1px,#0000 1px);background-size:24px 24px;border:1px solid #dce8f5;border-radius:20px;padding:6px}.polygon{width:100%;height:290px;display:block;overflow:visible}.grid-cell{fill:none;stroke:#a5b9d2;stroke-width:.025px}.outline{fill:none;stroke:#284c81;stroke-width:.07px;stroke-linejoin:round;pointer-events:none}.placed{stroke:#fff;stroke-width:.035px;pointer-events:none;animation:.15s ease-out tileIn}.whole{fill:#6492f1}.half{fill:#edb85f}.interactive{touch-action:none;-webkit-user-select:none;user-select:none}.board-caption{color:#506c90;padding:7px;font-size:13px;font-weight:700}.tray{text-align:left}.tray p{font-size:14px}.tile-options{gap:10px;display:flex}.tile-options button{touch-action:none;-webkit-user-select:none;user-select:none;flex:1;padding:10px}.tile-options svg{fill:#648ced;stroke:#315ebe;stroke-width:.025px;width:48px;height:48px;margin:auto}.tile-options button:nth-child(2) svg{fill:#edb85f;stroke:#b67a24}.tile-options span{font-size:14px;display:block}.tile-options strong{color:#5b7190;margin-top:4px;font-size:12px;display:block}.rotate{width:100%;margin:12px 0 6px;padding:8px;font-size:15px}.rotate small{color:#6c7e97}.reference{background:#fff8e9;border:1px solid #eedbb6;border-radius:10px;padding:10px;font-size:13px;line-height:1.8}.undo{min-height:38px;margin-top:8px;padding:6px 15px;font-size:13px}.hint{color:#436196;min-height:24px;margin:10px 0 0;font-size:15px;font-weight:700}form{max-width:300px;margin:auto}form label{margin-right:12px;font-size:22px;font-weight:750}input{text-align:center;color:#23497f;border:2px solid #9fb6e0;border-radius:12px;width:115px;min-height:60px;font-size:28px}.units{margin:10px 0 20px;font-size:18px;display:block}form p{margin-top:18px;font-size:13px}.answer-icon{color:#e8ac44;font-size:42px}.answers{gap:10px;display:grid}.answers button{text-transform:capitalize;font-size:20px}.shape-cards{grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0;display:grid}.shape-cards button{padding:12px 8px}.shape-cards .polygon{height:190px}.shape-cards span{font-size:16px}.shape-layout .polygon{height:280px}footer{color:#60758f;justify-content:space-between;padding:15px 5px;font-size:12px;display:flex}.drag-ghost{pointer-events:none;z-index:30;opacity:.85;width:50px;height:50px;position:fixed}.drag-ghost svg{fill:#648ced;filter:drop-shadow(0 4px 4px #30406650);width:100%;height:100%}.celebrate{border-color:#64bc9d}.bonus{color:#fff;background:#172d59;border-radius:18px;padding:25px;overflow:hidden}.bonus .eyebrow{color:#a9c7ff}.bonus h2{margin:12px;font-size:64px}.bonus p{color:#c4d4ef}.bonus b{background:#2b4674;border-radius:20px;margin-left:12px;padding:6px 12px;display:inline-block}.targets{grid-template-columns:repeat(4,1fr);gap:22px;padding:30px 12px;display:grid}.targets button{aspect-ratio:1;color:#352d29;background:#f8b64d;border:9px solid #ffe4ac;border-radius:50%;width:100%;max-width:150px;margin:auto;padding:0;font-size:clamp(25px,4vw,40px);animation:3s ease-in-out infinite bob;box-shadow:0 0 0 6px #a7692e,0 10px 20px #0003}.targets .miss{background:#e98b8b}.bonus-note{color:#dce8ff;height:30px;font-weight:700}.final-score{color:#3263df;margin:15px;font-size:66px;font-weight:900}.final-score span{letter-spacing:2px;font-size:12px;display:block}.result-grid{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.result-grid div{background:#f1f6fc;border-radius:14px;padding:16px}.result-grid strong{font-size:28px;display:block}.result-grid span{font-size:13px}.results>button{margin:8px}.results p{font-size:14px}.modal-backdrop{z-index:50;background:#162d4f88;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:24px;max-width:670px;max-height:90vh;padding:25px 32px;overflow:auto}.modal p{font-size:15px}.modal h2{margin-top:0}@keyframes bob{50%{transform:translateY(-12px)}}@keyframes tileIn{0%{opacity:.3}to{opacity:1}}@media (height<=760px) and (width>=800px){.shell{padding-top:12px}header{margin-bottom:12px}.home{padding:20px 35px}h1{font-size:43px}.home-preview .polygon{height:115px}.home-preview{margin:8px auto}.start{margin:14px 0}.polygon{height:255px}.game-panel{min-height:420px;padding:18px 25px}.game-bar{padding-bottom:12px}}@media (width<=720px){.shell{padding:12px}.brand{font-size:16px}.brand-icon{font-size:22px}.header-actions{gap:4px}.header-actions button{min-height:44px;padding:8px;font-size:11px}.home{padding:24px 18px}.home-preview{gap:12px;padding:10px}.home-preview .polygon{width:125px;height:130px}.home-preview strong{font-size:18px}.home-preview p{font-size:13px}.home-footer{flex-direction:column;gap:8px}.start{width:100%;min-width:0}.timer-options{gap:6px}.timer-options button{width:60px}.area-layout,.shape-layout{grid-template-columns:1fr;gap:15px}.polygon,.shape-layout .polygon{height:235px}.game-panel{padding:18px 14px}.tile-options{max-width:390px;margin:auto}.tray h3,.tray p{text-align:center}.tray{max-width:390px;margin:auto}.game-bar{gap:12px;padding:0 3px 15px}.game-bar>div:first-child strong{font-size:14px}.stat{min-width:65px}.stat strong{font-size:23px}.shape-cards{grid-template-columns:repeat(2,1fr);gap:12px}.shape-cards .polygon{height:130px}.answers{grid-template-columns:repeat(2,1fr)}.answers button{padding:9px;font-size:16px}.targets{grid-template-columns:repeat(2,1fr);gap:28px}.bonus h2{font-size:43px}.bonus p{font-size:14px}.bonus b{margin:6px}.bonus{padding:15px}.targets button{max-width:120px}.result-grid{grid-template-columns:repeat(2,1fr)}footer{text-align:center;display:block}footer span{display:block}.modal{padding:22px}.modal p{font-size:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.descriptions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.descriptions button{text-align:left;overflow-wrap:anywhere;padding:10px 12px;font-size:16px}.check-descriptions{width:100%;margin-top:15px;font-size:16px}.reviewing{border-color:#e2ac62}.correction{z-index:40;text-align:center;background:#fff8e9;border:3px solid #dfa64d;border-radius:20px;width:min(850px,100vw - 32px);max-height:48vh;padding:16px 24px;position:fixed;bottom:20px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 12px 50px #172c4860}.correction h3{color:#754508;margin:0 0 7px;font-size:21px}.correction p{color:#4e3f27;margin:0 0 12px;font-size:18px;line-height:1.45}.correction small{color:#725d3a;margin-top:10px;display:block}.correction .primary:disabled{opacity:1;color:#635846;box-shadow:none;background:#e7dfd1;border-color:#d1c4af}@media (width<=720px){.correction{padding:14px;bottom:10px}.correction p{font-size:15px}.correction h3{font-size:18px}.descriptions button{font-size:15px}}
