@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Kalam:wght@400;700&display=swap');
:root{--ink:#111;--paper:#fff;--soft:#f5f5f2;--line:#171717;--muted:#5a5a5a;--max:1160px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.5}a{color:inherit}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px dashed #111;outline-offset:4px}.wrap{width:min(var(--max),calc(100% - 44px));margin:auto}.scribble{font-family:'Kalam','Comic Sans MS',cursive}.site-header{border-bottom:2px solid var(--line);background:#fff}.header-inner{display:flex;align-items:center;gap:34px;min-height:79px}.brand{font-weight:800;font-size:30px;letter-spacing:-1.5px;text-decoration:none;white-space:nowrap}.brand span{font-family:'Kalam',cursive}.nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-left:auto}.nav a{text-decoration:none;font-weight:700;font-size:14px;padding:10px 0}.nav a:hover,.nav a.active{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}.nav .builder{border:2px solid #111;border-radius:6px;padding:6px 12px;box-shadow:3px 3px #111}.sketch-badge{display:inline-flex;align-items:center;border:2px solid #111;border-radius:100px;padding:5px 13px;font-weight:800;font-size:12px;transform:rotate(-1.5deg);letter-spacing:.04em;background:white}.hero{position:relative;min-height:360px;padding:70px 0 56px;display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:18px;border-bottom:2px solid #111}.hero h1,.tool-hero h1{font-family:'Kalam','Comic Sans MS',cursive;line-height:1.09;font-size:clamp(44px,6.5vw,80px);margin:18px 0 12px;letter-spacing:-2px}.hero h1 em,.tool-hero h1 em{font-style:normal;text-decoration:underline;text-decoration-thickness:4px;text-underline-offset:7px}.lede{font-size:clamp(17px,2vw,21px);max-width:630px;margin:0;color:#303030}.hero-drawing{width:100%;max-width:365px;justify-self:end;filter:grayscale(1)}.section-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:54px;margin-bottom:22px}.section-heading{font-family:'Kalam',cursive;font-size:31px;line-height:1.2;margin:0}.little-note{font-family:'Kalam',cursive;font-size:17px;color:#444}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:75px}.tool-card{display:flex;flex-direction:column;min-height:263px;border:3px solid #111;border-radius:12px;padding:26px 24px;color:#111;text-decoration:none;background:#fff;box-shadow:6px 6px 0 #111;transition:transform .16s,box-shadow .16s}.tool-card[href]:hover{transform:translate(-2px,-3px);box-shadow:9px 9px 0 #111}.tool-card.disabled{background:repeating-linear-gradient(-45deg,#fff,#fff 10px,#fafafa 10px,#fafafa 20px);border-style:dashed;box-shadow:none;opacity:.73}.tool-icon{display:inline-grid;place-items:center;width:51px;height:51px;border:2px solid;border-radius:50%;font-size:30px;line-height:1}.tool-card h2{font-family:'Kalam',cursive;font-size:27px;line-height:1.18;margin:16px 0 7px}.tool-card p{font-size:15px;margin:0 0 18px}.tool-card small{font-weight:800;text-decoration:underline;text-underline-offset:4px;margin-top:auto}.footer{border-top:2px solid #111}.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:25px 0;font-size:13px;color:#444}.footer a{font-weight:800}.tool-hero{display:grid;grid-template-columns:1fr 310px;gap:14px;align-items:center;padding:41px 0 26px;border-bottom:2px solid #111}.tool-hero h1{font-size:clamp(44px,6vw,74px);margin:10px 0 8px}.tool-hero .lede{font-size:18px}.tool-hero svg{display:block;width:100%;height:auto;max-height:230px}.panel{border:2.5px solid #111;border-radius:13px;background:#fff;box-shadow:5px 5px 0 #111;padding:27px}.form-panel{margin:32px 0 40px}.input-row{display:flex;gap:12px}.handle-input{border:2.5px solid #111;border-radius:8px;padding:15px 16px;min-width:0;flex:1;font-size:19px;background:white}.btn{background:#111;border:2px solid #111;border-radius:8px;color:#fff;font-weight:800;padding:13px 21px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:54px;white-space:nowrap}.btn:hover:not(:disabled){background:#333}.btn.secondary{color:#111;background:#fff}.btn.secondary:hover:not(:disabled){background:#eee}.meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:#555;font-weight:700}.status{font-size:14px;font-weight:700;min-height:22px;margin:14px 0 0}.status.error{color:#8c0000}.result-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:25px;align-items:start;margin-bottom:54px}.result-layout h2{font-family:'Kalam',cursive;font-size:28px;line-height:1.2;margin:0 0 6px}.footnote{font-size:13px;color:#666;margin:0 0 16px}.rank-list{list-style:none;margin:0;padding:0}.rank-list li{display:flex;gap:11px;align-items:center;border-bottom:1px dashed #888;padding:13px 0}.rank-no{font-family:'Kalam',cursive;font-size:23px;font-weight:700;min-width:30px}.avatar{width:42px;height:42px;border:2px solid;border-radius:50%;display:grid;place-items:center;font-family:'Kalam',cursive;font-weight:700;flex:none}.rank-info{min-width:0;flex:1;display:flex;flex-direction:column}.rank-info a{font-weight:800;overflow-wrap:anywhere}.rank-info small{font-size:12px;color:#666}.rank-score{font-size:13px;font-weight:800;white-space:nowrap}.poster-panel canvas{width:100%;height:auto;display:block;background:#fff;border:2px solid #111;border-radius:8px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.actions .btn{flex:1;font-size:14px}.notice{border:2px dashed #111;background:#fafafa;border-radius:8px;padding:12px;margin-top:16px;font-size:13px}.hidden{display:none!important}.info{margin:0 0 80px}.info h2{font-family:'Kalam',cursive}.info details{padding:16px 0;border-bottom:1px dashed #444}.info summary{font-weight:800;cursor:pointer}.info p{font-size:14px;max-width:800px;color:#444}.tourline{height:1px;border:0;border-bottom:2px solid #111;margin:0}.smallprint{font-size:12px;color:#444}.drawn-star{font-family:'Kalam',cursive;font-size:28px}.page-heading{font-family:'Kalam',cursive;font-size:29px}.demo-note{font-size:12px;color:#555;display:block;margin-top:9px}.subsection-label{font-family:'Kalam',cursive;font-weight:700;font-size:18px}.empty-card{border:2px dashed #555;padding:12px;text-align:center;font-size:13px}@media(max-width:850px){.hero{grid-template-columns:1fr .5fr}.tool-hero{grid-template-columns:1fr 220px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-layout{grid-template-columns:1fr}}@media(max-width:610px){.wrap{width:calc(100% - 30px)}.header-inner{gap:10px;align-items:flex-start;padding:14px 0;flex-direction:column}.nav{margin:0;gap:14px}.nav a{font-size:12px}.nav .builder{padding:4px 7px}.hero,.tool-hero{grid-template-columns:1fr;padding:36px 0 28px;min-height:0}.hero-drawing{width:230px;justify-self:center}.tool-hero svg{display:none}.hero h1,.tool-hero h1{letter-spacing:-1px}.grid{grid-template-columns:1fr}.section-top{margin-top:34px}.input-row{flex-direction:column}.form-panel,.panel{padding:18px}.result-layout{gap:20px}.footer-inner{display:block}.footer-inner span{display:block;margin:7px 0}}
