*{box-sizing:border-box}body{margin:0;background:#121b25;color:#eef1ec;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background-image:radial-gradient(ellipse at 90% 0,#31414466,transparent 50%)}button,select{font:inherit}button{cursor:pointer;border:1px solid #53616b;background:#26323d;color:#f2f2ea;border-radius:9px;padding:10px 14px;transition:background .16s,transform .16s}button:hover{background:#3b4a54}button:active{transform:translateY(1px)}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #f8c875;outline-offset:3px}button:disabled{opacity:.4;cursor:default}main{max-width:1140px;padding:0 40px;margin:auto}header{height:88px;display:flex;align-items:center;gap:25px;border-bottom:1px solid #ffffff1c}.brand{color:#f6cc81;letter-spacing:.18em;text-decoration:none;font-size:16px;font-weight:750}header>.eyebrow{flex:1}header button{font-size:12px;border-color:#54616a;background:transparent}.eyebrow{font-size:10px;letter-spacing:.21em;font-weight:750;color:#b5c4c3}.intro{display:flex;align-items:center;justify-content:space-between;padding:32px 0}.intro .eyebrow{color:#f0c67d}h1{font:500 clamp(34px,5vw,52px)/1.06 Georgia,serif;letter-spacing:-.04em;margin:12px 0 15px}.lead{color:#b6c3c9;font-size:14px;line-height:1.7;margin:0}.edition{padding:28px;border:1px solid #f1cc7d33;border-radius:50%;width:160px;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;transform:rotate(7deg)}.edition>span{font:32px Georgia,serif;color:#f4ca7d}.edition small{font-size:8px;letter-spacing:.16em}.layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:28px;align-items:start}.play{background:#1e2a35;border:1px solid #4c5d6566;border-radius:18px;padding:26px;box-shadow:0 16px 60px #0003}.board-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.board-top h2{font:25px Georgia,serif;margin:6px 0 0}.pill{padding:7px 10px;border:1px solid #59656a;border-radius:30px;color:#c4cfcf;font-size:11px;white-space:nowrap}.meter{height:3px;background:#101b23;margin-top:22px;border-radius:3px;overflow:hidden}.meter span{display:block;height:100%;background:#f5c87a;transition:width .2s}.numbers{display:flex;justify-content:space-between;color:#b7c4c7;font-size:11px;margin:10px 0 20px}.board{display:grid;gap:3px;background:#111c26;padding:7px;border-radius:10px;width:100%;aspect-ratio:1;touch-action:manipulation;user-select:none}.cell{position:relative;min-width:0;padding:0;border:1px solid #4f616b66;border-radius:4px;background:#34434f;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:clamp(13px,2.5vw,25px);aspect-ratio:1;transition:background .17s,box-shadow .17s;color:#e8e6d9}.cell:hover{background:#475b65}.cell.wall{background:#14212b;color:#9eacb1;border:1px solid #3a4851;cursor:default}.cell.lit{background:#e4d6a7;color:#64542d;border-color:#eed8a2;box-shadow:inset 0 0 10px #fff5d733}.cell.lamp{background:#f6cf7f;color:#624c22;box-shadow:0 0 14px #f6ca6444;z-index:1}.cell.lamp svg{width:65%;height:65%;pointer-events:none}.cell.note:after{content:'×';color:#96a9b5;font-size:19px}.cell.note.lit:after{color:#9d8a57}.cell.conflict{background:#8c4651;color:#fff0e5;border-color:#f1a39f}.cell.wall.good{color:#f8ce7f;border-color:#d7b67266}.cell.selected{outline:2px solid #fff7dd;outline-offset:-3px}.cell.last{box-shadow:inset 0 0 0 2px #86d9b4}.toolbar{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.toolbar button{font-size:12px;padding:9px 11px}.modes{display:flex;gap:3px;margin-right:auto}.modes button[aria-pressed=true]{color:#17212c;background:#f3c779;border-color:#f3c779}#status{min-height:41px;font-size:12px;line-height:1.5;margin-top:18px;color:#becbd0}#status.win{color:#a5e4bf;font-weight:650}#status.error{color:#ffc0b9}.next{width:100%;margin-top:14px;background:#edc379;color:#18232b;border:0}.keys{font-size:10px;line-height:1.7;color:#8ca1ae;text-align:center;margin:18px 0 0}.guide{background:#d4dfd5;color:#203432;border-radius:16px;padding:24px}.guide .eyebrow{color:#4c6a61}.guide h2{font:27px Georgia,serif;margin:12px 0 18px}.guide ol{padding-left:20px;margin:0}.guide li{padding-left:4px;font-size:12px;line-height:1.7;margin-bottom:13px}.guide strong{display:block}.guide p{font-size:11px;line-height:1.6;color:#516b62;margin-bottom:0}.guide.flash{box-shadow:0 0 0 3px #f4ca7d}.rooms{margin-top:26px}.section-label{display:flex;justify-content:space-between;align-items:center;gap:6px}.section-label h2{font:23px Georgia,serif;margin:0}.section-label span{font-size:9px;color:#a7b9bc}.rooms label{display:block;font-size:10px;margin:16px 0 7px;color:#a7b9bc}select{width:100%;background:#202e39;color:#e5ebe6;padding:10px;border:1px solid #4e626b;border-radius:8px;font-size:12px}#room-list{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin-top:12px}#room-list button{padding:9px 0;font-size:11px}#room-list button.current{border-color:#f4ca7d;color:#f4ca7d}#room-list button.done{background:#31564b;color:#c7e8c4}#room-note{font-size:10px;color:#9cafb6;line-height:1.6}footer{padding:30px 0;color:#91a8b2;font-size:10px;display:flex;justify-content:space-between;gap:20px}footer details{max-width:55%;line-height:1.7;overflow-wrap:anywhere}summary{cursor:pointer}footer a{color:#f0c77f}[hidden]{display:none!important}@media(max-width:760px){main{padding:0 18px}header{height:70px;gap:8px}header>.eyebrow{display:none}header button{margin-left:auto}.intro{padding:24px 0}.edition{width:110px;height:110px;padding:10px}.edition>span{font-size:24px}.edition small{font-size:6px}.layout{grid-template-columns:1fr;gap:23px}.play{padding:18px}.guide{padding:22px}.cell{font-size:clamp(15px,5vw,26px)}footer{flex-direction:column}footer details{max-width:100%}.rooms{margin-top:22px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}