:root{--ink: #14213d;--blue: #1b3a8a;--sun: #ffd166;--coral: #e63946;--mint: #2a9d8f;--paper: #fffdf6;--card: #ffffff;--line: #d9d4c3}*{box-sizing:border-box}html{font-size:112.5%}body{margin:0;font-family:Trebuchet MS,Segoe UI,system-ui,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6}a{color:var(--blue)}a:focus-visible,button:focus-visible{outline:4px solid var(--coral);outline-offset:2px}.wrap{max-width:1000px;margin:0 auto;padding:0 1rem}header.site{background:var(--blue);color:#fff;border-bottom:6px solid var(--sun)}header.site .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1.5rem;padding-top:.8rem;padding-bottom:.8rem}header.site .brand{color:#fff;text-decoration:none;font-weight:800;font-size:1.4rem}header.site nav{display:flex;flex-wrap:wrap;gap:.3rem .9rem}header.site nav a{color:#fff;font-weight:700;text-decoration:none;padding:.35rem .5rem;border-radius:8px}header.site nav a:hover,header.site nav a[aria-current=page]{background:#fff3}main{padding:1.5rem 0 3rem}h1{font-size:2.1rem;line-height:1.2;margin:.3rem 0 .8rem;color:var(--blue)}h2{font-size:1.5rem;margin-top:2rem;color:var(--blue)}.hero{background:linear-gradient(135deg,#fff1c1,#d7ecff);border-radius:20px;padding:2rem 1.5rem;margin-bottom:1.5rem}.hero p{font-size:1.15rem;max-width:38rem}.btn{display:inline-block;background:var(--coral);color:#fff;text-decoration:none;font-weight:800;padding:.7rem 1.3rem;border-radius:999px;margin:.3rem .4rem .3rem 0;border:0}.btn.alt{background:var(--blue)}.btn.ghost{background:#fff;color:var(--blue);border:2px solid var(--blue)}.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.card{background:var(--card);border:2px solid var(--line);border-radius:16px;padding:1rem;display:flex;flex-direction:column;gap:.4rem}.card h3{margin:.2rem 0;font-size:1.2rem}.card img{width:100%;height:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.tag{display:inline-block;font-size:.8rem;font-weight:800;padding:.1rem .6rem;border-radius:999px;background:var(--sun);color:var(--ink);width:fit-content}.tag.soon{background:#e8e8f5}.parents{background:#eef7f5;border-left:6px solid var(--mint);padding:.7rem 1rem;border-radius:10px;margin-top:.5rem;font-size:.95rem}.note{font-size:.9rem;color:#444}.video{position:relative;aspect-ratio:16 / 9}.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:12px}.empty{background:#fff;border:3px dashed var(--line);border-radius:16px;padding:1.5rem;text-align:center}.steps li{margin-bottom:.5rem}.proj img{max-width:100%}footer.site{background:#eee9d6;border-top:4px solid var(--sun);padding:1.5rem 0;font-size:.95rem}footer.site nav{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;margin-bottom:.6rem}@media(max-width:600px){html{font-size:106%}h1{font-size:1.7rem}}.tool-form{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));background:#fff;border:2px solid var(--line);border-radius:16px;padding:1rem;margin-bottom:1rem}.tool-form label{display:flex;flex-direction:column;font-weight:700;gap:.25rem}.tool-form label.check{flex-direction:row;align-items:center;gap:.5rem}.tool-form>div,.tool-form>p{grid-column:1 / -1}.tool-form input[type=text],.tool-form textarea,.tool-form select{font:inherit;padding:.5rem;border:2px solid var(--line);border-radius:10px}.msg{min-height:1.5rem;font-weight:700}.msg.good{color:#1c6b61}.msg.bad{color:#b3202b}.sheet{background:#fff;border:2px solid var(--line);border-radius:16px;padding:1rem;margin-bottom:1rem}.sheet-title{text-align:center;margin:0 0 .6rem}.wsg{display:grid;max-width:36rem;margin:0 auto;border:3px solid var(--ink);font-family:Courier New,monospace;font-weight:800}.wsg span{text-align:center;aspect-ratio:1;display:flex;align-items:center;justify-content:center}.wsg span.hit{background:var(--sun);border-radius:50%}.ws-list-label{font-weight:800;margin-bottom:0}.ws-list{columns:3 8rem;list-style:none;padding:0;font-weight:700;letter-spacing:.05em}.key{display:none}.mz-svg svg{width:100%;max-width:34rem;height:auto;display:block;margin:0 auto}.d-bar{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;font-size:1.15rem;margin:.5rem 0}#d-intro{min-height:3.6rem}.d-board{min-height:min(30rem,100vw)}.d-nums,.d-pad{min-height:4.5rem}#d-msg{min-height:3.2rem}.d-board svg{width:100%;max-width:30rem;display:block;margin:0 auto;touch-action:none}.d-pad{text-align:center;margin:.5rem 0}.d-pad .btn{min-width:3.5rem;font-size:1.4rem}.d-nums{display:flex;flex-wrap:wrap;gap:.3rem;justify-content:center;margin:.6rem 0}.d-nums .btn{min-width:3rem;font-size:1.3rem}.su{display:grid;max-width:22rem;margin:0 auto;border:4px solid var(--ink)}.su .sc{aspect-ratio:1;font:inherit;font-size:1.6rem;font-weight:800;background:#fff;border:1px solid var(--line);color:var(--blue);cursor:pointer}.su .sc.given{background:#eef0f8;color:var(--ink);cursor:default}.su .sc.sel{background:var(--sun)}.su .sc.rb{border-right:3px solid var(--ink)}.su .sc.bb{border-bottom:3px solid var(--ink)}.lad{list-style:none;padding:0;display:grid;gap:.5rem;max-width:14rem;font-size:1.6rem;font-weight:800;letter-spacing:.15em}.lad .fix{background:var(--sun);padding:.3rem .8rem;border-radius:10px}.lad input{font:inherit;letter-spacing:.15em;text-transform:uppercase;width:100%;padding:.3rem .8rem;border:3px solid var(--blue);border-radius:10px}.d-done{background:#e9f8f1;border:3px solid var(--mint);border-radius:16px;padding:1rem;margin:1rem 0}@media print{header.site,footer.site,.no-print{display:none!important}body{background:#fff}main{padding:0}.sheet{border:0;padding:0;margin:0}body.with-key .key{display:block;break-before:page}.wsg span.hit{background:#ddd}}
