:root{font-family:Trebuchet MS,Arial,sans-serif;color:#233d3c;background:#f7f8f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-weight:500;--teal: #147d73;--ink: #233d3c;--muted: #657673;--line: #e1e7dd;--page: #f7f8f2}*{box-sizing:border-box}body{margin:0;min-width:320px}button,a,input,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,a{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button{color:inherit}a{color:inherit;text-decoration:none}button,summary,a{outline-offset:5px}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #275ec5}h1:focus,h2:focus{outline:none}svg{display:block;flex-shrink:0}h1,h2,p{margin:0}button{border:0}button:disabled:not(.xox-cell):not(.simon-pad):not(.mole-hole):not(.odd-cell){opacity:.64}.app{max-width:1160px;margin:0 auto;padding:0 40px 28px;padding-top:env(safe-area-inset-top);padding-bottom:max(28px,env(safe-area-inset-bottom))}.app-header{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center;background:none;padding:0;min-height:52px;font-weight:900;font-size:31px;letter-spacing:-1.6px}.brand-icon{width:47px;height:47px;border-radius:16px;background:var(--teal);color:#fff5dd;display:grid;place-items:center;transform:rotate(-5deg)}.brand-dot{color:#e7ae4c}.sound-toggle{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:30px;padding:13px 19px;min-height:49px;font-size:14px;font-weight:700;color:#42605a}.sound-toggle.is-muted{color:#697570}.home-intro{display:flex;align-items:center;justify-content:space-between;padding:40px 3px 36px;gap:12px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:2px;font-weight:800;color:#688078;margin-bottom:13px}.eyebrow>span{width:6px;height:6px;background:#d9aa45;border-radius:50%}.home-intro h1{font-size:clamp(38px,5vw,60px);font-weight:900;letter-spacing:-2.8px;line-height:1.16;position:relative;display:flex;gap:14px;align-items:baseline}.home-intro h1>span:first-of-type{position:relative;color:var(--teal)}.home-intro h1>span>svg{position:absolute;width:100%;height:12px;bottom:-8px;left:0;fill:none;stroke:#edca68;stroke-width:5;stroke-linecap:round}.title-spark{color:#dcaa3e;font-size:32px;align-self:flex-start;padding-top:3px}.intro-copy{font-size:17px;color:var(--muted);margin-top:22px}.happy-sun{width:110px;flex-shrink:0;transform:rotate(10deg);margin-right:13px}.games-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}.game-card{grid-column:span 2;border-radius:27px;min-width:0;padding:20px 23px 24px;border:1px solid rgba(37,69,55,.06);position:relative;overflow:hidden;transition:transform .18s,box-shadow .18s;background:var(--card-bg)}.game-card:nth-child(n+4){grid-column:span 3}.card-xox{--card-bg: #deefe7;--card-ink: #286d5c}.card-simon{--card-bg: #eeebf9;--card-ink: #716099}.card-mole{--card-bg: #fbeace;--card-ink: #89632e}.card-rps{--card-bg: #f7e5dd;--card-ink: #9b5944}.card-odd{--card-bg: #e1edf7;--card-ink: #4e7294}.card-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.card-tag{color:var(--card-ink);font-size:11px;font-weight:800;letter-spacing:.3px;background:#ffffff85;padding:7px 10px;border-radius:20px}.card-number{font-size:12px;color:var(--card-ink);opacity:.75;letter-spacing:1px}.card-art{height:143px;display:grid;place-items:center;margin:7px 0 9px}.card-art>svg{width:205px;max-width:100%;height:133px}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px}.card-bottom h2{font-size:22px;letter-spacing:-.6px;font-weight:800}.card-bottom p{font-size:12px;color:var(--card-ink);margin-top:7px;line-height:1.4}.card-go{border-radius:50%;background:#ffffffb8;width:41px;height:41px;display:grid;place-items:center;flex-shrink:0;color:var(--card-ink)}.mole-art{position:relative;width:153px;transform:rotate(5deg)}.mole-art>svg{width:100%}.art-spark{position:absolute;right:-10px;top:11px;color:#ca933f;font-size:35px}.hand-art{display:flex;width:100%;max-width:270px;align-items:center;justify-content:center;gap:9px}.hand-art span{min-width:0;text-align:center;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:66px;filter:drop-shadow(0 5px 0 #cc92711c);transform:rotate(-15deg)}.hand-art span:nth-child(2){transform:translateY(-9px) rotate(6deg)}.hand-art span:nth-child(3){transform:rotate(15deg)}.odd-art{display:grid;grid-template-columns:repeat(3,45px);gap:5px 12px;transform:rotate(-6deg)}.odd-art span{font-size:37px;line-height:1.3;display:grid;place-items:center}.odd-highlight{position:relative}.odd-highlight:after{content:"";position:absolute;inset:-4px;border:2px dashed #7d9ab1;border-radius:50%}.home-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:26px 4px 5px;font-size:12px;color:#6e7c73}.offline-status{display:flex;align-items:center;gap:8px}.status-dot{width:7px;height:7px;border-radius:50%;background:#c0ab6e;flex-shrink:0}.status-dot.ready{background:#51967b}.footer-note{font-size:12px}.install-area{text-align:center;margin-top:16px;color:#63796e;font-size:12px}.install-area summary{min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;width:fit-content;margin:auto;padding:10px 15px}.install-help{max-width:510px;margin:8px auto 0;text-align:left;line-height:1.7;background:#fff;border:1px solid var(--line);padding:18px;border-radius:18px}.install-help p+p{margin-top:8px}.button{min-height:52px;padding:13px 21px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:17px;font-size:15px;font-weight:700;transition:transform .15s,background .15s}.button.primary{background:var(--teal);color:#fff;box-shadow:0 4px #0f5f5720}.button.soft{background:#edf1e8;color:#496558}.button.big{min-width:190px;min-height:62px;font-size:20px;border-radius:20px}.game-shell{max-width:670px;margin:auto;padding-bottom:28px}.game-navigation{display:flex;justify-content:space-between;gap:12px;margin:23px 0 24px}.game-heading{text-align:center}.game-heading h1{font-size:clamp(26px,4vw,37px);letter-spacing:-1.3px;font-weight:900}.game-heading p{color:var(--muted);font-size:15px;line-height:1.5;margin-top:10px}.scores{display:flex;justify-content:center;gap:12px;margin:23px auto;max-width:480px}.score-box{background:#fff;border:1px solid var(--line);border-radius:19px;padding:13px 20px;min-width:0;flex:1;text-align:center}.score-box>span{font-size:12px;color:#67766f;display:flex;gap:5px;justify-content:center;align-items:center}.score-box strong{display:block;font-size:32px;color:var(--teal);margin-top:5px;line-height:1.1}.score-box.best{background:#fff5d9;border-color:#f0e6c4}.score-box.best strong{color:#8b691f}.game-status{text-align:center;min-height:38px;margin:19px 0;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1.45}.game-status b{font-size:30px}.mode-switch{display:flex;padding:5px;background:#e8eee5;border-radius:18px;margin:24px auto 0;max-width:400px;gap:4px}.mode-switch button{background:transparent;border-radius:14px;padding:13px 8px;font-size:15px;font-weight:700;min-height:50px;flex:1}.mode-switch .selected{background:#fff;box-shadow:0 2px 8px #29483112}.xox-board{max-width:380px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:13px;background:#dcece3;border-radius:28px}.xox-cell{aspect-ratio:1;border-radius:18px;background:#fffef9;display:grid;place-items:center;box-shadow:0 3px #b5ccc145;min-width:0}.xox-cell>svg{width:64%;fill:none;stroke:currentColor;stroke-width:9;stroke-linecap:round;animation:pop .2s ease-out}.mark-x{color:#147d73}.mark-o{color:#c37653}.xox-cell.winning{background:#bce6c7;box-shadow:inset 0 0 0 3px #58a775}.result{background:#fff;border:1px solid var(--line);border-radius:25px;text-align:center;padding:24px;margin:26px auto 0;max-width:520px;animation:rise .25s ease-out}.result-emoji{font-size:37px;margin-bottom:8px}.result h2{font-size:25px;letter-spacing:-.6px}.result p{color:var(--muted);margin-top:10px;font-size:15px;line-height:1.55}.result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:22px}.start-card{text-align:center;background:#fffefa;border:1px solid var(--line);border-radius:28px;max-width:480px;padding:28px 20px 35px;margin:24px auto}.start-emoji{font-size:72px;margin-bottom:22px}.start-card h2{font-size:25px;letter-spacing:-.7px}.start-card p{font-size:15px;line-height:1.6;margin:13px 0 27px;color:var(--muted)}.simon-board{max-width:420px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:8px}.simon-pad{aspect-ratio:1.15;border-radius:30px;color:#fff;box-shadow:inset 0 -6px #00000012;border:4px solid transparent;transition:filter .13s,transform .13s,box-shadow .13s;display:flex;align-items:center;justify-content:center;flex-direction:column}.simon-pad>span{font-size:54px;line-height:1.2}.simon-pad>small{font:inherit;font-size:14px;font-weight:700;margin-top:8px}.color-0{background:#2e8c60}.color-1{background:#c35251}.color-2{background:#447fbe}.color-3{background:#e7b849;color:#513f13}.simon-pad.lit{filter:brightness(1.35);transform:scale(1.055);border-color:#fff;box-shadow:0 0 0 5px #38554d,0 6px 24px #365e4833}.time-track{max-width:440px;margin:0 auto 17px;background:#e4e8dd;height:9px;border-radius:10px;overflow:hidden}.time-track div{height:100%;background:#5a9e7d;border-radius:10px;transition:width .15s}.mole-board{max-width:470px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 13px;background:#edf1d9;padding:23px 14px 20px;border-radius:28px;margin:auto;border:1px solid #e2e7cd}.mole-hole{aspect-ratio:1.08;position:relative;background:transparent;min-width:0;padding:0;border-radius:18px;overflow:hidden}.hole-shadow{position:absolute;bottom:9%;left:5%;width:90%;height:32%;border-radius:50%;background:#756958;box-shadow:inset 0 7px #605344;border:5px solid #d6d9b6}.mole-character{display:block;position:absolute;bottom:15%;left:0;width:100%;animation:mole-up .18s ease-out;pointer-events:none}.mole-character svg{width:100%}.hit-points{position:absolute;inset:0;display:grid;place-items:center;color:#596b30;font-weight:900;font-size:clamp(24px,5vw,34px);animation:rise .25s ease-out}.rps-arena{display:flex;justify-content:center;align-items:center;gap:20px;margin:28px auto 12px;max-width:480px}.rps-arena>div{flex:1;text-align:center;min-width:0}.rps-arena>div>span{font-size:13px;color:var(--muted);font-weight:700}.rps-hand{height:140px;border:2px dashed #d7dfd1;border-radius:25px;background:#f0f2e9;font-size:76px;display:grid;place-items:center;margin-top:10px}.versus{color:#a0aca1;font-size:23px;padding-top:25px}.rps-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:480px;margin:auto}.choice-button{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;min-height:132px;border-radius:24px;background:#fff2df;border:2px solid #eee1cb;font-weight:700;font-size:17px;padding:12px 4px}.choice-button:nth-child(2){background:#e4eee9;border-color:#d3e3d9}.choice-button:nth-child(3){background:#eee9f6;border-color:#e0d7ee}.choice-button>span{font-size:48px}.choice-button.chosen{border:3px solid var(--teal)}.next-round{display:flex;margin:22px auto 0;min-width:200px}.shaking{animation:shake .25s infinite}.odd-board{display:grid;gap:11px;max-width:490px;margin:auto;padding:13px;border-radius:25px;background:#e6edf1}.odd-cell{aspect-ratio:1;background:#fffefd;border-radius:16px;padding:4px;min-width:0;min-height:48px;border:3px solid transparent;box-shadow:0 2px #bacbd633;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:54px}.odd-cell.correct{background:#ddf4de;border-color:#5a9b69;animation:pop .2s}.odd-cell.wrong{background:#fff0df;border-color:#d9ad71;animation:shake .2s}.size-4 .odd-cell{font-size:43px}.size-5 .odd-cell{font-size:36px}.relaxed-footer{max-width:490px;display:flex;justify-content:space-between;gap:8px;align-items:center;margin:20px auto 0}.relaxed-footer>span{font-size:13px;color:var(--muted)}@media(hover:hover){.game-card:hover{transform:translateY(-5px);box-shadow:0 12px 24px #32514412}.button:hover,.sound-toggle:hover{filter:brightness(.96)}.xox-cell:not(:disabled):hover{background:#eef9ee}.odd-cell:hover{border-color:#c0d1dd}.choice-button:not(:disabled):hover{transform:translateY(-3px)}}button:active:not(:disabled),.game-card:active{transform:scale(.97)}@keyframes pop{0%{transform:scale(.82)}to{transform:scale(1)}}@keyframes rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes mole-up{0%{transform:translateY(38%);opacity:.4}to{transform:translateY(0);opacity:1}}@keyframes shake{0%,to{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}@media(min-width:900px){.game-card:nth-child(n+4){min-height:246px}.game-card:nth-child(n+4) .card-art{height:125px;margin-top:0}.card-rps .hand-art{gap:17px}}@media(max-width:800px){.app{padding-left:26px;padding-right:26px}.app-header{height:88px}.home-intro{padding-top:32px;padding-bottom:30px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.game-card,.game-card:nth-child(n+4){grid-column:span 1}.game-card:last-child{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;column-gap:15px;align-items:center}.game-card:last-child .card-top{grid-column:1/-1}.game-card:last-child .card-art{grid-column:2;grid-row:2;height:120px;margin:0}.game-card:last-child .card-bottom{grid-column:1;grid-row:2}.game-card:last-child .card-go{display:none}.card-art{height:129px}.card-bottom h2{font-size:20px}.happy-sun{width:87px;margin:0}.hand-art span{font-size:53px}.home-footer,.footer-note{font-size:11px}}@media(max-width:480px){.app{padding-left:18px;padding-right:18px}.app-header{height:80px}.brand{font-size:27px}.brand-icon{width:41px;height:41px;border-radius:14px}.sound-toggle{padding:12px 14px;font-size:12px;gap:7px}.home-intro{padding:27px 0 25px}.eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:12px}.home-intro h1{font-size:37px;letter-spacing:-2px;gap:8px}.title-spark{font-size:23px;display:none}.happy-sun{width:55px;align-self:flex-start;margin-top:20px}.intro-copy{font-size:13px;margin-top:20px}.games-grid{gap:12px}.game-card{border-radius:22px;padding:13px 13px 16px}.card-tag{font-size:9px;padding:6px 8px}.card-number{font-size:10px}.card-art{height:109px;margin:5px 0 8px}.card-art>svg{height:107px;width:160px}.card-bottom h2{font-size:17px;letter-spacing:-.5px;line-height:1.25}.card-bottom p{font-size:10px;margin-top:5px}.card-go{width:28px;height:28px}.card-go svg{width:18px;height:18px}.card-simon .card-go,.card-rps .card-go{display:none}.mole-art{width:116px}.hand-art{gap:0}.hand-art span{font-size:36px}.game-card:last-child .card-art{height:91px}.odd-art{grid-template-columns:repeat(3,30px);gap:2px 10px}.odd-art span{font-size:27px}.home-footer{padding-top:20px;align-items:flex-start}.footer-note{display:none}.install-area{margin-top:8px}.game-navigation{margin:18px 0 23px;gap:8px}.game-navigation .button{font-size:12px;padding:12px 13px;gap:7px;border-radius:15px}.game-navigation .button svg{width:20px;height:20px}.game-heading h1{font-size:29px}.game-heading p{font-size:13px}.scores{gap:8px;margin:20px auto}.score-box{padding:12px 7px;border-radius:17px}.score-box>span{font-size:11px}.score-box strong{font-size:29px}.game-status{font-size:16px;margin:17px 0;min-height:38px}.xox-board{gap:10px;padding:12px;max-width:340px}.xox-cell{border-radius:16px}.simon-board{gap:15px}.simon-pad{border-radius:24px}.simon-pad>span{font-size:43px}.simon-pad>small{font-size:12px}.mole-board{padding:16px 8px;gap:3px 6px}.rps-arena{gap:12px}.rps-hand{height:111px;font-size:60px}.rps-choices{gap:9px}.choice-button{font-size:15px;min-height:111px;border-radius:20px;gap:8px}.choice-button>span{font-size:41px}.odd-board{gap:8px;padding:10px;border-radius:22px}.odd-cell{font-size:44px;border-radius:13px;padding:2px}.size-4 .odd-cell{font-size:33px}.size-5{gap:6px;padding:7px}.size-5 .odd-cell{font-size:29px;border-radius:11px;border-width:2px}.result{padding:23px 15px;border-radius:22px}.result h2{font-size:22px}.result p{font-size:14px}.result-actions .button{font-size:13px;padding:12px}.relaxed-footer>span{font-size:12px}.start-card{padding:25px 15px}.start-card h2{font-size:23px}}@media(max-width:360px){.app{padding-left:14px;padding-right:14px}.home-intro h1{font-size:33px}.happy-sun{width:40px}.card-bottom h2{font-size:15px}.card-bottom p{font-size:9px}.card-go{display:none}.card-art{height:100px}.hand-art span{font-size:32px}.size-5{gap:5px;padding:6px}.size-5 .odd-cell,.game-heading h1{font-size:26px}.relaxed-footer{gap:4px}.relaxed-footer .button{padding:12px}}@media(orientation:landscape)and (max-height:550px){.app-header{height:70px}.game-navigation{margin:14px 0}.game-heading h1{font-size:27px}.game-shell{max-width:650px}.xox-board{max-width:300px}.simon-board{max-width:340px}.mole-board{max-width:360px}.home-intro{padding:23px 0}.happy-sun{width:65px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.simon-pad.lit{transform:none}}
