.puzzle-room{--puzzle-accent:#5c58ad;--puzzle-soft:#f0effa;max-width:1020px;margin:0 auto}.puzzle-theme-lights{--puzzle-accent:#85630d;--puzzle-soft:#fff8df}.puzzle-theme-numbers{--puzzle-accent:#5b53ad;--puzzle-soft:#f0effb}.puzzle-theme-bridges{--puzzle-accent:#267369;--puzzle-soft:#eaf5f1}.puzzle-heading{margin:30px 0}.puzzle-heading .eyebrow{color:var(--puzzle-accent);align-items:center;gap:8px;display:inline-flex}.puzzle-heading h1{letter-spacing:-.04em;margin:12px 0;font-size:clamp(29px,5vw,43px);line-height:1.12}.puzzle-heading>p{max-width:670px;color:var(--muted-foreground);line-height:1.65}.puzzle-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.puzzle-choice{text-align:left;border:1px solid var(--border);background:#fff;border-radius:20px;flex-direction:column;min-width:0;padding:16px;transition:border-color .15s,box-shadow .15s;display:flex}.puzzle-choice:hover{border-color:var(--puzzle-accent);box-shadow:0 7px 22px #2933610b}.puzzle-choice-art{background:var(--puzzle-soft);border-radius:12px;place-items:center;width:100%;height:154px;margin-bottom:20px;display:grid}.puzzle-choice-art svg{width:180px;height:115px;fill:var(--puzzle-accent);stroke:var(--puzzle-accent);stroke-width:3px}.puzzle-choice-art path{fill:none;opacity:.6}.puzzle-choice-art circle{stroke:var(--puzzle-soft);stroke-width:3px}.puzzle-mini-lights{grid-template-columns:repeat(3,29px);gap:7px;display:grid;transform:rotate(-8deg)}.puzzle-mini-lights i{background:#e7e2cc;border:1px solid #d8d0b1;border-radius:8px;width:29px;height:29px}.puzzle-mini-lights i.is-lit{background:#f4d667;border-color:#c2a047;box-shadow:0 0 16px #efd06866}.puzzle-mini-numbers{color:var(--puzzle-accent);grid-template-rows:37px 21px 37px;grid-template-columns:37px 21px 37px;place-items:center;display:grid}.puzzle-mini-numbers span:not(:empty){background:#fff;border-radius:7px;place-items:center;width:37px;height:37px;font-weight:650;display:grid}.puzzle-mini-numbers b{font-size:20px}.puzzle-choice-label{color:var(--puzzle-accent);align-items:center;gap:7px;font-size:12px;font-weight:650;display:flex}.puzzle-choice h2{letter-spacing:-.025em;margin:10px 0 7px;font-size:21px}.puzzle-choice>p{color:var(--muted-foreground);margin:0 0 22px;font-size:14px;line-height:1.6}.puzzle-choice-bottom{border-top:1px solid var(--border);color:var(--muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;width:100%;margin-top:auto;padding-top:15px;font-size:12px;display:flex}.puzzle-choice-bottom>span{color:var(--puzzle-accent);align-items:center;gap:6px;font-size:13px;font-weight:650;display:inline-flex}.puzzle-footnote{color:var(--muted-foreground);margin:24px 0;font-size:13px;line-height:1.6}.puzzle-session-heading{margin-bottom:14px}.puzzle-rule{max-width:700px;color:var(--muted-foreground);margin:0 0 24px;line-height:1.65}.puzzle-workspace{border:1px solid var(--border);background:#fff;border-radius:22px;grid-template-columns:minmax(0,1.25fr) minmax(210px,.75fr);align-items:start;gap:28px;padding:28px;display:grid}.puzzle-board-area{width:100%;min-width:0;max-width:390px;margin:0 auto}.puzzle-side-note{background:var(--puzzle-soft);border-radius:15px;padding:24px}.puzzle-note-number{color:var(--puzzle-accent);border-bottom:2px solid;padding-bottom:6px;font-size:13px;font-weight:700;display:inline-block}.puzzle-side-note h2{letter-spacing:-.025em;margin:20px 0 12px;font-size:19px;line-height:1.25}.puzzle-side-note p{color:var(--muted-foreground);margin:12px 0 0;font-size:14px;line-height:1.65}.puzzle-legend{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:10px 8px;margin-top:24px;font-size:12px;display:flex}.puzzle-legend i{border-radius:4px;flex-shrink:0;width:14px;height:14px}.puzzle-legend i:nth-of-type(2){margin-left:9px}.puzzle-legend-light{background:#f4d667;border:1px solid #ac892b}.puzzle-legend-dark{background:#edeae0;border:1px solid #bbb6a6}.puzzle-legend .puzzle-legend-bridge,.puzzle-legend .puzzle-legend-used{background:#afbfba;height:4px}.puzzle-legend .puzzle-legend-used{background:#267369}.puzzle-lights{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.puzzle-lights button{aspect-ratio:1;color:#666256;background:#efede5;border:1px solid #d8d3c3;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;transition:background .13s,box-shadow .13s;display:flex;position:relative}.puzzle-lights button.is-lit{color:#6b5010;background:#ffe591;border-color:#b79132;box-shadow:inset 0 0 25px #ffefb1}.puzzle-lights button:disabled{opacity:1;cursor:default}.puzzle-light-number{font-size:11px;font-weight:650;position:absolute;top:8px;left:10px}.puzzle-light-state{font-size:12px;font-weight:600}.puzzle-lights .is-solution{outline:3px solid var(--puzzle-accent);outline-offset:-4px}.puzzle-solution-dot{font-size:13px;position:absolute;top:4px;right:8px}.puzzle-status{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-top:16px;font-size:13px;line-height:1.5;display:flex}.puzzle-status span:first-child{font-weight:600}.puzzle-status span:last-child{color:var(--muted-foreground)}.puzzle-keyboard{color:var(--muted-foreground);margin:17px 0 0;font-size:12px;line-height:1.6}.puzzle-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:23px;display:flex}.puzzle-actions button{justify-content:center;align-items:center;gap:7px;min-height:44px;display:inline-flex}.puzzle-actions .text-button{margin-left:auto}.puzzle-actions button:disabled{opacity:.45;cursor:default}.puzzle-explanation{background:#f2faf5;border:1px solid #bddbcd;border-radius:16px;margin-top:23px;padding:23px}.puzzle-explanation.is-revealed{background:#f7f7fc;border-color:#dcddeb}.puzzle-explanation h2{align-items:center;gap:8px;margin:0 0 12px;font-size:19px;display:flex}.puzzle-explanation p{margin:10px 0;font-size:14px;line-height:1.7}.puzzle-source{border-top:1px solid #ccdace;margin-top:17px;padding-top:14px;font-size:13px}.puzzle-source summary{cursor:pointer;font-weight:650}.puzzle-source a{color:var(--primary);text-underline-offset:3px;overflow-wrap:anywhere;line-height:1.7;text-decoration:underline}.puzzle-numbers{grid-template-rows:auto 22px auto 22px auto 22px auto;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);display:grid}.puzzle-numbers button{aspect-ratio:1;color:var(--puzzle-accent);background:#fff;border:1px solid #cecde3;border-radius:9px;place-items:center;font-size:25px;font-weight:600;display:grid;position:relative}.puzzle-numbers button.is-given{color:#4d4b5c;background:#eeedf3;border-color:#d8d6e4}.puzzle-numbers button.is-selected{outline:2px solid var(--puzzle-accent);outline-offset:1px;background:#eeebff}.puzzle-numbers button.is-conflict{background:#fff0ec;border-color:#b7412c}.puzzle-conflict-mark{color:#a53926;font-size:13px;position:absolute;top:2px;right:5px}.puzzle-inequality{color:#706b98;place-items:center;font-size:20px;font-weight:650;display:grid}.puzzle-empty-dot{color:#b9b6cd;font-size:20px;font-weight:400}.puzzle-number-pad{grid-template-columns:repeat(5,1fr);gap:7px;margin-top:24px;display:grid}.puzzle-number-pad button{background:var(--puzzle-soft);min-height:44px;color:var(--puzzle-accent);border:1px solid #d8d4ec;border-radius:9px;font-size:21px;font-weight:600}.puzzle-number-pad button:disabled{opacity:.4;cursor:default}.puzzle-sign-example{color:var(--puzzle-accent);align-items:center;gap:15px;margin-top:22px;font-size:23px;display:flex}.puzzle-sign-example span{background:#fff;border-radius:7px;place-items:center;width:40px;height:40px;font-weight:600;display:grid}.puzzle-check{align-items:center;gap:7px;min-height:44px;margin-top:17px;display:inline-flex}.puzzle-check-message{color:#2b6658;font-size:13px;line-height:1.6;display:block}.puzzle-check-message.has-error{color:#a53926}.puzzle-bridge-board{aspect-ratio:1;background:var(--puzzle-soft);border-radius:15px;width:100%;position:relative}.puzzle-bridge-board svg{width:100%;height:100%;display:block}.puzzle-bridge-board line{stroke:#b5c4bf;stroke-width:1.5px;stroke-linecap:round}.puzzle-bridge-board line.is-used{stroke:#267369;stroke-width:2px;stroke-dasharray:3 1}.puzzle-bridge-board button{color:#60756c;background:#fff;border:2px solid #c6d4ce;border-radius:50%;place-items:center;width:44px;height:44px;font-size:16px;font-weight:700;display:grid;position:absolute;transform:translate(-50%,-50%)}.puzzle-bridge-board button.is-available{color:#21665d;border-color:#267369;box-shadow:0 2px 6px #1c4b3211}.puzzle-bridge-board button.is-current{color:#fff;background:#267369;border-color:#fff;box-shadow:0 0 0 2px #267369}.puzzle-bridge-board button:disabled{opacity:1;cursor:default}.puzzle-path{flex-wrap:wrap;gap:5px;min-height:38px;margin-top:15px;display:flex}.puzzle-path>span{align-items:center;gap:5px;display:flex}.puzzle-path b{background:var(--puzzle-soft);width:29px;height:29px;color:var(--puzzle-accent);border-radius:7px;place-items:center;font-size:13px;font-weight:600;display:grid}.puzzle-path i{color:var(--muted-foreground);font-size:13px;font-style:normal}.puzzle-path p{color:var(--muted-foreground);margin:5px 0;font-size:13px}.puzzle-room button:focus-visible{outline:3px solid var(--primary);outline-offset:3px}@media (max-width:800px){.puzzle-workspace{grid-template-columns:minmax(0,1fr) minmax(180px,.7fr);gap:23px;padding:22px}.puzzle-choices{grid-template-columns:1fr}.puzzle-choice{grid-template-columns:120px 1fr;column-gap:19px;display:grid}.puzzle-choice-art{grid-row:1/5;height:100%;min-height:136px;margin-bottom:0}.puzzle-choice-art svg{width:115px;height:94px}.puzzle-choice h2{margin:7px 0}.puzzle-choice>p{margin-bottom:15px}.puzzle-choice-bottom{grid-column:2}.puzzle-side-note{padding:19px}}@media (max-width:600px){.puzzle-heading{margin-top:24px}.puzzle-workspace{grid-template-columns:1fr;gap:23px;padding:18px}.puzzle-side-note{padding:17px 19px}.puzzle-note-number{display:none}.puzzle-side-note h2{margin-top:0;font-size:17px}.puzzle-side-note p{font-size:13px}.puzzle-legend,.puzzle-sign-example{margin-top:15px}.puzzle-explanation{padding:18px}.puzzle-actions{gap:8px}.puzzle-actions .text-button{margin-left:0}}@media (max-width:390px){.puzzle-choice{grid-template-columns:83px minmax(0,1fr);gap:10px;padding:12px}.puzzle-choice-art{min-height:120px}.puzzle-choice-art svg{width:83px}.puzzle-mini-lights{grid-template-columns:repeat(3,19px);gap:4px}.puzzle-mini-lights i{border-radius:5px;width:19px;height:19px}.puzzle-mini-numbers{transform:scale(.7)}.puzzle-choice h2{font-size:19px}.puzzle-choice-bottom{gap:8px}.puzzle-workspace{padding:14px}.puzzle-numbers{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr)}.puzzle-lights{gap:7px}.puzzle-lights button{border-radius:12px}}@media (prefers-reduced-motion:reduce){.puzzle-choice,.puzzle-lights button{transition:none}}.puzzle-connections{color:var(--muted-foreground);margin-top:12px;font-size:12px;line-height:1.7}.puzzle-connections summary{cursor:pointer}.puzzle-connections p{margin:7px 0 0}@media (max-width:390px){.puzzle-number-pad{gap:5px}}.puzzle-theme-nonogram{--puzzle-accent:#316c76;--puzzle-soft:#eaf4f5}.puzzle-theme-code{--puzzle-accent:#9a583b;--puzzle-soft:#faf0e9}.puzzle-theme-slider{--puzzle-accent:#596d35;--puzzle-soft:#f0f4e6}.puzzle-level-settings{margin-bottom:25px}.puzzle-level-settings>span{font-size:13px;font-weight:650}.puzzle-level-settings>p{color:var(--muted-foreground);margin:10px 0 0;font-size:12px;line-height:1.6}.puzzle-levels{border:1px solid var(--border);background:#f0eff5;border-radius:12px;gap:4px;width:fit-content;margin-top:9px;padding:4px;display:flex}.puzzle-levels button{border-radius:8px;min-height:44px;padding:9px 16px;font-size:13px}.puzzle-levels button[aria-pressed=true]{color:var(--primary);background:#fff;box-shadow:0 1px 5px #30304a11}.puzzle-session-tools{flex-wrap:wrap;align-items:end;gap:13px;margin:18px 0;display:flex}.puzzle-session-tools>span{color:var(--muted-foreground);padding-bottom:12px;font-size:12px}.puzzle-session-tools label{gap:6px;font-size:12px;display:grid}.puzzle-session-tools select,.puzzle-reopen input,.puzzle-identifier input{border:1px solid var(--border);min-height:44px;font:inherit;background:#fff;border-radius:8px;width:100%;max-width:100%;padding:10px}.puzzle-reopen,.puzzle-identifier{border-top:1px solid var(--border);margin-top:28px;padding-top:19px;font-size:13px;line-height:1.6}.puzzle-reopen summary,.puzzle-identifier summary{cursor:pointer;font-weight:650}.puzzle-reopen form{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.puzzle-reopen label{gap:5px;min-width:0;display:grid}.puzzle-reopen input,.puzzle-identifier input{width:250px;font-size:14px}.puzzle-identifier p{color:var(--muted-foreground)}.puzzle-mini-pixels{grid-template-columns:repeat(5,17px);gap:3px;display:grid}.puzzle-mini-pixels i{background:#fff;border-radius:2px;width:17px;height:17px}.puzzle-mini-pixels i.is-filled{background:var(--puzzle-accent)}.puzzle-mini-code{text-align:center;color:var(--puzzle-accent);grid-template-columns:repeat(3,35px);gap:5px;font-size:28px;display:grid}.puzzle-mini-code b{grid-column:1/-1;margin-top:9px;font-size:17px;font-weight:400}.puzzle-mini-slider{grid-template-columns:repeat(3,29px);gap:4px;display:grid}.puzzle-mini-slider span{width:29px;height:29px;color:var(--puzzle-accent);background:#fff;border-radius:5px;place-items:center;font-size:15px;font-weight:650;display:grid}.puzzle-mini-slider span:empty{background:0 0}.puzzle-lights-4,.puzzle-lights-5{gap:6px}.puzzle-lights-4 button,.puzzle-lights-5 button{border-radius:10px}.puzzle-lights-5 button svg{width:19px;height:19px}.puzzle-lights-5 .puzzle-light-state{font-size:10px}.puzzle-lights-5 .puzzle-light-number{font-size:9px;top:4px;left:5px}.puzzle-lights-5 .puzzle-solution-dot{font-size:10px;top:2px;right:4px}.puzzle-paint-modes{gap:6px;margin-bottom:18px;display:flex}.puzzle-paint-modes button{border:1px solid var(--border);background:#fff;border-radius:8px;flex:1;min-height:44px;padding:8px;font-size:12px}.puzzle-paint-modes button[aria-pressed=true]{border-color:var(--puzzle-accent);background:var(--puzzle-soft);color:var(--puzzle-accent)}.puzzle-nonogram{gap:2px;display:grid}.puzzle-nonogram-row{display:contents}.puzzle-column-clue{flex-direction:column;justify-content:end;align-items:center;gap:2px;min-height:58px;padding:5px 0;font-size:13px;font-weight:650;display:flex}.puzzle-row-clue{white-space:nowrap;justify-content:end;align-items:center;padding-right:4px;font-size:12px;font-weight:650;display:flex}.puzzle-nonogram button{aspect-ratio:1;color:#617b81;background:#fff;border:1px solid #a6bec2;place-items:center;min-width:0;font-size:21px;display:grid;position:relative}.puzzle-nonogram button.is-filled{background:var(--puzzle-accent);color:var(--puzzle-accent)}.puzzle-nonogram button.is-given{box-shadow:inset 0 0 0 2px #aac4c8}.puzzle-nonogram button i{color:#859a9e;font-size:18px;font-style:normal;position:absolute;bottom:-3px;right:2px}.puzzle-nonogram button.is-filled i{color:#fff}.puzzle-code-secret{background:var(--puzzle-soft);border-radius:12px;justify-content:center;gap:10px;padding:18px;display:flex}.puzzle-code-secret>span:not(.puzzle-code-pegs){width:40px;height:40px;color:var(--puzzle-accent);background:#fff;border-radius:9px;place-items:center;font-size:23px;display:grid}.puzzle-code-pegs{gap:5px;display:inline-flex}.puzzle-code-pegs>span{background:#fff;border:1px solid #eee5dd;border-radius:7px;place-items:center;width:29px;height:32px;font-size:23px;display:grid}.puzzle-code-history{gap:8px;margin:18px 0;display:grid}.puzzle-code-history>p{color:var(--muted-foreground);font-size:13px;line-height:1.6}.puzzle-code-attempt{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;font-size:12px;display:flex}.puzzle-code-feedback{gap:4px;margin-left:auto;font-size:11px;display:grid}.puzzle-code-feedback strong{color:#386b4d;font-weight:600}.puzzle-code-feedback>span{color:var(--muted-foreground)}.puzzle-code-entry{justify-content:center;gap:8px;margin-top:20px;display:flex}.puzzle-code-entry button{background:#fff;border:1px solid #d6c5b9;border-radius:9px;width:48px;height:48px;font-size:29px}.puzzle-code-entry button[aria-pressed=true]{outline:2px solid var(--puzzle-accent);outline-offset:2px}.puzzle-code-palette{grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0;display:grid}.puzzle-code-palette button{background:var(--puzzle-soft);border:1px solid #e6d3c4;border-radius:8px;min-height:45px;font-size:25px;position:relative}.puzzle-code-palette small{font-size:10px;position:absolute;top:4px;right:6px}.puzzle-code-submit{width:100%;min-height:44px;display:block}.puzzle-code-submit:disabled{opacity:.5}.puzzle-slider{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.puzzle-slider button{aspect-ratio:1;color:var(--puzzle-accent);background:#fff;border:1px solid #c4cdb2;border-radius:12px;place-items:center;font-size:35px;display:grid}.puzzle-slider button.is-blank{color:#bbc6a8;background:#f0f2eb;border-style:dashed}.puzzle-slider button.is-home{background:var(--puzzle-soft)}.puzzle-slider button.is-movable{border:2px solid var(--puzzle-accent)}.puzzle-slider-goal{grid-template-columns:repeat(3,1fr);gap:4px;width:122px;margin-top:18px;display:grid}.puzzle-slider-goal span{height:36px;color:var(--puzzle-accent);background:#fff;border-radius:5px;place-items:center;display:grid}.puzzle-slider-steps{flex-wrap:wrap;gap:8px;margin-top:17px;display:flex}.puzzle-slider-steps button{min-height:44px}@media (max-width:600px){.puzzle-theme-nonogram .puzzle-workspace{padding:15px 0}.puzzle-theme-nonogram .puzzle-board-area{padding:0 3px}.puzzle-theme-nonogram .puzzle-side-note{margin:0 14px}.puzzle-theme-nonogram .puzzle-paint-modes,.puzzle-theme-nonogram .puzzle-status,.puzzle-theme-nonogram .puzzle-keyboard,.puzzle-theme-nonogram .puzzle-check,.puzzle-theme-nonogram .puzzle-check-message{margin-left:10px;margin-right:10px}.puzzle-theme-lights:has(.puzzle-lights-5) .puzzle-workspace{padding-left:6px;padding-right:6px}.puzzle-lights-5{gap:4px}.puzzle-lights-5 button{border-radius:8px}.puzzle-lights-5 button svg{width:16px;height:16px}.puzzle-lights-5 .puzzle-light-state{font-size:9px}.puzzle-lights-5 button{gap:0}}@media (max-width:390px){.puzzle-levels button{padding:9px 12px}.puzzle-mini-pixels,.puzzle-mini-code,.puzzle-mini-slider{transform:scale(.76)}.puzzle-code-attempt{gap:5px}.puzzle-code-pegs{gap:3px}.puzzle-code-pegs>span{width:25px;font-size:21px}.puzzle-code-feedback{font-size:10px}}
