@font-face{font-family:Switzer;src:url(/assets/switzer-400-BxEtgLLb.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Switzer;src:url(/assets/switzer-500-A29GCmfN.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Switzer;src:url(/assets/switzer-700-9JzFtTp4.woff2)format("woff2");font-weight:700;font-style:normal;font-display:swap}html,body{font-kerning:normal;letter-spacing:normal;-webkit-font-smoothing:antialiased;font-family:Suisse Intl S Alt,Switzer,system-ui,sans-serif;font-weight:400}.font-black,.font-extrabold{font-weight:600}.font-bold{font-weight:550}.font-semibold{font-weight:500}html{scrollbar-gutter:stable;overflow-y:auto}*{scrollbar-width:thin;scrollbar-color:#c9b8af transparent}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:#c9b8af;background-clip:padding-box;border:2px solid #0000;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:#8f766e}::-webkit-scrollbar-corner{background:0 0}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}:focus,:focus-visible{outline:none}.game-section{background:#f8f6ef;border-bottom:1px solid #f4dfdc;min-height:calc(100vh - 64px);padding:16px 12px}.game-section.play{min-height:calc(100vh - 48px)}.game-section.embedded{min-height:0}.game-outer{grid-template-columns:1fr;align-items:start;gap:24px;width:100%;max-width:1500px;margin:0 auto;display:grid}.game-ad{display:none!important}.game-main{flex-direction:column;align-items:center;width:100%;max-width:1152px;margin:auto;display:flex}.game-toolbar{grid-template-columns:auto 1fr;align-items:center;gap:8px;width:100%;max-width:1024px;display:grid}.cat-count{color:#559c68;background:#fff;border-radius:999px;justify-self:start;align-items:center;gap:6px;height:40px;padding:0 10px;font-size:16px;font-weight:600;line-height:1;display:inline-flex;box-shadow:0 4px 10px #4e40371f,0 0 0 1px #e7dacf}.cat-count img{object-fit:contain;flex-shrink:0;width:28px;height:28px}.count-value{font-variant-numeric:tabular-nums}.count-total{color:#8b746d;font-weight:600}.game-heading{flex-direction:column;grid-area:2/span 2;justify-self:center;align-items:center;gap:8px;display:flex}.game-heading>p{color:#705861;margin:0;font-size:20px;font-weight:600;line-height:1.2}.difficulty-bar{justify-content:center;width:100%;display:flex}.difficulty-label{letter-spacing:.16em;text-transform:uppercase;color:#8b746d;margin-bottom:-2px;font-size:.68rem;font-weight:600}.mode-switch{--mode-pad:6px;--mode-radius:1.15rem;--mode-thumb-radius:calc(var(--mode-radius) - var(--mode-pad));padding:var(--mode-pad);border-radius:var(--mode-radius);background:#fff;display:inline-flex;box-shadow:0 6px 14px #4e40371f,0 0 0 1px #e7dacf}.mode-button{appearance:none;min-width:0;min-height:36px;box-shadow:none;text-transform:uppercase;color:#8b746d;z-index:1;transition:color var(--motion-quick) ease-out;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.mode-button:hover{color:#3d302c;background:0 0}.mode-button.selected,.mode-button.selected:hover{color:#fff;box-shadow:none;background:0 0}.game-tools{flex-direction:column;flex:none;justify-self:end;align-items:flex-end;gap:8px;width:max-content;margin-left:auto;display:flex}.game-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.tool-button{color:#7a635c;background:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;font-weight:600;line-height:1;transition:transform .15s,color .15s,background .15s;display:flex;position:relative;box-shadow:0 4px 10px #4e40371f,0 0 0 1px #e7dacf}.tool-button svg{display:block}.tool-button:hover{color:#3d302c;transform:translateY(-2px)}.tool-button[aria-expanded=true]{color:#fff;background:#3d302c;box-shadow:0 4px 10px #3d302c2e,0 0 0 1px #3d302c}.tool-label{white-space:nowrap;color:#fff;opacity:0;pointer-events:none;z-index:10;background:#3d302c;border-radius:999px;margin-top:8px;padding:4px 8px;font-size:10px;font-weight:600;transition:opacity .12s,transform .12s;position:absolute;top:100%}@media (hover:hover) and (pointer:fine){.tool-button:hover .tool-label{opacity:1;transition-delay:.65s}}.board-card{background:#fff;border-radius:1.7rem;width:100%;max-width:760px;margin-top:16px;padding:16px;position:relative;overflow:hidden;box-shadow:0 12px 28px #4e40371a,0 0 0 1px #eaded8}.puzzle-board{aspect-ratio:1;touch-action:none;-webkit-user-select:none;user-select:none;contain:layout;grid-template-columns:repeat(var(--board-size,6), minmax(0, 1fr));grid-template-rows:repeat(var(--board-size,6), minmax(0, 1fr));width:100%;margin:0 auto;display:grid}.puzzle-board-pending{pointer-events:none}.puzzle-board-pending .puzzle-cell{background:color-mix(in srgb, currentColor 12%, transparent)}.puzzle-cell{aspect-ratio:1;color:#3d302c;border:2px solid #fff;min-width:0;min-height:0;padding:0;transition:transform .15s,filter .15s;position:relative;overflow:hidden;box-shadow:0 1px 2px #57433a29}.puzzle-cell.fixed{cursor:not-allowed}.cat-piece{border-radius:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:7%}.cat-piece img{object-fit:contain;filter:drop-shadow(0 8px 8px #43312c2e);width:100%;max-width:100%;height:100%;max-height:100%;position:absolute;inset:0}.locked-cat{background:#ffffff38;box-shadow:0 0 0 2px #ffffffa6}.cell-x{filter:drop-shadow(0 2px 3px #5c3d2c2e);justify-content:center;align-items:center;display:flex;position:absolute;inset:29%}.cell-x:before,.cell-x:after{content:"";height:calc(.42rem * 6 / var(--board-size,6));background:#fff;border-radius:999px;width:100%;position:absolute;transform:rotate(45deg)}.cell-x:after{transform:rotate(-45deg)}.hinted{z-index:1;box-shadow:inset 0 0 0 3px #f5dc4d}.conflict-mark{background:#ffb18f1a;border:5px solid #f26a43;border-radius:50%;position:absolute;inset:3%}.conflict-mark:after{content:"";background:#f26a43;border-radius:10px;width:115%;height:6px;position:absolute;top:45%;left:-8%;transform:rotate(-45deg)}.game-status{text-align:center;color:#7a635c;background:#ffffffb8;border-radius:999px;max-width:620px;margin:16px auto 0;padding:12px 16px;font-size:14px;font-weight:500;line-height:20px;box-shadow:0 0 0 1px #efe5dc}.game-status.error{color:#9a4960;background:#fff0f3}.game-status.success{color:#487447;background:#eef8eb}.level-selector{background:#fffaf8;border:1px solid #eaded8;border-radius:1.35rem;width:100%;max-width:1024px;margin-top:12px;padding:16px;box-shadow:0 12px 28px #4e40371a}.level-selector-heading{color:#705861;justify-content:space-between;align-items:center;font-size:14px;display:flex}.level-selector-heading>span{color:#487447;background:#eef8eb;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600}.level-buttons{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;min-width:0;margin-top:12px;display:grid}.level-button{font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:#705861;background:#fff;border:1px solid #eaded8;border-radius:10px;justify-content:center;align-items:center;gap:1px;min-width:0;min-height:40px;padding:0 4px;font-size:10px;font-weight:500;display:flex}.level-button.active{color:#fff;background:#3d302c}.level-button:disabled{opacity:.4}.win-panel{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:20px;display:flex}.win-panel h2{font-size:24px;font-weight:600}.primary-button{color:#fff;background:#3d302c;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 24px;font-size:14px;font-weight:600;display:inline-flex}.primary-button:hover{background:#59433d}.dialog-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#291f1b66;position:fixed;inset:0}.rules-dialog{z-index:51;scrollbar-gutter:stable;text-align:center;background:#fffaf8;border:1px solid #eaded8;border-radius:26px;width:min(92vw,460px);max-height:90dvh;padding:32px 24px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 60px #1d14174d}.dialog-close{color:#7a635c;background:#fff;border-radius:50%;padding:8px;position:absolute;top:12px;right:12px}.rules-title{color:#705861;margin:14px 0 8px;font-size:24px;font-weight:600}.rules-description{color:#7a635c;font-size:15px;line-height:1.6}.rule-demo{grid-template-columns:repeat(3,1fr);gap:7px;width:216px;margin:24px auto;display:grid}.rule-demo>div{aspect-ratio:1;border:2px solid #fff;border-radius:12px;position:relative}.rule-demo img{object-fit:contain;width:100%;height:100%}.rule-dots{justify-content:center;gap:7px;margin:20px 0;display:flex}.rule-dots button{background:#e7dacf;border-radius:50%;width:9px;height:9px}.rule-dots button.active{background:#705861}.rules-dialog>.primary-button{width:100%}.language-menu-positioner{z-index:50;isolation:isolate;outline:none}.language-menu{z-index:50;background:var(--site-background,white);border:1px solid color-mix(in srgb, var(--site-text,#141414) 12%, transparent);border-radius:18px;outline:none;width:max-content;min-width:0;padding:4px;overflow:visible;box-shadow:0 4px 6px -1px #1414141a,0 2px 4px -2px #1414141a}.language-item{letter-spacing:-.02em;color:color-mix(in srgb, var(--site-text,#141414) 58%, transparent);white-space:nowrap;cursor:pointer;border-radius:14px;padding:6px 12px;font-size:13px;font-weight:500;line-height:1.25;text-decoration:none;transition:color .15s,background-color .15s;display:block}.language-item[aria-current=true]{color:color-mix(in srgb, var(--site-text,#141414) 78%, transparent)}.language-item[data-highlighted]{color:color-mix(in srgb, var(--site-text,#141414) 88%, transparent);background:color-mix(in srgb, var(--site-text,#141414) 6%, transparent);outline:none}@media (hover:hover) and (pointer:fine){.language-item:hover{color:color-mix(in srgb, var(--site-text,#141414) 88%, transparent);background:color-mix(in srgb, var(--site-text,#141414) 6%, transparent)}}.language-item:active{color:var(--site-text,#141414);background:color-mix(in srgb, var(--site-text,#141414) 9%, transparent)}.mobile-navigation{background:#fffaf8;gap:4px;padding:8px 16px 16px;display:grid}.mobile-navigation a{color:#6f5651;border-radius:8px;padding:10px;font-weight:500}.mobile-navigation a:hover,.mobile-navigation .site-nav-link:hover{color:#3d302c;background:0 0}.mobile-navigation .site-nav-link{text-align:left;border-radius:8px;justify-content:flex-start;width:100%;padding:10px}.site-header{z-index:30;border-bottom:1px solid var(--site-border);background:var(--site-header);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0}.site-header-inner{align-items:center;gap:16px;max-width:80rem;height:64px;margin:0 auto;padding:0 16px;display:flex}.site-brand{color:#342421;flex-shrink:0;align-items:center;gap:12px;font-weight:600;text-decoration:none;display:flex}.site-brand img{border-radius:8px;width:40px;height:40px}.site-nav{align-items:center;gap:4px;margin-left:auto;display:flex}.site-header-tools{align-items:center;gap:4px;display:flex}.site-nav-link{color:#6f5651;font:inherit;white-space:nowrap;text-underline-offset:6px;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;background:0 0;border:0;border-radius:0;min-height:36px;padding:8px 12px;font-size:14px;font-weight:500;text-decoration:none;text-decoration-thickness:2px}.site-nav-link:hover{color:#3d302c;background:0 0}.site-play-nav{align-items:center;gap:2px;display:inline-flex}.site-play-nav .site-nav-link{border-radius:0}.site-nav-link:is(.play-current,.is-current,:active):not(.site-login),.nav-tab.play-current{color:#3d302c;text-underline-offset:6px;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none;background:0 0;border-radius:0;text-decoration-line:underline;text-decoration-color:currentColor;text-decoration-thickness:2px}.site-nav-link:is(.play-current,.is-current):hover,.nav-tab.play-current:hover{color:#3d302c}.site-menu-toggle,.theme-toggle{color:#6f5651;background:0 0;border:0;width:40px;height:40px;display:none}.theme-toggle,.settings-toggle,.feedback-toggle,.site-language,.site-stats{width:40px;height:40px;color:var(--site-muted,#6f5651);background:0 0;border:0;justify-content:center;align-items:center;padding:0;text-decoration:none;display:flex}.site-stats[aria-current=page]{color:#3d302c}.theme-toggle .theme-icon-dark,html[data-theme=dark] .theme-toggle .theme-icon-light{display:none}html[data-theme=dark] .theme-toggle .theme-icon-dark{display:block}.site-login{text-overflow:ellipsis;white-space:nowrap;color:#6f5651;max-width:12rem;font:inherit;background:0 0;border:0;border-radius:6px;min-height:36px;padding:8px 12px;font-size:14px;font-weight:500;overflow:hidden}.site-login:hover{color:#3d302c}@media (width<=767px){.site-header-inner{flex-wrap:wrap;height:auto;min-height:64px;padding-top:8px;padding-bottom:8px}.site-nav{flex-wrap:wrap;order:3;width:100%;margin-left:0;display:flex}.site-nav .site-page-link{display:none}.site-header-tools{margin-left:auto}.site-menu-toggle{justify-content:center;align-items:center;display:flex}}.not-found{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:clamp(48px,8vh,96px) 24px;display:flex}.not-found-cat{object-fit:contain;width:clamp(140px,22vw,200px);height:auto;margin-bottom:24px}.not-found-code{color:var(--site-muted);margin:0 0 12px;font-size:13px;font-weight:500}.not-found h1{letter-spacing:-.04em;margin:0;font-size:clamp(30px,5vw,44px);font-weight:600;line-height:1.12}.not-found-description{max-width:340px;color:var(--site-muted);margin:18px 0 28px;font-size:16px;line-height:1.6}.not-found-home{background:var(--site-text);min-height:48px;color:var(--site-background);border-radius:999px;align-items:center;gap:20px;padding:12px 24px;font-size:15px;font-weight:500;text-decoration:none;transition:opacity .16s;display:inline-flex}.not-found-home:hover{opacity:.8}.not-found-home:focus-visible{outline:2px solid var(--site-text);outline-offset:4px}@media (width>=640px){.game-section{padding:20px 24px}.game-toolbar{grid-template-columns:1fr auto 1fr;gap:12px}.game-heading{grid-area:auto}.game-heading>p{font-size:30px}.cat-count{gap:8px;height:44px;padding:0 12px;font-size:18px}.cat-count img{width:32px;height:32px}.game-actions{gap:8px}.tool-button{width:44px;height:44px}.mode-button{min-height:40px;padding:0 20px}.mark-option{min-height:40px;padding:0 14px}.board-card{margin-top:20px;padding:20px}}@media (width>=768px){.mobile-navigation{display:none}}@media (width>=1024px){.game-section{padding-left:32px;padding-right:32px}}@media (width>=1536px){.game-outer{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.completion-confetti{pointer-events:none;z-index:2;position:absolute;inset:0;overflow:hidden}.completion-confetti span{border-radius:99px;width:8px;height:12px;position:absolute;top:-16px}.completion-overlay{z-index:3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#ffffff9e;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:absolute;inset:0}.completion-panel{text-align:center;background:#fffaf8f5;border:1px solid #f0d8ce;border-radius:32px;width:100%;max-width:620px;padding:28px 20px;box-shadow:0 20px 48px #56413529}.completion-eyebrow{text-transform:uppercase;letter-spacing:.22em;color:#73b9ae;font-size:14px;font-weight:600}.completion-panel h2{color:#3d302c;margin-top:12px;font-size:30px;font-weight:600;line-height:1.2}.completion-panel>p:not(.completion-eyebrow){color:#765d55;margin-top:20px;font-size:18px;font-weight:500;line-height:28px}.completion-time{color:#487447;background:#eef8eb;border-radius:999px;margin-top:16px;padding:8px 16px;font-size:14px;font-weight:600;display:inline-flex;box-shadow:0 0 0 1px #dcefd8}.completion-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:28px;display:flex}.completion-actions :is(.primary-button,.secondary-button,.challenge-button){font-size:14px}.secondary-button,.challenge-button{color:#705861;background:#fff;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 24px;font-size:16px;font-weight:600;display:inline-flex;box-shadow:0 8px 16px #3d302c1a,0 0 0 1px #eaded8}.challenge-button{color:#6f4a3d;background:#fff3ec}.share-dialog{z-index:51;flex-direction:column;align-items:center;gap:12px;width:min(92vw,430px);display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.share-dialog>img{object-fit:contain;border-radius:22px;max-width:100%;max-height:calc(100dvh - 110px)}.share-dialog>.dialog-close{z-index:1}@media (width<=639px){.completion-panel h2{font-size:24px}.completion-panel>p:not(.completion-eyebrow){font-size:16px}.completion-actions{gap:8px;margin-top:20px}.completion-actions button{min-height:40px;padding:8px 16px;font-size:13px}.completion-panel{padding:20px 12px}}:root{--motion-ease:cubic-bezier(.22, 1, .36, 1);--motion-quick:.14s;--motion-enter:.26s;--motion-exit:.16s}.mode-switch{isolation:isolate;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;display:grid;position:relative}.mode-switch:before{content:"";z-index:-1;width:calc(25% - 2.5px);transition:transform .28s var(--motion-ease);background:#3d302c;border-radius:999px;position:absolute;top:5px;bottom:5px;left:5px;transform:translate(0);box-shadow:0 4px 10px #3d302c2e}.mode-switch[data-mode=hard]:before{transform:translate(100%)}.mode-switch[data-mode=ultra]:before{transform:translate(200%)}.mode-switch[data-mode=evil]:before{transform:translate(300%)}.mode-button,.mode-button.selected,.mode-button.selected:hover{box-shadow:none;background:0 0}.mode-button{transition:color var(--motion-quick) ease-out, transform var(--motion-quick) var(--motion-ease)}.tool-button,.primary-button,.secondary-button,.challenge-button,.dialog-close,.level-button{transition:transform .18s var(--motion-ease), opacity var(--motion-quick) ease-out}.tool-label{transform:translateY(-3px)}@media (hover:hover) and (pointer:fine){.tool-button:hover .tool-label{transform:translateY(0)}}.puzzle-cell{transition:transform .16s var(--motion-ease)}.puzzle-cell:hover:not(.fixed){filter:none;transform:translateY(-1px)}.cat-piece:not(.locked-cat){animation:cat-settle .24s var(--motion-ease) both}.cell-x{animation:mark-in .16s var(--motion-ease) both}.count-value{animation:count-in .2s var(--motion-ease) both;display:inline-block}.puzzle-board{animation:none}.hinted:after{content:"";border-radius:inherit;pointer-events:none;animation:hint-focus .7s var(--motion-ease) 2;border:3px solid #fff4a1;position:absolute;inset:3px}.conflict-mark{animation:conflict-in .18s var(--motion-ease) both}.level-reveal{width:100%;max-width:1024px}.level-reveal-panel,.mobile-reveal-panel{opacity:1;transition:opacity .2s ease-out, transform .24s var(--motion-ease);transform:translateY(0)}.level-reveal-panel[data-starting-style],.mobile-reveal-panel[data-starting-style]{opacity:0;transform:translateY(-8px)}.level-reveal-panel[data-ending-style],.mobile-reveal-panel[data-ending-style]{opacity:0;transition-duration:var(--motion-exit);transform:translateY(-5px)}.dialog-backdrop{transition:opacity .22s ease-out}.dialog-backdrop[data-starting-style],.dialog-backdrop[data-ending-style]{opacity:0}.dialog-backdrop[data-ending-style]{transition-duration:var(--motion-exit)}.rules-dialog,.share-dialog{opacity:1;transition:transform var(--motion-enter) var(--motion-ease), opacity .2s ease-out;transform:translate(-50%,-50%)scale(1)}.rules-dialog[data-starting-style],.share-dialog[data-starting-style]{opacity:0;transform:translate(-50%,calc(12px - 50%))scale(.97)}.rules-dialog[data-ending-style],.share-dialog[data-ending-style]{opacity:0;transition-duration:var(--motion-exit);transform:translate(-50%,calc(6px - 50%))scale(.985)}.language-menu{transform-origin:var(--transform-origin);transition:opacity .16s ease-out, transform .22s var(--motion-ease);transform:none}.language-menu[data-starting-style]{opacity:0;transform:translateY(-4px)scale(.97)}.language-menu[data-ending-style]{opacity:0;transition-duration:.12s;transform:translateY(-2px)scale(.985)}.rules-title,.rules-description{animation:.18s ease-out both copy-in}.rule-demo{animation:board-in .24s var(--motion-ease) both}.rule-slide{animation:.2s cubic-bezier(.4,0,.2,1) both rule-slide-in}.rule-slide[data-dir="-1"]{animation-name:rule-slide-back}.rule-slide .rules-title{min-height:1.25em}.rule-slide .rules-description{min-height:3.2em}.rule-slide .rules-title,.rule-slide .rules-description,.rule-slide .rule-demo,.rule-slide .cell-x{animation:none}.rule-dots button{transition:background-color .16s ease-out}.completion-overlay{animation:.24s ease-out both surface-in}.completion-panel{animation:celebration-in .36s var(--motion-ease) both}@keyframes cat-settle{0%{opacity:0;transform:scale(.78)translateY(3px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes mark-in{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}@keyframes count-in{0%{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes board-in{0%{opacity:.35;transform:translateY(6px)scale(.988)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes copy-in{0%{opacity:0}to{opacity:1}}@keyframes rule-slide-in{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}@keyframes rule-slide-back{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}@keyframes hint-focus{0%{opacity:1;transform:scale(.92)}to{opacity:0;transform:scale(1)}}@keyframes conflict-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@keyframes surface-in{0%{opacity:0}to{opacity:1}}@keyframes celebration-in{0%{opacity:0;transform:translateY(12px)scale(.965)}to{opacity:1;transform:translateY(0)scale(1)}}@media (hover:none){.tool-button:hover,.puzzle-cell:hover:not(.fixed){transform:none}.tool-button:hover .tool-label{opacity:0}}@media (width>=768px){.mobile-reveal{display:none}}@media (prefers-reduced-motion:reduce){.completion-confetti,.hinted:after{display:none}.puzzle-cell:hover:not(.fixed),.tool-button:hover{transform:none}}.play-navigation{flex-wrap:wrap;align-items:center;gap:4px;width:100%;margin:0 0 20px;display:flex}.nav-tab,.text-button{color:#705861;border-radius:10px;min-height:44px;padding:10px 12px;font-size:14px;font-weight:500}.text-button:hover{background:#eee8df}.nav-tab:hover,.site-nav a:hover,header nav a:hover{color:#3d302c;background:0 0}.nav-tab.active{color:#fffaf8;background:#3d302c}.nav-tab.active:hover{color:#fffaf8}.feature-panel,.tutorial-panel{color:#705861;background:#fffaf8;border:1px solid #e2d6c9;border-radius:20px;width:100%;max-width:760px;margin:0 0 20px;padding:24px}.feature-panel h2,.tutorial-panel h2{margin-bottom:8px;font-size:22px;font-weight:600;line-height:1.3}.feature-panel p,.tutorial-panel p{font-size:14px;line-height:1.6}.feature-eyebrow{text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px;font-size:12px;font-weight:550}.cat-collection{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;display:grid}.collection-card .cat-collection{margin-top:0}.collection-lede{color:#705861;letter-spacing:-.02em;margin:0 0 20px;font-size:14px}.game-mast-row{align-items:center;gap:10px;display:flex}.board-card.collection-card{max-width:760px}.cat-collection button{background:0 0;border:0;border-radius:20px;flex-direction:column;align-items:center;padding:14px 12px 12px;transition:box-shadow .18s,background-color .18s;display:flex;box-shadow:0 0 0 1.5px #0000}.cat-collection button[aria-pressed=true]{background:#edf3e8;box-shadow:0 0 0 1.5px #56856c}.cat-collection button:disabled{opacity:1}.cat-collection .locked-portrait{filter:brightness(0);opacity:.18}.cat-collection img{object-fit:contain;width:96px;height:96px}.cat-card-art{flex-direction:column;align-items:flex-end;width:96px;display:flex}.cat-collection .cat-face-badge{background:#fff;border-radius:50%;order:-1;width:32px;height:32px;margin:0 0 6px;position:static;box-shadow:0 2px 8px #00000028}.cat-collection span{margin-top:4px;font-size:12px}.input-toolbar{color:#705861;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;width:auto;margin-top:0;display:flex}.mark-switch{isolation:isolate;background:#fff;border-radius:1.05rem;grid-template-columns:repeat(4,minmax(0,1fr));padding:5px;display:grid;position:relative;box-shadow:0 6px 14px #4e40371f,0 0 0 1px #e7dacf}.mark-switch:before{content:"";z-index:-1;width:calc(25% - 2.5px);transition:transform .28s var(--motion-ease);background:#3d302c;border-radius:999px;position:absolute;top:5px;bottom:5px;left:5px;transform:translate(0);box-shadow:0 4px 10px #3d302c2e}.mark-switch[data-input=cat]:before{transform:translate(100%)}.mark-switch[data-input=x]:before{transform:translate(200%)}.mark-switch[data-input=empty]:before{transform:translate(300%)}.mark-option{appearance:none;color:#8b746d;white-space:nowrap;z-index:1;min-width:0;min-height:36px;transition:color var(--motion-quick) ease-out;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.mark-option:hover{color:#3d302c}.mark-option.selected,.mark-option.selected:hover{color:#fff}.mark-option-label{text-overflow:ellipsis;overflow:hidden}.mark-cat{object-fit:contain;pointer-events:none;flex-shrink:0;width:18px;height:18px}.mark-x{flex-shrink:0;width:14px;height:14px;position:relative}.mark-x:before,.mark-x:after{content:"";background:currentColor;border-radius:999px;position:absolute;inset:40% 0}.mark-x:before{transform:rotate(45deg)}.mark-x:after{transform:rotate(-45deg)}.region-toggle{color:#705861;min-height:44px;transition:background var(--motion-quick) ease-out, color var(--motion-quick) ease-out, box-shadow var(--motion-quick) ease-out;background:#fff;border-radius:999px;align-items:center;gap:8px;padding:4px 14px 4px 6px;font-size:13px;font-weight:600;display:inline-flex;box-shadow:0 4px 10px #4e40371f,0 0 0 1px #e7dacf}.region-toggle:hover{color:#3d302c}.region-glyph{color:#3d302c;background:#f4ebe6;border-radius:8px;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;line-height:1;display:grid}.region-toggle.on{color:#fffaf8;background:#3d302c;box-shadow:0 4px 10px #3d302c2e,0 0 0 1px #3d302c}.region-toggle.on:hover{color:#fffaf8}.region-toggle.on .region-glyph{color:#fffaf8;background:#5a4a45}.input-help{color:#8b746d;text-align:center;margin-top:8px;font-size:12px;line-height:1.4}.region-letter{color:#302622;z-index:2;pointer-events:none;background:#fffaf8c9;border-radius:3px;padding:0 3px;font-size:clamp(9px,2vw,13px);font-weight:600;position:absolute;top:3px;left:5px}.conflict-pair{outline-offset:-3px;outline:3px solid #a13e28}.hint-panel{color:#634e28;background:#fff8df;border-radius:8px;width:100%;max-width:760px;margin-top:16px;padding:16px;font-size:14px;line-height:1.6}.hint-panel>div{gap:6px;display:flex}.tutorial-grid{grid-template-columns:repeat(4,1fr);gap:6px;max-width:260px;margin:20px auto;display:grid}.tutorial-cell{aspect-ratio:1;color:#fffaf8;border:2px solid #0000;border-radius:10px;font-size:32px;font-weight:550}.tutorial-cell.suggested{outline-offset:1px;border-color:#443325;outline:2px dashed #443325}.tutorial-cell img{object-fit:contain;width:100%;height:100%}.completion-inspect{margin-top:20px}.completion-inspect .completion-panel{max-width:none;box-shadow:none;padding:16px}.completion-inspect h2{font-size:22px}.completion-secondary{flex-wrap:wrap;justify-content:center;margin-top:12px;display:flex}.completion-panel textarea{text-align:left;background:#fffaf8;border:1px solid #d6c7bc;border-radius:8px;width:100%;min-height:130px;margin-top:12px;padding:12px;font-size:14px}.completion-panel .reward-message{color:#487447;font-size:15px}.completion-return,.completion-next{margin:0;font-size:14px}.collection-next{color:#8a7a74;letter-spacing:-.02em;background:#3d302c12;border-radius:999px;margin:0;padding:5px 9px;font-size:11px;font-weight:500;line-height:1.25}.completion-confetti span{animation:1.4s ease-out both confetti-fall}@keyframes confetti-fall{0%{opacity:1;transform:translateY(-20px)rotate(0)}to{opacity:0;transform:translateY(650px)rotate(270deg)}}.account-details{width:min(92vw,460px)}.account-form{text-align:left;gap:14px;margin-top:20px;display:grid}.account-form label{color:#705861;gap:6px;font-size:14px;font-weight:500;display:grid}.account-form input{color:#3d302c;background:#fff;border:1px solid #d6c7bc;border-radius:10px;width:100%;padding:12px;font-size:16px}.account-form .form-error{color:#a13e28;font-size:14px;line-height:1.5}@media (width<=639px){.game-actions{gap:6px}.game-toolbar{gap:12px}.board-card{border-radius:18px;padding:8px}.cat-count{padding:0 10px}.cat-collection{grid-template-columns:repeat(2,1fr)}.feature-panel,.tutorial-panel{padding:18px}.region-toggle{padding-right:10px}.play-navigation{gap:6px}.nav-tab{padding:8px;font-size:12px}.completion-overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;padding:12px 0;position:relative}.completion-panel{border-radius:18px}.game-status{border-radius:12px;padding:10px;font-size:13px}}@media (prefers-reduced-motion:reduce){.completion-confetti{display:none}}@media (width<=639px){.play-navigation{margin-bottom:12px}.play-navigation .nav-tab{min-height:36px}.game-heading{flex-direction:row;grid-area:1/1/auto/-1;justify-content:space-between;gap:8px;width:100%}.game-heading>p{font-size:17px}.difficulty-label{display:none}.cat-count,.game-actions{grid-row:2}.mode-button{min-height:32px;padding:0 12px;font-size:10px}.mode-switch{--mode-pad:5px;--mode-radius:12px}.input-toolbar{gap:8px;margin-top:0}.mark-bar-label,.mark-option-label,.region-toggle-label{display:none}.mark-switch{border-radius:14px;padding:4px}.mark-switch:before{width:calc(25% - 2px);top:4px;bottom:4px;left:4px}.mark-option{min-width:44px;min-height:44px;padding:0 8px}.region-toggle{justify-content:center;min-width:44px;min-height:44px;padding:0}.input-help{margin-top:6px}.board-card{margin-top:12px}}.localized-header,.localized-footer{color:#705861;background:#fffaf8;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:12px max(16px,50vw - 600px);display:flex}.localized-header-tools,.localized-brand,.localized-languages{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.localized-brand{font-weight:600}.localized-languages a{border-radius:8px;padding:8px}.localized-languages a[aria-current=page]{color:#375d37;background:#e1efe6}.localized-intro{color:#705861;max-width:640px;margin:auto;padding:40px 20px 72px}.localized-intro h1{letter-spacing:-.04em;margin:0;font-size:32px;font-weight:500}.localized-intro h2{margin-top:24px;font-size:18px;font-weight:500}.localized-intro p{margin-top:12px;font-size:14px;font-weight:500;line-height:1.65}.localized-footer{justify-content:center}.mode-button{white-space:normal}@media (height<=600px){.puzzle-board{max-width:min(86vw,460px)!important}}.puzzle-board{touch-action:pinch-zoom}@media (width<=860px){html:not([lang=en]) .mark-bar-label,html:not([lang=en]) .mark-option-label,html:not([lang=en]) .region-toggle-label{display:none}}@media (width<=639px){html:not([lang=en]) .game-heading{flex-direction:column}html:not([lang=en]) .mode-switch{grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%}html:not([lang=en]) .mode-button{min-width:0;padding:6px 10px}html:not([lang=en]) .tool-label{white-space:normal;text-align:center;max-width:65px;line-height:1.2}}.endless-actions{color:#705861;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:8px 0 14px;font-size:12px;display:flex}.endless-actions .text-button{min-height:36px}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ease:cubic-bezier(.16, 1, .3, 1);--site-background:#f8f2ee;--site-surface:#f8f2ee;--site-text:#141414;--site-muted:#14141480;--site-border:#14141418;--site-fill:#1414140c;--site-fill-strong:#14141414;--site-active:#141414;--site-active-text:#f8f2ee;--site-header:#f8f2ee;--site-chrome-text:#141414;--site-chrome-muted:#14141480;--site-chrome-border:#14141418;--site-chrome-active:#141414;--site-chrome-active-text:#f8f2ee;--site-ok:#1f7a4a;--site-bad:#c43c3c;--tile-a:#67c5bf;--tile-b:#dd84cb;--tile-c:#6cb6dc;--tile-d:#e8c94f;--tile-e:#d896b3;--tile-f:#a9d893;--tile-g:#9278d9;--tile-h:#f09a74;--tile-i:#7f9be6;--tile-j:#eeaeca;--tile-k:#a5ccaa;--tile-l:#c7a0d8}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--site-background:#2f2f2f;--site-surface:#050505;--site-text:#f4f4f4;--site-muted:#ffffff80;--site-border:#ffffff1a;--site-fill:#ffffff0f;--site-fill-strong:#ffffff1f;--site-active:#f4f4f4;--site-active-text:#050505;--site-header:#2f2f2f;--site-chrome-text:#f4f4f4;--site-chrome-muted:#ffffff80;--site-chrome-border:#ffffff1a;--site-chrome-active:#f4f4f4;--site-chrome-active-text:#050505;--site-ok:#8fdea6;--site-bad:#ff8a8a}html,body{background:var(--site-background);color:var(--site-text)}body,.site-main,.site-main>section{background:var(--site-background)}.site-header,.site-footer{background:var(--site-header)}html[data-theme=dark]{scrollbar-color:#6a5b54 transparent}html[data-theme=dark] ::-webkit-scrollbar-thumb{background-color:#6a5b54}html[data-theme=dark] .site-brand,html[data-theme=dark] .game-heading>p,html[data-theme=dark] .completion-panel h2{color:var(--site-text)}html[data-theme=dark] .site-nav-link,html[data-theme=dark] .site-login,html[data-theme=dark] .site-menu-toggle,html[data-theme=dark] .theme-toggle,html[data-theme=dark] .settings-toggle,html[data-theme=dark] .feedback-toggle,html[data-theme=dark] .site-language,html[data-theme=dark] .site-stats,html[data-theme=dark] .nav-tab,html[data-theme=dark] .text-button,html[data-theme=dark] .mobile-navigation a,html[data-theme=dark] .mobile-navigation .site-nav-link,html[data-theme=dark] .language-item,html[data-theme=dark] .game-status,html[data-theme=dark] .feature-panel,html[data-theme=dark] .tutorial-panel{color:var(--site-muted)}html[data-theme=dark] .site-nav-link:hover,html[data-theme=dark] .site-login:hover,html[data-theme=dark] .theme-toggle:hover,html[data-theme=dark] .settings-toggle:hover,html[data-theme=dark] .feedback-toggle:hover,html[data-theme=dark] .site-language:hover,html[data-theme=dark] .site-stats:hover,html[data-theme=dark] .site-stats[aria-current=page],html[data-theme=dark] .nav-tab:hover,html[data-theme=dark] .mobile-navigation a:hover,html[data-theme=dark] .language-item:hover,html[data-theme=dark] .language-item[data-highlighted],html[data-theme=dark] .language-item:active{color:var(--site-text)}html[data-theme=dark] .nav-tab.active,html[data-theme=dark] .nav-tab.play-current,html[data-theme=dark] .mode-button.selected,html[data-theme=dark] .tool-button[aria-expanded=true]{background:var(--site-active);color:var(--site-active-text)}html[data-theme=dark] .game-section,html[data-theme=dark] .mobile-navigation,html[data-theme=dark] .language-menu,html[data-theme=dark] .feature-panel,html[data-theme=dark] .tutorial-panel,html[data-theme=dark] .level-selector,html[data-theme=dark] .rules-dialog,html[data-theme=dark] .share-dialog,html[data-theme=dark] .completion-panel,html[data-theme=dark] .account-details{background:var(--site-surface);border-color:var(--site-border);color:var(--site-muted)}html[data-theme=dark] .board-card,html[data-theme=dark] .cat-count,html[data-theme=dark] .dialog-close{background:var(--site-surface);color:var(--site-muted);box-shadow:0 4px 10px #00000040, 0 0 0 1px var(--site-border)}html[data-theme=dark] .settings-dialog .dialog-close{box-shadow:none;background:0 0}html[data-theme=dark] .puzzle-cell{border-color:var(--site-surface)}html[data-theme=dark] .game-status{box-shadow:0 0 0 1px var(--site-border);background:#2a24208c}html[data-theme=dark] .game-status.error{color:#e7a0b0;background:#3a2228}html[data-theme=dark] .game-status.success{color:#8fd09a;background:#1f2c22}html[data-theme=dark] .dialog-backdrop{background:#0d0a088f}html[data-theme=dark] .account-form input{background:var(--site-background);color:var(--site-text);border-color:var(--site-border)}html[data-theme=dark] .primary-button{background:var(--site-active);color:var(--site-active-text)}html[data-theme=dark] .completion-overlay{background:#191512cc}html[data-theme=dark] .localized-intro,html[data-theme=dark] .tips-layout,html[data-theme=dark] .tips-intro h1{color:var(--site-text)}html[data-theme=dark] .site-header{border-bottom-color:var(--site-chrome-border)}html[data-theme=dark] .mark-switch{background:var(--site-surface);box-shadow:0 6px 14px #00000040, 0 0 0 1px var(--site-border)}html[data-theme=dark] .mark-option,html[data-theme=dark] .mark-bar-label{color:var(--site-muted)}html[data-theme=dark] .mark-option:hover{color:var(--site-text)}html[data-theme=dark] .mark-option.selected,html[data-theme=dark] .mark-option.selected:hover{color:var(--site-active-text)}html[data-theme=dark] .mark-switch:before{background:var(--site-active);box-shadow:0 4px 10px #00000050}.site-footer{border-top:0;margin-top:auto}.site-footer button{appearance:none;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0}.site-body{flex-direction:column;min-height:100dvh;display:flex}.site-body>.site-header,.site-body>.site-footer{flex-shrink:0}.site-main{flex:1}.site-main:has(>.not-found){flex-direction:column;display:flex}.tips-layout{color:#42372f;flex-direction:column;gap:clamp(40px,6vw,64px);width:min(100%,42rem);margin:0 auto;padding:clamp(48px,8vw,96px) 32px 96px;display:flex}.tips-intro{padding-left:44px}.tips-eyebrow{color:var(--site-muted,#726c53);letter-spacing:.13em;text-transform:uppercase;margin:0 0 14px;font-size:10px;font-weight:500}.tips-intro h1{letter-spacing:-.045em;text-wrap:balance;margin:0;font-size:clamp(28px,3vw,36px);font-weight:500;line-height:1.15}.tips-description{max-width:none;color:var(--site-muted,#74695f);margin:12px 0 0;font-size:16px;font-weight:500;line-height:1.7}.tips-play{background:var(--site-text);min-height:33px;color:var(--site-background);border-radius:999px;justify-content:center;align-items:center;margin-top:22px;padding:0 17px;font-size:12.5px;font-weight:500;display:inline-flex}.tips-play:hover{filter:brightness(.92)}.tips-list{gap:28px;margin:0;padding:0;list-style:none;display:grid}.tips-entry{grid-template-columns:28px minmax(0,1fr);gap:16px;display:grid}.tips-number{color:var(--site-muted,#8b795e);font-variant-numeric:tabular-nums;letter-spacing:.06em;padding-top:2px;font-size:11px}.tips-entry h2{letter-spacing:-.02em;margin:0;font-size:16px;font-weight:500;line-height:1.4}.tips-entry p{color:var(--site-muted,#74695f);margin:6px 0 0;font-size:16px;font-weight:500;line-height:1.7}@media (width<=700px){.tips-layout{gap:36px;padding:40px 24px 56px}.tips-description{max-width:none}.tips-play{margin-top:16px}.tips-list{gap:26px}}.home-copy{gap:32px;max-width:640px;display:grid}.home-copy-block h2{letter-spacing:-.03em;color:var(--site-text);margin:0;font-size:18px;font-weight:500;line-height:1.2}.home-copy-block>p{color:var(--site-muted);letter-spacing:-.01em;margin:10px 0 0;font-size:14px;font-weight:500;line-height:1.65}.home-facts{gap:0;margin:14px 0 0;padding:0;list-style:none;display:grid}.home-facts li{border-top:1px solid var(--site-border);padding:12px 0}.home-facts li:last-child{border-bottom:1px solid var(--site-border)}.home-facts h3,.home-rules h3,.home-faq h3{letter-spacing:-.02em;color:var(--site-text);margin:0;font-size:14px;font-weight:500;line-height:1.4}.home-facts p,.home-rules p,.home-faq p{color:var(--site-muted);letter-spacing:-.01em;margin:4px 0 0;font-size:14px;font-weight:500;line-height:1.65}.home-rules{gap:0;margin:14px 0 0;padding:0;list-style:none;display:grid}.home-rules li{border-top:1px solid var(--site-border);grid-template-columns:22px minmax(0,1fr);gap:12px;padding:12px 0;display:grid}.home-rules li:last-child{border-bottom:1px solid var(--site-border)}.home-rule-num{color:color-mix(in srgb, var(--site-text) 46%, transparent);font-variant-numeric:tabular-nums;letter-spacing:.06em;padding-top:2px;font-size:11px}.home-faq{gap:0;margin:14px 0 0;display:grid}.home-faq article{border-top:1px solid var(--site-border);padding:12px 0}.home-faq article:last-child{border-bottom:1px solid var(--site-border)}@media (width<=700px){.home-copy{gap:26px}}.stats-loading{min-height:680px}.game-section-ready{animation:.36s cubic-bezier(.25,1,.5,1) backwards game-panel-in}.game-section-loading[aria-busy=true]{animation:.2s cubic-bezier(.25,1,.5,1) .18s backwards game-panel-in}.game-section-loading:focus-within{animation:none}@keyframes game-panel-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.puzzle-board-reveal .puzzle-cell{animation:.28s cubic-bezier(.25,1,.5,1) both puzzle-colors-in}@keyframes puzzle-colors-in{0%{opacity:.15}to{opacity:1}}.mode-switch a.mode-button{justify-content:center;align-items:center;text-decoration:none;display:flex}@media (prefers-reduced-motion:reduce){.game-section-ready,.game-section-loading[aria-busy=true],.puzzle-board-reveal .puzzle-cell{animation:none}}
