:root{color-scheme:light;--paper:#f6f4ed;--ink:#243234;--muted:#626d6a;--line:#dcded4;--gold:#f6da78;--board:#253537;--cell:#344547;font-family:Arial,Helvetica,sans-serif;font-size:16px;background:var(--paper);color:var(--ink)}*{box-sizing:border-box}body{margin:0}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a36c11;outline-offset:4px}button{color:inherit}a{color:inherit}.shell{width:min(100% - 36px,440px);margin:0 auto;padding:18px 0 24px}.masthead{display:flex;align-items:center;justify-content:space-between;min-height:40px;border-bottom:1px solid var(--line);padding-bottom:10px}.brand{font-size:11px;letter-spacing:1.8px;font-weight:800;text-decoration:none}.brand span{font-weight:400}.quiet{min-height:44px;padding:6px 0 6px 12px;border:0;background:none;font-size:12px;font-weight:600}.quiet span{margin-left:8px}.intro{display:flex;justify-content:space-between;align-items:center;padding:21px 0 22px}h1{font-family:Georgia,'Times New Roman',serif;font-size:57px;font-weight:400;letter-spacing:-3px;line-height:1;margin:0 0 9px}.title-spark{display:inline-block;font-size:37px;vertical-align:top;color:#a16e13;margin-left:9px;margin-top:3px}.intro p{margin:0;font-size:13px;color:var(--muted)}.daily-label{text-align:right;display:flex;flex-direction:column;gap:5px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.7px}.daily-label strong{font-family:Georgia,serif;font-weight:400;font-size:25px}.daily-label time{font-size:11px;color:var(--muted)}.game-head{display:flex;align-items:center;justify-content:space-between;min-height:34px;margin-bottom:9px}.game-head p{margin:0;font-size:13px;font-weight:600}.mirror-count{display:flex;gap:5px}.mirror-count i{width:19px;height:24px;border:1px solid #b9c3ba;border-radius:4px;position:relative}.mirror-count i:after{content:'';position:absolute;height:14px;width:2px;background:#556b69;transform:rotate(35deg);left:8px;top:4px}.mirror-count i.used{background:#dee4dc;border-color:#dee4dc}.board{position:relative;width:100%;aspect-ratio:1;background:var(--board);border:7px solid var(--board);border-radius:13px;box-shadow:0 10px 23px #24323410;overflow:hidden}.cells{position:absolute;inset:0;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr)}.cell{position:relative;border:1px solid #ffffff0e;margin:0;padding:0;background:transparent;display:grid;place-items:center;min-width:0;min-height:0;color:#ecf0e8;z-index:2;border-radius:3px}.cell.empty:hover{background:#ffffff08}.cell:focus-visible{outline:2px solid var(--gold);outline-offset:-4px;z-index:4}.cell.selected{background:#ffffff08;box-shadow:inset 0 0 0 2px #e8cf7b;border-color:transparent}.cell.wall{background:#142527;border:5px solid var(--board)}.cell.wall:after{content:'';width:35%;height:9px;border-top:1px solid #526160;border-bottom:1px solid #526160;opacity:.65}.cell.source .source-shape{width:64%;height:64%;border:1px solid #f5d87877;border-radius:50%;display:grid;place-items:center;color:#ffde7b;background:#45504a;font-size:25px;line-height:1;position:relative;z-index:3}.lantern{width:47%;height:59%;overflow:visible;stroke:#9cad9e;fill:var(--board);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;position:relative;z-index:3}.cell.lit .lantern{stroke:#fae8a4;fill:#fae8a4;filter:drop-shadow(0 0 7px #ffe69c66)}.lantern .wick{stroke:#9cad9e}.cell.lit .wick{stroke:#74602d}.mirror-svg{position:absolute;width:74%;height:74%;z-index:4;overflow:visible}.mirror-shadow{stroke:#152729;stroke-width:12;stroke-linecap:round}.mirror-stroke{stroke:#edf4ee;stroke-width:5;stroke-linecap:round}.beam{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}.beam polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}.beam #beam-glow{stroke:#f8dc7e;stroke-width:15;opacity:.15;filter:blur(4px)}.beam #beam-line{stroke:#ffe99a;stroke-width:4;filter:drop-shadow(0 0 3px #ffe99a88)}.beam.animate #beam-line{stroke-dasharray:1;animation:light .32s ease-out both}@keyframes light{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}.hint{font-size:12px;line-height:1.5;min-height:18px;color:var(--muted);margin:14px 0}.tools{display:flex;gap:9px;margin-bottom:12px}.tool{min-height:46px;border:1px solid #b7c1b7;border-radius:7px;background:transparent;font-size:13px;font-weight:600;padding:8px 14px}.tools .tool:first-child{flex:1.3}.tools .tool:last-child{flex:1}.tool>span:first-child{font-size:20px;vertical-align:-1px;margin-right:5px}.tool:disabled{opacity:.45}.keycap{font-size:12px;letter-spacing:1px;margin-left:9px;color:var(--muted)}.primary{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;background:var(--ink);color:#fffdf2;border:1px solid var(--ink);border-radius:7px;padding:12px 17px;font-size:14px;font-weight:600}.primary:hover{background:#3c5050}.primary:disabled{opacity:.45}.primary>span{font-size:20px;font-weight:400}.reset{display:block;min-height:44px;margin:0 auto;border:0;background:none;font-size:12px;text-decoration:underline;text-underline-offset:3px}.status{font-size:12px;line-height:1.5;margin:0 0 10px;color:#80530c}.status:empty{display:none}.retry{display:block;margin:0 auto}footer{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-size:10px}.motion{display:flex;align-items:center;min-height:40px;gap:5px;white-space:nowrap;cursor:pointer}.motion input{accent-color:var(--ink);width:15px;height:15px;margin:0}.privacy{text-align:center;font-size:10px;line-height:1.9;color:var(--muted);margin:16px 0 0}.result{margin:0 0 18px;padding:18px;background:#e9eddf;border:1px solid #d5ddca;border-radius:9px}.result-top,.result-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.result-top>span:last-child{font-size:11px}.result h2{font-family:Georgia,serif;font-weight:400;font-size:33px;margin:10px 0 6px;letter-spacing:-.5px}.result p{font-size:14px;margin:0 0 16px}.result-bottom .primary{width:auto;gap:18px;min-height:46px;font-size:12px}.result-bottom>span{font-size:13px;font-weight:600}.result .local-note{font-size:10px;color:var(--muted);margin:13px 0 0}dialog{width:min(100% - 32px,420px);border:1px solid #d3d7cb;border-radius:14px;background:var(--paper);color:var(--ink);padding:29px 25px;box-shadow:0 24px 70px #15272933;max-height:90dvh;overflow:auto}dialog::backdrop{background:#17292bc4;backdrop-filter:blur(3px)}dialog h2{font-family:Georgia,serif;font-size:30px;font-weight:400;letter-spacing:-1px;margin:11px 0 18px}dialog p,dialog li{font-size:14px;line-height:1.6}dialog ol{padding-left:20px}dialog li{padding-left:4px;margin-bottom:10px}.small{font-size:12px!important;color:var(--muted)}.close{position:absolute;right:10px;top:6px;font-size:28px;border:0;background:transparent;min-width:44px;min-height:44px}.full{display:block;width:100%;margin-top:9px}textarea{width:100%;padding:12px;resize:vertical;background:#fffef7;border:1px solid #abb9ac;border-radius:6px;font:13px/1.6 Arial,sans-serif;margin-bottom:15px}.reduced-motion *, .reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-width:350px){.shell{width:calc(100% - 24px)}h1{font-size:49px}.title-spark{font-size:29px}.intro{padding:16px 0}.game-head p{font-size:12px}.keycap{display:none}.tool{padding:8px}.daily-label .eyebrow{font-size:8px}footer{font-size:9px}}@media(min-width:700px){.shell{padding-top:28px}.intro{padding:28px 0}.board{border-width:8px}.hint{margin-top:17px}}

#confirm-error:empty{display:none}#confirm-error{color:#80530c}
