.game-mode-layer{position:fixed;inset:0;z-index:100;box-sizing:border-box;display:block;width:var(--game-mode-viewport-width, 100vw);height:var(--game-mode-viewport-height, 100dvh);max-width:100vw;max-height:100dvh;overflow:hidden;overscroll-behavior:contain;background:#090d22;color:#f8f9ff;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.game-mode-layer[hidden]{display:none}.game-mode-frame{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;height:100%;min-height:0;width:min(100%,1100px);margin:0 auto;padding:8px 0 12px;overflow:hidden}.game-mode-toolbar{align-items:center;display:flex;gap:16px;justify-content:space-between}.game-mode-toolbar>div{min-width:0}.game-mode-eyebrow{color:#a9b1d9;font-size:.75rem;font-weight:700;letter-spacing:.08em;margin:0 0 4px;text-transform:uppercase}.game-mode-toolbar h2{color:#fff;font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.15;margin:0}.game-mode-close,.game-mode-launcher button{align-items:center;border:1px solid rgba(255,255,255,.28);border-radius:999px;cursor:pointer;display:inline-flex;flex:0 0 auto;font:inherit;font-size:.875rem;font-weight:700;justify-content:center;min-height:44px;padding:9px 15px;transition:background-color .16s ease,border-color .16s ease,transform .16s ease}.game-mode-close{background:#fff;color:#171b3a}.game-mode-close:hover,.game-mode-close:focus-visible{background:#e9ebff;border-color:#fff}.game-mode-instructions{color:#c4cae8;font-size:.9rem;line-height:1.5;margin:0;max-width:70ch}.game-mode-game{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;min-width:0;overflow:hidden;width:100%}.game-mode-game>.game-surface .game-shell{display:flex;flex:1 1 auto;flex-direction:column;box-sizing:border-box;margin:0;max-height:100%;min-width:0;min-height:0;overflow:hidden;width:100%}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell{align-self:center;max-width:820px}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell .game-canvas{flex:0 0 auto;height:auto;margin-inline:auto;object-fit:initial}.game-mode-game>.game-surface.is-game-mode .game-shell{min-height:0}.game-mode-launcher{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:18px auto 0;max-width:1100px;padding:0 16px;width:100%}.game-mode-launcher button{background:#242a5b;border-color:#626da9;color:#fff}.game-mode-launcher button:hover,.game-mode-launcher button:focus-visible{background:#343d7c;border-color:#a9b1d9}.game-mode-launcher button:active,.game-mode-close:active{transform:translateY(1px)}.game-mode-launcher [role=status]{color:#5f6686;font-size:.8rem}.game-mode-close:focus-visible,.game-mode-launcher button:focus-visible{outline:3px solid #b8c4ff;outline-offset:3px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell{align-self:center;max-width:900px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell{max-width:760px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-board,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-board{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;padding-bottom:4px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-top-row,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-top-row{flex:0 0 auto}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-tableau{flex:1 1 auto;min-height:0}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-help,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-help{display:none}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-status,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-status{flex:0 0 auto;min-height:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card-back,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-card,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-empty-column{top:calc(var(--stack-position) * clamp(8px,1.3vw,11px))}@media(max-width:420px){.game-mode-layer{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.game-mode-frame{gap:12px;padding-top:4px;padding-bottom:8px}.game-mode-toolbar{align-items:flex-start;gap:8px}.game-mode-close{font-size:.8rem;min-height:44px;padding-left:11px;padding-right:11px}.game-mode-instructions{font-size:.82rem;line-height:1.35}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau{min-height:0}.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-tableau{grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;row-gap:6px}.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-card,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-empty-column{aspect-ratio:5 / 7;top:calc(var(--stack-position) * 4px)}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-status,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-status{font-size:10px;line-height:1.2;padding:5px 8px}}@media(max-width:350px){.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-stats,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-stats,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-toggle{display:none}}.game-mode-frame{gap:8px;max-width:1180px;padding-top:0}.game-mode-toolbar{min-height:56px}.game-mode-heading{flex:1 1 180px}.game-mode-eyebrow{font-size:.66rem;margin-bottom:2px}.game-mode-toolbar h2{font-size:clamp(1rem,1.6vw,1.25rem)}.game-mode-primary-slot{align-items:center;display:flex;flex:0 1 auto;justify-content:center;min-width:44px}.game-mode-primary-slot:empty{display:none}.game-mode-primary-slot>button,.game-mode-menu-trigger,.game-mode-menu-close{align-items:center;background:transparent;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff;cursor:pointer;display:inline-flex;flex:0 0 auto;font:inherit;font-size:.8rem;font-weight:700;justify-content:center;min-height:44px;min-width:44px;padding:8px 13px}.game-mode-primary-slot>button{background:#4f3dc4;border-color:#8172ef}.game-mode-primary-slot>button:disabled{background:#ffffff0f;border-color:#ffffff29;color:#9298b8;cursor:not-allowed}.game-mode-primary-slot>button:not(:disabled):hover,.game-mode-primary-slot>button:not(:disabled):focus-visible,.game-mode-menu-trigger:hover,.game-mode-menu-trigger:focus-visible,.game-mode-menu-close:hover,.game-mode-menu-close:focus-visible{background:#6553d8;border-color:#fff}.game-mode-primary-slot>button:focus-visible,.game-mode-menu-trigger:focus-visible,.game-mode-menu-close:focus-visible{outline:3px solid #b8c4ff;outline-offset:3px}.game-mode-instructions{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell{max-width:100%}.game-mode-game>.game-surface.is-game-mode .game-shell .game-controls,.game-mode-game>.game-surface.is-game-mode .game-shell .solitaire-toolbar,.game-mode-game>.game-surface.is-game-mode .game-shell .spider-toolbar{display:none}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-status,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-status{min-height:34px;padding:8px 12px;text-overflow:clip;white-space:normal}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell .game-status{background:#00000029;border-top:1px solid rgba(255,255,255,.1);color:#cbd2f0;line-height:1.35;margin:0;min-height:34px;padding:8px 12px}.game-mode-menu{background:#111836;border:1px solid rgba(255,255,255,.22);border-radius:18px 0 0 18px;bottom:max(12px,env(safe-area-inset-bottom));box-shadow:-18px 0 50px #02051257;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;max-width:calc(100vw - 24px);overflow:hidden;padding:16px;position:fixed;right:max(12px,env(safe-area-inset-right));top:max(76px,env(safe-area-inset-top));width:360px;z-index:120}.game-mode-menu-header{align-items:center;display:flex;flex:0 0 auto;gap:10px;justify-content:space-between}.game-mode-menu-eyebrow{color:#a9b1d9;font-size:.68rem;font-weight:700;letter-spacing:.08em;margin:0 0 2px;text-transform:uppercase}.game-mode-menu h3{color:#fff;font-size:1.05rem;line-height:1.15;margin:0}.game-mode-menu-description{color:#c4cae8;flex:0 0 auto;font-size:.78rem;line-height:1.4;margin:0}.game-mode-menu-content{display:grid;gap:12px;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 4px}.game-mode-menu-content>[data-game-menu-section]{border-top:1px solid rgba(255,255,255,.12);padding-top:12px}.game-mode-menu-content>[data-game-menu-section]:before{color:#a9b1d9;content:attr(aria-label);display:block;font-size:.68rem;font-weight:700;grid-column:1 / -1;letter-spacing:.08em;margin-bottom:2px;text-transform:uppercase}.game-mode-menu .solitaire-stats,.game-mode-menu .spider-stats{display:grid!important;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.game-mode-menu .solitaire-stat,.game-mode-menu .spider-stat{min-width:0}.game-mode-menu .spider-secondary-controls .spider-mode{grid-column:1 / -1}.game-mode-menu .game-secondary-controls button,.game-mode-menu .solitaire-secondary-controls button,.game-mode-menu .solitaire-secondary-controls .solitaire-toggle,.game-mode-menu .spider-secondary-controls button,.game-mode-menu .spider-secondary-controls .spider-mode{background:#ffffff12;border:1px solid rgba(255,255,255,.2);border-radius:12px;box-sizing:border-box;color:#fff;font:600 .78rem/1.2 ui-sans-serif,system-ui,sans-serif;justify-content:center;margin:0;padding:9px 11px;width:100%}.game-mode-menu .solitaire-secondary-controls button:disabled,.game-mode-menu .spider-secondary-controls button:disabled{cursor:not-allowed;opacity:.46}.game-mode-menu .spider-mode select{background:transparent;border:0;color:inherit;font:inherit}.game-mode-menu button[data-action=reset-data],.game-mode-menu button[data-action=clear]{background:#ffa86c14;border-color:#ffb47d9e;color:#ffd2ae;grid-column:1 / -1;margin-top:4px}@media(max-width:720px),(max-height:500px){.game-mode-frame{gap:6px;padding-bottom:max(60px,calc(env(safe-area-inset-bottom) + 56px))}.game-mode-heading{flex-basis:auto}.game-mode-primary-slot{bottom:max(10px,env(safe-area-inset-bottom));left:max(10px,env(safe-area-inset-left));position:fixed;z-index:115}.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-tableau{align-content:start;grid-template-rows:repeat(2,160px);min-height:332px;row-gap:12px}.game-mode-primary-slot>button{box-shadow:0 8px 24px #04051852}.game-mode-menu{border-radius:18px 18px 0 0;bottom:0;box-shadow:0 -18px 44px #0205124d;left:0;max-height:calc(var(--game-mode-viewport-height, 100dvh) - 56px);max-width:none;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));right:0;top:max(52px,env(safe-area-inset-top));width:auto}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-status,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-status,.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell .game-status{box-sizing:border-box;flex:0 0 auto;font-size:.7rem;line-height:1.25;max-height:3.2em;min-height:32px;overflow:hidden;padding:6px 8px;white-space:normal}}@media(max-height:500px){.game-mode-frame{padding-bottom:0;padding-right:64px}.game-mode-primary-slot{bottom:auto;left:auto;right:max(8px,env(safe-area-inset-right));top:58px}}@media(max-width:350px){.game-mode-toolbar{gap:6px}.game-mode-heading{flex:1 1 auto}.game-mode-toolbar-actions{gap:5px}}@media(prefers-reduced-motion:reduce){.game-mode-primary-slot>button,.game-mode-menu-trigger,.game-mode-menu-close{transition:none}}@media(max-height:500px){.game-mode-layer{padding-top:max(4px,env(safe-area-inset-top));padding-bottom:max(4px,env(safe-area-inset-bottom));padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}.game-mode-frame{gap:5px;padding:0}.game-mode-toolbar{min-height:38px}.game-mode-eyebrow{display:none}.game-mode-toolbar h2{font-size:1rem}.game-mode-close,.game-mode-launcher button{min-height:44px;padding:7px 10px}.game-mode-instructions{font-size:.72rem;line-height:1.25;max-height:2.5em;overflow:hidden}.game-mode-game>.game-surface .game-shell{padding:4px}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell .game-canvas{flex:0 0 auto;width:min(100%,376px)}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell .game-controls{flex:0 0 auto;gap:4px;padding-top:4px}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell .game-status{flex:0 0 auto;margin:4px 2px 0;white-space:nowrap}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-toolbar,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-toolbar{flex:0 0 auto;gap:4px;padding:4px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-stats,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-stats{display:none}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-stat,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-stat{min-width:0;padding:3px 5px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-controls,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-controls{flex:0 0 auto;gap:4px;justify-content:flex-start}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-controls button,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-toggle,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-controls button,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-mode{font-size:9px;min-height:44px;padding:6px 7px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-board,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-board{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden;padding-bottom:4px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-top-row,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-top-row{flex:0 0 auto;margin-bottom:4px}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-tableau{flex:1 1 0;min-height:0;overflow:hidden}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-card,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-pile,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-empty-column,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-card,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-empty-column,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-run-slot,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-stock{aspect-ratio:5 / 7}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card-back{aspect-ratio:auto;height:max(24px,min(68px,calc(100% - (var(--stack-position) * 4px))));top:calc(var(--stack-position) * 4px)}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card-back{top:calc(var(--stack-position) * 4px)}.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-card,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-empty-column{top:calc(var(--stack-position) * 3px)}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-status,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-status{flex:0 0 auto;font-size:10px;line-height:1.2;min-height:0;padding:5px 8px;white-space:nowrap}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-help,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-help{display:none}}@media(max-width:350px){.game-mode-eyebrow{display:none}.game-mode-toolbar h2{font-size:.95rem}}@media(prefers-reduced-motion:reduce){.game-mode-close,.game-mode-launcher button{transition:none}}.game-mode-toolbar-actions{align-items:center;display:flex;flex:0 0 auto;gap:8px;justify-content:flex-end}.game-mode-title-short,.game-mode-menu-trigger,.game-mode-label-short,.game-mode-menu[hidden]{display:none}.game-mode-menu{box-sizing:border-box;display:none}.game-mode-menu-content>[data-game-menu-section]{min-width:0}.game-mode-menu .game-secondary-controls,.game-mode-menu .solitaire-secondary-controls,.game-mode-menu .spider-secondary-controls{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.game-mode-menu button,.game-mode-menu select,.game-mode-menu label{min-height:44px}.game-mode-game>.game-surface .game-shell.is-game-menu-open{overflow:visible}@media(max-width:720px),(max-height:500px){.game-mode-toolbar-actions{gap:6px}.game-mode-toolbar h2{font-size:1.05rem}.game-mode-title-long{display:none}.game-mode-title-short,.game-mode-menu-trigger{display:inline}.game-mode-menu-trigger,.game-mode-menu-close{align-items:center;background:transparent;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff;cursor:pointer;display:inline-flex;flex:0 0 auto;font:inherit;font-size:.78rem;font-weight:700;justify-content:center;min-height:44px;min-width:44px;padding:7px 10px}.game-mode-menu-trigger:hover,.game-mode-menu-trigger:focus-visible,.game-mode-menu-close:hover,.game-mode-menu-close:focus-visible{background:#ffffff1f;border-color:#fff}.game-mode-menu-trigger:focus-visible,.game-mode-menu-close:focus-visible{outline:3px solid #b8c4ff;outline-offset:3px}.game-mode-instructions{display:none}.game-mode-menu{background:#111836;border:1px solid rgba(255,255,255,.22);border-radius:18px 18px 0 0;bottom:0;display:flex;flex-direction:column;gap:8px;left:0;max-height:calc(var(--game-mode-viewport-height, 100dvh) - 60px);overflow:hidden;padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));position:fixed;right:0;top:max(52px,env(safe-area-inset-top));z-index:120}.game-mode-menu-header{align-items:center;display:flex;flex:0 0 auto;gap:10px;justify-content:space-between}.game-mode-menu-eyebrow{color:#a9b1d9;font-size:.68rem;font-weight:700;letter-spacing:.08em;margin:0 0 2px;text-transform:uppercase}.game-mode-menu h3{color:#fff;font-size:1rem;line-height:1.15;margin:0}.game-mode-menu-description{color:#c4cae8;flex:0 0 auto;font-size:.78rem;line-height:1.3;margin:0}.game-mode-menu-content{display:grid;gap:8px;min-height:0;overflow:hidden}.game-mode-menu .solitaire-stats,.game-mode-menu .spider-stats{display:grid!important;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.game-mode-menu .solitaire-stat,.game-mode-menu .spider-stat{min-width:0}.game-mode-menu .spider-secondary-controls .spider-mode{grid-column:1 / -1}.game-mode-menu .game-secondary-controls button,.game-mode-menu .solitaire-secondary-controls button,.game-mode-menu .solitaire-secondary-controls .solitaire-toggle,.game-mode-menu .spider-secondary-controls button,.game-mode-menu .spider-secondary-controls .spider-mode{box-sizing:border-box;justify-content:center;margin:0;width:100%}.game-mode-menu .solitaire-stat,.game-mode-menu .spider-stat{padding-bottom:5px;padding-top:5px}}@media(max-height:500px){.game-mode-menu{gap:5px;padding-bottom:max(6px,env(safe-area-inset-bottom));padding-top:8px}.game-mode-menu-description{font-size:.7rem}.game-mode-menu .solitaire-stat,.game-mode-menu .spider-stat{padding-bottom:3px;padding-top:3px}}@media(max-width:350px){.game-mode-toolbar h2{white-space:nowrap}.game-mode-label-long{display:none}.game-mode-label-short{display:inline}}.game-mode-menu-trigger{display:inline-flex}.game-mode-menu:not([hidden]){display:flex}.game-mode-primary-slot>button[hidden]{display:none}.game-mode-game>.game-surface[data-game-slug=meteor-dodge] .game-shell{max-width:900px}@media(max-width:350px){.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-tableau{grid-template-rows:repeat(2,135px);min-height:282px}}@media(min-width:600px)and (max-height:500px){.game-mode-menu-description{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.game-mode-menu-content{align-items:start;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr)}.game-mode-menu .solitaire-stats,.game-mode-menu .spider-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.game-mode-toolbar{align-items:center;gap:8px}.game-mode-heading{flex:1 1 auto;min-width:0}.game-mode-primary-slot{align-items:center;display:flex;flex:0 0 auto;inset:auto;min-width:44px;position:static;z-index:auto}.game-mode-primary-slot:empty{display:none;min-width:0}.game-mode-primary-slot>button,.game-mode-menu-trigger,.game-mode-close{align-items:center;display:inline-flex;gap:7px;justify-content:center;min-height:44px;min-width:44px;padding:8px 13px}.game-mode-primary-slot .ph,.game-mode-menu-trigger .ph,.game-mode-close .ph{flex:0 0 auto;font-size:20px;line-height:1}@media(max-width:720px),(max-height:500px){.game-mode-frame{padding-bottom:8px;padding-right:0}.game-mode-eyebrow,.game-mode-title-long{display:none}.game-mode-title-short{display:inline}.game-mode-primary-slot{inset:auto;position:static}.game-mode-primary-slot>button,.game-mode-menu-trigger,.game-mode-close{border-radius:12px;height:44px;min-height:44px;min-width:44px;padding:0;width:44px}.game-mode-primary-slot .game-action-label,.game-mode-menu-trigger .game-mode-label-long,.game-mode-menu-trigger .game-mode-label-short,.game-mode-close .game-mode-label-long,.game-mode-close .game-mode-label-short{display:none}.game-mode-toolbar-actions{gap:4px}}@media(min-width:721px){.game-mode-title-short{display:none}.game-mode-primary-slot .game-action-label{display:inline}}.game-mode-menu-backdrop{background:#05081885;inset:0;position:fixed;z-index:119}.game-mode-menu-backdrop[hidden]{display:none}.game-mode-menu:not([hidden]){background:#111836;border:1px solid rgba(255,255,255,.22);box-shadow:0 22px 60px #02051257;color:#f8f9ff;display:flex;flex-direction:column;gap:14px;margin:0;max-height:min(82dvh,calc(var(--game-mode-viewport-height, 100dvh) - 32px));overflow:hidden;padding:18px;position:fixed;width:min(430px,calc(100vw - 32px));z-index:120}.game-mode-menu-header{align-items:center;border-bottom:1px solid rgba(255,255,255,.14);display:flex;flex:0 0 auto;gap:14px;justify-content:space-between;padding-bottom:14px}.game-mode-menu-eyebrow{color:#a9b1d9;font-size:.7rem;font-weight:800;letter-spacing:.1em;margin:0 0 5px;text-transform:uppercase}.game-mode-menu h3{color:#fff;font-size:1.35rem;letter-spacing:-.02em;line-height:1.1;margin:0}.game-mode-menu-close{align-items:center;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:999px;color:#fff;cursor:pointer;display:inline-flex;flex:0 0 auto;font:inherit;font-size:.85rem;font-weight:750;gap:7px;justify-content:center;min-height:44px;min-width:44px;padding:8px 14px}.game-mode-menu-close .ph{font-size:18px;line-height:1}.game-mode-menu-close:hover,.game-mode-menu-close:focus-visible{background:#ffffff1f;border-color:#fff}.game-mode-menu-description{color:#c4cae8;flex:0 0 auto;font-size:.82rem;line-height:1.45;margin:0}.game-mode-menu-content{display:grid;gap:14px;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 4px}.game-mode-menu-content>[data-game-menu-section]{border-top:1px solid rgba(255,255,255,.14);padding-top:13px}.game-mode-menu .game-secondary-controls,.game-mode-menu .solitaire-secondary-controls,.game-mode-menu .spider-secondary-controls{display:grid;gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.game-mode-menu .game-secondary-controls button,.game-mode-menu .solitaire-secondary-controls button,.game-mode-menu .solitaire-secondary-controls .solitaire-toggle,.game-mode-menu .spider-secondary-controls button,.game-mode-menu .spider-secondary-controls .spider-mode{min-height:48px}@media(max-width:979px){.game-mode-menu:not([hidden]){border-radius:24px 24px 0 0;inset:auto 0 0;max-height:min(82dvh,calc(var(--game-mode-viewport-height, 100dvh) - 20px));max-width:none;padding:18px max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));width:100vw}.game-mode-menu-content .game-secondary-controls,.game-mode-menu-content .solitaire-secondary-controls,.game-mode-menu-content .spider-secondary-controls{grid-template-columns:minmax(0,1fr)}.game-mode-menu .solitaire-stats,.game-mode-menu .spider-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.game-mode-menu .spider-secondary-controls .spider-mode{grid-column:auto}}@media(min-width:980px){.game-mode-menu:not([hidden]){border-radius:24px;inset:50% auto auto 50%;transform:translate(-50%,-50%)}}@media(prefers-reduced-motion:reduce){.game-mode-menu-backdrop,.game-mode-menu,.game-mode-menu-close{scroll-behavior:auto;transition:none}}.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-pile,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-card,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-stock,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-run-slot,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-card,.game-mode-game>.game-surface[data-game-slug=spider-solitaire] .game-shell .spider-empty-column{aspect-ratio:5 / 7}@media(max-width:350px){.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card,.game-mode-game>.game-surface[data-game-slug=solitaire] .game-shell .solitaire-tableau-column>.solitaire-card-back{aspect-ratio:5 / 7;height:auto}}.game-surface{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;max-width:100%;min-width:0;width:auto}.game-surface-toolbar{align-items:center;display:flex;gap:10px;justify-content:space-between;min-width:0}.game-surface-heading{flex:1 1 auto;min-width:0}.game-surface-eyebrow{color:#7557e8;font-size:.68rem;font-weight:800;letter-spacing:.09em;margin:0 0 3px;text-transform:uppercase}.game-surface-heading h2{color:#171b3a;font-size:clamp(1rem,1.8vw,1.25rem);line-height:1.15;margin:0}.game-surface-title-short{display:none}.game-surface-primary,.game-surface-actions{align-items:center;display:flex;flex:0 0 auto;gap:8px}.game-surface-primary:empty{display:none}.game-surface-primary>button,.game-surface-menu-trigger,.game-surface-mode-trigger{align-items:center;background:#242a5b;border:1px solid #626da9;border-radius:999px;color:#fff;cursor:pointer;display:inline-flex;flex:0 0 auto;font:700 .8rem/1.1 ui-sans-serif,system-ui,sans-serif;gap:7px;justify-content:center;min-height:44px;min-width:44px;padding:8px 13px}.game-surface-primary>button{background:#4f3dc4;border-color:#8172ef}.game-surface-primary>button:disabled{cursor:not-allowed;opacity:.55}.game-surface-primary>button:hover,.game-surface-primary>button:focus-visible,.game-surface-menu-trigger:hover,.game-surface-menu-trigger:focus-visible,.game-surface-mode-trigger:hover,.game-surface-mode-trigger:focus-visible{background:#6553d8;border-color:#fff}.game-surface-primary>button:focus-visible,.game-surface-menu-trigger:focus-visible,.game-surface-mode-trigger:focus-visible{box-shadow:inset 0 0 0 2px #b8c4ffe6;outline:2px solid #b8c4ff;outline-offset:-2px}.game-surface-primary .ph,.game-surface-menu-trigger .ph,.game-surface-mode-trigger .ph{flex:0 0 auto;font-size:18px;line-height:1}.game-surface-description{color:#5f6686;font-size:.82rem;line-height:1.45;margin:0}.game-surface-body{min-width:0;width:100%}.game-surface-status{color:#5f6686;font-size:.8rem;line-height:1.35;min-height:1.1em}.game-mode-game>.game-surface{display:flex;flex:1 1 auto;height:100%;min-height:0;overflow:hidden;width:100%}.game-mode-game>.game-surface .game-surface-body{display:flex;flex:1 1 auto;flex-direction:column;height:100%;min-height:0;overflow:hidden}.game-mode-game>.game-surface .game-surface-body>.game-shell{height:100%;min-height:0}.game-mode-game>.game-surface .game-surface-description{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.game-mode-game>.game-surface .game-surface-status,.game-mode-game>.game-surface .game-surface-toolbar{flex:0 0 auto}.game-mode-game>.game-surface .game-surface-eyebrow{color:#a9b1d9}.game-mode-game>.game-surface .game-surface-heading h2{color:#fff}.game-mode-game>.game-surface .game-surface-description,.game-mode-game>.game-surface .game-surface-status{color:#c4cae8}@media(max-width:720px),(max-height:500px){.game-surface{gap:8px}.game-surface-toolbar{gap:6px}.game-surface-eyebrow,.game-surface-title-long{display:none}.game-surface-title-short{display:inline}.game-surface-primary,.game-surface-actions{gap:4px}.game-surface-primary>button,.game-surface-menu-trigger,.game-surface-mode-trigger{border-radius:12px;flex:0 0 44px;font-size:.72rem;gap:0;height:44px;min-height:44px;min-width:44px;padding:0;width:44px}.game-surface-primary>button .game-action-label,.game-surface-menu-trigger>span,.game-surface-mode-trigger>span{border:0;clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}}@media(max-width:350px){.game-surface-toolbar,.game-surface-primary,.game-surface-actions{gap:2px}.game-surface-primary>button,.game-surface-menu-trigger,.game-surface-mode-trigger{flex-basis:44px;font-size:.64rem;padding-inline:0}}@media(prefers-reduced-motion:reduce){.game-surface-primary>button,.game-surface-menu-trigger,.game-surface-mode-trigger{transition:none}}
