:root[data-theme=system]{color-scheme:light dark}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}:where(:root){--surface:Canvas;--ink:CanvasText;--muted:CanvasText;--line:GrayText;--tint:ButtonFace;--accent:LinkText}.pj-shell{color:var(--ink);background:var(--surface);font:1rem/1.4 var(--site-font,system-ui, sans-serif);container-type:inline-size}.pj-shell:fullscreen{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:auto}.pj-shell :is(button,select,input){font:inherit}.pj-shell button,.pj-settings label,.pj-settings select{min-height:44px}.pj-shell button{cursor:pointer;min-width:44px}.pj-shell button:disabled{opacity:.48;cursor:default}.pj-shell :focus-visible{outline:3px solid var(--accent);outline-offset:2px}.pj-daily,.pj-notice{color:var(--accent);margin:.25rem 0;padding-inline:.6rem;font-size:.875rem}.pj-notice:empty{margin:0}.pj-strip,.pj-toolbar,.pj-strip div,.pj-control,.pj-overlay,.pj-dialog header,.pj-settings label,.pj-stats div{align-items:center;display:flex}.pj-strip{border-radius:var(--radius) var(--radius) 0 0;background:var(--tint);gap:clamp(.75rem,4cqi,1.75rem);margin:0;padding:.25rem .5rem;font-size:.875rem}.pj-strip div{gap:.35rem}.pj-strip dt,.pj-stats dt{color:var(--muted)}.pj-strip dd,.pj-stats dd{font-variant-numeric:tabular-nums;margin:0;font-weight:850}.pj-toolbar{flex-wrap:wrap;gap:.2rem;padding:.25rem}.pj-toolbar-end{gap:inherit;margin-inline-start:auto;display:flex}.pj-control{justify-content:center;gap:.35rem;padding:0 .48rem}.pj-control svg{flex:none}.pj-play{isolation:isolate;min-height:8rem;position:relative}.pj-shell:has(.pj-square-board){flex-direction:column;max-height:100dvh;display:flex;overflow:auto}.pj-shell:has(.pj-square-board)>:not(.pj-play){flex:none}.pj-shell:has(.pj-square-board)>.pj-strip{line-height:round(down,1.4em,1px)}.pj-play:has(.pj-square-board){aspect-ratio:1;flex-basis:100cqi;align-self:center;min-height:min(16rem,100cqi)}.pj-square-board{aspect-ratio:1;position:relative}.pj-board>[tabindex="0"]{touch-action:none}.pj-board[data-paused=true]{visibility:hidden}.pj-overlay{z-index:1;text-align:center;border-radius:var(--radius);background:color-mix(in srgb, var(--surface) 96%, transparent);flex-direction:column;justify-content:center;gap:.65rem;padding:.8rem;position:absolute;inset:0}.pj-overlay strong{font-size:1.6rem;font-weight:900}.pj-win-bar{z-index:1;border-radius:var(--radius);box-shadow:var(--shadow);background:color-mix(in srgb, var(--surface) 94%, transparent);flex-wrap:wrap;justify-content:center;align-items:center;gap:.4rem .8rem;padding:.55rem .8rem;animation:.35s ease-out 1.1s both pj-win-bar;display:flex;position:absolute;inset:auto .6rem .6rem}.pj-win-bar strong{font-size:1.15rem;font-weight:900}.pj-win-bar p{margin:0}@keyframes pj-win-bar{0%{opacity:0;transform:translateY(.6rem)}}.pj-overlay button{padding:.45rem 1rem}.pj-dialog{box-sizing:border-box;border-radius:var(--radius,1.2rem);width:min(22rem,100% - 2rem);max-height:calc(100dvh - 2rem);box-shadow:var(--shadow);background:var(--surface);color:var(--ink);border:none;margin:auto;padding:1.15rem;position:fixed;inset:0;overflow:auto}.pj-dialog::backdrop{background:var(--backdrop,#211a3c99)}.pj-dialog header{justify-content:space-between;gap:1rem;margin-bottom:.5rem}.pj-dialog h2{margin:0;font-size:1.4rem;font-weight:900}.pj-dialog header .pj-control span{display:none}.pj-menu{gap:.35rem;display:grid}.pj-menu .pj-control{justify-content:flex-start;gap:.75rem}.pj-settings label,.pj-stats div{border-top:1px solid var(--line);justify-content:space-between;gap:.75rem;padding:.3rem .1rem}.pj-settings input{width:1.25rem;height:1.25rem;accent-color:var(--accent)}.pj-settings select{padding:.25rem .55rem}.pj-stats{margin:0}.pj-stats-group{margin:0 0 .5rem;font-weight:650}@container (width<=27rem){.pj-toolbar>.pj-control:not(:first-child) span{display:none}}@container (width<=34rem){.pj-toolbar-end .pj-control span{display:none}}@container (width<=48rem){.pj-toolbar:lang(tr) .pj-toolbar-end .pj-control span{display:none}}@container (width<=24rem){.pj-toolbar>.pj-control:first-child span{display:none}.pj-toolbar:lang(tr):has(>.pj-control:nth-child(3))>label:has(>select){gap:0;padding-inline:0;font-size:0}.pj-toolbar:lang(tr):has(>.pj-control:nth-child(3))>label>select{font-size:.875rem}}@media (prefers-reduced-motion:reduce){.pj-shell *,.pj-shell :before,.pj-shell :after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.pj-win-burst{z-index:2;pointer-events:none;animation:1s linear both pj-win-fade;position:absolute;inset:0;overflow:clip}.pj-win-burst i{background:var(--win-one,#5033b0);border-radius:2px;width:8px;height:12px;animation:1s cubic-bezier(.16,.65,.36,1) both pj-win-spark;position:absolute;top:50%;left:50%}.pj-win-burst i:nth-child(3n+2){background:var(--win-two,#ed8150);border-radius:50%}.pj-win-burst i:nth-child(3n){background:var(--win-three,#61bdab);height:7px}@keyframes pj-win-spark{0%{transform:translate(-50%,-50%)scale(.2)}68%{transform:translate(var(--x), var(--y)) rotate(var(--spin))}to{transform:translate(var(--x), calc(var(--y) + 24px)) rotate(calc(var(--spin) + 60deg))}}.pj-win-burst[data-rain]{animation-duration:2.2s;container-type:size}.pj-win-burst[data-rain] i{animation:1.5s cubic-bezier(.3,.1,.6,1) both pj-win-rain;top:-12px}@keyframes pj-win-rain{0%{transform:translate(0)rotate(0)}to{transform:translate(var(--x), calc(100cqh + 24px)) rotate(var(--spin))}}@keyframes pj-win-fade{0%{opacity:0}12%,55%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.pj-win-burst{display:none}.pj-win-burst,.pj-win-burst i,.pj-win-bar{animation:none}}
