:root{font-family:system-ui,-apple-system,Segoe UI,Noto Sans JP,sans-serif;color:#182c39;background:#f7f3e8;font-synthesis:none;--paper:#f7f3e8;--ink:#182c39;--red:#da4d3e;--line:#182c3920;--white:#fffdf7}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0}button,select,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}button:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:3px solid #397bb5;outline-offset:3px}button{touch-action:manipulation}button:active:not(:disabled){transform:translateY(2px)}h1,h2,h3,p{margin:0}#app{min-height:100dvh}button,select{border-radius:0}button{background:none;border:0}button img{pointer-events:none}.topbar{height:86px;padding:0 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;max-width:1240px;margin:auto}.brand{display:flex;align-items:center;text-align:start;gap:11px;font-size:19px;font-weight:850}.brand small{display:block;letter-spacing:2px;font-size:9px;margin-top:3px;font-weight:600}.brand-mark{display:grid;place-content:center;border:2px solid var(--red);border-radius:9px;width:42px;height:42px;font-size:26px;color:var(--red);transform:rotate(-7deg)}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;font-size:20px;flex-shrink:0}.lobby{max-width:1120px;margin:auto;padding:0 30px 110px}.hero{position:relative;padding:52px 0 42px;overflow:hidden}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:750;display:flex;align-items:center;gap:8px}.eyebrow>span{width:7px;height:7px;background:var(--red);border-radius:100%}.hero h1{font-size:clamp(32px,4.5vw,53px);line-height:1.45;letter-spacing:-1.5px;margin:19px 0 16px;position:relative;z-index:1}.hero p{font-size:14px;line-height:1.9;max-width:390px;color:#52616a;position:relative;z-index:1}.hero-art{position:absolute;right:0;top:20px;width:43%;transform:rotate(8deg);border:2px solid var(--ink);border-radius:50%;overflow:hidden;aspect-ratio:1.2;background:#e5b64c15}.hero-art canvas{width:100%;height:100%;object-fit:cover;transform:scale(1.3)}.hero-seal{position:absolute;right:38%;top:40px;border:2px solid var(--red);color:var(--red);border-radius:50%;width:78px;height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:27px;font-weight:900;transform:rotate(-13deg);z-index:2;background:var(--paper)}.hero-seal span{font-size:9px;letter-spacing:1px}.player-picker{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border:1px solid var(--ink);border-radius:12px;background:var(--white);gap:12px}.player-picker>div:first-child{display:flex;align-items:center;gap:14px}.section-num{font-size:12px;letter-spacing:1px;color:var(--red);font-weight:800;margin-inline-end:12px}.segments{display:flex;gap:5px}.segments button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:84px;padding:9px 15px;border-radius:7px;border:1px solid var(--line);font-weight:800;font-size:20px}.segments button.active{background:var(--ink);color:var(--white);border-color:var(--ink)}.segments span{display:flex;gap:3px}.segments i{width:4px;height:10px;border-radius:50% 50% 3px 3px;background:currentColor}.catalog{padding-top:34px}.section-head{display:flex;justify-content:space-between;align-items:center}.section-head h2{font-size:21px}.section-head>span{font-size:10px;letter-spacing:2px;color:#62717a}.category{display:flex;align-items:center;gap:12px;font-size:13px;margin:23px 0 13px}.category i{height:1px;background:var(--line);flex:1}.category small{font-weight:500;font-size:10px}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.game-card{padding:0;border:1px solid var(--ink);border-radius:12px;overflow:hidden;text-align:start;background:var(--white);transition:box-shadow .15s}.game-card:hover{box-shadow:4px 4px #182c391c}.card-art{aspect-ratio:1.9;position:relative;border-bottom:1px solid var(--line);overflow:hidden;background:var(--paper)}.preview{width:100%;height:100%;object-fit:contain;display:block}.card-art canvas{object-fit:cover}.card-time{position:absolute;right:9px;top:9px;background:var(--white);border:1px solid var(--line);font-size:9px;padding:3px 7px;border-radius:20px}.card-copy{padding:15px 13px;display:flex;align-items:center;gap:10px}.card-copy strong{font-size:14px}.card-number{color:#6b777e;font-size:10px}.card-copy b{margin-inline-start:auto;font-size:18px;color:var(--red)}.promise{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:30px;font-size:11px;color:#4d665e}.offline-note{text-align:center;color:#778078;font-size:10px;margin-top:13px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;margin:auto;display:flex;justify-content:center;height:76px;padding-bottom:env(safe-area-inset-bottom,0px);background:#f7f3e8f5;border-top:1px solid var(--line);z-index:5}.bottom-nav button{width:min(25%,145px);font-size:11px;font-weight:600;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#708088}.bottom-nav button>span{font-size:22px;line-height:1.15}.bottom-nav button.selected{color:var(--red)}.button{min-height:46px;border:1px solid var(--ink);border-radius:9px;padding:11px 18px;background:var(--white);font-size:14px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button.primary{background:var(--red);color:var(--white);border-color:var(--red);box-shadow:0 3px #a6372c}.button.small{font-size:12px;min-height:38px;padding:7px 12px}.button.text-button{background:none;border:0;box-shadow:none}.button.danger{color:var(--red);border-color:var(--red);margin-top:24px}.page{max-width:720px;margin:auto;padding:35px 24px 110px}.page h1{font-size:30px;margin-bottom:15px}.page h2{font-size:20px;margin:28px 0 15px}.muted{font-size:13px;line-height:1.9;color:#64717b}.record-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.record-card{border:1px solid var(--ink);border-top:5px solid var(--player);border-radius:10px;padding:20px;display:flex;align-items:flex-start;flex-direction:column;background:var(--white)}.player-tag{color:var(--player);font-weight:850;font-size:14px;white-space:nowrap}.record-card>b{font-size:42px}.record-card small{font-size:10px;color:#64717b}.record-card>strong{margin-top:12px;font-size:15px}.record-card p{font-size:11px;color:var(--player);margin-top:8px}.history>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:14px 0;font-size:12px}.history span{font-size:10px}.settings-page label{display:flex;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);font-size:14px}.settings-page select{border:1px solid var(--line);padding:10px;background:var(--white);color:var(--ink);border-radius:6px;max-width:60%}.settings-page input[type=checkbox]{accent-color:var(--red);width:24px;height:24px}.settings-page details{border-bottom:1px solid var(--line);padding:20px 0;font-size:13px}.settings-page summary{cursor:pointer;font-weight:700}.settings-page details p{padding-top:15px;line-height:1.9;color:#64717b}.settings-page>.muted{margin-top:24px}.stamp-sheet{background:var(--white);border:1px solid var(--ink);border-radius:12px;padding:22px;margin:24px 0 15px;box-shadow:4px 4px #182c3914}.sheet-top{display:flex;align-items:center;justify-content:space-between}.sheet-top strong{color:var(--red);font-size:27px}.sheet-top strong span{font-size:12px;margin-inline-start:8px;letter-spacing:2px}.sheet-top>b{font-size:14px}.stamp-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:20px 0}.stamp{aspect-ratio:1;border:1px dashed #182c3940;border-radius:50%;display:grid;place-content:center;position:relative;color:#89958e;font-size:15px}.stamp.filled{border:2px solid var(--red);color:var(--red);font-size:26px;font-weight:850;transform:rotate(-10deg);background:#da4d3e08}.stamp i{position:absolute;right:-3px;bottom:0;color:#b38822;font-style:normal}.stamp-sheet>p{font-size:11px;color:#64717b}.stamp-page>.button{width:100%;font-size:12px}.reward-list>div{display:flex;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.reward-icon{font-size:27px;color:#b38822}.reward-list strong,.reward-list small{display:block}.reward-list strong{font-size:13px}.reward-list small{font-size:10px;color:#64717b;margin-top:4px}.reward-list button{margin-inline-start:auto;border:1px solid var(--line);border-radius:6px;padding:7px 10px;font-size:11px}.album{display:flex;flex-wrap:wrap;gap:12px}.album span{border:1px solid var(--red);padding:10px;color:var(--red);font-size:11px}.result-page{max-width:520px;margin:auto;padding:30px 24px 110px;text-align:center}.result-page>.eyebrow{justify-content:center;color:var(--red)}.winner-art{position:relative;width:96px;height:96px;background:#e5b64c33;border-radius:50%;margin:20px auto 10px;display:grid;place-content:center}.winner-art img{width:52px}.winner-art span{position:absolute;right:-9px;top:0;color:#b38822;font-size:35px}.result-page h1{font-size:32px}.result-page>p{color:#64717b;font-size:12px;margin-top:10px}.result-scores{margin:24px 0 14px}.result-row{display:flex;align-items:center;border-bottom:1px solid var(--line);padding:15px 8px;gap:20px}.result-row>div{display:flex;flex-direction:column;text-align:start;flex:1}.result-row strong{font-size:28px}.result-row strong small{font-size:11px;font-weight:500;margin-inline-start:8px}.result-row>div>span{font-size:10px;color:#64717b}.rank{font-size:23px;color:#b38822}.result-row.winning{background:#e5b64c18;border-radius:10px;border:1px solid #e5b64c}.result-note{font-size:11px;color:#328875}.result-actions{display:flex;flex-direction:column;gap:11px;margin-top:23px}.playing{overflow:hidden;overscroll-behavior:none;user-select:none;-webkit-user-select:none}.match-shell{height:100dvh;max-width:1100px;margin:auto;display:flex;flex-direction:column;padding:0 max(14px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom))}.match-header{display:flex;align-items:center;justify-content:space-between;gap:12px;height:85px;flex-shrink:0}.match-header>div{flex:1}.match-header small{font-size:9px;letter-spacing:1.7px;color:#6e7b83}.match-header h1{font-size:19px;margin-top:3px}.clock{font-size:31px;display:flex;align-items:baseline;gap:4px;font-variant-numeric:tabular-nums}.clock span{font-size:10px}.match-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px}.arena-wrap{flex:1;min-height:0;display:flex;flex-direction:column;border:1px solid var(--ink);border-radius:12px;overflow:hidden;background:var(--white)}#arena{width:100%;height:calc(100% - 30px);min-height:0;object-fit:contain;display:block;flex:1}.arena-caption{height:29px;display:flex;justify-content:space-between;align-items:center;padding:0 10px;border-top:1px solid var(--line);font-size:9px;gap:6px}.arena-caption button{font-size:10px;padding:5px;white-space:nowrap}.controls{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(0,1fr);gap:9px;flex:0 0 40%;min-height:180px}.controls.count-2{grid-template-columns:1fr 1fr;flex-basis:29%;min-height:125px}.pad{touch-action:none;user-select:none;position:relative;border:1px solid var(--player);border-bottom:4px solid var(--player);border-radius:10px;background:color-mix(in srgb,var(--player) 7%,var(--white));padding:10px 12px;display:flex;flex-direction:column;justify-content:space-between;gap:5px;overflow:hidden;cursor:pointer;transition:background .08s}.pad.pressed{background:color-mix(in srgb,var(--player) 22%,var(--white))}.pad-head{display:flex;align-items:center;justify-content:space-between;color:var(--player)}.pad-head>strong{font-size:13px}.pad-score{font-size:23px;line-height:1;font-variant-numeric:tabular-nums}.pad-action{font-size:11px;text-align:center;font-weight:700;line-height:1.35;direction:inherit}.pad-meter{height:4px;background:#182c3910;border-radius:3px;overflow:hidden}.pad-meter i{display:block;height:100%;background:var(--player);border-radius:3px}.pad.fault{background:#da4d3e24}.choices:empty{display:none}.choices{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;flex:1;min-height:0}.choice{padding:0;border:1px solid var(--line);background:var(--white);border-radius:5px;min-height:30px;touch-action:none;overflow:hidden;display:grid;place-items:center}.choice canvas{width:100%;max-height:100%;aspect-ratio:1;pointer-events:none;object-fit:contain}.pad:has(.choice){gap:3px;padding:7px 9px}.pad:has(.choice) .pad-action{font-size:9px}.pad:has(.choice) .pad-meter{display:none}.pad:has(.choice) .pad-score{font-size:19px}.match-footer{font-size:9px;color:#64717b;padding:12px 2px 0;display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;text-align:center;line-height:1.5}.match-footer span{color:#b38822}.match-footer .button{white-space:nowrap;min-height:36px;font-size:11px}.bump{animation:bump .22s ease-out}@keyframes bump{50%{transform:scale(1.3)}}dialog{border:1px solid var(--ink);border-radius:16px;padding:0;color:var(--ink);background:var(--paper);box-shadow:8px 8px #182c3920;max-width:calc(100vw - 30px);max-height:calc(100dvh - 30px)}dialog::backdrop{background:#182c3980}.rules-dialog{width:480px}.dialog-art{height:180px;background:var(--white);border-bottom:1px solid var(--line)}.dialog-copy{padding:24px}.dialog-copy h2{font-size:24px;margin:13px 0}.dialog-copy p{font-size:14px;line-height:1.9}.dialog-copy .eyebrow{color:var(--red);font-size:10px}.dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.dialog-actions .primary{grid-column:1/-1}.pause-dialog,.share-dialog{padding:26px;width:420px}.pause-dialog h2{margin-bottom:15px}.pause-dialog p,.share-dialog p{font-size:14px;line-height:1.9;white-space:pre-line;overflow-wrap:anywhere}.pause-dialog .button,.share-dialog .button{width:100%;margin-top:15px}.toast{position:fixed;bottom:95px;left:50%;transform:translate(-50%);background:var(--ink);color:var(--paper);padding:13px 20px;border-radius:9px;z-index:20;width:max-content;max-width:90vw;font-size:12px;box-shadow:0 4px 15px #182c3930}.playing .toast{bottom:15px}[dir=rtl] .card-time{right:auto;left:9px}[dir=rtl] .hero-art{right:auto;left:0}[dir=rtl] .hero-seal{right:auto;left:38%}[dir=rtl] .controls{direction:ltr}[dir=rtl] .pad-action{direction:rtl}body[data-cosmetic="2"] .result-page{background:radial-gradient(circle at 10% 30%,#da4d3e25 0 9px,transparent 10px),radial-gradient(circle at 90% 50%,#da4d3e25 0 11px,transparent 12px)}body[data-cosmetic="3"] .winner-art:before,body[data-cosmetic="4"] .winner-art:before{content:"✦ · ✦ · ✦";position:absolute;top:-15px;color:#b38822;font-size:21px;white-space:nowrap}body[data-cosmetic="4"] .result-page{background:linear-gradient(90deg,#e5b64c10 24%,#e5b64c30 25%,#e5b64c10 26% 74%,#e5b64c30 75%,#e5b64c10 76%)}@media(max-width:600px){.topbar{height:68px;padding:0 20px}.brand{font-size:16px}.brand-mark{width:35px;height:35px;font-size:23px}.brand small{font-size:8px}.icon-button{width:38px;height:38px}.lobby{padding:0 18px 100px}.hero{padding:28px 0 27px}.hero .eyebrow{font-size:10px;letter-spacing:.6px}.hero h1{font-size:31px;line-height:1.5;margin:13px 0 10px;letter-spacing:-1px;max-width:90%}.hero p{font-size:11px;max-width:72%;line-height:1.9}.hero-art{width:43%;right:-48px;top:66px;opacity:.65}.hero-seal{width:55px;height:55px;font-size:20px;top:28px;right:10px}.hero-seal span{font-size:7px}.player-picker{padding:12px}.player-picker>div:first-child{gap:0}.player-picker strong{font-size:12px}.player-picker .section-num{margin-inline-end:7px;font-size:10px}.segments{gap:4px}.segments button{min-width:50px;padding:7px 9px;gap:6px;font-size:17px}.segments i{width:3px;height:8px}.segments span{gap:2px}.catalog{padding-top:23px}.section-head h2{font-size:17px}.section-head>span{font-size:9px}.game-grid{grid-template-columns:repeat(2,1fr);gap:10px}.game-card:last-child{grid-column:1/-1;display:flex;flex-direction:row}.game-card:last-child .card-art{width:44%;aspect-ratio:2.1;border-bottom:0;border-inline-end:1px solid var(--line)}.game-card:last-child .card-copy{flex:1;min-width:0}.card-copy{padding:12px 9px;gap:6px}.card-copy strong{font-size:12px}.card-number{font-size:9px}.card-copy b{font-size:16px}.card-art{aspect-ratio:1.8}.card-time{font-size:8px;top:5px;right:5px;padding:2px 5px}.category{margin:19px 0 10px;font-size:12px}.promise{gap:10px;font-size:8px;margin-top:22px}.offline-note{font-size:9px}.bottom-nav{height:70px}.page{padding-top:28px}.match-header{height:72px}.match-header h1{font-size:17px}.match-header small{font-size:8px}.clock{font-size:29px}.match-footer{font-size:8px;gap:8px}.result-page{padding-top:25px}.result-page h1{font-size:28px}}@media(orientation:landscape)and (max-height:600px){.match-header{height:57px}.match-shell{padding-inline:14px}.match-body{flex-direction:row;gap:12px}.arena-wrap{flex:1.2}.controls,.controls.count-2{flex:1;min-height:0;grid-template-columns:1fr 1fr}.controls.count-2{grid-template-columns:1fr}.match-footer{padding-top:6px}.match-header h1{font-size:16px}.pad{padding:7px 10px}.rules-dialog{display:flex;width:650px}.rules-dialog:not([open]){display:none}.dialog-art{width:35%;height:auto;border-bottom:0}.dialog-copy{flex:1;padding:20px}.dialog-copy p{font-size:12px}.dialog-copy h2{font-size:20px}.dialog-actions{margin-top:12px}.hero{padding:25px 0}.hero h1{font-size:29px}.hero p{max-width:55%}.hero-art{width:28%;top:0}.hero-seal{right:28%;top:20px}.bottom-nav{height:55px}.page{padding-top:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.cup-entry{margin-top:24px;padding:20px;border:1px solid var(--ink);border-radius:12px;background:var(--white)}.cup-entry p{font-size:12px;margin-top:12px;color:#52616a}.cup-board{background:#e5b64c20;border-radius:12px;padding:18px;line-height:1.9}.cup-board h2{font-size:18px}.purchase-card{padding:22px 0;display:grid;gap:12px}.purchase-card p{font-size:13px;line-height:1.8}.legal-links{font-size:13px;line-height:2;margin:24px 0}.legal-links a{color:var(--ink)}.dialog-art{position:relative}.demo-caption{position:absolute;bottom:6px;left:10px;right:10px;padding:6px;background:#fffdf7eb;font-size:11px;border-radius:6px}.bottom-nav{bottom:var(--ad-height,0px)}.lobby{padding-bottom:calc(110px + var(--ad-height,0px))}.pad:has([data-choice]) .choices:has(button:only-child){grid-template-columns:1fr}.choice:not(:has(canvas)){font-size:10px;padding:4px}.choices:has(.choice:nth-child(2):last-child){grid-template-columns:1fr 1fr}.game-card:last-child{grid-column:auto;display:block}.game-card:last-child .card-art{width:100%;aspect-ratio:1.8;border-bottom:1px solid var(--line);border-inline-end:0}.game-card:last-child .card-copy{min-width:0}.ui-icon{width:22px;height:22px;object-fit:contain;vertical-align:middle}.player-badge{display:block;font-size:8px;font-weight:500;color:#64717b;margin-top:5px}.game-card .card-copy{min-height:65px}.card-number{display:none}.availability{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.availability span{border:1px solid var(--line);border-radius:8px;background:var(--white);padding:10px;font-size:11px;line-height:1.8;text-align:center;overflow-wrap:anywhere}.availability strong{color:var(--red);font-size:19px}.section-head{gap:12px}.section-head>span{letter-spacing:0;text-align:end}.card-copy strong{overflow-wrap:anywhere;min-width:0}.player-badge{font-size:10px;line-height:1.5}.choices{gap:5px}.choice svg{height:100%;max-height:65px;width:100%;pointer-events:none}.choice .bomb{background:var(--ink);border-radius:50%;color:var(--white);font-size:27px;width:32px;height:32px;display:grid;place-items:center}.choice .hole{width:70%;height:9px;border-radius:50%;background:#182c3930}.game-mole .choices,.game-trio .choices{grid-template-columns:repeat(3,1fr)}.game-memory .choices{grid-template-columns:repeat(4,1fr)}.game-penalty .choices{grid-template-columns:repeat(3,1fr)}.game-math .choices{grid-template-columns:repeat(2,1fr)}.game-math .choice{font-size:25px;font-weight:800}.game-snake .choice,.game-paint .choice,.game-penalty .choice{font-size:32px;font-weight:800}.game-memory .choice{min-height:0;font-size:14px;font-weight:800}.game-memory .choice canvas{max-height:46px}.choice.card-back{background:repeating-linear-gradient(45deg,#182c3912 0 2px,transparent 2px 8px),var(--paper);color:#182c3990}.choice.matched{background:#32887525;color:#328875;opacity:1}.choice.revealed{background:var(--white)}.choice.owner-0{color:var(--red)}.choice.owner-1{color:#397bb5}.game-trio .choice{font-size:25px;font-weight:850}.pad.active-turn{box-shadow:inset 0 0 0 3px var(--player)}.game-mole .choice{background:#decc9e40}.game-mole .mole-up{background:#e5b64c40}.choice:disabled{opacity:.65}.game-memory .choice:disabled,.game-mole .choice:disabled{opacity:1}.pad.pressed{filter:brightness(.96)}@media(orientation:portrait){.game-memory .arena-wrap,.game-mole .arena-wrap,.game-trio .arena-wrap{flex:0 0 28%;min-height:0}.game-memory .controls,.game-mole .controls,.game-trio .controls{flex:1;min-height:0}.game-memory .pad,.game-mole .pad,.game-trio .pad{gap:3px;padding:7px}.game-memory .choices,.game-mole .choices,.game-trio .choices{flex:1}.game-memory .pad-action,.game-mole .pad-action,.game-trio .pad-action{font-size:10px;line-height:1.3}.game-memory .pad-head,.game-mole .pad-head{font-size:11px}.game-memory .pad-score,.game-mole .pad-score{font-size:19px}}@media(max-width:360px){.availability span{font-size:9px;padding:6px}.availability strong{font-size:17px}.match-header h1{font-size:15px}.game-memory .pad-action{font-size:9px}.game-math .choice{font-size:20px}.promise{flex-wrap:wrap}}.game-dice .choice{min-height:42px;line-height:1.35;overflow-wrap:anywhere}.game-dice .controls{flex-basis:46%}.pad-action{overflow-wrap:anywhere}.game-memory .choices{grid-template-columns:repeat(3,1fr)}.game-memory .pad-meter{display:none}.game-memory .pad-head>strong{font-size:11px}.game-memory .arena-caption{display:none}.game-memory #arena{height:100%}.game-memory .arena-wrap{flex:0 0 14%}.game-memory .controls{flex:1}.game-memory .choice{font-size:12px}.game-memory .pad-action{line-height:1.15}.game-memory .choice canvas{max-height:36px}.game-memory .pad:has(.choice){padding:5px 7px}.game-memory .pad-head{min-height:19px}.game-memory .pad-action{min-height:12px}.game-memory .choices{gap:4px}.game-trio .arena-wrap{flex-basis:33%}@media(max-height:650px)and (orientation:portrait){.dialog-art{height:110px}.dialog-copy{padding:15px}.dialog-copy h2{font-size:21px;margin:9px 0}.dialog-copy p{font-size:12px;line-height:1.65}.dialog-actions{margin-top:12px}.dialog-actions .button{font-size:12px;padding:8px 12px;min-height:40px}}.game-penalty .controls,.game-snake .controls,.game-paint .controls,.game-math .controls{flex-basis:46%}.game-penalty .choice,.game-snake .choice,.game-paint .choice{min-height:44px;line-height:1}.game-penalty .pad-action{font-size:10px}.game-pingpong .controls.count-2{flex-basis:24%;min-height:115px}.game-pingpong .pad-meter{display:none}.game-math .controls{flex-basis:52%;min-height:250px}.game-math .choice{min-height:0;line-height:1;font-size:23px}.game-math .pad:has(.choice){padding:6px 8px}.game-mole .choice .bomb{height:26px;width:26px;font-size:23px;line-height:1}.game-memory .choice canvas{width:auto;height:100%;max-width:100%;min-height:0;aspect-ratio:1;object-fit:contain}.game-memory .choices{grid-template-rows:repeat(4,minmax(0,1fr))}.game-trio .choices{grid-template-rows:repeat(3,minmax(0,1fr))}.game-trio .choice{min-height:0;padding:0;line-height:1}@media(orientation:landscape)and (max-height:600px){.game-trio .controls.count-2{grid-template-columns:1fr 1fr}.game-memory .controls{flex:1.5}.game-memory .arena-wrap{flex:.8}.game-memory .choices{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,minmax(0,1fr))}.game-memory .choice{padding:0}.game-memory .pad:has(.choice){padding:5px}.game-memory .choice canvas{max-height:100%;height:100%;width:100%}.game-math .controls{min-height:0;flex:1}.game-snake .controls,.game-paint .controls,.game-penalty .controls{flex:1}.game-snake .choice,.game-paint .choice,.game-penalty .choice{font-size:28px;min-height:35px}}.game-penalty .choice{font-size:28px;padding:0;line-height:1;min-height:44px}.player-picker>div{min-width:0}.segments{flex-shrink:0}.hero h1{overflow-wrap:anywhere}@media(max-width:360px){.player-picker{flex-wrap:wrap}.player-picker>div:first-child{width:100%;justify-content:center}.segments{width:100%;justify-content:center}.segments button{flex:1;min-width:0}.hero .eyebrow{letter-spacing:0}}@media(max-width:600px){[dir=rtl] .hero-art{display:none}[dir=rtl] .hero h1{max-width:100%;padding-top:32px;font-size:29px}[dir=rtl] .hero p{max-width:100%}[dir=rtl] .hero-seal{top:26px;left:0}[dir=rtl] .hero .eyebrow{padding-inline-end:60px}}.game-snake .controls,.game-paint .controls{flex-basis:50%}.game-snake .pad-head,.game-paint .pad-head{flex-shrink:0}.game-snake .pad-action,.game-paint .pad-action{flex:0 0 14px;line-height:14px;white-space:nowrap}.game-snake .choice,.game-paint .choice{padding:0;font-size:28px}@media(orientation:landscape)and (max-height:600px){.game-snake .controls,.game-paint .controls{flex:1}}
