@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/outfit-latin-ext-400-normal-5tcqmc2S.woff2)format("woff2"),url(/assets/outfit-latin-ext-400-normal-DHm7mdGe.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Outfit;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/outfit-latin-400-normal-BGsTXAXT.woff2)format("woff2"),url(/assets/outfit-latin-400-normal-DMwTpYkH.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/outfit-latin-ext-600-normal-B85nYjL1.woff2)format("woff2"),url(/assets/outfit-latin-ext-600-normal-CWJcPgd7.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Outfit;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/outfit-latin-600-normal-B7SfZ07L.woff2)format("woff2"),url(/assets/outfit-latin-600-normal-BEfTtDA7.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink:#202036;--muted:#69677c;--paper:#f1f0f7;--surface:#fff;--line:#cfcede;--line-strong:#3d3868;--coral:#b83f68;--coral-soft:#f8dce6;--teal:#14798d;--teal-soft:#d8eef2;--positive-soft:#d9f2df;--positive-ink:#17663a;--negative-soft:#f8dce6;--negative-ink:#842348;--preview-soft:#e7e3ff;--yellow:#6558d3;--placement-ink:#4058d6;--placement-wash:#d68e202e;--cell-hover-wash:#20203612;--green-soft:#e2e7fa;--heading:Georgia, "Times New Roman", serif;--body:"Trebuchet MS", "Segoe UI", sans-serif;color:var(--ink);background:var(--paper);font-family:var(--body);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{background:linear-gradient(135deg,#7569df,#423a88 58%,#292550) fixed;min-height:100svh;margin:0}button,select{color:inherit;font:inherit}button{touch-action:manipulation}button:focus-visible,select:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}h1,h2,p{margin:0}h1,h2{font-family:var(--heading);letter-spacing:0;font-weight:700}#root{min-height:100svh;display:flow-root}.game-shell{background:#fffffff5;border-radius:24px;width:min(1120px,100% - 40px);min-height:calc(100svh - 40px);margin:20px auto;padding:28px clamp(20px,4vw,52px) 46px;box-shadow:0 24px 70px #1814414d}.game-header,.dialog-actions{justify-content:space-between;align-items:center;display:flex}.game-header{align-items:flex-start;padding:0 4px;position:relative}.brand-lockup{color:#191a20;justify-items:start;width:max-content;margin-top:0;font-family:Outfit,sans-serif;display:grid}.brand-name{font-size:82px;font-weight:600;line-height:.8;transform:translate(-8px)}.brand-subtitle{grid-template-columns:50px auto;align-items:center;gap:13px;width:max-content;margin-top:10px;font-size:35px;font-weight:400;line-height:1;display:grid}.brand-subtitle:before{content:"";background:currentColor;height:3px}.header-tools{align-items:center;gap:8px;margin-top:6px;display:flex}.header-options{align-items:center;gap:8px;display:flex}.header-icon-button.mobile-menu-trigger,.mobile-menu-label,.mobile-menu-scrim{display:none}.eyebrow{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:11px;font-weight:700}.target-mark{color:var(--muted);text-transform:uppercase;grid-template-columns:auto auto;align-items:center;gap:10px;font-size:12px;font-weight:700;display:grid}.target-mark strong{border:3px solid var(--ink);background:var(--line-strong);width:54px;height:54px;color:var(--surface);font-family:var(--body);font-variant-numeric:lining-nums tabular-nums;border-radius:50%;place-items:center;font-size:28px;line-height:1;display:grid}.game-controls{gap:8px;display:flex}.difficulty-trigger,.header-icon-button{border:1px solid var(--line);background:var(--surface);height:38px;color:var(--line-strong);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.difficulty-trigger{min-width:82px;padding:0 13px;font-size:12px;font-weight:700}.header-icon-button{width:38px;padding:0}.header-icon-button svg{width:18px;height:18px}.difficulty-trigger:hover,.header-icon-button:hover:not(:disabled){border-color:var(--yellow);background:var(--green-soft)}.header-icon-button:disabled{cursor:not-allowed;opacity:.35}.difficulty-options{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px;display:grid}.difficulty-options button{border:1px solid var(--line);background:var(--surface);min-height:72px;color:var(--line-strong);cursor:pointer;border-radius:10px;padding:10px;font-size:13px;font-weight:700}.difficulty-options button:hover,.difficulty-options button.current{border-color:var(--yellow);background:var(--green-soft);box-shadow:inset 0 0 0 1px var(--yellow)}.game-controls button,.dialog-close{border:1px solid var(--line);background:var(--surface);color:var(--line-strong);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:grid}.game-controls button{width:44px;height:44px}.dialog-close{width:38px;height:38px}.game-controls svg,.dialog-close svg{width:18px;height:18px}.game-controls button:hover:not(:disabled){border-color:var(--yellow);background:var(--green-soft);color:var(--line-strong)}.game-controls button:disabled,.rotate-button:disabled{cursor:not-allowed;opacity:.35}.archive-dialog{width:min(460px,100vw - 32px);max-height:calc(100svh - 32px);overflow-y:auto}.archive-dialog.archive-selection-dialog{width:min(400px,100vw - 32px);padding:26px}.dialog.help-dialog{width:min(760px,100vw - 32px);max-height:calc(100svh - 32px);overflow-y:auto}.help-intro{max-width:590px}.help-note{width:max-content;color:var(--muted);align-items:center;gap:8px;margin:18px 0 0;font-size:12px;font-weight:700;display:flex}.help-blocked-swatch{background:repeating-linear-gradient(45deg,#37325f 0 4px,#4c4678 4px 8px);border-radius:5px;width:20px;height:20px}.help-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px;display:grid}.help-step{min-width:0}.help-visual{border:1px solid var(--line);background:var(--paper);border-radius:8px;place-content:center;height:132px;display:grid}.help-step h3{color:var(--ink);margin:13px 0 5px;font-size:16px;line-height:1.2}.help-goal-visual{grid-template-rows:repeat(2,42px);grid-template-columns:38px repeat(2,42px);gap:4px}.help-target{background:var(--line-strong);width:32px;height:32px;color:var(--surface);border-radius:50%;grid-row:1/3;align-self:center;place-items:center;font-size:17px;font-weight:700;display:grid}.help-board-cell{background:repeating-linear-gradient(135deg, transparent 0 6px, #14798d1f 6px 8px), var(--green-soft);color:var(--ink);border-radius:5px;place-items:center;font-size:19px;font-weight:700;display:grid}.help-piece-visual .piece-grid{grid-template-columns:repeat(var(--piece-width), 42px);grid-template-rows:repeat(var(--piece-height), 42px)}.help-piece-visual .piece-cell{font-size:13px}.help-preview-visual{grid-template-columns:48px auto auto 48px;align-items:center;gap:7px}.help-preview-before,.help-preview-after{background:var(--surface);width:48px;height:48px;color:var(--ink);border-radius:6px;place-items:center;font-size:22px;font-weight:700;display:grid}.help-preview-after{background:var(--green-soft);box-shadow:inset 0 0 0 2px var(--teal)}.help-preview-operation{color:var(--positive-ink);font-size:13px;font-weight:700}.help-preview-arrow{color:var(--muted);font-size:18px}.archive-month-nav{text-align:center;grid-template-columns:38px 1fr 38px;align-items:center;gap:10px;margin-top:20px;display:grid}.archive-month-nav button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:8px;place-items:center;width:38px;height:38px;padding:0;display:grid}.archive-month-nav button:disabled{cursor:default;opacity:.3}.archive-month-nav svg,.archive-back svg{width:17px;height:17px}.archive-weekdays,.archive-calendar{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.archive-weekdays{color:var(--muted);text-align:center;text-transform:uppercase;margin-top:18px;font-size:10px;font-weight:700}.archive-calendar{margin-top:7px}.archive-calendar button{aspect-ratio:1;border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--ink);cursor:pointer;border-radius:7px;place-items:center;padding:0;font-size:13px;font-weight:700;display:grid}.archive-calendar button:not(:disabled){border-color:var(--line-strong);background:var(--green-soft)}.archive-calendar button[aria-current=date]{border-color:var(--yellow);box-shadow:inset 0 0 0 2px var(--yellow)}.archive-calendar button:not(:disabled):hover,.archive-calendar button:not(:disabled):focus-visible{border-color:var(--yellow);box-shadow:inset 0 0 0 1px var(--yellow)}.archive-calendar button:disabled{color:var(--line);cursor:default}.archive-back{color:var(--line-strong);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:0;font-size:12px;font-weight:700;display:inline-flex}.archive-selection-dialog .archive-back{margin-bottom:20px}.archive-selection-dialog h2{text-align:center;margin:0 0 5px;padding:0 40px;font-family:Outfit,sans-serif;font-weight:600}.archive-prompt{text-align:center;margin:0;font-weight:600;color:var(--muted)!important}.archive-difficulties{border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(3,1fr);gap:0;margin-top:18px;display:grid;overflow:hidden}.archive-difficulties button{border:0;border-right:1px solid var(--line);background:var(--paper);min-height:52px;color:var(--ink);cursor:pointer;border-radius:0;font-weight:700}.archive-difficulties button:last-child{border-right:0}.archive-difficulties button:hover{background:var(--green-soft)}.archive-difficulties button:focus-visible{z-index:1;outline:2px solid var(--yellow);outline-offset:-2px;position:relative}.play-area{grid-template-columns:minmax(300px,1000px);justify-content:center;align-items:start;gap:18px;padding-top:clamp(24px,3vw,36px);display:grid}.board-panel{justify-items:center;width:100%;display:grid}.board-tools{justify-content:center;align-items:center;gap:12px;width:min(100%,500px);margin-bottom:12px;display:flex}.board{grid-template-columns:repeat(var(--board-width), 1fr);aspect-ratio:1;background:var(--line-strong);border:0;border-radius:18px;gap:6px;width:min(100%,500px);padding:8px;display:grid;box-shadow:0 16px 34px #231e4d38}.game-status{width:min(100%,500px);min-height:20px;color:var(--muted);text-align:center;margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.4}.board-row{display:contents}.board-cell{background:var(--surface);min-width:0;color:var(--ink);cursor:pointer;border:0;border-radius:7px;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.board.solved .board-cell:not(.blocked):before{content:"";z-index:1;opacity:0;pointer-events:none;animation:.42s ease-out both completion-cell-wave;animation-delay:calc(var(--completion-step) * .16s);background:#4058d63d;position:absolute;inset:0}@keyframes completion-cell-wave{0%{opacity:0}22%{opacity:1}62%{opacity:.7}to{opacity:0}}@media (hover:hover){.board-cell:not(.blocked):hover{box-shadow:inset 0 0 0 999px var(--cell-hover-wash)}}.board-cell.on-target{background:repeating-linear-gradient(135deg, transparent 0 8px, #14798d1f 8px 11px), var(--green-soft)}.board-cell.on-target:after{content:"";background:var(--teal);z-index:3;border-radius:50%;width:7px;height:7px;position:absolute;bottom:7px;right:7px}.board-cell.blocked{cursor:default;background:repeating-linear-gradient(45deg,#37325f 0 5px,#4c4678 5px 10px)}.board-cell.preview{background:var(--preview-soft)}.board-cell.invalid,.board-cell.blocked.invalid{background:var(--negative-soft);box-shadow:inset 0 0 0 2px var(--negative-ink)}.placement-outline{z-index:3;border:3px solid var(--placement-ink);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.placement-trace.inspected{box-shadow:inset 0 0 0 999px var(--placement-wash)}.placement-trace.recent .placement-outline{animation:.9s ease-out both placement-trace-fade}@keyframes placement-trace-fade{0%,40%{opacity:1}to{opacity:0}}.cell-value{z-index:2;font-family:var(--body);font-variant-numeric:lining-nums tabular-nums;font-size:clamp(28px,5vw,52px);font-weight:700;line-height:1;position:relative}.preview-operation{font-variant-numeric:lining-nums tabular-nums;color:var(--line-strong);font-size:12px;font-weight:700;line-height:1;position:absolute;top:9px;left:10px}.tray{scrollbar-width:thin;justify-self:center;width:max-content;max-width:min(1000px,100vw - 64px);margin:-4px auto 0;padding:7px 6px 0;overflow:auto hidden}.primary-button,.secondary-button{border:2px solid var(--ink);background:var(--surface);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:8px 13px;font-size:12px;font-weight:700;display:inline-flex}.piece-list{grid-template-rows:124px;grid-auto-columns:136px;grid-auto-flow:column;gap:8px;width:max-content;display:grid}.piece-tray{min-width:0;position:relative}:is(.piece-tray:has(.piece:not(:disabled)):hover .piece,.piece-tray:has(.piece:not(:disabled)):hover .piece-rotate){transform:translateY(-2px)}.piece{border:1px solid var(--line);background:var(--surface);cursor:grab;touch-action:none;border-radius:8px;place-items:center;width:100%;height:124px;padding:10px;transition:transform .14s,border-color .14s,box-shadow .14s;display:grid;position:relative}.piece:hover:not(:disabled){border-color:var(--ink)}.piece.selected{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--yellow)}.piece.placed{cursor:pointer;background:#e9e8f0}.piece.placed .piece-cell{color:var(--ink);background:#d6d5df}.piece.placed:hover,.piece.placed:focus-visible{border-color:var(--placement-ink);box-shadow:inset 0 0 0 2px var(--placement-ink)}.piece:disabled{cursor:default;opacity:.58;background:#e5e4ed}.piece-rotate{z-index:2;border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--line-strong);cursor:pointer;border-radius:50%;place-items:center;padding:0;transition:transform .14s,background-color .14s,color .14s;animation:.12s ease-out both rotate-control-in;display:grid;position:absolute;top:-4px;right:-4px;box-shadow:0 2px 6px #231e4d24}.piece-rotate svg{width:16px;height:16px}.piece-rotate:hover{background:var(--yellow);color:var(--ink)}.piece-rotate:focus-visible{outline:2px solid var(--yellow);outline-offset:1px}@keyframes rotate-control-in{0%{opacity:0}to{opacity:1}}.piece-grid{grid-template-columns:repeat(var(--piece-width), 34px);grid-template-rows:repeat(var(--piece-height), 34px);align-self:center;display:grid}.piece-cell{place-items:center;font-size:11px;font-weight:700;display:grid;position:relative}.piece-edge{z-index:1;background:var(--ink);pointer-events:none;display:block;position:absolute}.piece-edge.edge-top,.piece-edge.edge-bottom{height:2px;left:-2px;right:0}.piece-edge.edge-left,.piece-edge.edge-right{width:2px;top:-2px;bottom:0}.piece-edge.edge-top{top:-2px}.piece-edge.edge-bottom{bottom:0}.piece-edge.edge-left{left:-2px}.piece-edge.edge-right{right:0}.piece-cell.positive{color:var(--positive-ink);background:#a9dfb7}.piece-cell.negative{color:var(--negative-ink);background:#efb6c8}.drag-ghost{z-index:20;pointer-events:none;position:fixed;transform:translate(-50%,-50%)}.drag-ghost .piece-grid{grid-template-columns:repeat(var(--piece-width), var(--drag-cell-size));grid-template-rows:repeat(var(--piece-height), var(--drag-cell-size));gap:var(--drag-gap);filter:drop-shadow(0 8px 12px #120f303d);opacity:.78}.drag-ghost .piece-cell{border:3px solid var(--yellow);place-items:start;padding:7px 9px;font-size:14px;position:relative}.drag-ghost .piece-edge{display:none}.dialog-backdrop{z-index:10;background:#2925502e;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{border:3px solid var(--ink);background:var(--surface);border-radius:18px;width:min(420px,100%);padding:28px;animation:.18s ease-out both dialog-in;position:relative;box-shadow:0 18px 50px #120f3052}.dialog.restart-dialog{width:min(360px,100%);padding:24px}.restart-dialog h2{margin-top:0;padding-right:40px}.dialog h2{margin:8px 0 12px;font-size:28px;line-height:1.1}.dialog p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.5}.dialog-close{position:absolute;top:12px;right:12px}.dialog-actions{gap:10px;margin-top:24px}.primary-button{background:var(--yellow);color:var(--surface);margin-top:24px}.dialog-actions .primary-button{margin-top:0}.secondary-button{border-color:var(--line)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@keyframes dialog-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (width>=741px) and (height<=999px){.game-shell{min-height:calc(100svh - 16px);margin:8px auto;padding-top:12px;padding-bottom:6px}.play-area{gap:10px;padding-top:12px}.board,.board-tools,.game-status{width:min(100%,clamp(348px,100svh - 408px,500px))}.board-tools{margin-bottom:8px}.game-status{margin-top:6px}}@media (width<=740px){body{background:var(--surface)}.game-shell{width:100%;max-width:none;min-height:100svh;box-shadow:none;border-radius:0;margin:0;padding:12px 10px 16px}.game-header{align-items:center;gap:10px;padding:0 2px}.brand-name{font-size:38px;line-height:.85;transform:none}.brand-subtitle{grid-template-columns:18px auto;gap:6px;margin-top:5px;font-size:14px}.brand-subtitle:before{height:2px}.header-tools{gap:8px;margin-top:0}.header-options{display:none}.header-options.open{z-index:31;border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:4px;width:min(240px,100vw - 32px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 36px #231e4d38}.header-options.open .header-icon-button,.header-options.open .difficulty-trigger{border:0;justify-content:flex-start;gap:10px;width:100%;height:44px;padding:0 12px}.header-options.open .difficulty-trigger span:last-child{color:var(--muted);margin-left:auto}.mobile-menu-label{color:var(--ink);font-size:13px;font-weight:700;display:inline}.header-icon-button.mobile-menu-trigger{width:42px;height:42px;display:grid}.mobile-menu-scrim{z-index:30;display:block;position:fixed;inset:0}.target-mark strong{border-width:2px;width:42px;height:42px;font-size:22px}.help-steps{grid-template-columns:1fr}.help-step{grid-template-columns:132px minmax(0,1fr);align-items:center;gap:14px;display:grid}.help-step h3{margin-top:0}.play-area{grid-template-columns:1fr;gap:12px;padding-top:10px}.board{gap:4px;width:min(100%,420px,100svh - 346px);padding:6px;box-shadow:0 12px 26px #231e4d38}.tray{width:min(100%,420px);max-width:none;padding:0;overflow:visible}.piece-list{flex-wrap:wrap;justify-content:center;width:100%;margin:0 auto;display:flex}.piece-tray{flex:0 0 calc(33.3333% - 5.33333px)}}@media (width<=560px){.game-shell{padding-bottom:8px}.tray{margin:0 auto;position:static}.piece-list{gap:6px;width:100%;margin:0 auto;display:flex}.piece-tray{flex-basis:calc(33.3333% - 4px);min-width:0}.piece{height:88px;min-height:88px;padding:6px}.piece-grid{grid-template-columns:repeat(var(--piece-width), 22px);grid-template-rows:repeat(var(--piece-height), 22px)}.piece-cell{font-size:10px;font-weight:600}.piece-rotate{width:26px;height:26px;top:-6px;right:-6px}}@media (width<=360px){.help-step{display:block}.help-visual{height:110px}.help-step h3{margin-top:11px}}@media (width<=380px){.game-shell{min-height:100svh;margin:0}.target-mark{gap:6px;font-size:10px}.cell-value{font-size:27px}.piece{height:80px;min-height:80px;padding:5px}.piece-grid{grid-template-columns:repeat(var(--piece-width), 20px);grid-template-rows:repeat(var(--piece-height), 20px)}.dialog{padding:22px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
