:root{color:#e8f4ff;font-synthesis:none;--accent:#a5edff;--line:#27435b;--gem-blue:#268de4;--gem-red:#db2352;background:#070e18;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer;background:0 0;border:0}a{color:inherit;text-decoration:none}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline-offset:4px;outline:2px solid #c1f3ff}button,a{transition:border-color .2s,box-shadow .2s,background .2s}button:hover{filter:brightness(1.1)}.workshop{max-width:1560px;margin:auto;padding:0 40px}.version{border:1px solid #31506d;border-radius:5px;padding:4px 8px;font-size:9px}.workspace{grid-template-columns:235px minmax(0,1fr);align-items:start;gap:25px;display:grid}.preview-stage{background:#0b1421;border:1px solid #34516d;border-radius:12px;justify-content:center;align-items:center;min-height:566px;padding:12px;display:flex;box-shadow:inset 0 0 20px #0004}.game-shell{--card-w:75px;--card-h:107px;--closed-step:10px;--open-step:28px;--column-gap:9px;isolation:isolate;color:#e9f6ff;background-color:var(--table,#081725);background-image:var(--table-image);background-position:50%;background-size:cover;border-radius:7px;width:100%;height:550px;position:relative;overflow:hidden;box-shadow:0 18px 36px #0005;container-type:inline-size}.game-shell:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#00102016,#0000 20% 80%,#00102022);position:absolute;inset:0}.game-shell.mobile{border:4px solid #3c576a;border-radius:24px;width:min(350px,100%);height:min(650px,100dvh - 105px);min-height:420px}#game-screen{flex-direction:column;height:100%;padding:22px 0 20px;display:flex;position:relative}.game-topline{letter-spacing:.6px;color:#b3cee2;flex-shrink:0;justify-content:space-between;align-items:center;gap:7px;height:47px;padding:0 24px;font-size:9px;display:flex}.icon-button{color:#b5eaff;background:linear-gradient(#173550a6,#0b2239c9);border:1px solid #75bbdf4d;border-radius:7px;flex-shrink:0;width:34px;height:34px;font-size:25px;line-height:1;box-shadow:inset 0 1px #d8faff16}.balance{white-space:nowrap;color:#cfedff;background:#0a1c31c9;border:1px solid #80caec66;border-radius:6px;padding:6px 10px;font-size:11px;box-shadow:0 0 13px #6cbfe91a,inset 0 1px #d8faff20}.game-stats{text-align:center;flex-shrink:0;justify-content:space-between;width:68%;max-width:410px;height:41px;margin:0 auto;padding:2px 0 11px;display:flex}.game-stats small{color:#9ab6d0;letter-spacing:1.2px;margin-bottom:4px;font-size:7px;display:block}.game-stats strong{color:#e6f8ff;text-shadow:0 1px 3px #0009;font-size:15px;font-weight:500}.board{--cw:var(--card-w);--ch:var(--card-h);width:calc(var(--cw) * 7 + var(--column-gap) * 6);flex-direction:column;flex:1;max-width:calc(100% - 24px);min-height:0;margin:0 auto;display:flex}.top-piles{grid-template-columns:repeat(7, var(--cw));gap:var(--column-gap);flex-shrink:0;display:grid}.foundations{grid-column:1/5;grid-template-columns:repeat(4, var(--cw));gap:var(--column-gap);display:grid}.foundation{width:var(--cw);height:var(--ch);background:#08192b50;border:1px solid #8bceeb55;border-radius:7px;place-items:center;display:grid;box-shadow:inset 0 0 16px #0915279c,inset 0 1px #d4f3ff1c}.foundation>span{font-size:calc(var(--cw) * .42);color:#a9d5eb;opacity:.34;text-shadow:0 1px 8px #89defd66}.stock-piles{grid-column:6/8;grid-template-columns:repeat(2, var(--cw));gap:var(--column-gap);display:grid}.waste,.stock{width:var(--cw);height:var(--ch);position:relative}.stock{cursor:pointer}.stock small{color:#caebff;z-index:2;font-size:8px;position:absolute;bottom:5px;right:6px}.tableau{grid-template-columns:repeat(7, var(--cw));gap:var(--column-gap);flex:1;min-height:0;padding-top:20px;display:grid}.column{min-height:0;position:relative}.column:before{content:"";width:var(--cw);height:var(--ch);border:1px solid #9ecde91a;border-radius:7px;position:absolute;inset:0 auto auto 0}.stack-slot{top:calc(var(--offset) * var(--closed-step));width:var(--cw);position:absolute}.stack-slot:has(.dragging){z-index:100}.playing-card{width:var(--cw,105px);height:var(--ch,150px);border-radius:calc(var(--cw,105px) * .06);perspective:800px;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;transform-style:preserve-3d;background:0 0;transition:transform .2s,box-shadow .2s;position:relative;box-shadow:0 2px 4px #0003;container-type:inline-size}.card-inner{transform-origin:50%;width:100%;height:100%;position:relative}.card-face,.card-back{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.card-inner{border-radius:inherit}.card-face{color:#11243b;visibility:visible;background:#fafcfb}.card-frame{width:100%;height:100%;position:absolute;inset:0}.corner{font:var(--rank-weight,700) calc(var(--cw,105px) * .34)/1 var(--rank-font,"Trebuchet MS", Arial, sans-serif);z-index:2;color:#102c45;letter-spacing:-.02em;justify-content:space-between;align-items:center;gap:1px;display:flex;position:absolute}.corner small{width:calc(var(--cw,105px) * .24);height:calc(var(--cw,105px) * .24);flex-shrink:0;display:block}.corner small svg{width:100%;height:100%;display:block}.corner.top{top:4%;left:10%;right:10%}.red .corner{color:#df2645}.card-jewel{place-items:center;display:grid;position:absolute;inset:36% 12% 9%;transform:translateZ(.3px)}.crystal-gem{--gem-color:var(--gem-blue,#268de4);width:100%;height:100%;display:block;overflow:visible}.crystal-bitmap{object-fit:contain;image-rendering:auto;pointer-events:none;width:100%;height:100%;display:block}.crystal-gem.ruby{--gem-color:var(--gem-red,#db2352)}.card-back{visibility:hidden;border:max(2px, calc(var(--cw,105px) * .045)) solid #fff;box-shadow:none;background:repeating-linear-gradient(45deg,#ffffff0b 0 1px,#0000 1px 6px),repeating-linear-gradient(-45deg,#ffffff0b 0 1px,#0000 1px 6px),#245b86}.face-down .card-face{visibility:hidden}.face-down .card-back,.closed-card .card-back{visibility:visible}.is-flipping{box-shadow:none!important}.is-flipping .card-inner{will-change:transform}.closed-card{cursor:default}.sheen{pointer-events:none;background:linear-gradient(90deg,#0000 34%,#ffffffa1 49%,#a1e7ff2b 54%,#0000 63%);position:absolute;inset:-90%;transform:translate(-100%)rotate(25deg)}.gem-glint{width:34%;height:auto;left:var(--spark-x,50%);top:var(--spark-y,28%);opacity:0;pointer-events:none;position:absolute;transform:translate(-50%,-50%)}@keyframes separate-glint{0%,to{opacity:0;transform:translate(-50%,-50%)scale(.65)rotate(-8deg)}43%{opacity:.95;transform:translate(-50%,-50%)scale(1.15)rotate(0)}75%{opacity:.2}}.playing-card:not(.closed-card):hover{transform:translateY(-3px);box-shadow:0 4px 7px #0003}.playing-card.dragging{z-index:100;cursor:grabbing;transition:none;box-shadow:0 7px 12px #0004}.game-tools{flex-shrink:0;justify-content:center;gap:10px;padding:13px 18px 7px;display:flex}.tool-button{color:#b9ecff;background:linear-gradient(#193e58b8,#0a2038e0);border:1px solid #72bce85c;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-width:83px;min-height:45px;padding:6px 12px;font-size:20px;display:flex;box-shadow:inset 0 1px #c7f2ff25,0 0 13px #50b9e91a,0 4px 8px #0004}.tool-button:hover{border-color:#92dfff;box-shadow:inset 0 1px #e7f9ff66,0 0 18px #59cfff59}.tool-button span{color:#e5f4ff;text-align:left;font-size:10px}.tool-button small{color:#9dd4ee;margin-top:4px;font-size:8px;display:block}.game-footnote{color:#aec6dc;text-align:center;flex-shrink:0;min-height:12px;margin:0 15px 6px;font-size:8px}#theme-number{color:#a1dfff;font-size:10px}#theme-title{font-size:12px;font-weight:500}#theme-description{color:#8aa7c0;font-size:9px}.home-screen{text-align:center;flex-direction:column;align-items:center;width:min(420px,87%);min-height:0;margin:auto;padding:5px 0 10px;display:flex}.mode-options{gap:12px;width:100%;display:flex}.mode-card{color:#90b1ca;background:linear-gradient(#143b5570,#092037db);border:1px solid #688ca56b;border-radius:9px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:7px;height:80px;display:flex}.mode-card.active{color:#e7f8ff;border-color:#a6e2ff;box-shadow:inset 0 1px #e7f9ff3b,0 0 16px #6dceff29}.mode-card strong{font-size:12px;font-weight:500}.mode-card small{font-size:8px}.game-primary{color:#092541;background:linear-gradient(135deg,#dafaff,#76caef 70%,#8ce6ff);border:1px solid #c1f5ff;border-radius:8px;width:100%;min-height:44px;margin-top:15px;padding:12px 18px;font-size:12px;font-weight:600;display:block;box-shadow:inset 0 1px #fff,0 0 23px #5bc9ff3b,0 5px 8px #0003}.game-primary>span{float:right}.home-links,.home-bottom{justify-content:center;gap:24px;width:100%;display:flex}.home-links{margin-top:8px}.home-bottom{border-top:1px solid #78c6ed40;margin-top:8px;padding-top:6px}.text-button{color:#b9d7ec;min-height:33px;padding:7px 0;font-size:10px}.settings-screen{width:min(510px,84%);margin:auto;padding:8px 0 10px}.settings-screen h2{letter-spacing:-.5px;margin:0 0 17px;font-size:25px;font-weight:400}.settings-group{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:linear-gradient(135deg,#14354b99,#08182ddd);border:1px solid #6fb2d538;border-radius:9px;margin-bottom:11px;padding:0 14px;box-shadow:inset 0 1px #c1ecff12}.settings-group label{justify-content:space-between;align-items:center;gap:10px;min-height:49px;padding:11px 0;display:flex}.settings-group label+label{border-top:1px solid #719bb52b}.settings-group strong{font-size:11px;font-weight:500;display:block}.settings-group small{color:#9fbad0;margin-top:5px;font-size:8px;display:block}.settings-group select{color:#e5f5ff;background:#132e45;border:1px solid #507795;border-radius:5px;padding:6px;font-size:10px}input[type=checkbox]{appearance:none;cursor:pointer;background:#19344b;border:1px solid #527089;border-radius:12px;flex-shrink:0;width:34px;height:19px;position:relative}input[type=checkbox]:before{content:"";background:#8eacbf;border-radius:50%;width:13px;height:13px;transition:transform .2s;position:absolute;top:2px;left:2px}input[type=checkbox]:checked{background:#5198b5;border-color:#a4e8ff;box-shadow:0 0 9px #7ad6ff33}input[type=checkbox]:checked:before{background:#e0faff;transform:translate(15px)}.loading-screen{text-align:center;width:90%;margin:auto;padding:10px 0}.loading-screen h2{margin:20px 0 12px;font-size:26px;font-weight:400}.loading-screen>small{color:#9bbcd4;font-size:8px}dialog{color:#e8f6ff;background:#10233a;border:1px solid #78c3e9;border-radius:11px;width:min(540px,100% - 30px);padding:30px;box-shadow:0 0 25px #70cfff26}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#020916bf}dialog h2{font-size:26px;font-weight:400}.dialog-close{font-size:25px;position:absolute;top:6px;right:10px}dialog textarea{color:#d2eaff;resize:vertical;background:#09172a;border:1px solid #42678c;border-radius:6px;width:100%;min-height:130px;margin:7px 0 17px;padding:12px;font-size:11px;line-height:1.8}.toast{z-index:1000;opacity:0;color:#15364d;text-align:center;pointer-events:none;background:#d1f0ff;border:1px solid #fff;border-radius:7px;max-width:90%;padding:12px 19px;font-size:11px;line-height:1.5;transition:all .2s;position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);box-shadow:0 0 25px #75c7f13a}.toast.show{opacity:1;transform:translate(-50%)}.large-symbols .corner{font-size:calc(var(--cw,105px) * .42)}.large-symbols .card-jewel{inset:40% 12% 9%}.high-contrast .foundation{border-color:#d5f6ff}.high-contrast .playing-card{outline:1px solid #e5f8ff}.left-hand .foundations{grid-column:4/8}.left-hand .stock-piles{grid-area:1/1/auto/3}.left-hand .foundations{grid-row:1}.left-hand .waste{order:2}.left-hand .stock{order:1}.play-only{background:#081523;overflow:hidden}.play-only .workshop{max-width:none;padding:0}.play-only .workspace{margin:0;display:block}.play-only .preview-stage{border:none;border-radius:0;min-height:0;padding:0;display:block}.play-only .game-shell,.play-only .game-shell.mobile{width:100%;height:100dvh;min-height:0;box-shadow:none;border:0;border-radius:0}.play-only #game-shell{border:0;border-radius:0;width:100%;height:100dvh;min-height:0}.play-only #game-screen{padding-bottom:max(20px, calc(env(safe-area-inset-bottom) + 14px))}.play-only .game-topline{padding-top:env(safe-area-inset-top);height:calc(50px + env(safe-area-inset-top))}.play-only .game-tools{padding-bottom:10px}@keyframes shine{0%{transform:translate(-70%)rotate(25deg)}to{transform:translate(70%)rotate(25deg)}}@keyframes dot{50%{opacity:.2;transform:translateY(-3px)}}@keyframes crystal-flare{40%{filter:brightness(1.25)saturate(1.1)}}@keyframes gem-sweep{0%{opacity:0;transform:translate(0)skew(-15deg)}30%{opacity:.52}75%{opacity:.38}to{opacity:0;transform:translate(270%)skew(-15deg)}}@keyframes gem-star{35%{opacity:0}53%{opacity:.9}82%{opacity:0}}@container (width<=460px){.game-topline{letter-spacing:.15px;height:45px;padding:0 18px;font-size:8px}.game-stats{width:78%;height:42px;padding:2px 0 12px}.game-stats strong{font-size:14px}.game-stats small{font-size:6px}.foundation{border-radius:5px}.card-jewel{filter:none}.tableau{padding-top:18px}.game-tools{gap:7px;padding:9px 18px 5px}.tool-button{flex-direction:column;flex:1;gap:3px;min-width:0;min-height:58px;padding:4px;font-size:20px}.tool-button span{text-align:center;font-size:9px}.tool-button small{margin-top:3px;font-size:7px}.game-footnote{margin-bottom:5px;font-size:6px}.home-screen{width:86%;padding-bottom:10px}.mode-card{height:80px}.home-bottom{gap:14px}.text-button{font-size:9px}.settings-screen{width:88%;padding:6px 0 10px}.settings-screen h2{margin-bottom:15px;font-size:24px}.settings-group{padding:0 11px}.settings-group label{min-height:49px}.settings-group strong{font-size:10px}.settings-group small{font-size:7px}.loading-screen h2{font-size:23px}}@media (width<=1100px){.workshop{padding:0 25px}.workspace{grid-template-columns:210px minmax(0,1fr);gap:20px}#theme-description{display:none}}@media (width<=800px){.workshop{padding:0 18px}.workspace{display:block}#theme-list{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;display:grid}.preview-stage{min-height:0;padding:8px}.game-shell:not(.mobile){height:540px}}@media (width<=480px){.workshop{padding:0 12px}.version{display:none}.game-shell:not(.mobile){height:min(570px,100dvh - 100px);min-height:420px}#theme-title{font-size:10px}}@media (height<=520px){.play-only .game-topline{height:35px}.play-only .game-stats{width:46%;height:30px;padding-bottom:4px}.play-only .game-stats small{margin-right:8px;font-size:7px;display:inline}.play-only .game-stats strong{font-size:11px}.play-only .tableau{padding-top:10px}.play-only .game-tools{padding:5px 18px 3px}.play-only .tool-button{min-height:44px}.play-only .game-footnote{display:none}.play-only .home-screen{flex-flow:wrap;justify-content:center;gap:10px;width:min(760px,89%);padding-bottom:4px}.play-only .mode-options{width:62%}.play-only .game-primary{width:61%;margin:0 0 0 32%}.play-only .home-links,.play-only .home-bottom{border:0;width:auto;margin:0;padding-top:0}.play-only .settings-screen{grid-template-columns:1fr 1fr;gap:8px 18px;width:min(780px,90%);padding:0;display:grid}.play-only .settings-screen h2{grid-column:1/-1;margin:0;font-size:18px}.play-only .settings-group{margin:0}.play-only .settings-group label{min-height:38px;padding:7px 0}.play-only .loading-screen{grid-template-columns:1fr 1fr;align-items:center;column-gap:20px;width:min(630px,90%);display:grid}.play-only .loading-screen h2{margin:8px 0;font-size:21px}}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.runtime .board{overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:8px;overflow:hidden auto}.runtime .top-piles{z-index:50;background:var(--table);padding-bottom:8px;position:sticky;top:0}.runtime .column{min-height:var(--ch)}.runtime .foundation{position:relative}.runtime .foundation>div{position:absolute;inset:0}.runtime .is-celebrating-win .board .foundation .playing-card,.runtime .is-celebrating-win .pixi-card-canvas{visibility:hidden}.runtime .waste{position:relative}.runtime .waste-card{transform:translateX(calc(var(--fan)*7px));position:absolute;inset:0}.runtime .stock{cursor:pointer;position:relative}.runtime .board[data-completed=true] :is(.playing-card,.stock,[data-target]){cursor:default}.runtime .recycle{width:var(--cw);height:var(--ch);border:1px dashed #ffffff70;border-radius:6px;place-items:center;font-size:30px;display:grid}.runtime .game-footnote{justify-content:center;gap:25px;min-height:26px;display:flex}.runtime .home-screen{scrollbar-width:thin;justify-content:flex-start;max-height:100%;padding:10px 6px 20px;overflow-y:auto}.runtime .mode-options,.runtime .game-primary{flex-shrink:0}.runtime .settings-screen{padding-bottom:30px;overflow-y:auto}.runtime #game-dialog{color:#effaff;background:#102c34;border:1px solid #55777c;border-radius:20px;width:min(420px,90vw);max-height:85dvh;padding:25px;overflow:auto;box-shadow:0 20px 80px #0009}.runtime #game-dialog p{font-size:14px;line-height:1.6}.runtime #game-dialog input{color:#fff;background:#061d25;border:1px solid #82a7af;border-radius:8px;width:100%;margin:10px 0;padding:12px}.runtime #game-dialog .dialog-notice{color:#ffe6ad;background:#f7cf6e14;border:1px solid #e7c98366;border-radius:10px;margin:0 0 12px;padding:12px}.runtime #game-dialog .dialog-notice[hidden]+:is(.game-primary,.game-button){margin-top:0}.runtime #game-dialog .game-button{color:#effaff;background:#173e49;border:1px solid #7ea6ae;border-radius:8px;margin:12px auto 0;padding:10px 24px;display:block}.runtime .drag-cards,.runtime .hint-cards{pointer-events:none;z-index:999;width:var(--cw);height:var(--ch);position:fixed}.runtime .hint-cards{opacity:0;filter:drop-shadow(0 0 5px #dcf6ff88)}.runtime .playing-card:not(.closed-card):hover{transform:none;box-shadow:0 2px 4px #0003}.runtime .drag-cards .playing-card{cursor:grabbing;transition:none}.runtime .is-dealing .board{pointer-events:none;overflow:hidden}.runtime .is-dealing .tableau{z-index:60;position:relative}.runtime .stock-flight{pointer-events:none;z-index:999;position:fixed;inset:0}.runtime .is-drawing .board,.runtime .is-moving .board{pointer-events:none}.runtime .is-moving .tableau{z-index:60;position:relative}.runtime .stack-slot:has(.is-travelling){z-index:100!important}.runtime .is-travelling{will-change:transform}.runtime .drag-cards{top:0;left:0;transform:none}.runtime .playing-card{transition:none}.runtime .game-topline>span:nth-child(2){white-space:nowrap;font-size:clamp(10px,2.5vw,14px)}.runtime .home-bottom{flex-wrap:wrap;justify-content:center;gap:8px 16px}.runtime .home-links{flex-wrap:wrap;justify-content:center}.runtime .tool-button{min-width:0;max-width:24%}.runtime .tool-button span{overflow-wrap:anywhere}.runtime .settings-group label{gap:10px}.runtime .settings-group select{min-width:0;max-width:55%}[dir=rtl] .runtime .icon-button{transform:scaleX(-1)}@media (height<=500px){.runtime .game-footnote{display:none}.runtime .game-tools{padding:3px 12px}.runtime #game-screen{padding-top:0;padding-bottom:4px}}.runtime{--ui-paper:#f6f5ee;--ui-ink:#233c34;--ui-soft:#647970;--ui-line:#dce3dc;--ui-green:#326a54;color:var(--ui-paper);background:#173e33;font-family:system-ui,-apple-system,Segoe UI,sans-serif}.runtime .game-shell{--text:#f6f5ee;--muted:#bbcfc4;--accent:#e6dbb6;background-color:var(--table,#173e33);background-image:linear-gradient(#06150d22,#06150d22),var(--table-image)}.runtime .game-shell:before{display:none}.runtime #game-screen{padding:0 0 max(10px,env(safe-area-inset-bottom));gap:0}.runtime .game-topline{height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 24px 0;letter-spacing:.03em;color:#d7e4dc;flex-shrink:0}.runtime .header-end{align-items:center;gap:8px;display:flex}.runtime .header-spacer{flex-shrink:0;width:44px}.runtime .icon-button{width:44px;height:44px;box-shadow:none;color:#f3f4ea;background:#ffffff0c;border:0;border-radius:50%}.runtime .balance{box-shadow:none;color:#e9dfbe;background:#ffffff09;border:0;border-radius:30px;padding:9px 12px;font-size:12px}.runtime .game-stats small{color:#bbcfc4;letter-spacing:.09em;font-size:9px}.runtime .game-stats strong{font-variant-numeric:tabular-nums;text-shadow:none;color:#f6f5ee;font-size:19px;font-weight:600}.runtime .top-piles{background:var(--table);border-radius:8px;margin-bottom:18px;padding-bottom:10px}.runtime .foundation:empty:before{content:"A";font-size:calc(var(--cw)*.44);color:#d4e6d529;font-weight:400}.runtime .column:before{border-color:#d7e4da15}.runtime .game-tools{justify-content:space-around;gap:0;width:min(540px,96%);margin:0 auto;padding:10px 6px 3px}.runtime .tool-button{width:19%;max-width:19%;min-height:58px;box-shadow:none;color:#f1f4e9;background:0 0;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:5px 2px;font-size:24px;display:flex}.runtime .tool-button span{overflow-wrap:normal;color:#d5e2d8;font-size:11px;font-weight:500;line-height:1.2}.runtime .tool-button:active{background:#ffffff10}.runtime .game-footnote{flex-shrink:0;gap:24px;min-height:40px}.runtime .game-footnote .text-button{color:#b7cfc2;min-height:40px;font-size:11px}.runtime .high-contrast .corner{color:#102331}.runtime .high-contrast .red .corner{color:#b5112a}.runtime .high-contrast .playing-card{outline:none;box-shadow:0 0 0 1px #fff7}.runtime .home-screen{flex-direction:column;align-items:center;gap:0;width:min(460px,90%);max-width:460px;margin:auto;padding:12px 20px 24px;display:flex}.runtime .mode-options{background:#ffffff0b;border-radius:18px;gap:4px;width:100%;margin:0 0 12px;padding:5px}.runtime .mode-card{width:50%;height:92px;box-shadow:none;color:#bbd0c2;background:0 0;border:0;border-radius:13px;gap:7px}.runtime .mode-card.active{background:var(--ui-paper);color:var(--ui-ink);box-shadow:0 3px 8px #061e2526}.runtime .mode-card small{color:inherit;opacity:.75;font-size:10px}.runtime .game-primary{color:#273f32;width:100%;max-width:none;min-height:50px;box-shadow:none;background:#e6d8ad;border:0;border-radius:14px;margin:8px auto 0;padding:14px 18px;font-size:14px;font-weight:650}.runtime .text-button{color:#d1dfd3;min-height:44px;padding:10px 8px;font-size:12px}.runtime .home-links{gap:12px;width:100%;margin:4px 0}.runtime .home-bottom{border-color:#ffffff15;grid-template-columns:1fr 1fr;gap:2px 8px;width:100%;margin-top:10px;padding-top:10px;display:grid}.runtime .home-bottom .text-button{font-size:12px}.runtime .settings-screen{scrollbar-width:thin;scrollbar-color:#bbcbbb50 transparent;width:min(540px,92%);margin:0 auto;padding:16px 4px 30px;display:block;overflow-y:auto}.runtime .settings-screen h2{letter-spacing:-.8px;margin:0 0 24px;font-size:30px;font-weight:550}.runtime .settings-group{background:var(--ui-paper);color:var(--ui-ink);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border:0;border-radius:18px;margin-bottom:12px;padding:0 18px}.runtime .settings-group label{gap:16px;min-height:58px;padding:13px 0;font-size:13px}.runtime .settings-group label+label{border-color:var(--ui-line)}.runtime .settings-group small{color:var(--ui-soft);max-width:260px;font-size:10px;line-height:1.4}.runtime .settings-group select{color:#294535;background:#e6ebe3;border:0;border-radius:9px;max-width:53%;min-height:38px;padding:8px;font-size:12px}.runtime input[type=checkbox]{width:42px;height:25px;box-shadow:none;background:#cad4c9;border:0}.runtime input[type=checkbox]:before{background:#fff;width:19px;height:19px;top:3px;left:3px;box-shadow:0 1px 3px #0002}.runtime input[type=checkbox]:checked{box-shadow:none;background:#437b5d;border:0}.runtime input[type=checkbox]:checked:before{background:#fff;transform:translate(17px)}.runtime #game-dialog{background:var(--ui-paper);width:min(440px,100vw - 32px);color:var(--ui-ink);border:0;border-radius:24px;max-height:calc(100dvh - 40px);padding:28px;box-shadow:0 24px 90px #0005}.runtime #game-dialog h2{letter-spacing:-.6px;margin:0 0 20px;font-size:25px;font-weight:600;line-height:1.2}.runtime #game-dialog h3{margin:16px 0 8px;font-size:18px;font-weight:600}.runtime #game-dialog p{color:#607367;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.runtime #game-dialog .game-button{color:#344f3b;background:#e5eadf;border:0;border-radius:12px;width:100%;min-height:44px;margin:10px 0 0;font-size:13px}.runtime #game-dialog .game-primary{background:var(--ui-green);color:#fff}.runtime #game-dialog input{color:#233c34;background:#fff;border:1px solid #c9d7c9;border-radius:12px;width:100%;min-height:48px;padding:12px;font-size:18px}.runtime .statistics-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px;display:grid}.runtime .statistics-modes{background:#e5eade;border-radius:12px;gap:4px;margin:0 0 16px;padding:4px;display:flex}.runtime .statistics-modes button{color:#536e5a;border-radius:9px;width:50%;min-height:42px;font-size:13px}.runtime .statistics-modes [aria-pressed=true]{color:#244b35;background:#fffdf7;box-shadow:0 2px 6px #0001}.runtime .statistics-grid>div{text-align:center;background:#e9ede3;border-radius:14px;padding:19px 10px}.runtime .statistics-grid strong{letter-spacing:-.5px;font-variant-numeric:tabular-nums;font-size:26px;font-weight:600;display:block}.runtime .statistics-grid small{color:#607367;margin-top:6px;font-size:11px;display:block}.runtime .loading-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:min(420px,85%);height:100%;margin:0 auto;padding:0;display:flex}.runtime .loading-mark{color:#e0d3a7;margin-bottom:32px;font:90px/1 Georgia,serif}.runtime .loading-screen h2{letter-spacing:-.5px;font-size:25px;font-weight:500}.runtime .loading-screen p{color:#c0d1c2;font-size:12px;line-height:1.6}@keyframes table-loading{0%{transform:translate(-100%)}to{transform:translate(330%)}}.runtime .toast{color:#284333;bottom:max(24px,env(safe-area-inset-bottom));background:#f4f3e8;border:0;border-radius:14px;font-size:13px;box-shadow:0 8px 24px #0003}.runtime button:focus-visible,.runtime select:focus-visible,.runtime input:focus-visible{outline-offset:3px;outline:2px solid #d8ba6c}.runtime .playing-card:focus-visible{outline-offset:3px;outline:2px dashed #e5d59f}.runtime #game-dialog[open]{animation:.18s ease-out paper-enter}@keyframes paper-enter{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0}}@media (width<=380px){.runtime .game-topline{padding-left:12px;padding-right:12px}.runtime .game-topline>span:nth-child(2){font-size:10px}.runtime .balance{padding:8px;font-size:10px}.runtime .game-tools{width:100%}.runtime .tool-button span{font-size:10px}.runtime .home-screen{padding-left:10px;padding-right:10px}.runtime .settings-group{padding:0 12px}}@media (height<=520px) and (width>=600px){.runtime .game-topline{height:40px}.runtime .game-stats{width:45%;height:36px;padding:0 0 6px}.runtime .game-stats small{font-size:8px;display:inline}.runtime .game-stats strong{font-size:14px}.runtime .top-piles{margin-bottom:8px}.runtime .game-tools{padding:3px 0}.runtime .tool-button{flex-direction:row;gap:6px;min-height:42px;font-size:19px}.runtime .home-screen{grid-template-columns:1fr 1fr;gap:4px 20px;width:min(660px,90%);max-width:660px;padding:4px 16px;display:grid}.runtime .mode-options{width:100%;margin:0}.runtime .mode-card{height:68px}.runtime .game-primary{margin:0}.runtime .home-links{grid-column:1}.runtime .home-bottom{border:0;grid-area:5/2/7;margin:0;padding:0}.runtime .settings-screen{width:min(600px,88%);display:block}.runtime .loading-screen{display:flex}.runtime .game-footnote{display:none}}@media (prefers-reduced-motion:reduce){.runtime #game-dialog[open]{animation:none}.runtime .chosen>.playing-card{translate:0}}.reduce-motion.runtime #game-dialog[open]{animation:none}@media (height<=500px){.runtime .top-piles{position:relative}.runtime .statistics-grid>div{padding:12px 8px}.runtime .game-stats{height:38px}.runtime .game-topline{height:44px}}.runtime{--ui-paper:#f7f9fa;--ui-ink:#26353c;--ui-soft:#617078;--ui-line:#dde4e7;--ui-green:#27634f;background:#163b32;font-family:Segoe UI,Arial,sans-serif}.runtime .game-shell{--text:#f5f8f7;--muted:#c0d1ca;--accent:#d4e9df;background-image:var(--table-image);background-color:var(--table);background-size:cover}.runtime .ui-icon{flex-shrink:0;width:23px;height:23px;display:block}.runtime button:hover:not(:disabled){filter:none;background-color:#ffffff0d}.runtime .game-topline{letter-spacing:0;width:100%;max-width:1100px;height:calc(72px + env(safe-area-inset-top));margin-inline:auto;padding-inline:28px;font-weight:500}.runtime .game-topline>span:nth-child(2){font-size:13px}.runtime .icon-button{background:0 0;border-radius:12px;place-items:center;display:grid}.runtime .icon-button:hover{background:#ffffff12}.runtime .balance{color:#c8dbd2;background:0 0;align-items:center;gap:6px;padding:8px;font-size:12px;display:flex}.runtime .balance .ui-icon{width:16px;height:16px}.runtime .game-shell[data-screen=home] .game-topline>span:nth-child(2){visibility:hidden}.runtime .home-screen{width:min(420px,100% - 40px);max-width:420px;margin:auto;padding:12px 12px 24px;overflow-y:auto}.runtime .home-brand h1{letter-spacing:-2px;color:#f6f8f4;margin:0;font:400 clamp(44px,6vw,60px)/1.05 Georgia,Times New Roman,serif}.runtime .home-brand h1 span{letter-spacing:6px;text-indent:6px;color:#c4d6cc;margin-top:10px;font:500 12px/1.4 Segoe UI,Arial,sans-serif;display:block}.runtime .mode-options{background:#0c27252b;border:1px solid #fff2;border-radius:12px;gap:4px;margin:0 0 14px;padding:4px}.runtime .mode-card{color:#c5d8cf;border-radius:8px;gap:5px;height:84px}.runtime .mode-card.active{color:#264638;box-shadow:none;background:#ecf3ef}.runtime .mode-card.active:hover{background:#ecf3ef}.runtime .mode-card small{font-size:11px}.runtime .mode-art{--cw:29px;--ch:42px;perspective:400px;pointer-events:none;width:80px;height:52px;display:block;position:relative}.runtime .mode-art .playing-card{box-shadow:0 3px 5px #0b263c40}.runtime .mode-card{gap:4px;height:110px}.runtime .game-shell:after{content:"";z-index:-1;pointer-events:none;will-change:transform;background:radial-gradient(at 25% 30%,#a0d0b214,#0000 45%),radial-gradient(at 75% 65%,#91bdd60a,#0000 40%);animation:36s ease-in-out infinite alternate table-light-drift;position:absolute;inset:-25%}@keyframes table-light-drift{0%{transform:translate(-2%,-1%)rotate(-3deg)}to{transform:translate(3%,2%)rotate(3deg)}}.runtime .tool-button{position:relative}.runtime .tool-cost{color:#c1d5ca;align-items:center;gap:2px;font-size:9px;line-height:1;display:flex;position:absolute;top:7px;right:calc(50% - 29px)}.runtime .tool-cost .ui-icon{width:9px;height:9px}.reduce-motion.runtime .game-shell:after{will-change:auto;animation:none}.runtime .game-shell[data-paused=true]:after{animation-play-state:paused}@media (prefers-reduced-motion:reduce){.runtime .game-shell:after{will-change:auto;animation:none}}@media (height<=520px) and (width>=480px){.runtime .mode-card{height:86px}.runtime .mode-art{--cw:22px;--ch:32px;height:38px}.runtime .tool-cost{top:0;right:4px}}.runtime .game-primary{color:#244b3a;background:#e4eee8;border-radius:10px;min-height:52px;margin-top:0;font-size:15px;box-shadow:0 2px 4px #051a2120}.runtime .game-primary:hover{background:#fff}.runtime .home-bottom{border-top:1px solid #ffffff1a;grid-template-columns:repeat(4,1fr);gap:0;margin-top:18px;padding-top:14px}.runtime .home-bottom .text-button{border-radius:8px;padding:10px 3px;font-size:12px}.runtime .game-stats small{letter-spacing:0;color:#bdd0c7;margin-bottom:6px;font-size:11px}.runtime .game-stats strong{font-size:23px;font-weight:500}.runtime .top-piles{background:0 0;border-radius:0;margin-bottom:18px;padding-bottom:12px;position:relative}.runtime .foundation:empty{box-shadow:none;background:#0c28221c;border:1px solid #ebfff325}.runtime .foundation:empty:before{font:400 calc(var(--cw)*.4)/1 Georgia,serif;color:#e2f0e529}.runtime .large-symbols [data-card-theme=simple] .corner{font-size:calc(var(--cw)*.4)}.runtime .high-contrast [data-card-theme=simple] .corner,.runtime .high-contrast [data-card-theme=simple] .simple-emblem{color:#102331}.runtime .high-contrast [data-card-theme=simple].red .corner,.runtime .high-contrast [data-card-theme=simple].red .simple-emblem{color:#a6112c}.runtime .game-tools{border-top:1px solid #ffffff16;width:min(560px,100%);margin-top:8px;padding:12px 8px 0}.runtime .tool-button span{color:#c9dad0;font-size:12px}.runtime .tool-button .ui-icon{width:24px;height:24px}.runtime .tool-button:disabled{opacity:.35;cursor:default}.runtime .game-footnote{min-height:42px}.runtime .game-footnote .text-button{font-size:12px}.runtime .settings-screen{width:min(640px,100% - 32px);padding:12px 4px 32px}.runtime .settings-screen h2{letter-spacing:-.5px;margin-bottom:24px;font:400 34px/1.2 Georgia,serif}.runtime .settings-screen h3{text-transform:none;letter-spacing:0;color:#d1ded6;margin:24px 0 12px;font-size:13px;font-weight:500}.runtime .settings-group{background:#f5f8f9;border-radius:12px;margin-bottom:16px;padding:0 18px}.runtime .settings-group label{min-height:62px;font-size:14px}.runtime .settings-group select{background:#fff;border:1px solid #d7e0e3;border-radius:8px;min-height:42px;font-size:13px}.runtime .settings-group small{color:#69777e;font-size:11px}.runtime .theme-section{border:0;min-width:0;margin:20px 0;padding:0}.runtime .theme-section legend{color:#d1ded6;margin-bottom:12px;padding:0;font-size:13px}.runtime .card-theme-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.runtime .card-theme-choice{color:#d1dfd7;background:#0b27242e;border:1px solid #ffffff20;border-radius:10px;flex-direction:column;align-items:center;gap:10px;padding:14px 4px 12px;font-size:11px;line-height:1.3;display:flex;position:relative}.runtime .card-theme-choice[aria-pressed=true],.runtime .table-theme-choice[aria-pressed=true]{color:#fff;background:#ffffff0e;border-color:#c7e1d5}.runtime .card-theme-choice>span:last-of-type{overflow-wrap:anywhere;place-items:center;max-width:100%;min-height:29px;display:grid}.runtime .card-theme-choice i{color:#fff;background:#32634f;border-radius:50%;position:absolute;top:6px;right:6px}.runtime .card-theme-choice i .ui-icon{width:17px;height:17px;padding:2px}.runtime .table-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.runtime .table-theme-choice{color:#d1dfd7;background:#0b27242e;border:1px solid #ffffff20;border-radius:10px;padding:6px 6px 10px;font-size:12px;line-height:1.3}.runtime .table-swatch{background-position:50%;background-size:cover;border-radius:6px;justify-content:center;align-items:center;height:58px;margin-bottom:9px;display:flex}.runtime .table-swatch .ui-icon{color:#275242;background:#f5fff0e0;border-radius:50%;width:23px;height:23px;padding:4px}.runtime input[type=checkbox]{cursor:pointer}.runtime #game-dialog{background:#f7f9fa;border-radius:16px;box-shadow:0 24px 90px #001b294d}.runtime #game-dialog h2{color:#24383e;font:400 30px/1.2 Georgia,serif}.runtime #game-dialog .game-button{color:#30434a;background:#e8eff0;border-radius:8px}.runtime #game-dialog .game-button:hover{background:#dfe8e9}.runtime .statistics-grid>div{background:#edf2f3;border-radius:8px}.runtime .statistics-modes{background:#e8eff0;border-radius:8px}.runtime .statistics-modes [aria-pressed=true]{border-radius:5px}.runtime .loading-mark{color:#cbded5}[dir=rtl] .runtime .icon-button.pause-button{transform:none}@media (width<=600px){.runtime .game-topline{height:calc(56px + env(safe-area-inset-top));padding-inline:16px}.runtime .game-stats{height:56px}.runtime .game-stats strong{font-size:20px}.runtime .game-stats small{font-size:10px}.runtime .top-piles{margin-bottom:12px}.runtime .home-screen{width:min(390px,100% - 32px);padding:8px 4px 20px}.runtime .home-brand h1{font-size:48px}.runtime .home-bottom{margin-top:12px;padding-top:8px}.runtime .settings-screen h2{font-size:30px}.runtime .settings-group{padding-inline:14px}.runtime .settings-group label{font-size:13px}.runtime .card-theme-grid{gap:5px}.runtime .card-theme-choice{padding:12px 2px 8px;font-size:10px}.runtime .table-theme-grid{gap:6px}.runtime .table-theme-choice{font-size:11px}.runtime .tool-button span{font-size:10px}.runtime .game-tools{padding-top:10px}.runtime .tool-button{min-height:58px}}@media (width<=360px){.runtime .home-brand h1{font-size:42px}.runtime .mode-card{height:74px}.runtime .home-bottom .text-button{font-size:10px}.runtime .settings-group label{gap:10px}.runtime .balance{padding:6px;font-size:11px}.runtime .game-topline>span:nth-child(2){font-size:10px}}@media (height<=520px) and (width>=480px){.runtime .home-screen{grid-template-columns:1fr 1fr;gap:8px 36px;width:min(720px,100% - 60px);max-width:720px;padding:8px;display:grid}.runtime .home-brand{grid-area:1/1}.runtime .home-brand h1{font-size:40px}.runtime .home-brand h1 span{margin-top:6px;font-size:10px}.runtime .mode-options{grid-area:1/2;margin:0}.runtime .mode-card{height:74px}.runtime .home-screen>.game-primary{grid-area:2/2}.runtime .home-screen>[data-action=continue]{grid-area:4/2}.runtime .home-links{grid-area:5/1;gap:8px;margin:0}.runtime .home-bottom{border:0;grid-area:5/2;margin:0;padding:0}.runtime .home-bottom .text-button{font-size:10px}.runtime .game-stats{height:38px;padding-bottom:5px}.runtime .game-stats strong{font-size:16px}.runtime .game-stats small{margin-inline-end:6px;font-size:9px;display:inline}.runtime .top-piles{margin-bottom:4px;padding-bottom:4px}.runtime .game-tools{margin-top:4px;padding:4px 0 0}.runtime .tool-button{flex-direction:row;gap:6px;min-height:42px}.runtime .tool-button .ui-icon{width:20px;height:20px}.runtime .game-footnote{display:none}.runtime .settings-screen{width:min(640px,100% - 40px)}.runtime .game-topline{height:36px}.runtime .game-stats{height:32px;padding:0 0 4px}.runtime .game-tools{padding-top:2px}.runtime .tool-button{min-height:38px}.runtime .tableau{padding-top:10px}}.runtime .home-links{gap:24px;display:flex}.runtime .home-screen .playing-card{cursor:default}.runtime .mode-card{flex-shrink:0;height:114px;padding:8px 4px}.runtime .mode-art{flex-shrink:0}.runtime .game-tools .tool-cost{font-size:9px;top:5px;right:calc(50% - 32px)}@media (width<=360px){.runtime .mode-card{height:110px}.runtime .home-brand h1{font-size:38px}.runtime .home-screen{padding-top:4px}}@media (height<=520px) and (width>=480px){.runtime .mode-card{height:96px;padding:5px 3px}.runtime .mode-art{--cw:22px;--ch:32px;height:38px}.runtime .game-tools .tool-cost{top:0;right:4px}.runtime .home-bottom .text-button{line-height:1.2}.runtime .home-screen{gap:4px 28px;padding:2px 8px}.runtime .mode-card{height:84px}.runtime .mode-card small{display:none}.runtime .home-screen>[data-action=continue]{grid-row:3}.runtime .home-links,.runtime .home-bottom{grid-row:4}}.runtime{--club-gold:#e8c887;--club-dim:#b8c9c6;--club-night:#102e30;--ui-paper:#f7f2e6;--ui-ink:#203b3b;--ui-green:#236459}.runtime .game-shell{background-image:radial-gradient(ellipse at 50% 28%,#7fc2b018,transparent 68%),linear-gradient(#051b1e18,#03161960),var(--table-image)}.runtime .game-shell:after{z-index:0;will-change:auto;background:0 0;border:1px solid #e8c88720;border-radius:24px;animation:none;inset:16px}.runtime #game-screen{z-index:1}.runtime .game-topline{color:#d5e0db}.runtime .balance{color:var(--club-gold);background:#071d242b;border:1px solid #e8c88726;padding:8px 12px}.runtime .home-screen{width:min(440px,100% - 40px);max-width:440px;padding:0 18px 20px}.runtime .home-brand{justify-content:center;align-items:center;gap:17px;display:flex}.runtime .home-brand h1{letter-spacing:-2px;text-align:start;color:#fff6e3;font-family:Noto Serif,Georgia,serif;font-size:50px}.runtime .home-brand h1 span{letter-spacing:7px;text-indent:2px;color:var(--club-gold);margin-top:8px;font-size:11px}.runtime .mode-options{background:#071e242e;border:1px solid #dec68c40;border-radius:15px;gap:6px;width:100%;padding:5px}.runtime .mode-card{color:#cbdad4;border-radius:10px;height:100px;transition:background .18s,color .18s}.runtime .mode-card.active,.runtime .mode-card.active:hover{color:#233e3b;background:linear-gradient(135deg,#fbf1d8,#e2cca0);box-shadow:0 3px 10px #00171e30}.runtime .mode-card strong{font-weight:650}.runtime .mode-card small{opacity:.8}.runtime .game-primary{color:#233b34;background:linear-gradient(110deg,#e6c27f,#f4dfa8 50%,#dfbb78);border:1px solid #f6dc9e90;border-radius:12px;min-height:52px;font-weight:700;transition:filter .2s,translate .2s;box-shadow:0 7px 20px #00141b38,inset 0 1px #fff7}.runtime .game-primary:hover:not(:disabled){filter:brightness(1.03);background:linear-gradient(110deg,#efd39a,#fff0c9,#e7c78e)}.runtime .game-primary:active{translate:0 1px}.runtime .home-screen>.game-primary{justify-content:center;align-items:center;gap:14px;width:100%;font-size:16px;display:flex}.runtime .home-screen>.game-primary .ui-icon{fill:currentColor;stroke-width:1px;width:19px;height:19px}.runtime .continue-button{color:#f1d99d;min-height:40px;font-size:13px}.runtime .daily-invitation{text-align:start;color:#f6eed9;background:linear-gradient(110deg,#e8c8870b,#e8c88703);border:1px solid #e8c88738;border-radius:13px;flex-shrink:0;align-items:center;gap:12px;width:100%;margin-top:14px;padding:13px 14px;display:flex}.runtime .daily-invitation:hover{background-color:#e8c88710}.runtime .daily-medal{color:var(--club-gold);background:#e8c88710;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.runtime .daily-invitation strong{font-size:14px;font-weight:600;display:block}.runtime .daily-invitation small{color:#b8cdc4;margin-top:4px;font-size:10px;line-height:1.35;display:block}.runtime .daily-streak{color:var(--club-gold);text-align:center;min-width:48px;margin-inline-start:auto;font:25px/1 Georgia,serif}.runtime .daily-streak small{max-width:64px;font:9px/1.4 Noto Sans,sans-serif}.runtime .home-links{gap:22px;margin-top:9px}.runtime .home-links .text-button{color:#d9dfcf;align-items:center;gap:7px;min-height:44px;font-size:12px;display:flex}.runtime .home-links .ui-icon{color:#e8c887b3;width:17px;height:17px}.runtime .home-bottom{border-top:1px solid #e8c88720;gap:4px 17px;margin-top:0;padding-top:6px}.runtime .home-bottom .text-button{color:#adc6bd;min-height:40px;font-size:11px}.runtime .game-stats{width:min(430px,75%);height:65px;padding:4px 0 13px}.runtime .game-stats strong{color:#fff3d8;font-variant-numeric:tabular-nums;font:500 24px/1.3 Noto Serif,Georgia,serif}.runtime .game-stats small{letter-spacing:.1em;color:#b6cfc3;font-size:9px}.runtime .board{scroll-padding-top:12px}.runtime .top-piles{background:var(--table);border-bottom:1px solid #e8c88718;margin-bottom:16px;padding-bottom:17px}.runtime .foundation:empty{background:#061e2920;border:1px solid #e8c88740;border-radius:8px;box-shadow:inset 0 2px 12px #001d2720}.runtime .foundation:empty:before{color:#e8c88744}.runtime .playing-card{box-shadow:0 3px 5px #00151d50}.runtime .game-tools{background:#061b242e;border:1px solid #e8c88720;border-radius:18px;width:min(580px,94%);margin-top:12px;padding:4px 4px 2px;box-shadow:0 8px 20px #00171f15}.runtime .tool-button{color:#e3d3ac;border-radius:12px;gap:5px;min-height:62px}.runtime .tool-button:hover:not(:disabled){background-color:#e8c88712}.runtime .tool-button span{color:#c9dbd0}.runtime .tool-cost{color:#d1ba84}.runtime .game-footnote .text-button{color:#b7cfc0}.runtime .foundation-spark{pointer-events:none;background:#fbe4a8;border-radius:1px;width:5px;height:5px;position:absolute;box-shadow:0 0 7px #f4d697}.runtime #game-dialog{color:#f5ecd9;box-sizing:border-box;background:linear-gradient(145deg,#183a3d,#0f292f);border:1px solid #e8c88755;border-radius:22px;width:min(440px,100vw - 28px);padding:25px;box-shadow:0 30px 100px #001015aa}.runtime #game-dialog h2{color:#f3d99f;text-align:center;margin:0 0 20px;font:400 27px/1.25 Noto Serif,Georgia,serif}.runtime #game-dialog p{color:#c7d7ce}.runtime #game-dialog .game-primary{color:#233b34;background:linear-gradient(110deg,#e6c27f,#f4dfa8,#dfbb78)}.runtime #game-dialog .game-button{color:#e8d9b9;background:#ffffff08;border:1px solid #e8c88730;border-radius:10px;min-height:44px}.runtime #game-dialog input:not([type=range]){background:#071f28;border-color:#e8c88755}.runtime #game-dialog .statistics-grid>div{color:#f0dbac;background:#ffffff06;border:1px solid #ffffff08;border-radius:12px}.runtime #game-dialog .statistics-grid small{color:#bcd0c6}.runtime .statistics-modes button{color:#bcd0c6;min-height:40px}.runtime .statistics-modes [aria-pressed=true]{color:#203b38;background:#e8d2a0;border-radius:7px}.runtime .calendar-navigation{text-transform:capitalize;justify-content:space-between;align-items:center;gap:4px;margin-bottom:13px;display:flex}.runtime .calendar-navigation .icon-button{color:#e8c887;flex-shrink:0;width:40px;height:40px}.runtime .calendar-next{rotate:180deg}.runtime .daily-calendar{direction:ltr;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:18px;display:grid}.runtime .weekday{color:#9ebbb3;text-align:center;padding-bottom:8px;font-size:11px}.runtime .calendar-day{color:#e7ede4;background:#ffffff04;border:1px solid #e8c88712;border-radius:9px;place-items:center;height:44px;font-size:13px;display:grid;position:relative}.runtime .calendar-day.today{color:#f5d89a;background:#e8c88714;border-color:#e8c887}.runtime .calendar-day.crowned{color:#173637;background:#e8c887;border-color:#e8c887}.runtime .calendar-day .ui-icon{width:11px;height:11px;position:absolute;bottom:2px;right:3px}.runtime .calendar-note{text-align:center;font-size:12px!important}.runtime .badge-collection{gap:9px;display:grid}.runtime .achievement{background:#ffffff04;border:1px solid #ffffff0c;border-radius:13px;align-items:center;gap:12px;padding:13px 10px;display:flex}.runtime .achievement.unlocked{background:#e8c88709;border-color:#e8c88748}.runtime .achievement>div{flex:1;min-width:0}.runtime .achievement strong{font-size:13px;font-weight:600;display:block}.runtime .achievement small{color:#aac1b7;margin:4px 0 7px;font-size:10px;line-height:1.4;display:block}.runtime .achievement progress{appearance:none;background:#ffffff12;border:0;border-radius:3px;width:100%;height:3px;display:block;overflow:hidden}.runtime .achievement progress::-webkit-progress-bar{background:#ffffff12}.runtime .badge-count{color:#cbb98e;flex-shrink:0;font-size:10px}.runtime button:focus-visible,.runtime input:focus-visible,.runtime select:focus-visible{outline-offset:4px;outline:2px solid #f4dba3}@media (width>=1000px) and (height>=760px){.runtime .home-screen{padding-top:10px}.runtime .home-brand h1{font-size:60px}}@media (width<=600px){.runtime .game-shell:after{border-radius:18px;inset:7px}.runtime .game-topline{height:calc(56px + env(safe-area-inset-top))}.runtime .home-screen{width:calc(100% - 42px);max-width:410px;padding-inline:6px}.runtime .home-brand h1{font-size:44px}.runtime .mode-card{height:96px}.runtime .game-stats{height:58px}.runtime .game-stats strong{font-size:22px}.runtime .top-piles{margin-bottom:12px;padding-bottom:12px}.runtime .game-tools{margin-top:9px}.runtime .tool-button{min-height:57px}.runtime #game-dialog{padding:22px 18px}.runtime .daily-calendar{gap:4px}.runtime .calendar-day{height:40px}}@media (width<=360px){.runtime .home-brand h1{font-size:38px}.runtime .mode-card{height:88px}.runtime .home-links{gap:13px}.runtime .daily-invitation{gap:8px;margin-top:12px;padding:10px}.runtime .daily-invitation strong{font-size:12px}.runtime .daily-invitation small{font-size:9px}.runtime .home-screen>.game-primary{min-height:46px}.runtime .home-bottom{gap:2px 11px}.runtime .home-bottom .text-button{font-size:10px}}@media (height<=520px) and (width>=480px){.runtime .game-shell:after{border-radius:14px;inset:5px}.runtime .game-topline{height:38px}.runtime .home-screen{grid-template-columns:1fr 1fr;gap:5px 30px;width:min(800px,100% - 60px);max-width:800px;padding:3px 10px 10px}.runtime .home-brand h1{font-size:37px}.runtime .mode-options{grid-area:1/2}.runtime .mode-card{height:74px}.runtime .mode-card strong{font-size:12px}.runtime .home-screen>.game-primary{grid-area:2/2;min-height:42px}.runtime .continue-button{grid-area:3/2;min-height:32px}.runtime .daily-invitation{grid-area:4/1/auto/3;margin-top:0;padding:7px 12px}.runtime .daily-medal{width:30px;height:30px}.runtime .daily-streak{align-items:center;gap:8px;display:flex}.runtime .home-links{grid-area:5/1;gap:10px;margin:0}.runtime .home-links .text-button{min-height:32px;font-size:10px}.runtime .home-bottom{border:0;grid-area:5/2;gap:4px 10px;padding:0}.runtime .home-bottom .text-button{min-height:32px;font-size:10px}.runtime .game-stats{height:34px;padding:0}.runtime .game-stats strong{font-size:17px}.runtime .game-stats small{font-size:8px}.runtime .top-piles{margin-bottom:5px;padding-bottom:5px}.runtime .game-tools{margin-top:5px;padding:2px}.runtime .tool-button{min-height:37px}.runtime .game-footnote{display:none}}@media (prefers-reduced-motion:reduce){.runtime .mode-card,.runtime .game-primary{transition:none}}.runtime.platform-paused #game-dialog,.runtime.platform-paused #game-dialog:before{animation-play-state:paused}@media (height<=700px) and (orientation:portrait){.runtime .game-shell[data-screen=home] .game-topline{height:44px}.runtime .home-brand h1{font-size:34px}.runtime .mode-card{height:78px}.runtime .mode-art{--cw:24px;--ch:34px;height:37px}.runtime .mode-card strong{font-size:12px}.runtime .mode-card small{font-size:10px}.runtime .mode-options{margin-bottom:10px}.runtime .home-screen>.game-primary{min-height:46px}.runtime .continue-button{min-height:36px}.runtime .daily-invitation{margin-top:8px;padding:8px 10px}.runtime .daily-medal{width:32px;height:32px}.runtime .home-links{margin-top:3px}.runtime .home-links .text-button{min-height:38px;font-size:11px}.runtime .home-bottom{padding-top:2px}.runtime .home-bottom .text-button{min-height:36px;padding:4px 2px;font-size:10px}.runtime .home-screen{padding-bottom:12px}}.runtime .game-shell[data-screen=home]:after{display:none}.runtime .game-shell:not([data-screen=home]){background-size:cover;background-image:linear-gradient(#06151d18,#06151d24),var(--table-image)}.runtime .game-shell:after{z-index:0}.runtime .game-shell[data-screen=home] .game-topline{z-index:3;pointer-events:none;max-width:none;height:48px;padding-inline:24px;position:absolute;inset:0 0 auto}.runtime .game-shell[data-screen=home] .balance{pointer-events:auto;background:#091d26a6}.runtime .game-shell[data-screen=home] .home-screen{text-align:center;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);justify-content:center;align-items:center;gap:clamp(30px,5vw,100px);width:min(1120px,100% - 96px);max-width:1120px;max-height:calc(100% - 70px);margin:auto;padding:20px 0;display:grid;overflow:visible}.runtime .home-presentation{filter:drop-shadow(0 6px 15px #0005);flex-direction:column;justify-content:center;align-items:center;min-width:0;display:flex}.runtime .home-brand{width:min(470px,100%);display:block}.runtime .home-actions{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);scrollbar-width:thin;background:linear-gradient(140deg,#112f36e8,#0a222bec);border:1px solid #e9d1a33d;border-radius:22px;flex-direction:column;gap:10px;width:100%;min-width:0;max-height:calc(100dvh - 90px);padding:24px;display:flex;overflow:auto;box-shadow:0 24px 65px #0007,inset 0 1px #ffffff0c}.runtime .mode-options{flex-shrink:0;min-width:0;margin:0}.runtime .mode-card{gap:2px;min-width:0;height:114px;padding:5px;overflow:hidden}.runtime .mode-art{perspective:none;width:116px;max-width:100%;height:67px;display:block;position:static}.runtime .mode-card strong{font-size:14px;line-height:1.4}.runtime .mode-card small{font-size:10px;line-height:1.3}.runtime .home-actions>.game-primary{flex-shrink:0;justify-content:center;align-items:center;gap:13px;width:100%;min-height:50px;margin:0;font-size:15px;display:flex}.runtime .home-actions>.game-primary .ui-icon{fill:currentColor;width:17px;height:17px}.runtime .continue-button{color:#efd29b;flex-shrink:0;min-height:32px;padding:4px;font-size:12px}.runtime .daily-invitation{min-height:65px;margin:0;padding:11px 12px}.runtime .home-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0;display:grid}.runtime .home-links .text-button{white-space:normal;flex-direction:column;justify-content:center;gap:5px;min-height:52px;padding:5px 2px;font-size:10px;line-height:1.35;display:flex}.runtime .home-links .ui-icon{width:18px;height:18px}.runtime .home-bottom{flex-wrap:wrap;grid-template-columns:none;justify-content:center;gap:0 14px;margin:0;padding-top:5px;display:flex}.runtime .home-bottom .text-button{min-height:36px;padding:5px 0;font-size:10px;line-height:1.3}.runtime .top-piles{z-index:1;box-shadow:none;background:0 0;border:0;margin-bottom:10px;padding:0 0 16px;position:relative;top:auto;overflow:visible}.runtime .board{padding-top:14px;scroll-padding-top:14px}.runtime .tableau{z-index:auto;padding-top:14px;position:relative}.runtime .stock>small{color:#ffebba;z-index:3;background:#112d33;border:1px solid #ddc79770;border-radius:14px;place-items:center;min-width:24px;min-height:24px;padding:4px 6px;font:600 10px/1.2 Noto Sans,sans-serif;display:grid;position:absolute;bottom:-9px;right:-5px;box-shadow:0 2px 6px #0004}.runtime .foundation:empty{background:#061c2314;box-shadow:inset 0 1px 5px #0001}.runtime .stock-flight{z-index:1200}.runtime .red{color:#a73545}.runtime .practice-session .game-tools,.runtime .practice-session .game-footnote{display:none}.runtime .practice-session .board{pointer-events:none}.runtime .practice-controls{background:#0c2732c4;border:1px solid #d8ba7940;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;gap:10px;width:min(700px,95%);margin:10px auto 4px;padding:9px;display:flex}.runtime .practice-controls>span{color:#cfdbc9;font-size:10px}.runtime .practice-controls b{color:#e9cd8d;display:block}.runtime .practice-controls .game-primary{min-height:44px;padding:8px 14px;font-size:12px}.runtime .practice-controls .icon-button{width:40px;height:40px}@media (width<=760px) and (height>=521px){.runtime .game-shell[data-screen=home] .home-screen{scrollbar-width:thin;flex-direction:column;gap:10px;width:min(420px,100% - 34px);max-height:calc(100% - 48px);padding:0;display:flex;overflow:auto}.runtime .home-presentation{flex-shrink:0;width:100%}.runtime .home-brand{width:min(310px,90%)}.runtime .home-actions{flex-shrink:0;gap:8px;width:100%;max-height:none;padding:15px;overflow:visible}.runtime .mode-card{height:94px}.runtime .mode-art{height:51px}.runtime .home-links .text-button{min-height:44px}.runtime .home-bottom{gap:0 14px}.runtime .home-bottom .text-button{min-height:32px}.runtime .daily-invitation{min-height:58px;padding:8px 10px}.runtime .daily-invitation strong{font-size:12px}.runtime .daily-invitation small{font-size:9px}}@media (height<=700px) and (width<=760px) and (orientation:portrait){.runtime .game-shell[data-screen=home] .home-screen{gap:6px;max-height:calc(100% - 38px)}.runtime .home-presentation{grid-template-columns:minmax(0,1fr) 100px;align-items:center;gap:5px;min-height:72px;display:grid}.runtime .home-brand{width:100%;max-width:245px}.runtime .home-actions{gap:6px;padding:11px}.runtime .mode-card{height:82px}.runtime .mode-art{height:43px}.runtime .mode-card strong{font-size:12px}.runtime .mode-card small{font-size:9px}.runtime .home-actions>.game-primary{min-height:45px;font-size:14px}.runtime .continue-button{min-height:29px;font-size:11px}.runtime .daily-invitation{min-height:54px;padding:7px 9px}.runtime .home-links .text-button{min-height:42px;font-size:9px}.runtime .home-bottom .text-button{min-height:32px;font-size:9px}.runtime .home-bottom{gap:0 12px;padding-top:2px}.runtime .game-shell[data-screen=home] .game-topline{height:36px;padding-inline:15px}.runtime .game-shell[data-screen=home] .balance{padding:5px 8px;font-size:10px}}@media (height<=520px) and (width>=480px){.runtime .game-shell[data-screen=home] .home-screen{grid-template-columns:minmax(0,1fr) minmax(250px,1fr);gap:20px;width:calc(100% - 65px);max-height:calc(100% - 45px);padding:0;display:grid}.runtime .home-brand{width:min(340px,100%)}.runtime .home-actions{border-radius:15px;gap:5px;max-height:calc(100dvh - 55px);padding:10px}.runtime .mode-options{grid-area:auto}.runtime .mode-card{height:66px}.runtime .mode-card small{display:none}.runtime .mode-art{height:39px}.runtime .mode-card strong{font-size:10px}.runtime .home-actions>.game-primary{min-height:37px;font-size:12px}.runtime .continue-button{min-height:25px;font-size:10px}.runtime .daily-invitation{grid-area:auto;min-height:46px;padding:5px 8px}.runtime .daily-medal{width:25px;height:25px}.runtime .daily-invitation strong{font-size:10px}.runtime .daily-invitation small{font-size:8px}.runtime .daily-streak{font-size:18px}.runtime .daily-streak small{font-size:7px}.runtime .home-links{grid-area:auto;gap:3px}.runtime .home-links .text-button{gap:2px;min-height:35px;padding:2px;font-size:8px}.runtime .home-links .ui-icon{width:14px;height:14px}.runtime .home-bottom{grid-area:auto;gap:0 10px;padding-top:0}.runtime .home-bottom .text-button{min-height:26px;font-size:8px}.runtime .game-shell[data-screen=home] .game-topline{height:32px;padding-inline:15px}.runtime .practice-controls{margin-top:4px;padding:3px}.runtime .practice-controls .game-primary{min-height:34px}.runtime .practice-controls .icon-button{height:34px}.runtime .board{padding-top:9px}.runtime .top-piles{margin-bottom:5px;padding-bottom:8px}}@media (height<=360px) and (width>=480px){.runtime .home-actions{gap:4px;max-height:calc(100dvh - 46px);padding:8px 10px}.runtime .mode-options{gap:4px;padding:3px}.runtime .mode-card{gap:1px;height:55px;padding:3px}.runtime .mode-art{height:30px}.runtime .mode-card strong{font-size:9px;line-height:1.2}.runtime .home-actions>.game-primary{min-height:32px;padding:6px 10px;font-size:11px;line-height:1.2}.runtime .continue-button{min-height:21px;padding:2px;font-size:9px}.runtime .daily-invitation{gap:7px;min-height:39px;padding:4px 7px}.runtime .daily-invitation small{margin-top:2px}.runtime .home-links .text-button{gap:1px;min-height:28px;padding:2px;font-size:8px}.runtime .home-links .ui-icon{width:12px;height:12px}.runtime .home-bottom{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:2px 0 0;display:grid}.runtime .home-bottom .text-button{white-space:normal;overflow-wrap:anywhere;min-height:30px;padding:2px 0;font-size:8px;line-height:1.25}}.runtime .game-shell:not([data-screen=home]) .game-topline{min-height:calc(56px + env(safe-area-inset-top));padding-inline:clamp(10px,3vw,24px);grid-template-columns:40px minmax(0,1fr) auto;gap:6px;height:auto;padding-bottom:5px;display:grid}.runtime .game-shell .game-topline>.header-title{white-space:normal;overflow-wrap:anywhere;text-align:center;min-width:0;font-size:clamp(10px,2.6vw,13px);line-height:1.35}.runtime .header-end{gap:4px;min-width:0}.runtime .game-shell:not([data-screen=home]) .header-end .icon-button{width:34px;height:38px}.runtime .game-shell:not([data-screen=home]) .balance{max-width:100%;padding:6px 8px;font-size:11px}.runtime .practice-session .header-end>.balance{display:none}.runtime .stock>small{box-sizing:border-box;border-radius:12px;min-width:20px;max-width:calc(100% - 8px);min-height:20px;padding:3px;font-size:9px;line-height:1.2;bottom:4px;right:4px}.runtime .game-shell .practice-controls{box-sizing:border-box;width:calc(100% - 24px);min-width:0;max-width:700px;margin:8px auto max(6px,env(safe-area-inset-bottom));grid-template-columns:40px minmax(0,1fr) 40px;gap:6px;padding:8px;display:grid}.runtime .practice-controls>.practice-step{text-align:center;grid-column:1/-1;min-width:0;line-height:1.35}.runtime .practice-controls>.practice-step b{margin-inline-start:5px;display:inline}.runtime .game-shell .practice-controls>.game-primary{white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;padding:8px 6px;font-size:clamp(11px,3vw,13px);line-height:1.3}.runtime .game-shell .practice-controls>.icon-button{width:40px;min-width:0;height:44px;margin:0;padding:6px}.runtime .game-shell .practice-controls>.icon-button .ui-icon{margin:auto}@media (height<=450px) and (width>=480px){.runtime .game-shell:not([data-screen=home]) .game-topline{grid-template-columns:34px minmax(0,1fr) auto;min-height:38px;padding-bottom:0}.runtime .game-shell:not([data-screen=home]) .game-topline>.icon-button{width:34px;height:34px}.runtime .game-shell .practice-controls{grid-template-columns:65px 36px minmax(0,1fr) 36px;gap:6px;margin-block:4px;padding:4px 6px}.runtime .practice-controls>.practice-step{grid-column:auto;font-size:9px}.runtime .game-shell .practice-controls>.game-primary,.runtime .game-shell .practice-controls>.icon-button{height:36px;min-height:36px}.runtime .game-shell .practice-controls>.icon-button{width:36px}}.runtime{--ui-paper:#edf2ee;--ui-ink:#17362e;--ui-line:#ffffff20}.runtime button,.runtime input,.runtime select{font-family:var(--font-ui)}.runtime .game-shell:after{display:none!important}.runtime .game-shell,.runtime .game-shell:not([data-screen=home]){background-image:var(--table-image);background-position:50%;background-repeat:no-repeat;background-size:cover}.runtime .game-topline{box-shadow:none;background:0 0;border:0}.runtime .game-stats{width:min(440px,100% - 32px);height:auto;min-height:62px;box-shadow:none;background:0 0;border:0;flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 auto;padding:6px 0 12px;display:grid}.runtime .game-stats>span{text-align:center;background:#061e1b36;border:1px solid #ffffff0d;border-radius:14px;min-width:0;padding:6px 12px}.runtime .game-stats small{letter-spacing:.02em;color:#c1d0c9;font-size:10px;display:block}.runtime .game-stats strong{font:550 20px/1.4 var(--font-ui);font-variant-numeric:tabular-nums;color:#f4f3e9}.runtime .board{box-shadow:none;touch-action:pan-y;border:0}.runtime .top-piles,.runtime .tableau{box-shadow:none;background:0 0;border:0}.runtime .column:before{box-shadow:none;background:#031b170c;border:1px solid #ffffff10}.runtime .foundation:empty{background:#001b171a;border:1px solid #ffffff23;box-shadow:inset 0 1px 6px #0001}.runtime .game-tools{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#102e29d9;border:1px solid #ffffff18;border-radius:22px;gap:2px;width:min(600px,100% - 24px);margin:8px auto 0;padding:5px;box-shadow:0 6px 25px #00181326,inset 0 1px #ffffff08}.runtime .tool-button{color:#e3eae4;max-width:none;min-height:57px;font-family:var(--font-ui);border-radius:16px;flex:1;font-size:10px}.runtime .tool-button .ui-icon{color:#d5d7bc;width:21px;height:21px}.runtime .tool-cost{opacity:.65;font-size:8px}.runtime .game-footnote:empty{display:none}.runtime .balance{color:#dbd8ba;background:#071d192c;border:1px solid #ffffff12;border-radius:20px}.runtime .home-actions{background:#102e29cf;border:1px solid #ffffff24;border-radius:26px;box-shadow:0 18px 60px #00100c40,inset 0 1px #ffffff12}.runtime .game-primary{color:#183c31;text-shadow:none;font-family:var(--font-ui);background:#e4dfc8;border:1px solid #eee7cc;border-radius:14px;box-shadow:0 3px 9px #00140f24}.runtime .settings-screen{width:calc(100% - 32px);max-width:760px;padding-inline:0}.runtime .settings-screen h2{letter-spacing:-.03em;font-weight:500}.runtime .settings-group{background:#0a252343;border:1px solid #ffffff16;border-radius:18px;overflow:hidden}.runtime .settings-group label{border-color:#ffffff0d;min-height:56px;padding:12px 16px;font-size:13px}.runtime .settings-group input[role=switch]{appearance:none;cursor:pointer;background:#ffffff16;border:1px solid #ffffff25;border-radius:20px;flex-shrink:0;width:44px;height:26px;margin:0;transition:background .2s;position:relative}.runtime .settings-group input[role=switch]:before{content:"";background:#edf1e8;border-radius:50%;width:18px;height:18px;transition:transform .2s cubic-bezier(.4,0,.2,1);position:absolute;inset:3px auto auto 3px;box-shadow:0 1px 3px #0003}.runtime .settings-group input[role=switch]:checked{background:#6b9983}.runtime .settings-group input[role=switch]:checked:before{transform:translate(18px)}.runtime .settings-group input[role=switch]:focus-visible{outline-offset:3px;outline:2px solid #e9d7a7}.runtime .card-theme-choice,.runtime .table-theme-choice{border-radius:15px}.runtime #game-dialog{box-sizing:border-box;color:#e9eee5;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#102d29f5;border:1px solid #c6d0b72d;border-radius:26px;width:min(460px,100vw - 28px);max-height:calc(100dvh - 32px);padding:26px;box-shadow:0 26px 100px #0006}.runtime #game-dialog::backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#02110f99}.runtime #game-dialog h2{font:550 22px/1.35 var(--font-ui);letter-spacing:-.025em;padding-inline-end:22px}.runtime #game-dialog .game-button{color:#dce6dc;font-family:var(--font-ui);background:#ffffff08;border:1px solid #ffffff1c;border-radius:12px}.runtime .statistics-modes{background:#0002;border:1px solid #ffffff10;border-radius:14px;padding:4px}.runtime .statistics-modes button{font-family:var(--font-ui);border:0;border-radius:10px}.runtime .statistics-modes button[aria-pressed=true]{color:#16372e;background:#dddcc5}.runtime .statistics-hero{justify-content:center;align-items:center;gap:28px;padding:25px 0;display:flex}.runtime .win-ring{box-sizing:border-box;background:conic-gradient(#b9cdb1 var(--rate),#ffffff0d 0);border-radius:50%;flex-shrink:0;width:138px;height:138px;padding:8px;transform:rotate(-90deg)}.runtime .win-ring>span{background:#102d29;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;transform:rotate(90deg)}.runtime .win-ring strong{font:500 32px/1.4 var(--font-ui);font-variant-numeric:tabular-nums}.runtime .win-ring small{color:#b6c8b8;font-size:10px}.runtime .statistics-summary{color:#aec3b5;gap:14px;font-size:11px;display:grid}.runtime .statistics-summary strong{color:#ebeddf;font-size:24px;font-weight:500;display:block}.runtime .statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.runtime .statistics-grid>div{text-align:start;background:#ffffff04;border:1px solid #ffffff0c;border-radius:14px;padding:13px 10px}.runtime .statistics-grid>div:nth-child(-n+4){display:none}.runtime .statistics-grid strong{font:500 23px/1.4 var(--font-ui);color:#e7e8d7;font-variant-numeric:tabular-nums;display:block}.runtime .statistics-grid small{color:#abc1b2;font-size:10px}.runtime .playing-card:not(.closed-card){touch-action:none}.runtime .drag-cards{filter:none;z-index:1300}.runtime .drag-cards .playing-card{transition:box-shadow .18s;translate:none;box-shadow:0 20px 24px -8px #00140f66,0 7px 10px #00140f33}.runtime .playing-card .paper-facets{pointer-events:none;border-radius:inherit;z-index:1;background:linear-gradient(147deg,#0000 72%,#b9c3cb18 72% 83%,#0000 83%),linear-gradient(32deg,#bdc6cc15 13%,#0000 13% 76%,#c7cdd51c 76% 88%,#0000 88%);position:absolute;inset:0}.runtime .playing-card .corner,.runtime .playing-card .card-jewel,.runtime .playing-card .simple-emblem{z-index:2}.runtime .playing-card[data-card-theme=simple] .card-face{background:linear-gradient(125deg,#fffefb,#edf0ed);box-shadow:inset 0 0 0 1px #c4c6ba,inset 0 0 0 3px #fffff955}.runtime .playing-card[data-card-theme=d02] .paper-facets{z-index:1}.runtime .playing-card[data-card-theme=d02] .card-frame{z-index:0}@media (width<=360px){.runtime .game-stats{min-height:54px;padding-bottom:6px}.runtime .game-stats strong{font-size:17px}.runtime .tool-button{font-size:9px}.runtime .statistics-hero{gap:18px}.runtime .win-ring{width:120px;height:120px}}@media (height<=450px) and (width>=480px){.runtime .game-stats{width:min(400px,65%);min-height:36px;padding:0 0 4px}.runtime .game-stats>span{border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:2px 10px;display:flex}.runtime .game-stats strong{font-size:15px}.runtime .game-stats small{font-size:9px}.runtime .game-tools{margin-top:3px;padding:2px}.runtime .tool-button{flex-direction:row;min-height:36px}.runtime .tool-cost{display:none}}@media (prefers-reduced-motion:reduce){.runtime .drag-cards{scale:1}.runtime .settings-group input[role=switch]:before{transition:none}}.runtime .playing-card:not(.closed-card){-webkit-user-select:none;user-select:none}.runtime .is-travelling{box-shadow:0 12px 20px -5px #00140f50}.runtime [data-table-choice=cloth] .table-swatch{background-position:0 0;background-repeat:repeat;background-size:512px 512px}.runtime [data-table-choice=plain] .table-swatch{background-color:#163b32;background-image:none!important}@font-face{font-family:Noto Sans;src:url(./noto-sans-DLZgZ3Ra.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Serif;src:url(./noto-serif-CcinIIyN.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans Arabic;src:url(./noto-arabic-AAyBoSG6.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans Hebrew;src:url(./noto-hebrew-Cr0QzH2E.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans Devanagari;src:url(./noto-devanagari-CODOMQM7.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans Bengali;src:url(./noto-bengali-DppQJOEv.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans Thai;src:url(./noto-thai-C0Wi2G8s.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans JP;src:url(./noto-jp-Bf3Xb3ww.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans KR;src:url(./noto-kr-BSeMQFX7.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans SC;src:url(./noto-sc-D5j2rVhG.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans TC;src:url(./noto-tc-B2kryb0O.woff2)format("woff2");font-style:normal;font-weight:100 900;font-display:swap}.runtime{--font-ui:"Noto Sans","Noto Sans Arabic","Noto Sans Hebrew","Noto Sans Devanagari","Noto Sans Bengali","Noto Sans Thai","Noto Sans JP","Noto Sans KR","Noto Sans SC","Noto Sans TC",sans-serif;--font-display:"Noto Serif",var(--font-ui);font-family:var(--font-ui)}html[lang=ar] .runtime,html[lang=fa] .runtime{--font-ui:"Noto Sans Arabic","Noto Sans",sans-serif}html[lang=he] .runtime{--font-ui:"Noto Sans Hebrew","Noto Sans",sans-serif}html[lang=hi] .runtime{--font-ui:"Noto Sans Devanagari","Noto Sans",sans-serif}html[lang=bn] .runtime{--font-ui:"Noto Sans Bengali","Noto Sans",sans-serif}html[lang=th] .runtime{--font-ui:"Noto Sans Thai","Noto Sans",sans-serif}html[lang=ja] .runtime{--font-ui:"Noto Sans JP","Noto Sans",sans-serif}html[lang=ko] .runtime{--font-ui:"Noto Sans KR","Noto Sans",sans-serif}html[lang=zh-CN] .runtime{--font-ui:"Noto Sans SC","Noto Sans",sans-serif}html[lang=zh-TW] .runtime{--font-ui:"Noto Sans TC","Noto Sans",sans-serif}.runtime .home-brand h1{font-family:var(--font-display);font-weight:500}.runtime .home-brand h1 span,.runtime .settings-screen h2,.runtime #game-dialog h2{font-family:var(--font-ui)}.runtime .pixi-card-canvas{z-index:70;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.runtime .pixi-card-canvas[hidden]{display:none}.runtime .pixi-cards-ready .board .playing-card{opacity:0!important;box-shadow:none!important;filter:none!important}.runtime .is-holding-card,.runtime .is-holding-card .board *{cursor:grabbing!important}.runtime .board{scrollbar-width:none;overflow-anchor:none;max-width:calc(100% - 12px);padding-bottom:0;overflow-x:hidden}.runtime .board::-webkit-scrollbar{display:none}.runtime .top-piles{margin-bottom:14px;padding-bottom:0}.runtime .tableau{flex-shrink:0;padding-top:12px}.runtime .pixi-cards-ready .board .playing-card:focus-visible{outline-offset:3px;outline:2px solid #fff;opacity:1!important}.runtime .board [data-target]:focus-visible{outline-offset:3px;outline:2px solid #fff}@media (height<=520px){.runtime .top-piles{margin-bottom:8px}.runtime .tableau{padding-top:6px}.runtime .game-stats{min-height:40px;padding-block:0 4px}.runtime .game-stats>span{padding-block:1px}}.runtime :is(.game-tools,.header-end,.home-actions,#game-dialog){background:var(--glass-bg);border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);color:var(--glass-ink)}@supports ((-webkit-backdrop-filter:blur(18px)) or (backdrop-filter:blur(18px))){.runtime :is(.game-tools,.header-end,.home-actions,#game-dialog){-webkit-backdrop-filter:blur(18px)saturate(1.4);background:linear-gradient(135deg,#263a32b8,#12241ba6)}}.runtime .game-topline{font-weight:400;min-height:58px!important;padding-inline:24px!important}.runtime .header-title{letter-spacing:.02em;font-size:11px!important}.runtime .header-end{border-radius:30px;gap:4px;padding:2px 4px 2px 5px}.runtime .header-end .balance{background:0 0;border:0;padding:6px 10px;font-size:11px}.runtime .icon-button{box-shadow:none;color:var(--glass-ink);background:radial-gradient(at 40% 0,#ffffff16,#0000 65%);border:0;transition:background .18s,transform .18s}.runtime .icon-button:hover{background:#e2f3d824;box-shadow:inset 0 1px 1px #ffffff35}.runtime .icon-button:active{transform:scale(.94)}.runtime .game-stats{align-items:center;gap:0;width:min(400px,100% - 32px);min-height:78px;padding:4px 0 16px}.runtime .game-stats>span{background:0 0;border:0;border-radius:0;flex-direction:column;gap:2px;padding:0 22px;display:flex}.runtime .game-stats>span+span{border-inline-start:1px solid #d5e2cd30}.runtime .game-stats small{letter-spacing:1.5px;color:var(--glass-muted);font-size:8px;font-weight:400}.runtime .game-stats strong{font-family:var(--font-ui);color:var(--glass-ink);font-size:25px;font-weight:400;line-height:1.15}.runtime .game-stats #timer{letter-spacing:-1.5px;font-size:40px;font-weight:300}.runtime .game-tools{z-index:90;border-radius:30px;flex-shrink:0;gap:6px;width:max-content;max-width:calc(100% - 24px);margin:10px auto 0;padding:6px 10px}.runtime .game-tools .tool-button{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;color:var(--glass-ink);background:radial-gradient(at 40% 0,#ffffff16,#0000 65%);border:0;border-radius:50%;flex:0 0 44px;gap:0;padding:0}.runtime .game-tools .tool-button .ui-icon{width:22px;height:22px;color:inherit}.runtime .game-tools .tool-button>span,.runtime .game-tools .tool-cost{display:none}.runtime .game-tools .tool-button:hover{background:#e2f3d824;box-shadow:inset 0 1px 1px #ffffff35}.runtime .game-tools .tool-button:active{transform:scale(.94)}.runtime .game-footnote{flex-shrink:0;height:auto;min-height:0;padding:0}.runtime .game-footnote:has(.auto-complete-button){min-height:44px;padding:8px 0 2px;display:flex!important}.runtime .auto-complete-button{color:#dbe9d3;background:#ffffff12;border:1px solid #d7e7d640;border-radius:22px;min-height:38px;padding:9px 19px;font-size:12px;box-shadow:inset 0 1px 1px #ffffff24}.runtime .auto-complete-button:hover{background:#e2f3d824}.runtime #game-dialog{overscroll-behavior:contain;border-radius:28px;width:min(440px,100vw - 32px);max-height:calc(100dvh - 40px);padding:24px;overflow:hidden}.runtime #game-dialog[open]{flex-direction:column;display:flex}.runtime #game-dialog::backdrop{-webkit-backdrop-filter:blur(9px);overscroll-behavior:contain;background:#020a0759;overflow:hidden}.runtime .dialog-heading{flex:none;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.runtime #game-dialog .dialog-heading h2{font:500 22px/1.3 var(--font-ui);letter-spacing:-.6px;color:var(--glass-ink);margin:0}.runtime .dialog-close{width:36px;height:36px;font:300 27px/1 var(--font-ui);flex:0 0 36px}.runtime .dialog-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bfd0b280 transparent;min-height:0;padding-inline-end:5px;overflow:hidden auto}.runtime #game-dialog .game-button{color:var(--glass-ink);background:#ffffff09;border:1px solid #e0eddb30;border-radius:13px;min-height:40px;font-size:12px;box-shadow:inset 0 1px 1px #ffffff14}.runtime #game-dialog .game-primary{color:#19301e;box-shadow:none;background:#c0d4b4;border:0;border-radius:13px;min-height:42px;font-size:13px;font-weight:500}.runtime #game-dialog .settings-screen{width:100%;max-width:none;max-height:none;color:var(--glass-ink);margin:0;padding:0;display:block;overflow:visible}.runtime #game-dialog .settings-group{box-shadow:none;background:0 0;border:0;margin:0;padding:0}.runtime #game-dialog .settings-group label{border-bottom:1px solid #cfdfc41f;gap:15px;min-height:45px;padding:11px 0;font-size:13px;line-height:1.4}.runtime #game-dialog .settings-group label>span{font-size:13px}.runtime #game-dialog .settings-group select{color:var(--glass-ink);background:#13251dcc;border:1px solid #9eaf9666;border-radius:8px;max-width:55%;padding:7px;font-size:11px}.runtime #game-dialog .settings-group input[role=switch]{background:#ffffff16;border-color:#d5e2cd35;flex:0 0 36px;width:36px;height:21px}.runtime #game-dialog .settings-group input[role=switch]:before{background:#a9b8a2;width:15px;height:15px;top:2px;left:2px}.runtime #game-dialog .settings-group input[role=switch]:checked:before{background:#19301e;transform:translate(15px)}.runtime #game-dialog .theme-section{border:0;min-width:0;margin:20px 0 12px;padding:0}.runtime #game-dialog .theme-section legend{color:var(--glass-muted);letter-spacing:.03em;margin-bottom:12px;font-size:11px;font-weight:500}.runtime #game-dialog .card-theme-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.runtime #game-dialog .card-theme-choice{min-width:0;color:var(--glass-muted);background:linear-gradient(135deg,#ffffff12,#ffffff05);border:1px solid #e0eddb26;border-radius:13px;gap:7px;padding:8px 3px;box-shadow:inset 0 1px 1px #e5f1dd14}.runtime #game-dialog .card-theme-choice[aria-pressed=true]{color:var(--glass-ink);background:#e2f3d815;border-color:#c3d8b0}.runtime #game-dialog .card-theme-choice>span:last-of-type{overflow-wrap:anywhere;min-height:24px;font-size:9px;line-height:1.3}.runtime #game-dialog .card-theme-choice i{display:none}.runtime #game-dialog .table-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.runtime #game-dialog .table-theme-choice{color:var(--glass-muted);background:#ffffff06;border:1px solid #e0eddb26;border-radius:12px;gap:7px;padding:7px}.runtime #game-dialog .table-theme-choice[aria-pressed=true]{color:var(--glass-ink);border-color:#c3d8b0}.runtime #game-dialog .table-swatch{width:100%;height:30px;box-shadow:none;border:0;border-radius:7px}.runtime #game-dialog .table-theme-choice>span:last-child{font-size:10px}.runtime .new-deal-options{gap:10px;padding:6px 0;display:grid}.runtime .game-shell[data-screen=home] .home-screen{scrollbar-width:none;flex-direction:column;gap:24px;width:min(410px,100% - 40px);max-width:410px;max-height:calc(100% - 72px);margin:auto;padding:8px 0;display:flex;overflow-y:auto}.runtime .home-presentation{filter:none;flex:none;width:100%}.runtime .home-brand{width:min(270px,75%);margin:0 auto}.runtime .home-actions{border-radius:28px;flex-direction:column;gap:12px;width:100%;max-width:none;padding:22px;display:flex}.runtime .mode-options{background:#ffffff08;border:1px solid #d7e7d62b;border-radius:15px;grid-template-columns:1fr 1fr;gap:3px;margin:0;padding:3px;display:grid}.runtime .mode-card{width:auto;height:43px;min-height:43px;color:var(--glass-muted);background:0 0;border:0;border-radius:11px;place-items:center;padding:5px;display:grid}.runtime .mode-card .mode-art,.runtime .mode-card small{display:none}.runtime .mode-card strong{font-size:12px;font-weight:500}.runtime .mode-card.active{color:var(--glass-ink);background:#d8e9cb24;box-shadow:inset 0 1px 1px #ffffff30}.runtime .mode-card.active:after{display:none}.runtime .home-actions>.game-primary{color:#19301e;box-shadow:none;letter-spacing:0;background:#c0d4b4;border:0;border-radius:13px;width:100%;min-height:43px;margin:0;font-size:13px}.runtime .daily-invitation{border:0;box-shadow:none;background:0 0;border-block:1px solid #cfdfc41f;border-radius:0;gap:12px;min-height:54px;margin:0;padding:12px 0}.runtime .daily-medal{box-shadow:none;background:0 0;border:0;width:28px;height:28px}.runtime .daily-invitation strong{font-size:12px;font-weight:500}.runtime .daily-invitation small{color:var(--glass-muted);font-size:9px}.runtime .daily-streak{font-size:18px;font-weight:400}.runtime .home-links{justify-content:space-between;gap:7px;margin:0;padding:0;display:flex}.runtime .home-links .text-button{min-height:40px;color:var(--glass-muted);gap:5px;padding:3px;font-size:10px}.runtime .home-links .ui-icon{width:19px;height:19px;color:var(--glass-ink)}.runtime .home-bottom{border:0;flex-wrap:wrap;justify-content:center;gap:0 13px;margin:0;padding:0;display:flex}.runtime .home-bottom .text-button,.runtime .continue-button{min-height:30px;color:var(--glass-muted);font-size:10px}@media (width<=600px){.runtime .game-topline{min-height:54px!important;padding-inline:12px!important}.runtime .game-stats{min-height:72px;padding-bottom:12px}.runtime .game-stats>span{padding-inline:16px}.runtime .game-stats #timer{font-size:34px}.runtime .game-stats strong{font-size:22px}.runtime #game-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 28px);padding:20px}.runtime #game-dialog .card-theme-grid{gap:5px}.runtime #game-dialog .card-theme-choice>span:last-of-type{font-size:8px}.runtime .home-actions{padding:20px}}@media (height<=600px){.runtime .game-shell[data-screen=home] .home-screen{gap:12px;max-height:calc(100% - 44px)}.runtime .home-brand{width:170px}.runtime .home-actions{gap:8px;padding:15px}.runtime .game-topline{height:38px!important;min-height:38px!important}.runtime .game-stats{min-height:48px;padding:0 0 8px}.runtime .game-stats #timer{font-size:28px}.runtime .game-stats strong{font-size:21px}.runtime .game-tools{margin-top:6px;padding:3px 9px}.runtime .game-tools .tool-button{height:38px;min-height:38px}.runtime #game-dialog{max-height:calc(100dvh - 24px)}}@media (prefers-reduced-motion:reduce){.runtime .icon-button{transition:none}}.runtime #game-dialog .settings-group,.runtime #game-dialog .settings-group label,.runtime #game-dialog .settings-group label>span{color:var(--glass-ink);font-weight:400}.runtime #game-dialog .settings-group input[role=switch]{box-sizing:border-box;border-radius:20px;height:21px;min-height:21px;margin:0;padding:0}.runtime #game-dialog p,.runtime #game-dialog h3{color:var(--glass-muted)}.runtime #game-dialog #deal-number{box-sizing:border-box;color:#f5f3e9;caret-color:#ffe6a0;width:100%;min-height:48px;font:400 18px/1.3 var(--font-ui);background:#102129;border:1px solid #b3c2b4;border-radius:12px;margin:12px 0 18px;padding:12px 14px;display:block}.runtime #game-dialog #deal-number:focus{border-color:#ffe6a0;outline:none;box-shadow:inset 0 0 0 2px #ffe6a0}.runtime{--glass-bg:#202126e8;--glass-edge:#ffffff45;--glass-ink:#f4f3ef;--glass-muted:#d0cfca;--glass-shadow:inset 0 1px 1px #ffffff65,inset 0 -1px 1px #ffffff10,0 12px 35px #0003}.runtime :is(.game-tools,.header-end,.home-actions,#game-dialog){color:var(--glass-ink);border-color:var(--glass-edge);background:#202126e8}@supports ((-webkit-backdrop-filter:blur(18px)) or (backdrop-filter:blur(18px))){.runtime :is(.game-tools,.header-end,.home-actions,#game-dialog){-webkit-backdrop-filter:blur(22px)saturate(1.1);background:linear-gradient(135deg,#ffffff23,#ffffff0a),#15161b86}}.runtime .game-shell:not([data-screen=home]),.runtime .game-shell{background-image:linear-gradient(#00000012,#00000026),var(--table-image);background-position:50%;background-repeat:no-repeat;background-size:cover}.runtime .game-shell[data-material=cloth]{background-position:50%;background-repeat:no-repeat;background-size:cover}.runtime .game-shell[data-material=wood]{background-position:45%}.runtime .game-shell[data-material=plain]{background-color:#202b2b;background-image:none}.runtime :is(.game-primary,.home-actions>.game-primary),.runtime #game-dialog .game-primary{color:#252629;background:#eeede6;border:1px solid #ffffff80;box-shadow:inset 0 1px #fff}.runtime :is(.game-primary,.home-actions>.game-primary):hover,.runtime #game-dialog .game-primary:hover{color:#16171a;background:#fff}.runtime #game-dialog .game-button{color:#f5f4ef;background:#ffffff0a;border:1px solid #ffffff35;justify-content:center;align-items:center;width:100%;margin:12px 0 0;padding:11px 16px;line-height:1.4;display:flex}.runtime #game-dialog .game-button:hover{color:#fff;background:#ffffff1f;border-color:#fff6}.runtime #game-dialog .game-primary{justify-content:center;align-items:center;width:100%;min-height:44px;margin:12px 0 0;padding:11px 16px;line-height:1.4;display:flex}.runtime #game-dialog .dialog-content>.game-primary:first-child,.runtime #game-dialog .dialog-content>.game-button:first-child{margin-top:0}.runtime #game-dialog .settings-group input[role=switch]:checked{background:#deddd5;border-color:#fff8}.runtime #game-dialog .settings-group input[role=switch]:checked:before{background:#34343a}.runtime #game-dialog .settings-group select{background:#292a30e8;border-color:#ffffff40}.runtime #game-dialog :is(.card-theme-choice,.table-theme-choice)[aria-pressed=true]{background:#ffffff15;border-color:#e8e7dc}.runtime .mode-card.active{color:#fff;background:#ffffff21}.runtime .auto-complete-button{color:#f4f3ef;background:#ffffff16;border-color:#ffffff50}.runtime .foundation:empty{border-radius:calc(var(--cw)*.09);background:linear-gradient(145deg,#ffffff06,#00000012);border:1px solid #ffffff30;box-shadow:inset 0 1px 1px #ffffff18,inset 0 0 0 3px #00000009,0 1px 1px #00000015}.runtime .foundation:empty:before{content:"A";font-family:var(--font-display);font-weight:500;font-size:calc(var(--cw)*.37);color:#eee9da30;text-shadow:0 1px #0003}.runtime .foundation:not(:empty){box-shadow:none;background:0 0;border-color:#0000}.runtime .column:before{border-radius:calc(var(--cw)*.09);background:linear-gradient(#ffffff04,#0000000a);border:1px solid #ffffff18;box-shadow:inset 0 1px #ffffff0a}.runtime .column:has(.playing-card):before{opacity:0}.runtime :is(.column,.foundation).legal-destination:after{content:"";min-height:var(--ch);border-radius:calc(var(--cw)*.09);pointer-events:none;z-index:60;background:#ffffff0b;border:2px solid #f4edcfb3;position:absolute;inset:0;box-shadow:0 0 20px #ffedb21a}.runtime .stock .recycle{color:#f2efe5;font-size:calc(var(--cw)*.45);border-radius:calc(var(--cw)*.09);background:linear-gradient(145deg,#ffffff08,#0001);border:1px solid #ffffff38;box-shadow:inset 0 1px #ffffff12}.runtime .pixi-cards-ready .stock small{visibility:hidden}.runtime .drag-cards .playing-card{box-shadow:0 20px 26px -5px #0008,0 7px 10px #0005}.runtime #toast{-webkit-backdrop-filter:blur(18px);color:#f4f3ef;width:max-content;max-width:min(420px,100vw - 32px);font:400 12px/1.6 var(--font-ui);text-align:center;z-index:1500;background:#25262be8;border:1px solid #ffffff38;border-radius:18px;padding:13px 18px;bottom:94px;left:50%;transform:translate(-50%,8px);box-shadow:inset 0 1px #ffffff3d,0 8px 28px #0004}.runtime #toast.show{transform:translate(-50%)}.runtime .home-brand{width:min(340px,90%)}@media (width<=600px){.runtime .game-shell[data-material=wood]{background-position:48%}}@media (height<=520px){.runtime #toast{bottom:66px}}.runtime :is(.column,.foundation).legal-destination:after{inset:auto auto auto 0;top:var(--drop-y,0px);width:var(--cw);height:var(--ch);box-sizing:border-box;border-radius:calc(var(--cw)*.09);min-height:0}.runtime .board{overflow-y:hidden}.runtime .tableau{flex:1 1 0;min-height:0}.runtime .game-shell[data-material=plain]{background-image:linear-gradient(#00000008,#00000020),var(--table-image);background-color:#173e32;background-position:50%;background-repeat:no-repeat;background-size:cover}.runtime .header-end .balance{font-variant-numeric:tabular-nums;color:#f7f4e9;letter-spacing:.015em;align-items:center;gap:7px;padding:7px 11px;font-size:14px;font-weight:650;display:inline-flex}.runtime .foundation:empty,.runtime .column:before,.runtime .stock .recycle{outline-offset:2px;background:linear-gradient(145deg,#ffffff19,#10130f30);border:1px solid #f5edcf8c;outline:1px solid #14171430;box-shadow:inset 0 0 0 3px #10130f27,inset 0 2px 5px #0005,0 1px 1px #ffffff32}.runtime .foundation:empty:before{color:#f7efcf80;text-shadow:0 1px 2px #0007;font-weight:600}.runtime .column:before{height:var(--ch);box-sizing:border-box}.runtime .game-shell[data-screen=home] .home-screen{box-sizing:border-box;grid-template-columns:.8fr 1.2fr;align-items:center;gap:64px;width:min(1040px,100% - 64px);max-width:1040px;max-height:calc(100% - 76px);padding:24px 0;display:grid}.runtime .home-brand{width:100%;max-width:400px}.runtime .home-actions{box-shadow:none;-webkit-backdrop-filter:none;border:0;border-radius:0;gap:20px;min-width:0;padding:0;background:0 0!important}.runtime .mode-options{background:0 0;border:0;gap:16px;padding:0}.runtime .mode-card{background:#15171b55;border:1px solid #ffffff35;border-radius:22px;flex-direction:column;height:auto;min-height:235px;padding:18px 12px 16px;transition:transform .24s,background-color .24s,border-color .24s,box-shadow .24s;display:flex;overflow:hidden;box-shadow:inset 0 1px #ffffff20,0 8px 18px #0002}.runtime .mode-card.active{background:#ffffff20;border-color:#f5e9b8b3;box-shadow:inset 0 1px #fff5,0 10px 25px #0003}.runtime .game-shell[data-screen=home] .home-actions{outline:none;box-shadow:none!important;-webkit-backdrop-filter:none!important;background:0 0!important;border:none!important}.runtime .game-shell[data-screen=home] .mode-card.active{color:#fff;background:linear-gradient(145deg,#ffffff28,#ffffff12);border-color:#f5e9b8b3}.runtime .mode-card .mode-art{pointer-events:none;width:100%;height:160px;display:block;position:relative}.runtime .mode-card strong{margin-top:8px;font-size:16px;font-weight:600}.runtime .mode-card small{color:#e5e1d4;margin-top:5px;font-size:11px;display:block}.runtime .home-card-scene{--cw:84px;--ch:120px;perspective:700px;width:100%;height:100%;display:block;position:relative}.runtime .home-preview-card{width:84px;height:120px;transform:translateX(calc(-50% + (var(--i) - (var(--count) - 1)/2)*27px)) rotate(calc((var(--i) - (var(--count) - 1)/2)*10deg));filter:drop-shadow(3px 10px 6px #0007);transition:transform .35s cubic-bezier(.2,.7,.25,1);position:absolute;top:15px;left:50%}.runtime .home-preview-card .playing-card{pointer-events:none;visibility:visible!important;opacity:1!important;width:84px!important;height:120px!important;position:relative!important;inset:auto!important;transform:none!important}.runtime .mode-card.active .home-preview-card{transform:translateX(calc(-50% + (var(--i) - (var(--count) - 1)/2)*33px)) translateY(-5px) rotate(calc((var(--i) - (var(--count) - 1)/2)*13deg)) scale(1.05)}.runtime .home-actions>.game-primary{border-radius:16px;min-height:52px;font-size:16px}.runtime .daily-invitation{background:#15171b55;border:1px solid #ffffff30;border-radius:18px;min-height:75px;padding:16px}.runtime .home-links{gap:12px}.runtime .home-links .text-button,.runtime .home-bottom .text-button,.runtime .continue-button{font-size:12px}@media (hover:hover){.runtime .mode-card:hover{background-color:#ffffff25;border-color:#fff9;transform:translateY(-4px)}.runtime .home-actions .game-primary:hover{transform:translateY(-2px)}.runtime .home-actions button{transition:transform .22s,background-color .22s,color .22s}}@media (width<=760px){.runtime .game-shell[data-screen=home] .home-screen{gap:25px;width:calc(100% - 32px);max-width:540px;padding:14px 0;display:flex}.runtime .home-brand{width:min(300px,80%)}.runtime .home-actions{gap:15px;padding:0}.runtime .mode-card{min-height:204px;padding:12px 8px}.runtime .mode-card .mode-art{height:140px}.runtime .home-bottom{gap:0 16px}}@media (prefers-reduced-motion:reduce){.runtime .mode-card,.runtime .home-preview-card,.runtime .home-actions button{transition:none}.runtime .mode-card:hover,.runtime .home-actions .game-primary:hover{transform:none}}@media (width<=420px){.runtime .home-card-scene{transform-origin:50%;transform:scale(.84)}}.runtime .balance .ui-icon{color:#e8debd;flex:none;width:21px;height:21px}.runtime .game-stats>span:first-child strong{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:27px;font-weight:650}@media (width<=600px){.runtime .header-end .balance{padding:6px 9px;font-size:13px}.runtime .game-stats>span:first-child strong{font-size:24px}}@media (pointer:coarse){.runtime :is(.game-tools,.header-end){-webkit-backdrop-filter:none!important;background:linear-gradient(135deg,#ffffff23,#ffffff0a),#17191ee8!important}}.runtime .game-shell[data-screen=home]{overflow:hidden auto;background:#101d2b var(--menu-image) center/cover no-repeat!important}.runtime .game-shell[data-screen=home] .home-screen{box-sizing:border-box;flex-direction:column;flex:none;justify-content:flex-start;align-items:center;gap:22px;width:min(820px,100% - 40px);max-width:820px;max-height:none;margin:auto;padding:52px 20px 34px;display:flex;overflow:visible}.runtime .game-shell[data-screen=home] .home-presentation{filter:drop-shadow(0 8px 20px #0005);flex:none;width:100%;min-height:0;display:flex}.runtime .game-shell[data-screen=home] .home-brand{width:340px;max-width:80%;margin:0 auto}.runtime .game-shell[data-screen=home] .home-actions{grid-template-columns:1fr 1fr;gap:22px 24px;width:100%;max-height:none;padding:0;display:grid;overflow:visible;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;border:0!important}.runtime .game-shell[data-screen=home] .mode-options{background:0 0;border:0;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:24px;width:100%;padding:8px 0;display:grid;overflow:visible}.runtime .game-shell[data-screen=home] .mode-card{color:#eeeae0;background:linear-gradient(145deg,#ecf0ff0b,#07132140);border:1px solid #e5e3da40;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:6px;height:240px;min-height:240px;padding:16px;transition:transform .24s,border-color .24s,box-shadow .24s;display:flex;position:relative;overflow:visible;transform:none;box-shadow:inset 0 1px #ffffff1c,0 10px 25px #0002}.runtime .game-shell[data-screen=home] .mode-card.active{color:#fff6e5;background:linear-gradient(145deg,#e7d9b81c,#07132150);border-color:#ddc896a6;box-shadow:inset 0 1px #ffffff25,0 10px 28px #0003}.runtime .game-shell[data-screen=home] .mode-card .mode-art{flex:none;width:100%;height:150px;display:block;position:relative;overflow:visible}.runtime .game-shell[data-screen=home] .mode-card>strong{font:600 17px/1.3 var(--font-ui);font-size-adjust:from-font;margin:0}.runtime .game-shell[data-screen=home] .mode-card>small{font:400 11px/1.5 var(--font-ui);color:#c4c7ce;margin:0;display:block}.runtime .game-shell[data-screen=home] .home-card-scene{perspective:none;--preview-card-w:84px;width:100%;height:100%;display:block;position:relative;transform:none}.runtime .game-shell[data-screen=home] .home-preview-card{width:var(--preview-card-w);height:calc(var(--preview-card-w)*1.43);background-size:calc(var(--preview-card-w)*9.28) auto;background-position:calc(var(--preview-card-w)*var(--atlas-x)) calc(var(--preview-card-w)*var(--atlas-y));filter:drop-shadow(2px 10px 7px #0007);transform:translateX(calc(-50% + (var(--i) - (var(--count) - 1)/2)*28px)) rotate(calc((var(--i) - (var(--count) - 1)/2)*10deg));background-repeat:no-repeat;border-radius:5px;transition:transform .32s cubic-bezier(.2,.7,.25,1);display:block;position:absolute;top:10px;left:50%}.runtime .game-shell[data-screen=home] .mode-card.active .home-preview-card{transform:translateX(calc(-50% + (var(--i) - (var(--count) - 1)/2)*32px)) translateY(-4px) rotate(calc((var(--i) - (var(--count) - 1)/2)*12deg))}.runtime .home-launch{grid-column:1/-1;justify-content:center;align-items:center;gap:22px;min-width:0;display:flex}.runtime .home-launch .game-primary{color:#252b30;background:#eee7d8;border-radius:16px;justify-content:center;align-items:center;gap:12px;width:300px;max-width:100%;min-height:52px;margin:0;font-size:15px;display:flex;box-shadow:inset 0 1px #fff}.runtime .home-launch .continue-button{color:#eee7d8;white-space:normal;border-bottom:1px solid #e2d4b240;min-height:48px;padding:8px 12px;font-size:12px}.runtime .game-shell[data-screen=home] .daily-invitation{background:#0a172452;border:1px solid #ffffff25;border-radius:18px;grid-column:1;min-width:0;min-height:80px;margin:0;padding:14px;box-shadow:inset 0 1px #ffffff12}.runtime .game-shell[data-screen=home] .home-links{grid-column:2;justify-content:space-around;align-items:center;gap:8px;min-width:0;display:flex}.runtime .game-shell[data-screen=home] .home-links .text-button{white-space:normal;flex-direction:column;flex:1;gap:8px;min-height:60px;padding:6px;font-size:11px}.runtime .game-shell[data-screen=home] .home-bottom{border-top:1px solid #ffffff1a;flex-wrap:wrap;grid-column:1/-1;justify-content:center;gap:0 24px;padding-top:10px;display:flex}.runtime .game-shell[data-screen=home] .home-bottom .text-button{color:#c9ccd0;min-height:38px;font-size:11px}@media (hover:hover){.runtime .game-shell[data-screen=home] .mode-card:hover{border-color:#f2e6c699;transform:translateY(-4px);box-shadow:inset 0 1px #fff3,0 16px 28px #0003}.runtime .home-launch .game-primary:hover{background:#fff6e4;transform:translateY(-2px)}}@media (width<=600px){.runtime .game-shell[data-screen=home] .home-screen{gap:18px;width:calc(100% - 28px);padding:58px 0 24px}.runtime .game-shell[data-screen=home] .home-brand{width:280px}.runtime .game-shell[data-screen=home] .home-actions{gap:18px}.runtime .game-shell[data-screen=home] .mode-options{gap:14px;padding:6px 0}.runtime .game-shell[data-screen=home] .mode-card{border-radius:20px;height:205px;min-height:205px;padding:12px 6px}.runtime .game-shell[data-screen=home] .mode-card .mode-art{height:130px}.runtime .game-shell[data-screen=home] .home-card-scene{--preview-card-w:70px}.runtime .game-shell[data-screen=home] .mode-card>strong{font-size:15px}.runtime .game-shell[data-screen=home] .mode-card>small{font-size:10px}.runtime .home-launch{flex-direction:column;gap:5px}.runtime .home-launch .game-primary{width:100%}.runtime .home-launch .continue-button{min-height:35px}.runtime .game-shell[data-screen=home] .daily-invitation,.runtime .game-shell[data-screen=home] .home-links{grid-column:1/-1}.runtime .game-shell[data-screen=home] .daily-invitation{min-height:67px}.runtime .game-shell[data-screen=home] .home-links .text-button{min-height:50px}.runtime .game-shell[data-screen=home] .home-bottom{gap:0 18px;padding-top:6px}.runtime .game-shell[data-screen=home] .home-bottom .text-button{min-height:32px;font-size:10px}}@media (height<=600px) and (width>=601px){.runtime .game-shell[data-screen=home] .home-screen{gap:10px;padding-top:42px}.runtime .game-shell[data-screen=home] .home-brand{width:240px}.runtime .game-shell[data-screen=home] .home-actions{gap:12px 20px}.runtime .game-shell[data-screen=home] .mode-card{height:180px;min-height:180px}.runtime .game-shell[data-screen=home] .mode-card .mode-art{height:115px}.runtime .game-shell[data-screen=home] .home-card-scene{--preview-card-w:65px}}@media (prefers-reduced-motion:reduce){.runtime .game-shell[data-screen=home] .mode-card,.runtime .game-shell[data-screen=home] .home-preview-card,.runtime .home-launch button{transition:none}.runtime .game-shell[data-screen=home] .mode-card:hover,.runtime .home-launch .game-primary:hover{transform:none}}.runtime .game-tools{border-radius:24px;gap:3px;width:min(430px,100% - 24px);padding:5px 8px}.runtime .game-tools .tool-button{border-radius:16px;flex:1 1 0;gap:3px;width:auto;min-width:0;max-width:none;height:64px}.runtime .game-tools .tool-button>span{overflow-wrap:anywhere;max-width:100%;font-size:10px;line-height:1.2;display:block}.runtime .game-tools .tool-cost{color:#f1ddb0;align-items:center;gap:3px;font-size:9px;display:flex}.runtime .game-tools .tool-cost .ui-icon{width:10px;height:10px}.runtime button:disabled{opacity:.42;cursor:default}.runtime button[aria-busy=true]{opacity:.8;cursor:progress;background:#e6d8ad20}.runtime button[aria-busy=true]>.ui-icon{animation:1s ease-in-out infinite alternate hint-breathe}@keyframes hint-breathe{to{opacity:.35}}.runtime :is(button,select,input,[role=button]):focus-visible{outline-offset:3px;outline:3px solid #ffe4a3}.runtime .game-footnote{justify-content:center;align-items:center;gap:14px;min-height:26px;display:flex}.runtime #game-dialog{background-color:#1b2428e8}.runtime .home-bottom .text-button{min-height:44px}@media (width<=360px){.runtime .game-topline{padding-inline:6px!important}.runtime .header-end{gap:2px}.runtime .balance{padding-inline:8px}.runtime .header-title{font-size:10px!important}.runtime .game-tools .tool-button{height:59px}.runtime .game-tools .tool-button>span{font-size:9px}}@media (height<=520px){.runtime .game-tools .tool-button{height:44px}.runtime .game-tools .tool-cost{display:none}.runtime .game-footnote{min-height:18px}}.runtime.reduce-motion :is(.home-preview-card,.mode-card,button){transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){.runtime button[aria-busy=true]>.ui-icon{animation:none}}.runtime #game-dialog .dialog-close,.runtime .learning-close{box-sizing:border-box;flex:0 0 38px;place-items:center;min-width:38px;min-height:38px;line-height:1;color:#f5f0e4!important;background:#ffffff09!important;border:1px solid #ffffff26!important;border-radius:50%!important;width:38px!important;height:38px!important;margin:0!important;padding:0!important;display:grid!important;transform:none!important}.runtime #game-dialog .dialog-close:hover,.runtime .learning-close:hover{background:#ffffff20!important;border-radius:50%!important;transform:none!important}.runtime :is(.dialog-close,.learning-close) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:22px;height:22px;display:block}.runtime #game-dialog .win-ring{background:conic-gradient(#e4d2aa var(--rate),#ffffff16 0)}.runtime .game-shell[data-screen=home] .home-bottom .text-button{box-sizing:border-box;margin:0;padding:8px 13px}.runtime #game-dialog.themes-dialog{width:min(980px,100vw - 28px);max-height:calc(100dvh - 36px)}.runtime .themes-catalog{gap:28px;padding:4px 2px 14px;display:grid}.runtime .themes-catalog fieldset{border:0;min-width:0;margin:0;padding:0}.runtime .themes-catalog legend{color:#f4eddf;margin-bottom:16px;font-size:15px}.runtime .themes-catalog .card-theme-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px;display:grid}.runtime #game-dialog .themes-catalog .card-theme-choice{color:#e8e5dc;background:#ffffff04;border:1px solid #ffffff26;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:225px;padding:20px 10px 16px;display:flex;position:relative}.runtime .themes-catalog .card-theme-choice>span:last-of-type{font-size:12px!important}.runtime .themes-catalog .card-theme-choice>i{position:absolute;top:9px;right:9px}.runtime .themes-catalog .table-theme-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.runtime .themes-catalog .table-theme-choice{color:#e8e5dc;background:#ffffff04;border:1px solid #ffffff26;border-radius:16px;flex-direction:column;gap:10px;padding:10px;display:flex}.runtime .themes-catalog .table-swatch{background-position:50%;background-size:cover;border-radius:10px;place-items:center;width:100%;height:105px;display:grid}.runtime .themes-catalog button[aria-pressed=true]{background:#e6d2a314!important;border-color:#e6d2a3!important}.runtime #game-dialog .themes-entry{justify-content:space-between;min-height:48px;margin:0 0 16px}.runtime .game-shell[data-screen=guide]{overflow:hidden auto;background:radial-gradient(at 15% 20%,#243a48,#101a25 75%)!important}.runtime .learning-screen{box-sizing:border-box;color:#eeeae1;flex-direction:column;gap:28px;width:min(1160px,100% - 64px);min-height:100%;margin:0 auto;padding:32px 0;display:flex}.runtime .learning-header{flex:none;justify-content:space-between;align-items:center;gap:20px;display:flex}.runtime .learning-title{font:600 23px/1.3 var(--font-ui);outline:none;margin:0}.runtime .learning-progress{flex:none;grid-template-columns:repeat(8,1fr);gap:10px;display:grid}.runtime .learning-progress button{color:#aeb9c0;min-height:44px;font:500 13px var(--font-ui);background:0 0;border:0;border-bottom:2px solid #ffffff20;border-radius:0;justify-content:center;align-items:center;display:flex}.runtime .learning-progress button.active{color:#f0ddb8;background:#ffffff05;border-color:#e6d2a3}.runtime .learning-body{flex:1;grid-template-columns:1.15fr 1fr;align-items:center;gap:64px;min-height:390px;display:grid}.runtime .learning-illustration{--teach-w:90px;box-sizing:border-box;background:linear-gradient(145deg,#ffffff07,#ffffff01);border:1px solid #ffffff15;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;gap:30px;min-height:340px;padding:26px 12px;display:flex;position:relative}.runtime .teaching-card{width:var(--teach-w);height:calc(var(--teach-w)*1.43);background-size:calc(var(--teach-w)*9.28) auto;background-position:calc(var(--teach-w)*var(--atlas-x)) calc(var(--teach-w)*var(--atlas-y));background-repeat:no-repeat;border-radius:6px;flex:none;display:inline-block;box-shadow:0 8px 16px #0004}.runtime .learning-copy>small{color:#dfc99b;letter-spacing:.15em;font-size:12px}.runtime .learning-copy h2{font:500 clamp(25px,3vw,36px)/1.25 var(--font-ui);color:#f4eddf;margin:17px 0 24px}.runtime .learning-copy p{font:400 16px/1.9 var(--font-ui);color:#c8d0d6;max-width:480px;margin:0}.runtime .learning-suits{grid-template-columns:repeat(4,1fr);gap:14px;width:100%;display:grid}.runtime .learning-suit{flex-direction:column;align-items:center;gap:12px;display:flex}.runtime .learning-suit>svg{fill:currentColor;color:#eee6d4;filter:drop-shadow(0 3px 4px #0003);width:60px;height:70px}.runtime .learning-suit.red>svg{color:#dc776a}.runtime .learning-suit strong{font-size:13px}.runtime .learning-suit small{color:#aebbc4;font-size:11px}.runtime .learning-equation{font:500 26px var(--font-display);letter-spacing:.08em;color:#e8dbbe}.runtime .learning-equation span{color:#8c9da9}.runtime .learning-ranks{flex-wrap:wrap;justify-content:center;gap:8px;max-width:400px;display:flex}.runtime .learning-ranks>div{color:#263440;background:#eee6d4;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:43px;height:65px;display:flex}.runtime .learning-ranks strong{font:600 22px var(--font-display)}.runtime .learning-ranks small{color:#64717a;font-size:10px}.runtime .learning-caption{text-align:center;color:#ded8c9;font-size:13px;line-height:1.7}.runtime .learning-caption .red{color:#dc776a;margin:0 15px}.runtime .learning-columns{--teach-w:45px;justify-content:center;gap:8px;width:100%;height:195px;display:flex}.runtime .learning-columns>div{width:45px;height:calc(65px + var(--rows)*15px);flex:none;position:relative}.runtime .learning-columns>div>span{top:calc(var(--row)*15px);position:absolute;left:0}.runtime .learning-columns small{text-align:center;color:#c8d0d6;width:100%;position:absolute;bottom:-25px;left:0}.runtime .learning-card-row{--teach-w:82px;justify-content:center;align-items:center;gap:8px;display:flex}.runtime .learning-arrow{color:#c9b78e;font-size:22px}.runtime .learning-stack{--teach-w:110px;width:110px;height:240px;position:relative}.runtime .learning-stack>span{left:0;top:calc(var(--row)*43px);position:absolute}.runtime .learning-draw{justify-content:center;gap:70px;width:100%;display:flex}.runtime .learning-draw>div{text-align:center;min-width:130px}.runtime .learning-draw strong{margin-top:24px;font-size:14px;font-weight:500;display:block}.runtime .learning-fan{--teach-w:100px;height:155px;position:relative}.runtime .learning-fan .teaching-card{position:absolute;top:0;left:50%;transform:translate(-50%)}.runtime .learning-fan.triple .teaching-card:first-child{transform:translate(calc(-50% - 30px))rotate(-10deg)}.runtime .learning-fan.triple .teaching-card:nth-child(2){transform:translate(-50%)}.runtime .learning-fan.triple .teaching-card:nth-child(3){transform:translate(calc(30px - 50%))rotate(10deg)}.runtime .learning-controls{justify-content:space-around;gap:12px;width:100%;display:flex}.runtime .learning-controls>div{flex-direction:column;align-items:center;gap:12px;display:flex}.runtime .learning-controls .ui-icon{width:36px;height:36px}.runtime .learning-controls strong{font-size:11px;font-weight:400}.runtime .learning-empty{color:#d9c69d;width:82px;height:117px;font:500 28px var(--font-display);border:1px solid #ffffff60;border-radius:7px;place-items:center;display:grid}.runtime .learning-daily{flex-direction:column;align-items:center;gap:18px;display:flex}.runtime .learning-daily>.ui-icon{color:#e2cfa8;width:70px;height:70px}.runtime .learning-daily>strong{font-size:24px}.runtime .learning-daily>span{color:#c8d0d6;font-size:13px}.runtime .learning-daily>div{letter-spacing:.15em;font-size:30px}.runtime .learning-navigation{border-top:1px solid #ffffff20;flex:none;justify-content:space-between;align-items:center;gap:20px;padding-top:22px;display:flex}.runtime .learning-navigation button{min-width:125px;min-height:46px;font:500 13px var(--font-ui);border-radius:14px;padding:10px 20px}.runtime .learning-navigation .game-button{color:#e9e5db;background:#ffffff0a;border:1px solid #ffffff30}.runtime .learning-navigation .game-primary{color:#24313b;background:#eee5d2}.runtime .learning-navigation>span{color:#aebbc4;font-size:12px}.runtime .learning-navigation button:disabled{opacity:.3}.badge-notice{top:max(18px,env(safe-area-inset-top));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#eee7d7;z-index:6000;pointer-events:none;box-sizing:border-box;background:#202730ef;border:1px solid #e4d0a16b;border-radius:20px;align-items:center;gap:13px;width:max-content;max-width:calc(100vw - 28px);padding:13px 20px 13px 13px;animation:2.4s both badge-arrive;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #0004,inset 0 1px #fff2}.badge-notice>span:last-child{flex-direction:column;gap:4px;display:flex}.badge-notice small{font:400 10px var(--font-ui);color:#c4c6c9}.badge-notice strong{font:600 14px var(--font-ui)}.badge-celebration{color:#e4c787;background:#e1c68d12;border:1px solid #e1c68d5c;border-radius:50%;place-items:center;width:42px;height:42px;animation:.6s ease-out badge-medallion;display:grid}.badge-celebration .ui-icon{width:25px;height:25px}@keyframes badge-arrive{0%{opacity:0;translate:0 -15px}12%,85%{opacity:1;translate:0}to{opacity:0;translate:0 -8px}}@keyframes badge-medallion{0%{rotate:-15deg;scale:.75}60%{rotate:5deg;scale:1.12}to{rotate:0deg;scale:1}}@media (width<=760px){.runtime .learning-screen{gap:18px;width:calc(100% - 32px);padding:20px 0}.runtime .learning-title{font-size:20px}.runtime .learning-body{grid-template-columns:1fr;gap:24px;min-height:0}.runtime .learning-illustration{gap:24px;min-height:280px}.runtime .learning-copy{padding:0 4px}.runtime .learning-copy h2{margin:10px 0 15px;font-size:26px}.runtime .learning-copy p{max-width:none;font-size:14px;line-height:1.8}.runtime .learning-navigation{gap:10px;margin-top:8px;padding-top:18px}.runtime .learning-navigation button{min-width:100px}.runtime .learning-progress{gap:5px}.runtime .learning-suit>svg{width:46px;height:55px}.runtime .learning-suits{gap:7px}.runtime .learning-columns{--teach-w:35px;gap:7px;height:175px}.runtime .learning-columns>div{width:35px}.runtime .learning-card-row{--teach-w:60px;gap:6px}.runtime .learning-draw{gap:25px}.runtime .learning-fan{--teach-w:82px;height:125px}.runtime .learning-draw>div{min-width:120px}.runtime .themes-catalog .card-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.runtime #game-dialog .themes-catalog .card-theme-choice{min-height:210px}.runtime .themes-catalog .table-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.runtime .themes-catalog .table-swatch{height:85px}}@media (prefers-reduced-motion:reduce){.badge-notice,.badge-celebration{animation:none}}.runtime .learning-navigation button{flex:0 140px;width:140px;min-width:0;max-width:40%;margin:0}.runtime .learning-navigation>span{text-align:center;white-space:nowrap;flex:0 0 60px}.runtime .learning-body{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.runtime .learning-copy,.runtime .learning-illustration{min-width:0}@media (width<=760px){.runtime .learning-body{grid-template-columns:minmax(0,1fr)}}.runtime #game-dialog.themes-dialog .card-theme-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px}.runtime #game-dialog.themes-dialog .table-theme-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.runtime #game-dialog.themes-dialog .catalog-card-thumbnail{background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-radius:6px;flex:none;width:90px;height:128.7px;margin:0 auto;display:block;position:relative;box-shadow:0 6px 12px #0004}.runtime #game-dialog.themes-dialog .table-swatch{background-position:50%;background-repeat:no-repeat;background-size:cover;height:105px}@media (width<=760px){.runtime #game-dialog.themes-dialog .card-theme-grid,.runtime #game-dialog.themes-dialog .table-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.runtime #game-dialog.themes-dialog .table-swatch{height:85px}}.runtime .home-launch:empty{display:none}.runtime .game-shell:is([data-screen=loading],[data-screen=welcome]){overflow:hidden;background:#111923!important}.runtime .game-shell:is([data-screen=loading],[data-screen=welcome]):before,.runtime .game-shell:is([data-screen=loading],[data-screen=welcome]):after{display:none!important}.runtime .loading-screen{box-sizing:border-box;color:#d9dce0;text-align:center;background:0 0;flex:1;place-items:center;width:100%;height:100%;min-height:0;padding:24px;display:grid;position:relative}.runtime .loading-panel{flex-direction:column;align-items:center;gap:0;width:min(280px,100%);display:flex}.runtime .loading-panel h1{font:500 15px/1.5 var(--font-ui);color:#d9dce0;letter-spacing:.025em;margin:0 0 30px}.runtime .loading-panel label{font:400 12px/1.5 var(--font-ui);color:#9ca8b4;margin:0 0 14px}.runtime .loading-panel p{font:400 12px/1.7 var(--font-ui);color:#aeb9c4;margin:0 0 22px}.runtime #game-load-progress{appearance:none;color:#dfd5bc;accent-color:#dfd5bc;background:#ffffff12;border:0;border-radius:10px;width:100%;height:4px;display:block;overflow:hidden}.runtime #game-load-progress::-webkit-progress-bar{background:#ffffff12;border-radius:10px}.runtime #game-load-progress::-webkit-progress-value{background:#dfd5bc;border-radius:10px;transition:width .25s}.runtime #game-load-progress::-moz-progress-bar{background:#dfd5bc;border-radius:10px}.runtime .loading-enter{color:#202a33;min-width:140px;min-height:44px;font:500 13px var(--font-ui);box-shadow:none;background:#e7e3d9;border:1px solid #ffffff40;border-radius:13px;justify-content:center;align-items:center;margin:28px 0 0;padding:12px 26px;display:flex}.runtime .loading-enter:hover{background:#fff8e9}.runtime .loading-enter[hidden]{display:none!important}@media (prefers-reduced-motion:reduce){.runtime #game-load-progress::-webkit-progress-value{transition:none}}.runtime .loading-panel .loading-enter,.runtime .loading-panel .loading-enter:hover,.runtime .loading-panel .loading-enter:focus-visible,.runtime .loading-panel .loading-enter:active{opacity:1;border-radius:13px;color:#202a33!important;text-shadow:none!important}.runtime .loading-panel .loading-enter:hover,.runtime .loading-panel .loading-enter:focus-visible{background:#fff8e9!important}.runtime #game-dialog.achievements-dialog{width:min(1000px,100vw - 28px);max-height:calc(100dvh - 32px)}.runtime .collection-summary{color:#bfc4c9;margin:0 0 20px;font-size:12px}.runtime .badge-collection{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.runtime .badge-collection .achievement{text-align:center;box-sizing:border-box;color:#aeb5bc;background:linear-gradient(145deg,#ffffff07,#ffffff02);border:1px solid #ffffff20;border-radius:20px;flex-direction:column;align-items:center;gap:12px;min-height:266px;padding:20px 14px 16px;display:flex;position:relative}.runtime .achievement .achievement-art{filter:grayscale();opacity:.55;flex:0 0 115px;width:100px;height:115px}.runtime .achievement-art .badge-art{width:100%;height:100%;display:block}.runtime .achievement .achievement-copy{flex-direction:column;flex:1;align-items:center;gap:7px;width:100%;min-height:60px;display:flex}.runtime .achievement .achievement-copy strong{color:#bdc2c7;font-size:13px;font-weight:600;line-height:1.4}.runtime .achievement .achievement-copy small{color:#8f9aa4;max-width:190px;margin:0;font-size:10px;line-height:1.6}.runtime .achievement .achievement-progress{flex-direction:column;flex:none;align-items:center;gap:8px;width:100%;display:flex}.runtime .achievement .badge-count{font:400 10px var(--font-ui);color:#a3abb2;position:static}.runtime .achievement progress{accent-color:#8d969e;background:#ffffff10;width:100%;height:3px}.runtime .achievement progress::-webkit-progress-value{background:#8d969e}.runtime .achievement progress::-moz-progress-bar{background:#8d969e}.runtime .badge-collection .achievement.unlocked{background:linear-gradient(145deg,#e4c38210,#ffffff03);border-color:#dec18b70;box-shadow:inset 0 1px #f5d4a21c}.runtime .achievement.unlocked .achievement-art{filter:none;opacity:1}.runtime .achievement.unlocked .achievement-copy strong{color:#f3e6cc}.runtime .achievement.unlocked .achievement-copy small{color:#c6c1b6}.runtime .achievement.unlocked progress::-webkit-progress-value{background:#dec18b}.runtime .achievement.unlocked progress::-moz-progress-bar{background:#dec18b}.badge-celebration .badge-art{width:40px;height:46px;display:block}.badge-celebration{background:0 0;border:0}@media (width<=850px){.runtime .badge-collection{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}@media (width<=600px){.runtime .badge-collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.runtime .badge-collection .achievement{gap:10px;min-height:250px;padding:14px 8px}.runtime .achievement .achievement-art{flex-basis:102px;width:88px;height:102px}.runtime .achievement .achievement-copy strong{font-size:12px}.runtime .achievement .achievement-copy small{font-size:10px}.runtime .achievement .achievement-copy{min-height:67px}}.runtime #game-dialog.new-deal-dialog{width:min(700px,100vw - 28px)}.runtime .new-deal-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:6px 0 10px;display:grid;overflow:visible}.runtime .new-deal-options .mode-card{color:#eeeae0;background:linear-gradient(145deg,#ffffff0d,#101c2830);border:1px solid #ffffff40;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:6px;height:auto;min-height:240px;padding:18px 10px;display:flex;overflow:visible}.runtime .new-deal-options .mode-card .mode-art{flex:none;width:100%;height:155px;display:block;position:relative;overflow:visible}.runtime .new-deal-options .home-card-scene{--preview-card-w:84px;width:100%;height:100%;display:block;position:relative;transform:none}.runtime .new-deal-options .home-preview-card{width:var(--preview-card-w);height:calc(var(--preview-card-w)*1.43);background-size:calc(var(--preview-card-w)*9.28) auto;background-position:calc(var(--preview-card-w)*var(--atlas-x)) calc(var(--preview-card-w)*var(--atlas-y));filter:drop-shadow(2px 10px 7px #0007);transform:translateX(calc(-50% + (var(--i) - (var(--count) - 1)/2)*28px)) rotate(calc((var(--i) - (var(--count) - 1)/2)*10deg));background-repeat:no-repeat;border-radius:5px;display:block;position:absolute;top:10px;left:50%}.runtime .new-deal-options .mode-card>strong{color:#eeeae0;margin:0;font-size:16px}.runtime .new-deal-options .mode-card>small{color:#c1c7cd;margin:0;font-size:11px;display:block}@media (hover:hover){.runtime .new-deal-options .mode-card:hover{background:#ffffff15;border-color:#e4cf9b;transform:translateY(-3px)}}@media (width<=600px){.runtime .new-deal-options{gap:12px}.runtime .new-deal-options .mode-card{min-height:205px;padding:12px 5px}.runtime .new-deal-options .home-card-scene{--preview-card-w:64px}.runtime .new-deal-options .mode-card .mode-art{height:125px}.runtime .new-deal-options .mode-card>strong{font-size:14px}.runtime .new-deal-options .mode-card>small{font-size:9px}}@media (prefers-reduced-motion:reduce){.runtime .new-deal-options .mode-card:hover{transform:none}}.runtime .game-stats #timer{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-weight:650;line-height:1.2;font-size:27px!important}@media (width<=600px){.runtime .game-stats #timer{font-size:24px!important}}@media (height<=520px){.runtime .game-stats #timer,.runtime .game-stats>span:first-child strong{font-size:20px!important}}.runtime.platform-paused *,.runtime.platform-paused :before,.runtime.platform-paused :after{transition:none!important;animation-play-state:paused!important}.runtime #game-dialog .shortcut-list{gap:6px;margin:0;display:grid}.runtime #game-dialog .shortcut-list div{border-bottom:1px solid #f5ecd914;justify-content:space-between;align-items:center;gap:16px;min-height:38px;padding:4px 0;display:flex}.runtime #game-dialog .shortcut-list div:last-child{border-bottom:0}.runtime #game-dialog .shortcut-list dt{flex:none;order:2;gap:4px;display:flex}.runtime #game-dialog .shortcut-list dd{opacity:.9;margin:0;font-size:14px}.runtime #game-dialog .shortcut-list kbd{text-align:center;min-width:26px;color:inherit;background:#f5ecd90f;border:1px solid #f5ecd94d;border-bottom-width:2px;border-radius:6px;padding:3px 7px;font:600 12px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace}.win-celebration{z-index:1000;cursor:pointer;touch-action:none;position:fixed;inset:0;overflow:hidden}.win-celebration-card{width:var(--celebration-card-w);height:calc(var(--celebration-card-w)*1.43);background-size:calc(var(--celebration-card-w)*9.28) auto;filter:drop-shadow(2px 8px 6px #0006);will-change:transform,opacity;pointer-events:none;background-repeat:no-repeat;border-radius:5px;position:absolute;top:0;left:0}.runtime .game-footnote:has(.hint-offer){justify-content:center;gap:8px;min-height:44px;padding:8px 0 2px;display:flex!important}.runtime .hint-offer{color:#f4ead3;cursor:pointer;background:#e6d2a31f;border:1px solid #e6d2a366;border-radius:22px;align-items:center;gap:7px;min-height:38px;padding:8px 16px;font-size:12px;animation:.35s ease-out hint-offer-in;display:inline-flex;box-shadow:inset 0 1px 1px #ffffff24}.runtime .hint-offer:hover{background:#e6d2a333}.runtime .hint-offer .ui-icon{width:16px;height:16px}.runtime .hint-offer small{opacity:.8;align-items:center;gap:3px;font-size:11px;display:inline-flex}@keyframes hint-offer-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.reduce-motion .runtime .hint-offer,.runtime.reduce-motion .hint-offer{animation:none}@media (prefers-reduced-motion:reduce){.runtime .hint-offer{animation:none}}.runtime #game-dialog .task-summary{opacity:.9;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 8px;font-size:13px;display:flex}.runtime #game-dialog .task-summary strong{font-variant-numeric:tabular-nums;font-size:15px}.runtime #game-dialog .task-progress{appearance:none;accent-color:#e6d2a3;background:#f5ecd91a;border:0;border-radius:6px;width:100%;height:6px;margin:0 0 16px;display:block;overflow:hidden}.runtime #game-dialog .task-progress::-webkit-progress-bar{background:#f5ecd91a;border-radius:6px}.runtime #game-dialog .task-progress::-webkit-progress-value{background:#e6d2a3;border-radius:6px;transition:width .4s}.runtime #game-dialog .task-progress::-moz-progress-bar{background:#e6d2a3;border-radius:6px}.runtime #game-dialog .task-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.runtime #game-dialog .task-card{background:#ffffff08;border:1px solid #f5ecd91f;border-radius:14px;align-items:center;gap:12px;padding:12px;display:flex}.runtime #game-dialog .task-card.complete{background:#e6d2a314;border-color:#e6d2a366}.runtime #game-dialog .task-art{color:#e6d2a3;background:#f5ecd912;border-radius:10px;flex:none;place-items:center;width:38px;height:38px;display:grid}.runtime #game-dialog .task-art .ui-icon{width:20px;height:20px}.runtime #game-dialog .task-copy{flex:1;gap:3px;min-width:0;display:grid}.runtime #game-dialog .task-copy strong{font-size:14px;font-weight:600;line-height:1.3}.runtime #game-dialog .task-copy small{opacity:.8;align-items:center;gap:4px;font-size:12px;display:inline-flex}.runtime #game-dialog .task-copy small .ui-icon{width:13px;height:13px}.runtime #game-dialog .task-card.complete .task-copy small{opacity:.6}.runtime #game-dialog .task-done{color:#1b252d;background:#e6d2a3;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid}.runtime #game-dialog .task-done .ui-icon{width:18px;height:18px}.runtime #game-dialog .task-go{min-height:36px;color:inherit;font:inherit;cursor:pointer;background:#f5ecd914;border:1px solid #f5ecd94d;border-radius:18px;flex:none;align-items:center;gap:6px;padding:6px 12px;font-size:12px;display:inline-flex}.runtime #game-dialog .task-go:hover{background:#f5ecd926}.runtime #game-dialog .task-go .ui-icon{width:14px;height:14px}@media (width<=420px){.runtime #game-dialog .task-card:has(.task-go){flex-wrap:wrap}.runtime #game-dialog .task-card:has(.task-go) .task-copy{flex:calc(100% - 60px)}.runtime #game-dialog .task-go{margin-left:50px}}.runtime #game-dialog .history-summary{opacity:.9;margin:12px 0;font-size:13px}.runtime #game-dialog .history-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.runtime #game-dialog .history-deal{width:100%;min-height:34px;color:inherit;font-variant-numeric:tabular-nums;cursor:pointer;background:#ffffff08;border:1px solid #f5ecd92e;border-radius:10px;padding:4px 6px;font:600 12px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace}.runtime #game-dialog .history-deal:hover{background:#e6d2a31f;border-color:#e6d2a366}.runtime #game-dialog .history-pager{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:16px;margin-top:14px;font-size:13px;display:flex}.runtime #game-dialog .history-pager .history-next .ui-icon{rotate:180deg}.runtime #game-dialog .history-empty{opacity:.8;margin:16px 0}.runtime .game-tools .tool-button.unaffordable .tool-cost{color:#f0a48a}.runtime .game-tools .tool-button.unaffordable>svg{opacity:.55}.runtime .header-end .balance.low{color:#f0a48a;border-color:#f0a48a66}.runtime .game-tools .tool-button.unaffordable{position:relative}.runtime .game-tools .tool-button.unaffordable:after{content:"";background:#f0a48a;border-radius:50%;width:7px;height:7px;position:absolute;top:5px;right:6px;box-shadow:0 0 0 2px #1b252d}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.runtime #game-dialog .dialog-content{scrollbar-color:#d7c9a05c transparent;padding-block-end:4px}.runtime #game-dialog button:active{transform:scale(.985)!important}.runtime #game-dialog .dialog-close:active{transform:none!important}.runtime #game-dialog .dialog-close{position:static!important;inset:auto!important}.runtime #game-dialog button{-webkit-user-select:none;user-select:none}.runtime #game-dialog.victory-dialog{isolation:isolate;background:linear-gradient(145deg,#ffffff13,#ffffff03),#1b252ded;border-color:#e2ca925c;width:min(560px,100vw - 28px);max-height:calc(100dvh - 28px);padding:20px 24px 24px;animation:.45s cubic-bezier(.2,.8,.2,1) victory-panel-enter;position:fixed;box-shadow:inset 0 1px #fff3,0 24px 80px #0007}.runtime #game-dialog.victory-dialog:before{content:none;animation:none;display:none}.runtime #game-dialog.victory-dialog .dialog-heading{justify-content:flex-end;min-height:38px;margin:0 0 2px}.runtime #game-dialog.victory-dialog .dialog-heading h2{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.runtime #game-dialog.victory-dialog .dialog-content{padding:0 2px 4px;overflow-x:hidden}.runtime .victory-result{text-align:center;color:#ede7d9;flex-direction:column;align-items:stretch;gap:18px;display:flex}.runtime .victory-hero{flex-direction:column;align-items:center;padding:0 8px;display:flex}.runtime .victory-seal{border-radius:50%;flex:none;width:118px;height:118px;animation:.7s cubic-bezier(.16,1,.3,1) both victory-seal-enter;position:relative;overflow:hidden}.runtime .victory-seal>svg{filter:drop-shadow(0 0 9px #e1c58720);width:100%;height:100%;display:block}.runtime .victory-seal:after{content:"";pointer-events:none;background:linear-gradient(90deg,#0000,#fff2,#0000);width:32%;animation:1.25s ease-in-out .25s both victory-seal-light;position:absolute;inset:-30% auto -30% -55%;rotate:24deg}.runtime .victory-deal{font:400 11px/1.5 var(--font-ui);letter-spacing:.05em;color:#c2b69e;margin:10px 0;display:block}.runtime .victory-deal span{color:#6d7c89;margin:0 5px}.runtime #game-dialog .victory-hero h3{font:500 32px/1.2 var(--font-display);letter-spacing:-.03em;color:#f3e6c6;margin:0 0 10px}.runtime #game-dialog .victory-hero p{font:400 12px/1.6 var(--font-ui);color:#b8c0c6;margin:0}.runtime .victory-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;display:grid}.runtime .victory-stats>div{min-width:0;animation:victory-stat-enter .45s calc(.12s + var(--stat-index)*80ms) both;background:#ffffff04;border:1px solid #ffffff20;border-radius:16px;padding:14px 8px}.runtime .victory-stats small{font:400 9px/1.4 var(--font-ui);letter-spacing:.09em;color:#9faab3;margin-bottom:7px;display:block}.runtime .victory-stats strong{font:600 25px/1.3 var(--font-ui);font-variant-numeric:tabular-nums;color:#eee7d7;letter-spacing:-.02em;display:block}.runtime .victory-reward{font:400 11px/1.4 var(--font-ui);color:#c8b990;justify-content:center;align-items:center;gap:7px;display:flex}.runtime .victory-reward .ui-icon{width:18px;height:18px}.runtime .victory-reward strong{color:#ead4a0;font-weight:650}.runtime .victory-badges{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.runtime .victory-badges>span{color:#e3cf9e;background:#d3b7760a;border:1px solid #d3b77636;border-radius:20px;align-items:center;gap:6px;padding:6px 10px;font-size:10px;display:inline-flex}.runtime .victory-badges .ui-icon{flex:none;width:15px;height:15px}.runtime .victory-actions{gap:10px;padding-top:1px;display:grid}.runtime #game-dialog .victory-actions :is(.game-primary,.game-button){border-radius:14px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:44px;margin:0;padding:11px 16px;line-height:1.4;display:flex}.runtime #game-dialog .victory-actions .game-primary{color:#26323a;background:#e9dfc8;border-color:#fff5}.runtime #game-dialog .victory-actions .game-primary:hover{color:#202c34;background:#fff0cf}.runtime #game-dialog .victory-actions .game-button{color:#c6ccd0;background:0 0;border-color:#ffffff26}.runtime #game-dialog .victory-actions .game-button:hover{color:#f2eddf;background:#ffffff0b}@keyframes victory-panel-enter{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}@keyframes victory-seal-enter{0%{opacity:0;transform:translateY(9px)scale(.88)}to{opacity:1;transform:none}}@keyframes victory-seal-light{0%{translate:0}to{translate:650%}}@keyframes victory-stat-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media (width<=600px){.runtime #game-dialog.victory-dialog{padding:16px 18px 20px}.runtime .victory-result{gap:15px}.runtime #game-dialog .victory-hero h3{font-size:29px}.runtime .victory-stats{gap:7px}.runtime .victory-stats strong{font-size:23px}}@media (height<=620px){.runtime .victory-seal{width:82px;height:82px}.runtime .victory-result{gap:12px}.runtime .victory-deal{margin:5px 0 8px}.runtime .victory-stats>div{padding:10px 7px}.runtime #game-dialog .victory-hero h3{font-size:27px}}@media (prefers-reduced-motion:reduce){.runtime #game-dialog.victory-dialog,.runtime .victory-seal,.runtime .victory-seal:after,.runtime .victory-stats>div{animation:none}.runtime .victory-seal:after{display:none}}.wood-texture{width:100%;height:100%;display:block}.wood-texture img{object-fit:fill;image-rendering:auto;pointer-events:none;width:100%;height:100%;display:block}.wood-card .card-face,.wood-card .card-back{box-shadow:none;background:0 0;border:0}.wood-card[data-card-theme=w01]{--wood-ink:#59361e;--wood-red:#b82a27;--carve-light:#fff5d9a6;--carve-dark:#291406a6}.wood-card .corner{color:var(--wood-ink)}.wood-card.red .corner{color:var(--wood-red)}.wood-card .card-rank{text-shadow:0 -.7px .45px var(--carve-dark), 0 .85px .35px var(--carve-light)}.wood-card .corner small svg{filter:drop-shadow(0 -.65px .35px var(--carve-dark)) drop-shadow(0 .7px .25px var(--carve-light))}#game-screen:has(.settings-screen){overflow-y:auto}.playing-card[data-card-theme=simple] .card-face{color:#233745;background:#fafcfd;box-shadow:inset 0 0 0 1px #e0e5e7}.playing-card[data-card-theme=simple] .corner{color:#233745;text-shadow:none;font-family:Segoe UI,Arial,sans-serif;font-weight:650;font-size:calc(var(--cw)*.34)}.playing-card[data-card-theme=simple].red .corner,.playing-card[data-card-theme=simple].red .simple-emblem{color:#b34}.playing-card[data-card-theme=simple] .simple-emblem{color:#233745;justify-content:center;align-items:center;display:flex;position:absolute;inset:32% 20% 12%}.playing-card[data-card-theme=simple] .simple-emblem svg{width:100%;height:100%}.playing-card[data-card-theme=simple] .card-back{background:#345b6a;box-shadow:inset 0 0 0 1px #fff5,inset 0 0 0 4px #345b6a,inset 0 0 0 5px #ffffff35}.playing-card[data-card-theme=simple] .card-back:before{content:"♠";font:calc(var(--cw)*.45) Georgia,serif;color:#e3eef055;place-items:center;display:grid;position:absolute;inset:0}.wood-card[data-card-theme=w02]{--wood-ink:#deb880;--wood-red:#cb8b62;--carve-light:#e8c08a9c;--carve-dark:#190b06d9}.wood-card[data-card-theme=w03]{--wood-ink:#c5a17b;--wood-red:#b97e62;--carve-light:#f1cda35c;--carve-dark:#180b08e6}.wood-card:is([data-card-theme=w02],[data-card-theme=w03]) .corner{font-family:var(--font-display,"Noto Serif",Georgia,serif);font-weight:650}.wood-card:is([data-card-theme=w02],[data-card-theme=w03]) .card-rank{text-shadow:0 -.65px .5px var(--carve-dark),0 .75px .45px var(--carve-light)}.wood-card:is([data-card-theme=w02],[data-card-theme=w03]) .corner small svg{filter:drop-shadow(0 -.55px .35px var(--carve-dark)) drop-shadow(0 .7px .4px var(--carve-light))}.wood-card[data-card-theme=w02] .card-face .wood-texture{filter:saturate(.78)}.wood-card[data-card-theme=w03] .card-face .wood-texture{filter:saturate(.76)brightness(1.03)}.wood-card:is([data-card-theme=w02],[data-card-theme=w03]) .corner{mix-blend-mode:normal;opacity:.92;font-size:calc(var(--cw)*.28);font-family:var(--font-display,"Noto Serif",Georgia,serif);opacity:1;mix-blend-mode:normal;color:#6b3b20;text-shadow:0 -1px .4px #160a07c9,0 1px .5px #efc38c99;font-weight:750;top:6.5%;left:17%;right:17%}.wood-card:is([data-card-theme=w02],[data-card-theme=w03]).red .corner{color:#ad3029;text-shadow:0 -.8px .4px #3b0808c9,0 1px .55px #ef9c7c80}.wood-card[data-card-theme=w03] .corner{color:#d1a574}.wood-card[data-card-theme=w03].red .corner{color:#d55d4c}.wood-card:is([data-card-theme=w02],[data-card-theme=w03]) .corner small{width:calc(var(--cw)*.2);height:calc(var(--cw)*.2)}.playing-card{--card-thickness:clamp(1px,calc(var(--cw,100px)*.014),2px);perspective:700px;translate:0}.playing-card .card-inner{transform-style:preserve-3d;transform-origin:50%;overflow:visible;transform:rotateY(0)}.playing-card.face-down .card-inner{transform:rotateY(180deg)}.playing-card .card-face,.playing-card .card-back{visibility:visible;backface-visibility:hidden}.playing-card .card-face{transform:translateZ(calc(var(--card-thickness)/2))}.playing-card .card-back{transform:rotateY(180deg) translateZ(calc(var(--card-thickness)/2))}.card-edge{pointer-events:none;backface-visibility:visible;background:linear-gradient(90deg,#e1dacb,#fffaf0 45%,#b9b3a7);display:none;position:absolute}.wood-card .card-edge{background:linear-gradient(90deg,#5e2d16,#b57645 45%,#5e2d16)}.card-edge-left,.card-edge-right{width:var(--card-thickness);transform-origin:0;height:100%;transform:translateZ(calc(var(--card-thickness)/2)) rotateY(90deg);top:0}.card-edge-left{left:0}.card-edge-right{left:100%}.card-edge-top,.card-edge-bottom{height:var(--card-thickness);transform-origin:50% 0;width:100%;transform:translateZ(calc(var(--card-thickness)/-2)) rotateX(90deg);left:0}.card-edge-top{top:0}.card-edge-bottom{top:100%}.playing-card .card-face:after,.playing-card .card-back:after{content:"";pointer-events:none;opacity:0;background:linear-gradient(115deg,#0000 30%,#fff0 40%,#fff9 49%,#fff2 57%,#0000 67%);position:absolute;inset:-20%;transform:translate(-90%)}.playing-card.is-flipping .card-face:after,.playing-card.is-flipping .card-back:after{animation:.54s ease-in-out both card-turn-reflection}.playing-card.is-flipping{z-index:60}.playing-card.is-flipping .card-inner{will-change:transform}.playing-card:not(.is-flipping){perspective:none;transform-style:flat}.playing-card:not(.is-flipping) .card-inner{transform-style:flat;transform:none}.playing-card:not(.is-flipping) .card-face,.playing-card:not(.is-flipping) .card-back{backface-visibility:visible;transform:none}.playing-card:not(.is-flipping) .card-back,.playing-card.face-down:not(.is-flipping) .card-face{visibility:hidden}.playing-card.face-down:not(.is-flipping) .card-back{visibility:visible}.playing-card:not(.is-flipping) .card-edge{display:none}.playing-card:not(.is-flipping) .card-jewel{transform:none}.playing-card[data-card-theme=d02] .card-face:before{content:"";border-radius:inherit;pointer-events:none;z-index:3;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #c8a652,inset 0 0 0 3px #fff8e6,inset 0 0 0 3.7px #caaf6b}@keyframes card-turn-reflection{0%{opacity:0;transform:translate(-90%)}35%{opacity:.3}65%{opacity:.46}to{opacity:0;transform:translate(90%)}}@media (prefers-reduced-motion:reduce){.playing-card.is-flipping .card-face:after,.playing-card.is-flipping .card-back:after{animation:none}}.reduce-motion .playing-card.is-flipping .card-face:after,.reduce-motion .playing-card.is-flipping .card-back:after{animation:none}
