@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-ext-400-normal-BQZuk6qB.woff2) format("woff2"),url(./inter-cyrillic-ext-400-normal-DQukG94-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-cyrillic-400-normal-obahsSVq.woff2) format("woff2"),url(./inter-cyrillic-400-normal-HOLc17fK.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-ext-400-normal-DGGRlc-M.woff2) format("woff2"),url(./inter-greek-ext-400-normal-KugGGMne.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-greek-400-normal-B4URO6DV.woff2) format("woff2"),url(./inter-greek-400-normal-q2sYcFCs.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2"),url(./inter-vietnamese-400-normal-Bbgyi5SW.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-ext-400-normal-C1nco2VV.woff2) format("woff2"),url(./inter-latin-ext-400-normal-77YHD8bZ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(./inter-latin-400-normal-C38fXH4l.woff2) format("woff2"),url(./inter-latin-400-normal-CyCys3Eg.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-cyrillic-ext-500-normal-B0yAr1jD.woff2) format("woff2"),url(./inter-cyrillic-ext-500-normal-BmqWE9Dz.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-cyrillic-500-normal-BasfLYem.woff2) format("woff2"),url(./inter-cyrillic-500-normal-CxZf_p3X.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-greek-ext-500-normal-C4iEst2y.woff2) format("woff2"),url(./inter-greek-ext-500-normal-2j5mBUwD.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-greek-500-normal-BIZE56-Y.woff2) format("woff2"),url(./inter-greek-500-normal-Xzm54t5V.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-vietnamese-500-normal-DOriooB6.woff2) format("woff2"),url(./inter-vietnamese-500-normal-mJboJaSs.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-latin-ext-500-normal-CV4jyFjo.woff2) format("woff2"),url(./inter-latin-ext-500-normal-BxGbmqWO.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(./inter-latin-500-normal-Cerq10X2.woff2) format("woff2"),url(./inter-latin-500-normal-BL9OpVg8.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-cyrillic-ext-600-normal-Dfes3d0z.woff2) format("woff2"),url(./inter-cyrillic-ext-600-normal-Bcila6Z-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-cyrillic-600-normal-CWCymEST.woff2) format("woff2"),url(./inter-cyrillic-600-normal-4D_pXhcN.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-greek-ext-600-normal-DRtmH8MT.woff2) format("woff2"),url(./inter-greek-ext-600-normal-B8X0CLgF.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-greek-600-normal-plRanbMR.woff2) format("woff2"),url(./inter-greek-600-normal-BZpKdvQh.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-vietnamese-600-normal-Cc8MFFhd.woff2) format("woff2"),url(./inter-vietnamese-600-normal-BuLX-rYi.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-latin-ext-600-normal-D2bJ5OIk.woff2) format("woff2"),url(./inter-latin-ext-600-normal-CIVaiw4L.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(./inter-latin-600-normal-LgqL8muc.woff2) format("woff2"),url(./inter-latin-600-normal-CiBQ2DWP.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-cyrillic-ext-700-normal-BjwYoWNd.woff2) format("woff2"),url(./inter-cyrillic-ext-700-normal-LO58E6JB.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-cyrillic-700-normal-CjBOestx.woff2) format("woff2"),url(./inter-cyrillic-700-normal-DrXBdSj3.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-greek-ext-700-normal-qfdV9bQt.woff2) format("woff2"),url(./inter-greek-ext-700-normal-BoQ6DsYi.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-greek-700-normal-C3JjAnD8.woff2) format("woff2"),url(./inter-greek-700-normal-BUv2fZ6O.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-vietnamese-700-normal-DlLaEgI2.woff2) format("woff2"),url(./inter-vietnamese-700-normal-BZaoP0fm.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-latin-ext-700-normal-Ca8adRJv.woff2) format("woff2"),url(./inter-latin-ext-700-normal-TidjK2hL.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(./inter-latin-700-normal-Yt3aPRUw.woff2) format("woff2"),url(./inter-latin-700-normal-BLAVimhd.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(./fraunces-vietnamese-600-normal-BjlAJixd.woff2) format("woff2"),url(./fraunces-vietnamese-600-normal-DlAl5EAR.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(./fraunces-latin-ext-600-normal-BtzmzP0X.woff2) format("woff2"),url(./fraunces-latin-ext-600-normal-B0Dy4lqi.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-display:swap;font-weight:600;src:url(./fraunces-latin-600-normal-BFCDtZfi.woff2) format("woff2"),url(./fraunces-latin-600-normal-DL5QCzvS.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;overscroll-behavior:none}button{font:inherit;color:inherit;touch-action:manipulation;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app{height:100%;min-height:100dvh;background:var(--bg);color:var(--ink);overflow:hidden;position:relative}.screen{height:100dvh;max-width:600px;margin:0 auto;display:flex;flex-direction:column;padding:max(env(safe-area-inset-top,0px),16px) 16px max(env(safe-area-inset-bottom,0px),20px);position:relative}.serif{font-family:var(--serif)}@keyframes screen-in{0%{opacity:0;transform:translate(var(--screen-shift))}to{opacity:1;transform:none}}@keyframes screen-back{0%{opacity:0;transform:translate(calc(-1 * var(--screen-shift)))}to{opacity:1;transform:none}}.app[data-enter=in]>.screen{animation:screen-in var(--dur-screen-in) var(--ease-out)}.app[data-enter=back]>.screen{animation:screen-back var(--dur-screen-back) var(--ease-out)}.app.reduced[data-enter]>.screen{animation:fade-in var(--dur-reduced) var(--ease-out)}@media(prefers-reduced-motion:reduce){.app[data-enter]>.screen{animation:fade-in var(--dur-reduced) var(--ease-out)}}.game-header{display:flex;align-items:center;justify-content:space-between;height:44px;flex:none;position:relative;z-index:1}.icon-btn{width:44px;height:44px;border:0;background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:center;border-radius:12px;padding:0}.icon-btn:active{transform:scale(.94)}.game-title{display:flex;flex-direction:column;align-items:center;border:0;background:transparent;min-height:44px;justify-content:center;padding:0 8px}.game-title .name{font-family:var(--serif);font-size:20px;font-weight:600}.game-title .sub{font-size:12px;color:var(--ink-muted);font-variant-numeric:tabular-nums}.header-right{display:flex}.board-wrap{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;position:relative}.board-canvas{display:block;touch-action:none}.game-main,.board-col{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.game-bottom{flex:none;display:flex;flex-direction:column;gap:10px;margin-top:12px;position:relative;z-index:1}.game-controls{display:flex;flex-direction:column;gap:10px}.mode-toggle{container-type:inline-size;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;background:var(--toggle-track);border-radius:14px}.mode-btn{min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-size:min(.875rem,6.4cqi);font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;transition:background-color var(--dur-micro) var(--ease-out)}.mode-btn[aria-pressed=true]{background:var(--toggle-active);color:var(--toggle-active-ink)}.common-bar{container-type:inline-size;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--border);padding-top:6px}.bar-btn{min-height:52px;border:0;background:transparent;color:var(--ink);font-size:.75rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:12px}.bar-btn:disabled{color:var(--ink-muted)}.bar-btn:active:not(:disabled){transform:scale(.95)}.nowrap{white-space:nowrap}.bar-hint{text-align:center}.casual .bar-btn{background:color-mix(in srgb,var(--surface) 55%,transparent)}.status-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:8px 16px;border-radius:999px;background:var(--surface);color:var(--ink);font-family:var(--serif);font-size:18px;font-weight:600;box-shadow:0 2px 12px #0000001f;pointer-events:none;animation:fade-in var(--dur-standard) var(--ease-out)}.status-live{position:absolute;inset:0;pointer-events:none;z-index:2}.library{overflow-y:auto;padding-bottom:max(env(safe-area-inset-bottom,0px),16px)}.lib-main{display:flex;flex-direction:column;gap:16px}.lib-side,.continue-btn,.lib-title-wide,.tile-level-text,.back-label{display:none}.lib-header{display:flex;justify-content:space-between;align-items:center;min-height:44px}.lib-header h1{margin:0;font-weight:600;font-size:28px;letter-spacing:-.3px}.overline{font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:var(--ink-faint)}.continue-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;align-items:center;gap:16px;color:var(--ink)}.continue-card:active,.tile-main:active{transform:scale(.97)}.continue-thumb{width:64px;height:64px;border-radius:12px;background:var(--surface-alt);display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}.continue-text{flex:1;display:flex;flex-direction:column;gap:4px}.continue-title{font-size:20px;font-weight:600}.continue-sub{font-size:13px;color:var(--ink-muted)}.continue-chevron{color:var(--accent);display:flex}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}.tile-main{border:0;background:transparent;padding:0;text-align:left;display:flex;flex-direction:column;gap:10px;color:var(--ink);transition:transform var(--dur-micro) var(--ease-out)}.thumb{height:92px;border-radius:10px;background:var(--thumb-bg);display:flex;align-items:center;justify-content:center;color:var(--ink)}.tile-name{font-size:18px;font-weight:600}.tile-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px}.tile-sub{font-size:12px;color:var(--ink-muted)}.tile-level{width:44px;height:44px;border-radius:10px;border:1px solid var(--border-strong);background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:center;padding:0}.tile-soon .thumb,.tile-soon .tile-name{opacity:.55}.soon-badge{border:1px dashed var(--ink-muted);border-radius:999px;padding:4px 10px}.sheet-layer{position:fixed;inset:0;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet-scrim{position:absolute;inset:0;background:#14141a6b;animation:fade-in var(--dur-fade) var(--ease-out)}.sheet{position:relative;width:100%;max-width:600px;max-height:92dvh;overflow-y:auto;background:var(--surface);color:var(--ink);border-radius:24px 24px 0 0;padding:12px 16px calc(env(safe-area-inset-bottom,0px) + 20px);display:flex;flex-direction:column;gap:12px;animation:sheet-in var(--dur-standard) var(--ease-out)}.sheet-grip{align-self:center;width:40px;height:5px;border-radius:3px;background:var(--key-border)}.sheet-title{margin:0;font-size:26px;font-weight:600}@keyframes sheet-in{0%{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.reduced .sheet,.reduced .sheet-scrim{animation:none}.level-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.level-row,.parked-row{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;min-height:56px;padding:10px 14px;border-radius:14px;border:1px solid var(--key-border);background:transparent;color:var(--ink)}.level-suggested{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}.level-suggested .level-sub,.level-suggested .level-time{color:var(--on-ink)}.level-text{display:flex;flex-direction:column;gap:2px}.level-name{font-size:16px;font-weight:600}.level-sub{font-size:12px;color:var(--ink-muted)}.level-time{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink-muted)}.parked{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--border);padding-top:12px}.parked-name{font-size:14px;font-weight:600}.parked-resume{font-size:14px;font-weight:600;color:var(--accent)}.pause-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.pause-meta{font-size:13px;color:var(--ink-muted);font-variant-numeric:tabular-nums}.primary-btn{border:0;background:var(--ink);color:var(--on-ink);font-size:16px;font-weight:600;min-height:52px;border-radius:14px;padding:0 20px}.pause-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.card-btn svg{margin-bottom:2px}.card-btn{text-align:left;background:transparent;color:var(--ink);border:1px solid var(--key-border);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:6px;min-height:44px}.card-title{font-size:15px;font-weight:600}.card-sub{font-size:12px;color:var(--ink-muted)}.pause-section{display:flex;flex-direction:column;gap:8px}.outline-btn{min-height:48px;border:1px solid var(--border-strong);border-radius:12px;background:transparent;color:var(--ink);font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 10px}.pause-links{display:flex;flex-wrap:wrap;justify-content:space-between;border-top:1px solid var(--border);padding-top:6px}.link-btn{border:0;background:transparent;color:var(--ink);font-size:14px;min-height:44px;padding:0 4px}.rules-box{background:var(--surface-alt);border-radius:12px;padding:4px 14px;font-size:14px;line-height:1.45}.center-msg{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;color:var(--ink-muted)}.pause-section h3{margin:0}.page-header{display:flex;align-items:center;gap:4px;height:44px;flex:none;margin-left:-10px}.page-title{margin:0;font-size:22px;font-weight:600}.settings-body{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:16px;padding:16px 0 24px;user-select:text;-webkit-user-select:text}.set-group{display:flex;flex-direction:column;gap:6px}.set-group h2{margin:0 4px}.set-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:12px}.set-card-list{gap:0;padding-top:4px;padding-bottom:4px}.set-card-list .set-caption{padding-top:8px}.set-row{display:flex;flex-direction:column;gap:6px}.set-label,.set-caption{font-size:13px;color:var(--ink-muted)}.set-hint{font-size:12px;line-height:1.35;color:var(--ink-muted)}.set-hint-out{margin:0 4px}.set-divider{border:0;border-top:1px solid var(--border);margin:6px -14px 2px}.choice{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:3px;padding:3px;background:var(--toggle-track);border-radius:12px}.choice.choice-look{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.4fr)}.choice-btn{min-height:44px;border:0;border-radius:9px;background:transparent;color:var(--ink);font-size:14px;font-weight:600;line-height:1.15;padding:0 4px;text-align:center}.choice-many .choice-btn{font-size:13px;padding:0 2px}@media(max-width:359px){.choice-btn{font-size:13px}.choice-many .choice-btn{font-size:12px;padding:0 4px}.choice.choice-many{grid-template-columns:repeat(var(--cols),auto)}.set-card{padding-left:10px;padding-right:10px}.set-divider{margin-left:-10px;margin-right:-10px}}.choice-btn[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 2px #0000002e,inset 0 0 0 1.5px var(--ink)}.set-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:4px 0;font-size:15px;cursor:pointer}.set-switch-text{display:flex;flex-direction:column;gap:2px}.switch{appearance:none;-webkit-appearance:none;margin:0;flex:none;position:relative;cursor:pointer;width:44px;height:26px;border-radius:13px;background:var(--surface-alt);border:1px solid var(--border-strong);transition:background-color var(--dur-micro) var(--ease-out)}.switch:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--ink-faint);transition:transform var(--dur-micro) var(--ease-out)}.switch:checked{background:var(--switch-on);border-color:var(--switch-on)}.switch:checked:after{transform:translate(18px);background:var(--surface)}.switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.reduced .switch,.reduced .switch:after{transition:none}.game-card{gap:12px}.game-card-head{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin:-6px 0;border:0;background:transparent;padding:0;color:var(--ink);text-align:left}.game-card-name{font-size:18px;font-weight:600}.game-card-chevron{color:var(--ink-faint);display:flex}.game-card-body{display:flex;flex-direction:column;gap:12px;padding-top:6px}.row-btn{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 12px 0 16px;text-align:left;border:1px solid var(--border-strong);border-radius:14px;background:transparent;color:var(--ink);font-size:15px;font-weight:600}.about-card{gap:8px}.about-card p{margin:0;font-size:14px;line-height:20px}.about-name{margin:0;font-size:22px;font-weight:600}.about-title{margin:0;font-size:15px;font-weight:600}.about-muted{color:var(--ink-muted)}.feedback-address{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px}.feedback-email{overflow-wrap:anywhere;user-select:all}.feedback-address .link-btn{color:var(--accent)}.link-btn.feedback-link{display:inline-flex;align-items:center;text-decoration:none}.about-link{color:var(--accent);text-decoration:none}.about-link.strong,.strong{font-weight:600}.about-licence{border-top:1px solid var(--border);margin-top:4px}.about-licence summary{list-style:none;display:flex;align-items:center;gap:6px;min-height:44px;font-size:14px;cursor:pointer}.about-licence summary::-webkit-details-marker{display:none}.about-licence summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}.about-licence[open] summary svg{transform:rotate(180deg)}.about-licence[open] .when-closed,.about-licence:not([open]) .when-open{display:none}.license{margin:0 0 4px;font-size:12px;line-height:18px;color:var(--ink-muted);display:flex;flex-direction:column;gap:8px}.about-card .license p{margin:0;font-size:12px;line-height:18px}.about-foot{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.about-version{margin:0;font-size:.8125rem;color:var(--ink-faint);font-variant-numeric:tabular-nums}.about-copy{margin:0;font-size:.75rem;color:var(--ink-faint)}.result-layer{position:fixed;inset:0;z-index:15;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}.result-card{pointer-events:auto;width:calc(100% - 32px);max-width:568px;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:20px;padding:20px;margin-bottom:max(env(safe-area-inset-bottom,0px),20px);display:flex;flex-direction:column;gap:16px;box-shadow:0 6px 30px #00000024}.result-title{margin:0;font-size:30px;font-weight:600}.result-stats{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.result-stats div{display:flex;flex-direction:column;gap:2px}.result-stats dt{font-size:12px;color:var(--ink-muted)}.result-stats dd{margin:0;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.result-actions{display:flex;gap:10px}@media(max-width:359px){.result-stats{grid-template-columns:repeat(3,auto);justify-content:space-between}.result-stats dd{font-size:18px}}.result-library{flex:1;font-size:15px;font-weight:600;border-color:var(--key-border)}.result-next{flex:2;font-size:15px;min-height:48px;border-radius:12px}.not-solved{position:absolute;left:16px;right:16px;top:64px;z-index:5;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:14px;padding:10px 12px;display:flex;gap:10px;align-items:center;justify-content:space-between;box-shadow:0 4px 16px #0000001f}.not-solved div{display:flex;flex-direction:column;gap:2px;font-size:14px}.not-solved span{font-size:12px;color:var(--ink-muted)}.board-stage{position:relative;flex:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.casual .game-title .name{font-weight:700}.board-wrap,.game-header{z-index:1}.casual .common-bar{border-top-color:transparent}@media(min-width:700px){.screen.game{max-width:1194px;padding-left:40px;padding-right:40px;padding-top:max(env(safe-area-inset-top,0px),16px)}.game-header{height:56px}.back-btn{width:auto;padding:0 8px 0 0;gap:8px;font-size:15px}.back-label{display:inline}.game-title{flex-direction:row;align-items:baseline;gap:10px}.game-title .name{font-size:24px}.game-title .sub{font-size:14px}.bar-btn{font-size:.8125rem}}@media(min-width:700px)and (orientation:portrait){.mode-toggle{align-self:center;width:360px}.game-bottom{gap:12px;margin-top:20px}}@media(min-width:700px)and (orientation:landscape){.screen.game{--pad-x: clamp(16px, 16px + (100vw - 900px) * .0632, 40px);--col-gap: clamp(24px, 24px + (100vw - 900px) * .0842, 56px);--controls-w: clamp(300px, 300px + (100vw - 900px) * .1053, 340px);--pad-top: clamp(8px, 8px + (100dvh - 500px) * .0267, 16px);--header-h: clamp(44px, 44px + (100dvh - 500px) * .04, 56px);--pad-bottom: clamp(16px, 16px + (100dvh - 500px) * .0533, 32px);--board-chrome: calc(var(--pad-top) + var(--header-h) + var(--pad-bottom));max-width:1400px;padding-left:var(--pad-x);padding-right:var(--pad-x);padding-top:max(env(safe-area-inset-top,0px),var(--pad-top));padding-bottom:max(env(safe-area-inset-bottom,0px),var(--pad-bottom))}.game-header{height:var(--header-h)}.game-main{display:grid;grid-template-rows:minmax(0,1fr);justify-content:center;column-gap:var(--col-gap);grid-template-columns:minmax(0,min(880px,calc(100dvh - var(--board-chrome)))) var(--controls-w)}.board-col{grid-column:1;grid-row:1;min-width:0}.game-bottom{grid-column:2;grid-row:1;align-self:center;margin-top:0}.game-main>.center-msg{grid-column:1 / -1;grid-row:1}.status-live{position:relative;inset:auto;grid-column:1;grid-row:1}.result-layer{position:relative;inset:auto;grid-column:2;grid-row:1;align-items:center}.result-card{width:100%;margin-bottom:0}.game-main:has(.result-layer) .game-bottom{visibility:hidden}.result-stats{grid-template-columns:minmax(0,1fr)}.result-stats div{flex-direction:row;justify-content:space-between;align-items:baseline;gap:12px}.result-stats dd{font-size:16px;text-align:right}}@media(min-width:900px)and (orientation:landscape)and (min-height:560px){.game-bottom{gap:14px}.mode-btn{min-height:48px;font-size:min(.9375rem,6.4cqi)}.common-bar{padding-top:8px}}@media(min-width:1024px){.screen.library{max-width:none;padding:0;flex-direction:row;overflow:hidden}.lib-side{display:flex;flex-direction:column;gap:6px;width:240px;flex:none;border-right:1px solid var(--border);padding:32px 20px;overflow-y:auto}.screen.settings,.screen.about{max-width:none;padding:0;display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.screen.settings .lib-side,.screen.about .lib-side{grid-row:1 / -1}.page-header,.settings-body{grid-column:2;justify-self:center;width:min(600px,100% - 64px)}.page-header{margin:16px 0 0;position:relative;left:-10px}.settings-body{padding-bottom:24px}.lib-brand{font-size:26px;font-weight:600;line-height:1.05;margin-bottom:24px}.lib-nav{display:flex;flex-direction:column;gap:6px}.lib-nav-item{text-align:left;border:0;background:transparent;color:var(--ink);border-radius:10px;padding:12px 14px;font-size:15px;min-height:44px}.lib-nav-item[aria-current]{background:var(--surface-alt);font-weight:600}.kbd-help{display:block;margin:auto 0 0;font-size:12px;line-height:1.5;color:var(--ink-muted)}.lib-main{flex:1;padding:40px max(56px,(100vw - 1360px) / 2);gap:28px;overflow-y:auto}.lib-header h1{font-size:34px}.lib-title-phone,.lib-settings{display:none}.lib-title-wide{display:inline}.continue-card{border-radius:20px;padding:24px;gap:24px}.continue-thumb{width:96px;height:96px;border-radius:14px}.continue-title{font-size:24px}.continue-sub{font-size:15px}.continue-chevron{display:none}.continue-btn{display:inline-flex;align-items:center;background:var(--ink);color:var(--on-ink);font-size:15px;font-weight:600;padding:12px 20px;border-radius:12px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tile{border-radius:18px;padding:18px;gap:14px}.sheet-layer{align-items:center}.sheet{max-width:560px;max-height:calc(100dvh - 32px);border-radius:24px;padding:20px;gap:12px}.sheet-grip{display:none}.tile-main{gap:14px}.thumb{height:145px;border-radius:12px}.thumb>*{zoom:1.4}.tile-name{font-size:22px}.tile-sub{font-size:13px}.tile-level{width:auto;padding:0 14px;font-size:13px}.tile-level svg{display:none}.tile-level-text{display:inline}}@media(min-width:1280px){.tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.tile-level{width:44px;padding:0;flex:none}.tile-level svg{display:inline}.tile-level-text{display:none}}.rotate-ask{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;background:var(--bg);color:var(--ink);text-align:center}.rotate-ask svg{color:var(--ink-muted)}.rotate-title{margin:0;font-size:22px;font-weight:600;max-width:18ch}.ad-mock{position:fixed;inset:0;z-index:90;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:max(env(safe-area-inset-top,0px),24px) 24px max(env(safe-area-inset-bottom,0px),24px);background:var(--bg);color:var(--ink);text-align:center;overflow-y:auto}.ad-mock-frame{width:min(100%,420px);padding:32px 20px;border:2px dashed var(--border-strong);border-radius:16px}.ad-mock-title{margin:0;font-size:1.75rem;font-weight:600}.ad-mock-format{margin:8px 0 0;font-size:1rem;font-weight:600}.ad-mock-note{margin:12px 0 0;font-size:.875rem;line-height:1.45;color:var(--ink-muted)}.ad-mock-actions{display:flex;flex-direction:column;gap:12px;width:min(100%,320px)}.game-title.game-title-covered{visibility:hidden}.result-hints{margin:0;font-size:13px;color:var(--ink-muted);text-align:center}.hint-icon{position:relative;display:inline-flex}.hint-count{position:absolute;top:-4px;left:calc(100% - 6px);min-width:1.6em;height:1.6em;padding:0 .4em;border-radius:999px;background:var(--accent);color:var(--on-ink);font-size:calc(10em / 12);font-weight:700;line-height:1.6em;text-align:center;font-variant-numeric:tabular-nums}.hint-btn[aria-expanded=true]{background:color-mix(in srgb,var(--accent) 14%,transparent)}.game-bottom:has(>.hint-card)>:not(.hint-card,.common-bar){visibility:hidden}.game-bottom.hint-card-top>:not(.hint-card,.common-bar){visibility:visible}.hint-card{position:absolute;left:0;right:0;z-index:3;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 28px #0000002e,0 1px 4px #00000014;animation:fade-in var(--dur-hint) var(--ease-out);user-select:text;-webkit-user-select:text;container-type:inline-size}.hint-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:1.5rem}.hint-head-actions{flex:none;display:flex;align-items:center;gap:8px;margin-left:auto;max-width:100%}.hint-head .overline{flex:1;font-size:.75rem}.hint-dots{display:flex;gap:4px}.hint-dots i{width:6px;height:6px;border-radius:50%;background:var(--border-strong)}.hint-dots i.on{background:var(--accent)}.hint-close{min-width:32px;min-height:32px;padding:0;margin:-6px -6px -6px 0;border:0;background:transparent;color:var(--ink-muted);border-radius:10px;font-size:1.375rem;line-height:1.25}.hint-title{margin:0;font-family:var(--serif);font-size:1.1875rem;font-weight:600;line-height:1.2}.hint-text{display:flex;flex-direction:column;gap:6px;font-size:.875rem;line-height:1.4}@media(max-width:699px){.hint-card{padding:10px 12px;gap:6px}.hint-text{font-size:.8125rem;line-height:1.36;gap:4px}.hint-title{font-size:1.0625rem}.hint-card-3 .hint-meta{display:none}.hint-actions .hint-next,.hint-card .hint-next{min-height:44px}}.hint-apply-note{color:var(--ink-muted);font-size:.92em}.hint-text p{margin:0}.hint-note{color:var(--ink-muted);font-size:.8125rem}.hint-move b{font-weight:600}.hint-next{flex:none;min-height:44px;font-size:.9375rem}.hint-meta{margin:0;font-size:.6875rem;line-height:1.35;color:var(--ink-faint)}.hint-layer{position:absolute;inset:0;pointer-events:none;z-index:2}.hint-layer>*{position:absolute}.hint-area{border-radius:6px;background:color-mix(in srgb,var(--accent) 16%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 45%,transparent),0 0 18px 2px color-mix(in srgb,var(--accent) 35%,transparent);animation:fade-in var(--dur-hint) var(--ease-out)}.hint-area-cell{border-radius:2px;box-shadow:none}.hint-stage-3 .hint-area{background:color-mix(in srgb,var(--accent) 9%,transparent)}.hint-ring{border-radius:4px;box-shadow:inset 0 0 0 2.5px var(--accent);animation:fade-in var(--dur-hint) var(--ease-out)}.hint-target{display:flex;align-items:center;justify-content:center;color:var(--accent);font-weight:600;animation:fade-in var(--dur-hint) var(--ease-out)}.hint-digit{color:color-mix(in srgb,var(--accent) 62%,transparent);font-family:var(--serif);background:color-mix(in srgb,var(--accent) 14%,transparent);border-radius:4px}.hint-lamp span{width:46%;height:46%;border-radius:50%;border:2px dashed var(--accent);background:color-mix(in srgb,var(--accent) 16%,transparent)}.hint-dot span{width:18%;height:18%;border-radius:50%;background:color-mix(in srgb,var(--accent) 75%,transparent)}.reduced .hint-card,.reduced .hint-area,.reduced .hint-ring,.reduced .hint-target{animation:none}@media(prefers-reduced-motion:reduce){.hint-card,.hint-area,.hint-ring,.hint-target{animation:none}}.hint-fold{flex:none;min-height:44px;margin:-10px 0;padding:0 8px;border:0;border-radius:10px;background:transparent;color:var(--accent);font-size:min(.8125rem,4.8cqi);font-weight:600;line-height:1.15;text-align:center;display:inline-flex;align-items:center;gap:.15em;white-space:nowrap}.hint-fold svg,.hint-bar-show svg{flex:none;width:1.25em;height:1.25em}.hint-bar-show svg{width:1em;height:1em;vertical-align:-.2em;margin:0 .1em 0 -.2em}.hint-bar{position:absolute;left:0;right:0;z-index:3;min-height:44px;box-sizing:border-box;padding:6px 10px;display:flex;align-items:center;gap:5px;text-align:left;background:var(--surface);color:var(--ink);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 16px #00000029,0 1px 3px #00000014;container-type:inline-size;animation:hint-fold-in var(--dur-micro) var(--ease-out)}.hint-shield{position:fixed;inset:0;z-index:50;background:transparent;touch-action:none}.hint-bar-text{display:flex;align-items:baseline;min-width:0;font-size:min(.75rem,5cqi);line-height:1.25;font-weight:500}.hint-bar-stage{flex:none;white-space:nowrap}.hint-bar-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hint-bar-show{flex:none;white-space:nowrap;color:var(--accent);font-weight:700}@container (max-width: 15rem){.hint-bar-text{display:block}.hint-bar-title{overflow:visible;white-space:normal}}@media(max-width:359px){.hint-bar-word{display:none}}@container (max-width: 18.5em){.hint-dots{display:none}}.hint-card.hint-unfolded{animation:hint-unfold var(--dur-micro) var(--ease-out)}@keyframes hint-fold-in{0%{opacity:0;transform:translateY(-.75rem)}}@keyframes hint-unfold{0%{opacity:0;transform:translateY(.75rem)}}.reduced .hint-bar,.reduced .hint-card.hint-unfolded{animation:none}@media(prefers-reduced-motion:reduce){.hint-bar,.hint-card.hint-unfolded{animation:none}}.bar-hint-back{display:none;line-height:1.05}@container (min-width: 330px){.bar-hint-back{display:inline}.bar-hint-back-short{display:none}}.hint-ring.hint-alt{box-shadow:none;outline:2px dashed var(--accent);outline-offset:-4px}.hint-actions{flex:none;display:flex;flex-wrap:wrap;gap:8px}.hint-actions .hint-next{flex:1 1 calc(50% - 4px);padding-inline:.75rem}.hint-round{border-radius:50%}.hint-ring.hint-alt.hint-round{outline:none;box-shadow:none;border:2px dashed var(--accent)}.hint-bridge{display:flex;justify-content:space-evenly;align-items:stretch}.hint-bridge-h{flex-direction:column}.hint-bridge-h i{border-top:2.5px dashed var(--accent);height:0}.hint-bridge-v i{border-left:2.5px dashed var(--accent);width:0}.hint-ban span{width:70%;height:70%;position:relative}.hint-ban span:before,.hint-ban span:after{content:"";position:absolute;left:50%;top:0;width:2.5px;height:100%;margin-left:-1.25px;background:var(--accent);transform:rotate(45deg)}.hint-ban span:after{transform:rotate(-45deg)}.hint-planks .hint-bridge-h i,.hint-planks .hint-bridge-v i{border:none;border-radius:2px;background:color-mix(in srgb,var(--accent) 38%,transparent);box-shadow:inset 0 0 0 1.5px var(--accent)}.hint-planks .hint-bridge-h i{height:22%}.hint-planks .hint-bridge-v i{width:22%}.hint-pair{border-radius:999px;box-shadow:inset 0 0 0 2.5px var(--conflict);background:color-mix(in srgb,var(--conflict) 12%,transparent)}.hint-cands{display:block;font-weight:500;line-height:1;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent) 40%,transparent)}.hint-cands-rule{box-shadow:inset 0 0 0 2.5px var(--accent)}.hint-cands-alt{box-shadow:none;outline:2px dashed var(--accent);outline-offset:-4px}.hint-cands span{position:absolute;width:29.3%;height:29.3%;display:flex;align-items:center;justify-content:center}.hint-cand-key{color:var(--accent);font-weight:800;background:color-mix(in srgb,var(--accent) 16%,transparent);border-radius:30%}.hint-cand-out{color:var(--conflict);font-weight:700;text-decoration:line-through;text-decoration-thickness:2px}.secondary-btn{border:1px solid var(--border-strong);background:transparent;color:var(--ink);font-size:1rem;font-weight:600;min-height:52px;border-radius:14px;padding:0 16px}.hint-scroll{display:flex;flex-direction:column;gap:8px;overflow-y:auto;min-height:0;flex:1 1 auto;overscroll-behavior:contain;padding-bottom:4px;background:linear-gradient(var(--surface) 30%,transparent) center top / 100% 24px no-repeat local,linear-gradient(transparent,var(--surface) 70%) center bottom / 100% 24px no-repeat local,radial-gradient(farthest-side at 50% 0,color-mix(in srgb,var(--ink) 22%,transparent),transparent) center top / 100% 9px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,color-mix(in srgb,var(--ink) 22%,transparent),transparent) center bottom / 100% 9px no-repeat scroll}.hint-how-toggle{flex:none;align-self:flex-start;border:0;background:transparent;color:var(--accent);font-size:.875rem;font-weight:600;padding:0;min-height:28px;margin:-4px 0;display:inline-flex;align-items:center;gap:6px}.hint-how-chevron{font-size:.6875rem}.hint-how-body{display:flex;flex-direction:column;gap:6px;font-size:.84375rem;line-height:1.45;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--accent) 8%,transparent);border-left:3px solid color-mix(in srgb,var(--accent) 55%,transparent)}.hint-how-body p{margin:0}.hint-when{color:var(--ink-muted)}.hint-when b{font-weight:600;color:var(--ink)}.hint-why-short{display:none}@media(max-width:359px),(max-height:520px){.hint-why-full{display:none}.hint-why-short,.hint-how-open .hint-why-full{display:block}.hint-how-open .hint-why-short{display:none}}.hint-compact .hint-why-full{display:none}.hint-compact .hint-why-short,.hint-compact.hint-how-open .hint-why-full{display:block}.hint-compact.hint-how-open .hint-why-short{display:none}.reduced .hint-area{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 45%,transparent)}@media(prefers-reduced-motion:reduce){.hint-area{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 45%,transparent)}}.hint-area-cell,.reduced .hint-area-cell{box-shadow:none}@keyframes hint-pop{50%{transform:scale(1.3)}}.hint-count-pop{animation:hint-pop var(--dur-hint-pop) var(--ease-out)}.reduced .hint-count-pop{animation:none}@media(prefers-reduced-motion:reduce){.hint-count-pop{animation:none}}.hint-offer .hint-next{width:100%}.hint-offer .hint-text{min-height:0;overflow-y:auto;overscroll-behavior:contain}.common-bar.with-checkpoint{display:flex;flex-wrap:wrap;gap:4px;position:relative}.common-bar.with-checkpoint>*{flex:1 0 44px;min-width:min-content}.common-bar.with-checkpoint .bar-btn{padding-inline:0}.common-bar.with-checkpoint>.checkpoint{flex-basis:110px;max-width:100%}.checkpoint{display:grid;grid-template-columns:minmax(44px,1fr) auto}.checkpoint-icon{position:relative;display:inline-flex}.checkpoint-main{height:auto;min-height:52px}.checkpoint-label{font-size:.75rem;line-height:1.05;text-align:center;min-width:0;max-width:100%;overflow-wrap:anywhere;hyphens:auto}.checkpoint[data-has=true] .checkpoint-main:not(:disabled){color:var(--accent);font-weight:600}.checkpoint-badge{position:absolute;top:-.25rem;right:calc(100% - .25rem);box-sizing:border-box;min-width:1.6em;height:1.6em;padding:0 .32em;border:1.5px solid var(--accent);border-radius:999px;background:var(--surface);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;font-size:calc(10em / 12);font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.checkpoint-more{width:44px;min-height:44px;padding:0;border:0;border-radius:.75rem;background:transparent;color:var(--ink-muted);font-size:1rem;line-height:1;touch-action:manipulation}.casual .checkpoint-more{background:color-mix(in srgb,var(--surface) 55%,transparent)}.checkpoint-menu{position:absolute;bottom:calc(100% + .375rem);right:0;z-index:5;min-width:min(13rem,100%);max-width:100%;box-sizing:border-box;display:grid;padding:.375rem;background:var(--surface);border:1px solid var(--border);border-radius:.875rem;box-shadow:0 8px 24px #0000002e;animation:checkpoint-in var(--dur-micro) var(--ease-out)}.checkpoint-menu>button{min-height:2.75rem;padding:0 .75rem;border:0;border-radius:.625rem;background:transparent;color:var(--ink);font-size:.875rem;text-align:left;touch-action:manipulation}.checkpoint-menu>button:disabled{color:var(--ink-muted)}.checkpoint-menu>button:hover:not(:disabled){background:var(--surface-alt)}@keyframes checkpoint-in{0%{opacity:0;transform:translateY(.25rem)}}.reduced .checkpoint-menu{animation:none}@media(prefers-reduced-motion:reduce){.checkpoint-menu{animation:none}}@media(min-width:700px){.checkpoint-label{font-size:.8125rem}.hint-count,.checkpoint-badge{font-size:calc(10em / 13)}}@media(min-width:320px)and (max-width:699px)and (max-height:699px){.bar-btn,.checkpoint-label{font-size:min(.75rem,4.2cqi)}}.thumb-svg{width:100%;height:80px}.bridges-toggle .mode-btn[aria-pressed=true]{background:var(--br-toggle-active);color:var(--br-toggle-active-ink)}.mark-bridge{width:18px;height:6px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;display:inline-block}.mark-ban{font-size:calc(20em / 14);line-height:1;font-weight:500}.br-done-btn{min-height:40px;border:1px solid var(--key-border);border-radius:12px;background:var(--surface);color:var(--ink);font-size:.875rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;touch-action:manipulation}.br-done-btn:disabled{color:var(--ink-muted);opacity:.6}.br-done-btn[aria-pressed=true]{background:var(--br-toggle-active);color:var(--br-toggle-active-ink)}@media(min-width:700px){.br-done-btn{align-self:center;width:360px}}@media(min-width:900px)and (orientation:landscape)and (min-height:560px){.mark-ban{font-size:calc(20em / 15)}}.br-hint{--accent: var(--br-hint)}.br-backdrop{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.br-swell{position:absolute;top:40px;left:-10%;width:120%;height:120px;opacity:.5;animation:br-swell var(--br-wave) ease-in-out infinite alternate}@keyframes br-swell{0%{transform:translate(-4%)}to{transform:translate(4%)}}.reduced .br-swell{animation:none}.br-still .br-swell{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.br-swell{animation:none}}.lightup-toggle .mode-btn[aria-pressed=true]{background:var(--lu-toggle-active);color:var(--lu-toggle-active-ink)}.mark-dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}.mark-lamp{width:14px;height:14px;border-radius:50%;background:currentColor;display:inline-block}.continue-thumb .thumb-lightup{grid-template-columns:repeat(5,10px);grid-auto-rows:10px;gap:2px}.continue-thumb .thumb-lightup>span{font-size:7px;border-radius:2px}.continue-thumb .thumb-lightup .lamp{width:6px;height:6px;box-shadow:0 0 0 1px var(--lu-thumb-lamp-ring)}.thumb-lightup{display:grid;grid-template-columns:repeat(5,20px);grid-auto-rows:20px;gap:3px}.thumb-lightup>span{background:var(--lu-thumb-empty);border-radius:3px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600}.thumb-lightup>span.lit{background:var(--lu-thumb-lit)}.thumb-lightup>span.w{background:var(--lu-thumb-wall);color:var(--lu-thumb-wall-ink)}.thumb-lightup .lamp{width:12px;height:12px;border-radius:50%;background:var(--lu-thumb-lamp);box-shadow:0 0 0 1.5px var(--lu-thumb-lamp-ring)}.ot-flies{position:absolute;overflow:hidden;pointer-events:none}.ot-fly{position:absolute;width:4px;height:4px;border-radius:50%;background:#f8e3a3;box-shadow:0 0 6px 2px #f8e3a38c;animation:ot-fly var(--amb-firefly) ease-in-out infinite}@keyframes ot-fly{0%{transform:translate(0);opacity:0}12%{opacity:.85}35%{transform:translate(calc(60px * var(--s)),calc(-50px * var(--s)));opacity:.45}60%{transform:translate(calc(120px * var(--s)),calc(10px * var(--s)));opacity:.9}85%{transform:translate(calc(150px * var(--s)),calc(-40px * var(--s)));opacity:.5}to{transform:translate(calc(190px * var(--s)),calc(-20px * var(--s)));opacity:0}}.reduced .ot-flies{display:none}@media(prefers-reduced-motion:reduce){.ot-flies{display:none}}.casual .game-lightup .bar-btn{background:#efe9dc1a;border-radius:14px}.casual .game-lightup .mode-toggle{background:#efe9dc1a}@media(min-width:1024px){.continue-thumb .thumb-lightup{grid-template-columns:repeat(5,14px);grid-auto-rows:14px;gap:3px}}.thumb-nono{display:grid;grid-template-columns:repeat(6,12px);grid-auto-rows:12px;gap:2px}.thumb-nono .f{background:var(--ink)}.keypad{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.key{position:relative;height:56px;border-radius:12px;border:1px solid var(--key-border);background:var(--key-bg);color:var(--key-ink);display:flex;align-items:center;justify-content:center;padding:0}.key:active:not(:disabled){transform:scale(.96)}.key[aria-pressed=true]{background:var(--ink);color:var(--on-ink);border-color:var(--ink)}.key[aria-pressed=true] .key-count{color:var(--on-ink)}.key-erase{background:var(--erase-bg)}.key-count{position:absolute;top:5px;right:8px;font-size:11px;font-weight:600;color:var(--key-count);font-variant-numeric:tabular-nums}.key-done{opacity:.55}.key-breath{animation:key-breath var(--dur-breath) var(--ease-out)}@keyframes key-breath{50%{transform:scale(var(--breath))}}.thumb-sudoku{width:78px;height:78px;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(9,minmax(0,1fr));background:var(--surface);border:1.5px solid var(--ink);border-radius:4px;overflow:hidden;color:var(--ink)}.thumb-sudoku>span{border-left:.5px solid var(--border-strong);border-top:.5px solid var(--border-strong);font-size:6.5px;font-weight:600;display:flex;align-items:center;justify-content:center}.thumb-sudoku>span:nth-child(9n+1){border-left:0}.thumb-sudoku>span:nth-child(-n+9){border-top:0}.thumb-sudoku>span.bl{border-left:1.5px solid var(--ink)}.thumb-sudoku>span.bt{border-top:1.5px solid var(--ink)}.continue-thumb .thumb-sudoku{width:54px;height:54px;border-width:1px;border-radius:3px}.continue-thumb .thumb-sudoku>span{font-size:4.5px}.backdrop{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.bd-leaf{position:absolute;transform-origin:50% 0;animation:lgl-leaf var(--amb-leaf) ease-in-out infinite}@keyframes lgl-leaf{0%,to{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}.gh-vines{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;will-change:transform}@keyframes gh-sway{0%,to{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}.gh-sway{transform-box:view-box;transform-origin:0 0;animation:gh-sway var(--amb-vine) ease-in-out infinite}@keyframes gh-bloom-in{0%{transform:scale(.6)}to{transform:scale(1)}}.gh-bloom-in{transform-box:view-box;animation:gh-bloom-in var(--dur-bloom) var(--ease-out)}.reduced .bd-leaf,.reduced .gh-sway,.reduced .gh-bloom-in{animation:none}@media(prefers-reduced-motion:reduce){.bd-leaf,.gh-sway,.gh-bloom-in{animation:none}}.casual .game-sudoku .icon-btn{border-radius:50%;background:#fff9}.casual .game-sudoku .header-right{gap:6px}.casual .game-sudoku .key{border:0;border-radius:16px;box-shadow:inset 0 -3px #d9ccb1}.casual .game-sudoku .bar-btn{background:#fff9;border-radius:14px}.erase-label{display:none}@media(min-width:700px)and (orientation:portrait){.keypad{grid-template-columns:repeat(10,minmax(0,1fr))}.key{height:72px;border-radius:14px}.key:not(.key-erase)>svg{height:21.8px;width:auto}.key-count{top:6px}}@media(min-width:900px)and (orientation:landscape)and (min-height:560px){.keypad{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.key{height:84px;border-radius:16px}.key:not(.key-erase)>svg{height:24.7px;width:auto}.key-erase{grid-column:1 / -1;gap:8px;font-size:15px;height:56px;border-radius:14px}.erase-label{display:inline}}@media(min-width:900px)and (orientation:landscape)and (min-height:560px)and (max-height:620px){.key{height:70px}}@media(min-width:1024px){.continue-thumb .thumb-sudoku{width:78px;height:78px;border-width:1.5px}.continue-thumb .thumb-sudoku>span{font-size:6.5px}}.key.key-down:not(:disabled){transform:scale(.96);background:var(--surface-alt)}.key[aria-pressed=true].key-down{background:var(--ink)}.selection-bar{position:fixed;transform:translate(-50%);z-index:5;display:flex;align-items:center;gap:2px;height:36px;padding:0 0 0 16px;border-radius:999px;background:var(--surface);color:var(--ink);border:1px solid var(--key-border);box-shadow:0 2px 12px #0000001f;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.selection-clear{width:44px;height:44px;margin:-4px 0;border:0;border-radius:50%;background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:center;padding:0}.selection-clear:active{transform:scale(.94)}
