:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0d0917;--ink:#fff3e1;--muted:#c2b2d4;--panel:#1a102b;--line:#695178;--rose:#fa7aa7;--gold:#ffd38b;--gold-shadow:#a45a45;--mono:ui-monospace, "Courier New", monospace;--body:system-ui, -apple-system, BlinkMacSystemFont, sans-serif}*,:before,:after{box-sizing:border-box}html{background:var(--bg)}body{background:radial-gradient(ellipse at 50% 0%, #21142f, var(--bg) 45rem);color:var(--ink);font-family:var(--body);margin:0}button,input,select{font:inherit}button:not(:disabled),select{cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline-offset:4px;outline:3px solid #92ecff}h1,h2,p{margin:0}[dir=rtl]{--mono:var(--body)}[dir=rtl] .clock,[dir=rtl] .site-brand{font-family:ui-monospace,Courier New,monospace}.arcade-shell{width:100%;position:relative}.arcade-nav{z-index:20;pointer-events:none;justify-content:space-between;align-items:center;gap:.65rem;min-height:4.5rem;padding:.75rem clamp(1rem,3vw,2.5rem);display:flex;position:absolute;top:0;left:0;right:0}.site-brand,.arcade-controls{pointer-events:auto;align-items:center;gap:.7rem;display:flex}.site-brand{font:800 .82rem/1 var(--mono);letter-spacing:.055em}.site-brand img{image-rendering:pixelated}.site-brand strong{color:var(--rose)}.language,.motion-control{min-width:2.6rem;min-height:2.6rem;color:var(--ink);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#211630b8;border:none;border-radius:999px;place-items:center;padding-inline:.85rem;font-size:.875rem;font-weight:700;transition:background-color .2s,transform .15s;display:grid}.language:hover,.motion-control:hover{background:#382452e6}.motion-control{padding-inline:.5rem}.pause-icon{border-inline:3px solid;width:11px;height:12px}.play-icon{clip-path:polygon(0 0,30% 0,30% 17%,60% 17%,60% 33%,90% 33%,90% 50%,100% 50%,100% 66%,60% 66%,60% 83%,30% 83%,30% 100%,0 100%);background:currentColor;flex:none;width:10px;height:12px;display:inline-block}[dir=rtl] .play-icon{transform:scaleX(-1)}.stage{isolation:isolate;background:linear-gradient(#150d38,#3c2256 45%,#17102a 67%,#120a20);border:none;border-radius:0;width:100%;min-height:100dvh;position:relative;overflow:hidden}.pixel-scene,.stage-shade{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.pixel-scene{object-fit:cover;image-rendering:pixelated;z-index:-2}.stage-shade{z-index:-1;background:radial-gradient(#0000 55%,#0e071ca6),linear-gradient(#12092488,#0000 35% 65%,#05030fd9 100%)}.stage-home{min-height:100dvh}.home-content{text-align:center;flex-direction:column;justify-content:space-between;align-items:center;gap:2rem;min-height:100dvh;padding:clamp(4.5rem,7vh,6rem) 1rem clamp(1.75rem,4.5vh,3rem);display:flex}.home-title{justify-items:center;gap:.7rem;display:grid}.home-title img{width:min(33rem,77vw);height:auto;image-rendering:pixelated;filter:drop-shadow(0 0 18px #fb519955);display:block}.home-heading{font:800 clamp(1.05rem, 2.3vw, 1.35rem)/1.25 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--gold);text-shadow:0 2px 6px #12091f,0 0 14px #ffd38b40}.home-title p{color:#fff0eb;text-shadow:0 2px 4px #12091f,0 0 14px #0d061d;max-width:54ch;font-size:clamp(.9rem,2vw,1.08rem);font-weight:600;line-height:1.55}.start-menu{width:min(100%,27rem);color:var(--muted);gap:.7rem;font-size:.875rem;display:grid}.edition-label{color:#f9e7f1;font:700 .85rem/1.4 var(--mono);text-shadow:0 1px 5px #07030d,0 0 7px #07030d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#180d23b8;border:none;border-radius:999px;flex-wrap:wrap;justify-content:center;justify-self:center;align-items:center;gap:.45rem;padding:.38rem .85rem;display:flex}.status-light{background:var(--rose);border-radius:50%;width:.45rem;height:.45rem;box-shadow:0 0 .5rem #fa7aa787}.clock{color:var(--gold);font:700 .9rem/1.5 var(--mono);font-variant-numeric:tabular-nums}.pixel-button{min-height:2.9rem;color:var(--ink);font:800 .86rem/1.35 var(--mono);text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#221634d9;border:none;border-radius:.75rem;justify-content:center;align-items:center;gap:.65rem;padding:.65rem 1.1rem;transition:background-color .2s,transform .15s,box-shadow .2s;display:inline-flex;box-shadow:0 6px 18px #07040f73}.pixel-button:hover:not(:disabled){background:#382452eb;transform:translateY(-1px)}.pixel-button:active:not(:disabled){transform:translateY(1px)}.pixel-button.primary{background:linear-gradient(180deg, #ffde9e, var(--gold));color:#2a172c;letter-spacing:.035em;min-height:3.4rem;font-size:.95rem;box-shadow:0 8px 24px #ffd38b40,0 4px 12px #0a051473}[dir=rtl] .pixel-button.primary{letter-spacing:0}.pixel-button.primary:hover:not(:disabled){background:linear-gradient(#ffe9bd,#ffdc96)}.pixel-button:disabled{opacity:.55}.menu-links{grid-template-columns:1fr 1fr;gap:.65rem;display:grid}.rules{width:min(46rem,100%);color:var(--muted);margin:0 auto;padding:2.5rem 1rem 1.5rem;scroll-margin-top:1rem;line-height:1.65}.rules h2{color:var(--ink);font:800 1.1rem/1.5 var(--mono)}.rules ol{margin:.6rem 0;padding-inline-start:1.4rem}.rules li+li{margin-top:.45rem}.rules li::marker{color:var(--rose)}.rules p{font-size:.95rem}.home-guide{width:min(50rem,100%);color:var(--muted);gap:2.5rem;margin:0 auto;padding:3rem 1rem 2rem;line-height:1.7;display:grid}.guide-section{scroll-margin-top:1.5rem}.guide-header h1{color:var(--ink);margin-bottom:.85rem;font-size:clamp(1.55rem,3.2vw,2.15rem);font-weight:800;line-height:1.25}.home-guide a:not(.pixel-button):not(.archive-pill){color:var(--gold);text-underline-offset:3px;text-decoration:underline}.home-guide a:not(.pixel-button):not(.archive-pill):hover{color:#ffe8bd}.home-guide code{font-family:var(--mono);color:var(--ink);background:#221634d9;border-radius:.35rem;padding:.1rem .38rem;font-size:.9em}.date-pager{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;margin-top:1.25rem;display:flex}.archive-grid{grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:.55rem;margin-top:1rem;display:grid}.archive-pill{color:var(--muted);font:700 .8rem/1.3 var(--mono);background:#1d122eb8;border:1px solid #9c7ebd38;border-radius:.7rem;justify-content:space-between;align-items:center;gap:.45rem;padding:.6rem .8rem;transition:background-color .15s,border-color .15s,transform .15s;display:flex}.archive-pill strong{color:var(--gold)}.archive-pill:hover,.archive-pill.active{border-color:var(--rose);color:var(--ink);background:#382452e6;transform:translateY(-1px)}.spoiler-list{gap:.75rem;margin-top:1rem;display:grid}.spoiler-card{background:#1d122ea6;border:1px solid #9c7ebd33;border-radius:.85rem;padding:.85rem 1.05rem}.spoiler-card summary{cursor:pointer;color:var(--ink);align-items:baseline;gap:.65rem;font-weight:700;line-height:1.45;list-style:none;display:flex}.spoiler-card summary::-webkit-details-marker{display:none}.spoiler-index{font:800 .78rem/1 var(--mono);color:var(--rose);text-transform:uppercase;flex:none}.spoiler-body{border-top:1px solid #9c7ebd2e;gap:.45rem;margin-top:.8rem;padding-top:.75rem;display:grid}.info-shell{flex-direction:column;min-height:100dvh;display:flex}.info-nav{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0d0917d1;border-bottom:1px solid #9c7ebd29;position:sticky}.info-main{flex:1}.info-article{padding-top:2.5rem;padding-bottom:3rem}.contact-cta{margin-top:.5rem}.site-footer{background:#0d0917eb;border-top:1px solid #9c7ebd2e;margin-top:2rem;padding:1.5rem clamp(1rem,3vw,2.5rem)}.footer-inner{width:min(50rem,100%);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem 1.5rem;margin:0 auto;font-size:.85rem;display:flex}.footer-brand{font:700 .8rem/1.4 var(--mono);color:var(--ink)}.footer-links{flex-wrap:wrap;gap:.6rem 1.15rem;display:flex}.footer-links a:hover{color:var(--gold)}.guide-section h2{color:var(--ink);margin-bottom:.85rem;font-size:clamp(1.25rem,2.5vw,1.55rem);font-weight:800;line-height:1.35}.guide-section h3{color:var(--ink);margin:0 0 .35rem;font-size:1.05rem;font-weight:700;line-height:1.4}.guide-section p{color:var(--muted);font-size:.98rem}.guide-section p+p{margin-top:.85rem}.guide-section strong{color:var(--ink);font-weight:700}.guide-section ol,.guide-section ul{gap:.65rem;margin:.85rem 0 0;padding-inline-start:1.35rem;font-size:.98rem;display:grid}.guide-section li::marker{color:var(--rose);font-weight:700}.faq-list{gap:1.15rem;margin-top:1rem;display:grid}.faq-item{background:#1d122e8c;border-radius:1rem;padding:1.15rem 1.35rem}.stage-play{min-height:100dvh}.play-content{align-content:center;justify-items:center;min-height:100dvh;padding:5rem clamp(.65rem,3vw,1.8rem) 2rem;display:grid;position:relative}.panel{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#201330db;border:none;border-radius:1.15rem;width:min(100%,40rem);padding:clamp(1.1rem,3vw,1.75rem);box-shadow:0 16px 40px #07040f8c}.panel h1,.results h1,.panel .panel-heading,.results .panel-heading{margin:0;font-size:clamp(1.25rem,4vw,2.35rem);line-height:1.22}.label{font:800 .8rem/1.45 var(--mono);color:var(--rose)}.ready-panel,.loading-panel{justify-items:start;gap:.85rem;display:grid}.ready-panel .primary{width:100%;margin-top:.2rem}.ready-panel p:not(.label),.loading-panel p{color:var(--muted);line-height:1.55}.ready-info{gap:.6rem;width:100%;display:grid}.archive-select{font:700 .85rem/1.5 var(--mono);color:var(--muted);flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.calendar-controls{align-items:center;gap:.45rem;display:inline-flex}.calendar-input{min-height:2.65rem;color:var(--ink);font:700 .85rem/1.3 var(--mono);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;direction:ltr;background:#140c21e0;border:1px solid #9c7ebd59;border-radius:.65rem;padding:.35rem .75rem;box-shadow:inset 0 1px 3px #00000059,0 4px 12px #07040f59}.calendar-input::-webkit-calendar-picker-indicator{filter:invert(.9)sepia(.25)saturate(2)hue-rotate(285deg);cursor:pointer}.calendar-step{min-width:2.65rem;min-height:2.65rem;padding:.35rem .65rem;font-size:.8rem}.previous{font-size:.85rem}.hud{justify-content:space-between;align-items:stretch;gap:.75rem;width:min(100% - 28rem,40rem);margin:0 auto 1rem;display:flex}.hud-chip{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);min-width:6rem;font-family:var(--mono);background:#1a102ad1;border:none;border-radius:.85rem;flex-direction:column;gap:.35rem;padding:.55rem .85rem;display:flex;box-shadow:0 8px 20px #07040f66}.hud-chip .label{color:var(--muted)}.depth-value{color:var(--gold);font-variant-numeric:tabular-nums;font-weight:800}.progress-bars{gap:5px;display:flex}.progress-bars span{background:#4e365d;border-radius:4px;width:15px;height:8px}.progress-bars [data-state=hit]{background:var(--gold)}.progress-bars [data-state=miss]{background:#a25682}.progress-bars [data-state=current]{background:var(--rose)}.stage-play:is([data-phase=playing],[data-phase=reveal]) .play-content{align-content:start;padding-top:10px}.stage-play[data-phase=playing] .play-content{grid-template-rows:auto auto 1fr;align-content:stretch;padding-bottom:10px}.question h1,.question .panel-heading{margin-block:.55rem .85rem}.hint{min-height:2rem;color:var(--muted);line-height:1.45}.hint strong{color:var(--gold)}.dock{z-index:5;align-self:end;width:min(100%,46rem);margin-top:auto;padding-top:1.5rem}.answer-form{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:.55rem;display:grid}.answer-form input{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);min-width:0;min-height:3.4rem;color:var(--ink);background:#1c122ae6;border:none;border-radius:.75rem;padding:.55rem 1rem;font-size:max(1rem,16px);box-shadow:0 6px 18px #07040f73}.answer-form input::placeholder{color:var(--muted)}.answer-form .pixel-button{min-height:3.4rem}.timer{width:3.1rem;height:3.1rem;color:var(--gold);font:800 .92rem/1 var(--mono);background:#1c122ae0;border-radius:50%;place-items:center;display:grid;position:relative}.timer[data-low=true]{color:var(--rose)}.timer svg{width:100%;height:100%;position:absolute;transform:rotate(-90deg)}.timer circle{stroke-width:3px;fill:#0000}.timer-track{stroke:#553c64}.timer-fill{stroke:currentColor}.reveal{justify-items:start;gap:.65rem;display:grid}.reveal h1,.reveal .panel-heading{overflow-wrap:anywhere}.reveal-depth{color:var(--muted)}.examples{grid-template-columns:1fr 1fr;gap:.9rem;width:100%;margin-block:.25rem;display:grid}.examples ul{color:var(--muted);margin:.35rem 0 0;padding-inline-start:1.15rem}.examples li+li{margin-top:.25rem}.reveal .primary{width:100%}.stage-play[data-phase=finished]{background:#181023}.results{gap:.9rem;width:min(100%,43rem);display:grid}.results-summary{justify-content:space-between;align-items:center;gap:1rem;width:100%;display:flex}.result-depth{text-align:end;gap:.25rem;display:grid}.result-depth strong{font:800 clamp(1.3rem, 4vw, 2.3rem)/1 var(--mono);white-space:nowrap}.result-list{gap:.55rem;margin:.35rem 0 0;padding:0;list-style:none;display:grid}.result-list li{background:#261832c7;border:none;border-radius:.85rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.05rem;display:flex}.result-list li.solved{background:#342240e0}.result-list li>div{overflow-wrap:anywhere;gap:.15rem;min-width:0;display:grid}.result-list li>div span{color:var(--muted)}.result-list .depth-value{flex-shrink:0}.result-actions{flex-wrap:wrap;gap:.65rem;display:flex}.share-status{min-height:1.3rem;color:var(--muted);font-size:.9rem}@media (max-width:58rem){.hud{width:min(100%,40rem)}.stage-play:is([data-phase=playing],[data-phase=reveal]) .play-content{padding-top:4.5rem}}@media (max-width:37rem){.arcade-nav{min-height:3.8rem;padding:.5rem 1rem}.site-brand{gap:.45rem;font-size:.72rem}.arcade-controls{gap:.4rem}.home-content{gap:2rem;min-height:100dvh;padding-top:4.2rem;padding-bottom:1.25rem}.stage-home{min-height:100dvh}.home-title img{width:min(30rem,82vw)}.stage-play,.play-content{min-height:100dvh}.play-content{padding-top:4.5rem;padding-bottom:1.25rem}.stage-play[data-phase=playing] .play-content{padding-bottom:10px}.hud{margin-bottom:.75rem}.answer-form{grid-template-columns:auto minmax(0,1fr) auto}.answer-form .skip{grid-column:2/-1;min-height:2.6rem}.answer-form .primary{padding-inline:.65rem}.panel .primary{min-height:3rem}.results-summary{align-items:start;gap:.55rem}.result-list li{padding-inline:.55rem}}@media (prefers-reduced-motion:reduce){.pixel-button:active:not(:disabled){transform:none}}
