.game-shell{display:grid;gap:12px}.game-shell__leave-status{justify-self:center;width:min(100%,520px);margin:0;color:var(--mg-muted)}.game-shell__bar{height:44px;display:flex;align-items:center;gap:8px;width:100%;max-width:var(--mg-board-max);justify-self:center}.game-shell__sound{position:relative;flex:none;margin-left:auto;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:var(--c-ink);cursor:pointer}.game-shell__sound:before{content:"";position:absolute;inset:0;border:2px solid var(--c-edge);border-radius:50%;background:var(--c-panel);pointer-events:none}.game-shell__sound svg{position:relative;pointer-events:none}.game-shell__sound:focus-visible{outline:2px solid var(--c-focus);outline-offset:3px}.game-shell__sound .sound-on,.game-shell__sound[aria-pressed=true] .sound-off{display:none}.game-shell__sound[aria-pressed=true] .sound-on{display:block}@media(min-width:720px){.game-shell__bar{justify-content:center}}.game-shell__modes{position:relative;display:inline-flex;height:44px;gap:6px;min-width:0}.game-shell__modes button{position:relative;display:inline-flex;align-items:center;justify-content:center;height:44px;min-width:44px;padding:0 10px;white-space:nowrap;border:2px solid var(--c-edge);border-radius:999px;background:transparent;color:var(--c-ink);font:800 14px/1 var(--f-display);letter-spacing:.01em;text-transform:uppercase;cursor:pointer}.game-shell__modes button[aria-pressed=true]{background:var(--c-action);border-color:var(--c-action);color:var(--c-on-action);box-shadow:0 3px 0 var(--c-action-edge)}.game-shell__daily-dot{flex:none;width:5px;height:5px;border-radius:50%;background:currentColor;margin-left:5px}.game-shell__daily-dot[hidden]{display:none}.game-shell__modes button:focus-visible{outline:none;z-index:1}.game-shell__modes button:focus-visible:after{content:"";position:absolute;inset:-5px;pointer-events:none;border:2px solid var(--c-focus);border-radius:999px}@media(forced-colors:active){.game-shell__modes button{forced-color-adjust:none;border-color:transparent;background-color:transparent;color:CanvasText}.game-shell__modes button:hover{color:CanvasText}.game-shell__modes button[aria-pressed=true]{background-color:Highlight;color:HighlightText}.game-shell__modes button:focus-visible:after{border-color:CanvasText}}.game-shell__stage{display:grid;justify-items:center;min-width:0}.game-shell__stage[hidden]{display:none}.game-shell__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.game-shell__result{display:grid;gap:4px;justify-items:center;text-align:center;padding:20px 16px;border:1px solid var(--mg-line);border-radius:calc(var(--mg-radius) + 4px);background:var(--mg-surface);width:100%;max-width:var(--mg-board-max);justify-self:center}.game-shell__result[hidden]{display:none}.game-shell__warm{position:absolute;left:-10000px;top:0;width:360px;height:640px;overflow:hidden;visibility:hidden;pointer-events:none;contain:strict}.game-shell__faces{width:auto;height:auto;contain:layout style paint;font-size:1rem}.game-shell__face6:before,.game-shell__face7:before{content:"R"}.game-shell__face6{font-weight:600}.game-shell__face7{font-weight:700}.game-shell__note{margin:0 0 6px;padding:6px 12px;border-radius:var(--mg-radius);font-size:.85rem;line-height:1.45;background:var(--mg-highlight);color:var(--mg-text)}.game-shell__note[hidden]{display:none}.game-shell__result-title{margin:0;font-size:1rem;font-weight:600;letter-spacing:.02em;color:var(--mg-muted)}.game-shell__result-title:focus{outline:none}.game-shell__result-headline{margin:0;font-size:2.75rem;line-height:1.1;font-weight:700;color:var(--mg-text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.game-shell__result-summary{margin:0;max-width:100%;min-width:0;white-space:pre-line;overflow-wrap:anywhere;color:var(--mg-muted);font-size:.95rem}.game-shell__square{display:inline-block;box-sizing:border-box;width:1em;height:1em;margin-inline:.06em;vertical-align:-.12em;border-radius:.12em;background:var(--square-fill)}.game-shell__square--green{--square-fill: var(--mg-square-green)}.game-shell__square--yellow{--square-fill: var(--mg-square-yellow)}.game-shell__square--orange{--square-fill: var(--mg-square-orange)}.game-shell__square--red{--square-fill: var(--mg-square-red)}.game-shell__square--blue{--square-fill: var(--mg-square-blue)}.game-shell__square--purple{--square-fill: var(--mg-square-purple)}.game-shell__square--brown{--square-fill: var(--mg-square-brown)}.game-shell__square--white{--square-fill: var(--mg-square-white);border:1px solid var(--mg-square-edge)}.game-shell__square--black{--square-fill: var(--mg-square-black);border:1px solid var(--mg-square-edge)}.game-shell__details,.game-shell__stats{width:100%;margin:12px 0 0;display:grid}.game-shell__details[hidden],.game-shell__stats[hidden]{display:none}.game-shell__details{gap:0;border-top:1px solid var(--mg-line)}.game-shell__details .game-shell__row{display:flex;justify-content:space-between;gap:12px;padding:8px 2px;border-bottom:1px solid var(--mg-line);font-size:.92rem}.game-shell__details dt{color:var(--mg-muted);text-align:left}.game-shell__details dd{margin:0;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}.game-shell__stats{grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:6px}.game-shell__stats .game-shell__row{display:flex;flex-direction:column-reverse;align-items:center;gap:2px;padding:10px 4px;border-radius:var(--mg-radius);background:var(--mg-cell-alt)}.game-shell__stats dt{font-size:.75rem;color:var(--mg-muted)}.game-shell__stats[data-long]{grid-template-columns:repeat(2,minmax(0,1fr))}.game-shell__stats[data-long] .game-shell__row:last-child:nth-child(odd){grid-column:1 / -1}.game-shell__stats .game-shell__row{container-type:inline-size;min-width:0}.game-shell__stats dd{margin:0;max-width:100%;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums;font-size:clamp(.7rem,calc(100cqi / (var(--mg-len, 1) * .62)),1.15rem)}.game-shell__badge{display:inline-block;vertical-align:middle;margin-left:2px;padding:1px 6px;border-radius:999px;font-size:.65rem;font-weight:700;background:var(--mg-accent);color:var(--mg-on-accent)}.game-shell__stats .game-shell__badge{display:block;margin:2px 0 0}.game-shell__actions,.game-shell__share,.game-shell__game-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.game-shell__actions{margin-top:16px}.game-shell__game-actions:empty{display:none}.game-shell__share{margin-top:16px;padding-top:16px;border-top:1px solid var(--mg-line);width:100%;align-items:center;flex-wrap:nowrap;gap:16px}.game-shell__preview{position:relative;flex:none;width:clamp(108px,calc(100% - 156px),180px);aspect-ratio:9 / 16;padding:0;margin:0;font:inherit;border:1px solid var(--mg-line);border-radius:calc(var(--mg-radius) + 2px);overflow:hidden;cursor:pointer;background:var(--mg-cell-alt);box-shadow:0 6px 18px #0000001f}.game-shell__preview img{position:absolute;inset:0;display:block;width:100%;height:100%}.game-shell__preview:hover{border-color:var(--mg-muted)}.game-shell__preview:focus-visible{outline:3px solid var(--mg-accent);outline-offset:2px}.game-shell__share-btns{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-width:0}.game-shell__share-btns .mg-btn{padding:0 14px}.mg-btn{font:inherit;font-size:.95rem;font-weight:600;min-height:44px;padding:0 18px;cursor:pointer;border:1px solid var(--mg-line);border-radius:var(--mg-radius);background:var(--mg-surface);color:var(--mg-text)}.mg-btn:hover{border-color:var(--mg-muted)}.mg-btn--primary{background:var(--mg-accent);border-color:var(--mg-accent);color:var(--mg-on-accent)}.mg-btn--primary:hover{border-color:var(--mg-accent);filter:brightness(1.06)}.mg-btn--quiet{border-color:transparent;background:transparent;color:var(--mg-accent)}.mg-btn--quiet:hover{border-color:transparent;text-decoration:underline}.mg-btn[hidden]{display:none}.game-shell__undo{position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:20;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 32px);padding:6px 6px 6px 16px;border-radius:var(--mg-radius);overflow:hidden;background:var(--mg-text);color:var(--mg-bg);font-size:.92rem}.game-shell__undo[hidden]{display:none}.game-shell__undo button{font:inherit;font-weight:700;min-height:44px;min-width:44px;padding:0 14px;cursor:pointer;border:1px solid currentColor;border-radius:var(--mg-radius);background:transparent;color:inherit}.game-shell__undo-time{position:absolute;left:0;bottom:0;height:3px;width:100%;background:var(--mg-accent);transform-origin:left}.game-shell__undo.is-running .game-shell__undo-time{animation:mg-undo-time 6s linear forwards}@keyframes mg-undo-time{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(prefers-reduced-motion:reduce){.game-shell__undo.is-running .game-shell__undo-time{animation:none}}.game-h1[data-astro-cid-v2gbyiz6]{margin:0;padding:6px 0 2px;font-size:1.5rem;line-height:36px;font-weight:700;letter-spacing:-.01em}.below-game[data-astro-cid-v2gbyiz6]{min-height:var(--mg-ad-gap);padding-top:24px}@media(min-width:720px){.game-h1[data-astro-cid-v2gbyiz6]{text-align:center}}.game-intro[data-astro-cid-v2gbyiz6]{margin:0;max-width:680px;color:var(--mg-muted)}.game-article[data-astro-cid-v2gbyiz6]{margin-top:32px;max-width:680px}
