:root{font-family:Arial,Helvetica,sans-serif;color:#283e32;background:#f5f3eb;font-synthesis:none;font-size:16px;line-height:1.55;--forest:#283e32;--border:#d9d2c1}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}button,input,summary,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;min-height:44px;border:1px solid #b9c4b5;border-radius:7px;background:#fffdf5;color:inherit;padding:10px 14px}button:hover:not(:disabled){background:#e7ecdf}button:disabled{opacity:.45;cursor:default}:focus-visible{outline:3px solid #a36d39;outline-offset:3px}button[aria-pressed=true]{background:#c9ded3;border:2px solid #33745c}h1,h2{font-family:Georgia,serif;font-weight:400}h1{font-size:52px;letter-spacing:-2px;margin:0}h1 span{color:#a47c56}h2{font-size:27px;margin:0 0 8px}p{line-height:1.6}.game{max-width:1000px;margin:26px auto;padding:28px 36px;background:#fbf9f0;border:1px solid #e5e3d6;border-radius:14px;box-shadow:0 10px 50px #3f4e2910}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:12px}header a{display:inline-flex;align-items:center;min-height:44px;font-size:16px}.studio{font-size:16px;letter-spacing:.08em;text-decoration:none}.eyebrow{font-size:16px;letter-spacing:.13em;color:#726b54;margin:0 0 10px}.title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.fold-mark{font:76px Georgia,serif;color:#7e9c83;transform:rotate(-15deg);line-height:1}.round-bar{display:flex;justify-content:space-between;padding:14px 0;border-block:1px solid var(--border);font-size:16px}time{font-variant-numeric:tabular-nums;color:#747564}.quiet{color:#6f7467;font-size:16px}.intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 20px}.intro p{font-size:16px;margin:0;color:#666f5e}.target{width:100px;flex-shrink:0;text-align:center;font-size:16px;color:#596952}.target svg{width:70px;display:block;margin:auto}.target span{display:block}.candidates{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.candidate{text-align:left;padding:16px;border:1px solid #d4cfbd;background:#fffdf5;min-width:0;box-shadow:0 3px #e5e0d2}.candidate.solved{border-color:#668d6b;background:#edf2e5}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px}.card-top strong{font:23px Georgia,serif}.card-top span{font-size:16px;color:#6b755f}.candidate svg{width:100%;height:115px;display:block;margin:20px 0;fill:#e9e3d1;stroke:#7b8b70;stroke-width:.035}.card-bottom{font-size:16px}.card-bottom>span{font-size:20px}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0}.workspace-heading h2{margin:0;font-size:23px}.workspace-heading>span{font-size:16px}.link{border:0;background:none;padding:8px 0;text-decoration:underline;text-underline-offset:4px;font-size:16px}.workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:24px}.object-panel{background:#f0f0e4;border:1px solid #dedfcd;border-radius:12px;overflow:hidden;align-self:start}.canvas-head{display:flex;justify-content:space-between;align-items:center;padding:10px 14px 0;color:#6e7563;font-size:16px}.target.small{width:72px;font-size:16px}.small svg{width:42px}#viewport{width:100%;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}#viewport:active{cursor:grabbing}#viewport svg{display:block;width:100%;height:auto;min-height:250px;max-height:420px}#viewport:focus-visible{outline-offset:-4px}.camera-actions{display:flex;justify-content:space-between;gap:4px;padding:0 10px 10px}.camera-actions button{background:transparent;font-size:16px;border-color:transparent;padding:8px}.controls{padding-top:12px;min-width:0}.hinges{display:flex;gap:6px;flex-wrap:wrap}.hinges button{min-width:44px;padding:8px;font-size:16px}.branch{font-size:16px;min-height:38px;color:#33745c;margin:10px 0 20px}.fold-actions,.edit-actions{display:flex;gap:8px}.fold-actions button,.edit-actions button{flex:1;font-size:16px}.fold-actions button{background:#e3ebdc}.hint{font-size:16px;color:#686e60;line-height:1.5;margin:10px 0 16px}.edit-actions button{background:transparent}.primary{background:var(--forest);color:#fffdf5;border-color:var(--forest)}.primary:hover:not(:disabled){background:#3d5c48}.submit{width:100%;margin-top:16px}.feedback{font-size:16px;background:#eceee1;padding:14px 16px;border-radius:8px;min-height:48px;margin:22px 0 10px}.round-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sound{font-size:16px;display:flex;align-items:center;gap:6px;min-height:44px}.sound input{width:18px;height:18px;accent-color:#426b4a}details{border-top:1px solid var(--border);margin-top:20px;font-size:16px;color:#626e5a}summary{min-height:44px;cursor:pointer;display:list-item;padding-top:15px}details p{max-width:760px}.explanation{padding:14px;background:#eee9d9;border-radius:8px;font-size:16px}.explanation p{margin:8px 0}.explanation button{width:100%;font-size:16px}footer{text-align:center;font-size:16px;color:#737866;margin-top:28px}footer span{display:block;font-size:16px;margin-top:7px}@media(max-width:700px){.game{margin:0;padding:18px;border:0;border-radius:0;box-shadow:none}header{margin-bottom:16px}h1{font-size:42px}.title-row{margin-bottom:18px}.fold-mark{font-size:60px}.candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.candidate{padding:12px}.candidate svg{height:100px;margin:16px 0}.intro h2{font-size:24px}.intro p{font-size:16px}.target{width:78px}.workspace{grid-template-columns:1fr;gap:8px}.controls{padding-top:12px}.branch{min-height:0;margin:8px 0 16px}.hinges{flex-wrap:nowrap}.hinges button{flex:1}.fold-actions button{min-height:48px}.camera-actions{padding-bottom:4px}#viewport svg{min-height:0;height:270px}.canvas-head{padding-top:6px}.workspace-heading{margin:10px 0}.feedback{margin-top:16px}.quiet{font-size:16px}.round-bar .quiet{display:none}}@media(max-width:350px){.game{padding:12px}h1{font-size:38px}.studio{font-size:16px}.card-top{align-items:start;flex-direction:column}.candidate svg{height:90px}.intro h2{font-size:22px}.intro .target{width:65px}.hinges{gap:4px}.hinges button{min-width:44px;padding:6px}#viewport svg{height:240px}.workspace-heading>span{max-width:65px;text-align:right}}@media(max-width:700px){.in-workspace header{margin-bottom:4px}.in-workspace .title-row .eyebrow,.in-workspace .fold-mark{display:none}.in-workspace h1{font-size:30px;letter-spacing:-1px}.in-workspace .title-row{margin-bottom:12px}.in-workspace .round-bar{padding:10px 0}.in-workspace .canvas-head .target.small svg{width:32px}.in-workspace #viewport svg{height:230px}.in-workspace .canvas-head{min-height:60px}.camera-actions button{min-width:36px;padding:6px}.in-workspace .workspace-heading{margin:6px 0}.in-workspace .branch{margin-bottom:12px}.in-workspace .eyebrow{margin-bottom:7px}}.keyboard-note{font-size:16px;color:#66715e;line-height:1.5;margin:9px 0}.preview-actions,.practice-actions{display:flex;gap:8px;margin:8px 0}.preview-actions button{flex:1;font-size:16px}.preview-note{font-size:16px;line-height:1.5;color:#795e39;min-height:33px;margin:8px 0}.candidate.started{border-style:dashed;border-color:#8a936c}.practice-actions{flex-wrap:wrap}#practice-view svg{display:block;width:100%;max-height:350px}.round-actions{justify-content:flex-start}time[hidden]{display:none}header,.workspace-heading,.canvas-head,.camera-actions{flex-wrap:wrap}header nav{flex-shrink:0}.card-top,.card-bottom{flex-wrap:wrap}.camera-actions button{min-width:44px;flex:1 0 auto}.target.small{width:100px}.workspace-heading h2{font-size:28px}.candidate.solved:disabled{opacity:1;cursor:default;border:3px double #668d6b;box-shadow:none}.candidate.solved .card-top span{font-weight:700;color:#283e32}.candidate.solved svg{stroke:none}.proof-notice{font-size:20px;font-weight:700;padding:16px;border:2px solid #668d6b;border-radius:8px;background:#edf2e5}.result-summary{font-size:20px;line-height:1.6}@media(max-width:850px){.workspace{grid-template-columns:1fr;gap:16px}}@media(max-width:700px){.intro{align-items:flex-start;flex-wrap:wrap}.intro>div:first-child{flex:1 1 220px}.hinges{flex-wrap:wrap}.hinges button{flex:0 1 auto;min-width:48px;min-height:48px}.workspace-heading>span{max-width:none;text-align:left}.camera-actions{gap:4px}.preview-actions,.fold-actions,.edit-actions{flex-wrap:wrap}.preview-actions button,.fold-actions button,.edit-actions button{flex:1 1 120px}.candidate .card-top{align-items:flex-start;flex-direction:column}.in-workspace .canvas-head{height:auto}}.candidate.solved svg polygon{fill:#d9e3cd;fill-opacity:1;stroke:#668d6b}.candidate.solved svg g:nth-of-type(2n) polygon{fill:#b7cbb4}.candidate.solved svg text{display:none}@media(max-width:700px){.intro .target{width:100px}}.practice-nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}.difficulty{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.practice-nav>.primary{margin-left:auto}.result-summary{padding:18px;background:#e3ebdc;border:2px solid #668d6b;border-radius:8px}.target svg{height:85px;width:100%}.small svg{height:60px;width:100%}@media(max-width:700px){.practice-nav{gap:8px}.practice-nav>.primary{margin-left:0}.difficulty{flex-basis:100%}.difficulty button{flex:1}.practice-nav>button{flex:1}}.target svg text{display:none}.target.small svg{width:80px;height:80px}.target svg polygon{stroke-width:2}@media(max-width:700px){.difficulty{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.difficulty>span{grid-column:1/-1}.difficulty button{padding:10px 8px}.target.small svg{width:80px;height:80px}}.candidate svg{height:145px}fieldset{border:1px solid var(--border);border-radius:7px;margin:16px 0;padding:8px 12px}fieldset label{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-right:14px}fieldset input{width:20px;height:20px;accent-color:#426b4a}@media(max-width:700px){.candidate svg{height:125px}.round-bar .puzzle-identity{display:block}.round-bar>span{min-width:0}.round-bar time{flex-shrink:0}}.start-screen{max-width:760px}.tagline{font:28px Georgia,serif}.start-screen .start{display:block;min-width:200px;margin:24px 0;font-size:22px}.studio-footer{padding:0 18px 24px;margin:auto;max-width:1000px}.studio-footer p{font-size:14px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-icon{display:block;flex:none;width:100px;height:100px}.brand-copy{min-width:0}header .brand-studio{display:block;min-height:0;font-size:9px;font-weight:650;letter-spacing:.17em;text-decoration:none;color:#776f59;line-height:1.5;margin:0 0 4px}.brand h1,.in-workspace .brand h1{font-size:34px;letter-spacing:-1px;line-height:1.15;white-space:nowrap}.brand-tagline{font:16px/1.5 Georgia,serif;color:#80654b;margin:5px 0 0}header .playtest-label,header nav a{font-size:13px}@media(max-width:699px){.brand-icon{width:80px;height:80px}.brand{gap:9px}.brand h1,.in-workspace .brand h1{font-size:30px}header{gap:10px}.in-workspace header{margin-bottom:16px}}@media(max-width:420px){.brand-icon{width:72px;height:72px}.brand h1,.in-workspace .brand h1{font-size:28px}header .brand-studio{font-size:8px;letter-spacing:.12em}.brand-tagline{font-size:15px;margin-top:4px}header .playtest-label{display:none}}@media(max-width:350px){.brand-icon{width:60px;height:60px}.brand{gap:7px}.brand h1,.in-workspace .brand h1{font-size:25px}header .brand-studio{font-size:7px}header nav a{font-size:12px}}.workspace-tools{display:flex;gap:8px}.workspace-tools button{padding:8px 12px}.controls .hinges{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:6px;padding:3px 3px 6px;scrollbar-width:thin}.controls .hinges button{flex:0 0 auto;min-width:48px;min-height:48px}.controls .branch{min-height:0;margin:4px 0 10px;white-space:nowrap;overflow-x:auto;font-size:16px}.controls .fold-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.controls .fold-actions button{min-height:48px;padding:8px}.dock-actions{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin-top:8px}.dock-actions button{min-height:48px;margin:0;width:auto}.dock-actions [hidden]{display:none}.workspace-section .canvas-head{flex-wrap:nowrap;min-height:44px;padding:0 12px}.workspace-section .target.small{display:flex;align-items:center;gap:4px;width:auto;font-size:14px}.workspace-section .target.small svg{width:40px;height:40px}#workspace-dialog{width:min(94vw,540px);max-height:85vh;max-height:85dvh;overflow:auto;overscroll-behavior:contain;background:#fbf9f0;color:var(--forest);border:1px solid var(--border);border-radius:12px;padding:20px}#workspace-dialog::backdrop{background:#1d302780}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-heading h2{margin:0}#workspace-dialog>button{margin:6px 6px 6px 0}body.folding .board-help{display:none}@media(max-width:700px),(max-height:500px)and (pointer:coarse){body.folding{overflow:hidden;overscroll-behavior:none}body.folding .studio-footer{display:none}.game.in-workspace{height:100vh;height:100dvh;max-width:none;margin:0;border:0;border-radius:0;padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:4px;overflow:hidden}.in-workspace>header,.in-workspace>.practice-nav,.in-workspace>.round-bar,.in-workspace>.round-actions,.in-workspace>footer,.in-workspace>.result-summary,.in-workspace>.submission-review{display:none}.in-workspace .workspace-section{flex:1;min-height:0;display:flex;flex-direction:column}.in-workspace .workspace-heading{margin:0;min-height:44px;flex:none;flex-wrap:nowrap;gap:6px}.in-workspace .workspace-heading h2{font-size:22px;white-space:nowrap}.in-workspace .workspace-heading .link{font-size:16px}.in-workspace .workspace-tools{gap:4px}.in-workspace .workspace-tools button{padding:6px 8px}.in-workspace .workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:6px}.in-workspace .object-panel{align-self:stretch;min-height:0;display:flex;flex-direction:column}.in-workspace .canvas-head{min-height:40px;flex:0 0 auto;font-size:14px}.in-workspace #viewport{flex:1;min-height:0;overflow:hidden;overscroll-behavior:contain}.in-workspace #viewport svg{min-height:0;max-height:none;height:100%;width:100%}.in-workspace .camera-actions{flex:none;flex-wrap:nowrap;padding:0 4px;gap:0}.in-workspace .camera-actions button{flex:1;min-width:44px;min-height:44px;padding:4px;font-size:15px}.in-workspace .controls{padding:0;min-width:0}.in-workspace .controls .hinges{margin:0;flex-wrap:nowrap}.in-workspace .controls .branch{font-size:15px;line-height:1.5;margin:0 0 6px}.in-workspace>.feedback{flex:0 0 auto;min-height:0;max-height:3.4em;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:5px 8px;font-size:14px;line-height:1.4;border-radius:5px}.in-workspace .proof-notice{flex:none;margin:0;padding:4px 8px;font-size:16px}#workspace-dialog{padding:16px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}@media(max-height:500px)and (min-width:501px){.in-workspace .workspace{grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);grid-template-rows:minmax(0,1fr);gap:12px}.in-workspace .controls{align-self:center}}.view-zoom{display:flex;gap:4px}.view-zoom button{min-width:44px;min-height:44px;padding:4px;background:transparent;border-color:transparent;font-size:20px}@media(max-width:700px),(max-height:500px)and (pointer:coarse){.in-workspace .camera-actions{display:none}.in-workspace .canvas-head{gap:4px;padding:0 6px}.in-workspace .canvas-head>span{font-size:13px}.in-workspace .target.small{font-size:13px}.in-workspace .target.small svg{width:32px;height:32px}}@media(max-width:700px),(max-height:500px)and (pointer:coarse){.in-workspace .dock-actions button{padding:8px}.in-workspace .controls .fold-actions button{line-height:1.5}.in-workspace .canvas-head>span{display:none}.in-workspace .canvas-head{justify-content:space-between}}@media(max-height:550px){.in-workspace>.feedback{max-height:2.8em}.in-workspace .controls .hinges{padding-bottom:3px}.in-workspace .controls .branch{margin-bottom:3px}.in-workspace .dock-actions{margin-top:5px}.in-workspace .workspace{gap:3px}}.workspace-mode{display:block;font-size:13px;line-height:1.2;font-weight:500}@media(max-width:700px),(max-height:500px)and (pointer:coarse){.in-workspace>.round-bar{display:flex;flex:none;align-items:center;justify-content:space-between;margin:0;padding:0;min-height:20px;line-height:20px}.in-workspace>.round-bar>span{font-size:0;line-height:20px}.in-workspace .round-bar .current-mode,.in-workspace .round-bar time{font-size:13px;line-height:20px}.in-workspace .round-bar .puzzle-identity,.in-workspace .workspace-mode,.in-workspace>.results-heading{display:none}}@media(max-height:550px)and (max-width:700px){.game.in-workspace{gap:0}.in-workspace>.round-bar,.in-workspace>.round-bar>span,.in-workspace .round-bar .current-mode,.in-workspace .round-bar time{min-height:16px;line-height:16px}}.daily-target{max-width:520px;margin:auto;touch-action:none}.daily-target svg{width:100%}.daily-leader{margin:2rem 0}.completion-card{padding:1.5rem;background:#dce9df;border:1px solid #758d73;border-radius:16px}.podium{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}.medal{flex:1;min-width:130px;display:grid;gap:.5rem;padding:1rem;border-radius:12px;background:#eee8da;border-top:4px solid #aa8961;overflow-wrap:anywhere}.medal strong{font-size:2rem}.medal-1{border-color:#af914b}.medal-2{border-color:#969b9c}.medal-3{border-color:#aa7956}.ranking-scroll{overflow:auto}.daily-leader table{width:100%;border-collapse:collapse;text-align:left}.daily-leader td,.daily-leader th{padding:.8rem .4rem;border-bottom:1px solid #d8d3c4;overflow-wrap:anywhere}.personal-row{background:#dce9df;font-weight:700}.daily-share{padding:1.5rem 0}.daily-share button{margin:.3rem}#daily-name{max-width:100%}@media(max-width:700px){.in-workspace>.daily-mode{font-size:12px;line-height:18px;margin:0}.in-workspace>.daily-legal{display:none}.in-workspace .workspace-heading h2{font-size:18px}.in-workspace .workspace-heading button{padding:6px;font-size:14px}}#daily-target-dialog{width:min(94vw,540px);max-height:90dvh;background:#fbf9f0;border:1px solid #b9b5a3;border-radius:12px;color:#283e32}#daily-target-dialog::backdrop{background:#1d302780}.in-workspace .canvas-head .target.small{padding:0 5px;min-height:40px}.in-workspace .canvas-head .target.small span{font-size:12px}.candidates[hidden]{display:none}
