/* Shape Detective — isolated, playful, responsive game */
.shape-game{background:#fffdfa;color:#245173;font-family:"DM Sans",sans-serif;overflow:hidden}
.shape-game *{box-sizing:border-box}.shape-game button{font:inherit;cursor:pointer}
.shape-game :is(button,a):focus-visible{outline:4px solid #ffb73e;outline-offset:4px}
.shape-game [hidden]{display:none!important}
.shape-hero{padding:70px max(24px,calc((100vw - 1160px)/2));display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:44px;background:linear-gradient(135deg,#e5faff,#fff5d5 60%,#ffe7f2)}
.shape-back{font-weight:800;color:#246b9d;display:inline-block;margin-bottom:30px}
.shape-kicker{display:block;color:#10847e;font-weight:900;font-size:12px;letter-spacing:.1em;margin-bottom:16px}
.shape-hero h1{font:900 clamp(39px,5.4vw,70px)/1.1 Nunito,sans-serif;color:#1a5681;margin:0 0 20px}
.shape-hero h1 span{color:#ec678b;display:block}
.shape-hero p{font-size:19px;line-height:1.65;margin:0 0 26px;max-width:540px}
.shape-cta{display:inline-flex;align-items:center;background:#225e90;color:#fff;padding:16px 28px;border-radius:100px;box-shadow:0 6px 0 #174369;font-weight:900}
.shape-hero-art img{width:100%;height:auto;display:block;border-radius:26px;box-shadow:0 16px 35px #215b8530}
.shape-game-section{max-width:1090px;margin:auto;padding:70px 22px}
.shape-heading{max-width:720px;text-align:center;margin:0 auto 34px}
.shape-heading h2{font:900 clamp(32px,4vw,46px)/1.16 Nunito,sans-serif;color:#1c587e;margin:0 0 13px}
.shape-heading p{color:#5a788d;font-size:17px;line-height:1.6}
.shape-board{max-width:820px;margin:auto;background:#fff;border:3px solid #d7ecef;padding:30px;border-radius:32px;box-shadow:0 12px 0 #d7e8f380}
.shape-board-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#1e6382;font-weight:900;font-size:14px}
.shape-round{display:block;font-size:12px;font-weight:700;margin-top:5px;color:#6d8b9d}
.shape-stars{white-space:nowrap;background:#fff4ce;color:#78530f;border-radius:100px;padding:9px 17px;font-size:21px}
.shape-progress-track{height:15px;border-radius:100px;background:#e7f2f4;margin:22px 0;overflow:hidden}
.shape-progress-track span{display:block;background:linear-gradient(90deg,#52cab9,#ffc95d);width:0;height:100%;border-radius:100px;transition:width .25s}
.shape-prompt{text-align:center;border-radius:23px;background:linear-gradient(130deg,#e6faff,#fff3dd);padding:18px 18px 24px}
.shape-prompt>span{display:block;letter-spacing:.15em;color:#29778d;font-size:12px;font-weight:900}
.shape-prompt h3{color:#1b4b77;font:900 clamp(27px,3.4vw,37px) Nunito,sans-serif;margin:12px 0}
.shape-target{width:155px;height:155px;margin:auto}
.shape-art{display:block;width:100%;height:100%}.shape-art svg{width:100%;height:100%;display:block;filter:drop-shadow(0 6px 4px #28487120)}
.shape-choose{font-size:17px;text-align:center;font-weight:900;color:#235477;margin:24px 0 18px}
.shape-answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:13px}
.shape-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:20px;border:3px solid #dce8f2;background:#fff;min-height:174px;padding:12px 8px;color:#23547e;transition:transform .13s,border-color .13s}
.shape-choice .shape-art{height:105px;width:105px}
.shape-choice strong{font-size:16px}
.shape-choice:not(:disabled):hover{transform:translateY(-4px);border-color:#f5cb64;background:#fff9e9}
.shape-choice.shape-correct{background:#e5fbef;border-color:#43bb89}
.shape-choice.shape-wrong{background:#fff0f0;border-color:#f19a9a}
.shape-choice:disabled{cursor:default}
.shape-feedback{text-align:center;min-height:56px;color:#5b7c8e;font-size:16px;line-height:1.5;margin:22px 0 12px}
.shape-feedback.shape-success{color:#147f67;font-weight:900}.shape-feedback.shape-try{color:#b46d50;font-weight:800}
.shape-action-row{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap}
.shape-next,.shape-result-buttons button{border:0;background:#235b91;color:#fff;border-radius:100px;padding:14px 24px;font-weight:900!important}
.shape-restart{background:transparent;border:0;text-decoration:underline;color:#517a91;font-size:13px!important;font-weight:800!important}
.shape-result{max-width:750px;margin:auto;text-align:center;padding:46px 24px;background:linear-gradient(135deg,#e4faeb,#fff1cf);border-radius:30px}
.shape-trophy{font-size:100px}.shape-result h2{font:900 39px Nunito,sans-serif;color:#205d85;margin:13px 0}
.shape-result p{font-size:18px;line-height:1.6}
.shape-result-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:13px;margin-top:22px}
.shape-extras{padding:65px max(24px,calc((100vw - 1060px)/2));background:#effaff}
.shape-hunt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.shape-hunt-grid>div{background:#fff;border:2px solid #dbeef8;border-radius:26px;padding:25px;text-align:center}
.shape-hunt-grid span{display:block;font-size:95px;line-height:1.2;color:#3baab8}.shape-hunt-grid>div:nth-child(2) span{color:#ae8bf1}.shape-hunt-grid>div:nth-child(3) span{color:#ebae43}
.shape-hunt-grid b{font:900 25px Nunito,sans-serif;color:#1d567e;display:block;margin-top:8px}
.shape-hunt-grid p{color:#5c7b8f;line-height:1.6}
.shape-grownup{background:#fff4d9;border-radius:17px;padding:19px 25px;margin:25px auto 0;max-width:850px;line-height:1.6}
@media(max-width:840px){.shape-hero{grid-template-columns:1fr;padding:48px 24px}.shape-hero-art{max-width:580px}}
@media(max-width:600px){.shape-game-section{padding:55px 13px}.shape-board{padding:16px;border-radius:22px}.shape-target{width:125px;height:125px}.shape-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shape-choice{min-height:150px}.shape-choice .shape-art{width:85px;height:85px}.shape-choice strong{font-size:14px}.shape-hunt-grid{grid-template-columns:1fr}.shape-board-bar{font-size:12px}.shape-stars{font-size:18px}.shape-hero{padding:40px 18px}.shape-result h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.shape-choice,.shape-progress-track span{transition:none}}
