.counter-widget{display:flex;flex-direction:column;align-items:center;gap:28px}.counter-display{width:140px;height:140px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f8f8f8;border:1.5px solid #e5e5e5}.counter-value{font-size:52px;font-weight:700;font-variant-numeric:tabular-nums;color:#111;letter-spacing:-2px;line-height:1}.counter-controls{display:flex;gap:8px}.counter-btn{height:40px;padding:0 20px;border:1.5px solid #e5e5e5;border-radius:8px;background:#fff;color:#111;font-size:20px;font-weight:500;cursor:pointer;transition:background .12s,border-color .12s;line-height:1}.counter-btn:hover{background:#f0f0f0;border-color:#bbb}.counter-btn:active{background:#e8e8e8}.btn-dec,.btn-inc{width:40px;padding:0;font-size:22px}.btn-reset{font-size:13px;letter-spacing:.02em;color:#888}.btn-reset:hover{color:#333}.todo-widget{display:flex;flex-direction:column;gap:0}.todo-list{list-style:none;margin:0 0 4px;padding:0;display:flex;flex-direction:column;gap:4px}.todo-item{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;border:1px solid transparent;transition:background .12s}.todo-item:hover{background:#f5f5f5}.todo-toggle{flex-shrink:0;width:20px;height:20px;border-radius:5px;border:1.5px solid #ccc;background:#fff;color:transparent;font-size:11px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:all .12s}.todo-toggle:hover{border-color:#888}.todo-toggle.checked{background:#111;border-color:#111;color:#fff;font-weight:700}.todo-text{flex:1;font-size:14px;color:#111;transition:color .12s}.todo-done .todo-text{text-decoration:line-through;color:#bbb}.todo-delete{flex-shrink:0;width:20px;height:20px;border-radius:5px;border:none;background:transparent;color:#ccc;font-size:15px;line-height:1;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .12s}.todo-item:hover .todo-delete{opacity:1}.todo-delete:hover{background:#fee2e2;color:#dc2626}.todo-empty{padding:24px 0;text-align:center;color:#bbb;font-size:14px;margin:0}.todo-footer{padding:10px 0;font-size:12px;color:#aaa;letter-spacing:.02em}.todo-form{display:flex;gap:8px;margin-top:8px}.todo-input{flex:1;height:38px;padding:0 12px;border-radius:8px;border:1.5px solid #e5e5e5;background:#fff;color:#111;font-size:14px;outline:none;transition:border-color .12s}.todo-input::placeholder{color:#bbb}.todo-input:focus{border-color:#111}.todo-add-btn{height:38px;padding:0 18px;border-radius:8px;border:none;background:#111;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:background .12s}.todo-add-btn:hover{background:#333}.todo-add-btn:active{background:#000}.app[data-astro-cid-mmc7otgs]{min-height:100vh;background:#fff;color:#111;font-family:Inter,system-ui,-apple-system,sans-serif;display:flex;flex-direction:column;align-items:center;padding:60px 24px 80px;gap:48px;box-sizing:border-box}.hero[data-astro-cid-mmc7otgs]{text-align:center;max-width:560px}.hero-badge[data-astro-cid-mmc7otgs]{display:inline-block;padding:4px 12px;border-radius:999px;border:1.5px solid #e5e5e5;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#888;margin-bottom:20px}.hero-title[data-astro-cid-mmc7otgs]{font-size:clamp(36px,6vw,56px);font-weight:800;margin:0 0 16px;letter-spacing:-.03em;color:#111;line-height:1.1}.hero-desc[data-astro-cid-mmc7otgs]{font-size:16px;color:#888;line-height:1.7;margin:0}.hero-desc[data-astro-cid-mmc7otgs] strong[data-astro-cid-mmc7otgs]{color:#444;font-weight:600}.demo-grid[data-astro-cid-mmc7otgs]{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:100%;max-width:860px}@media(max-width:640px){.demo-grid[data-astro-cid-mmc7otgs]{grid-template-columns:1fr}}.card[data-astro-cid-mmc7otgs]{background:#fff;border:1.5px solid #e5e5e5;border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:24px;transition:border-color .15s}.card[data-astro-cid-mmc7otgs]:hover{border-color:#bbb}.card-header[data-astro-cid-mmc7otgs]{display:flex;align-items:flex-start;gap:14px}.card-icon[data-astro-cid-mmc7otgs]{flex-shrink:0;width:38px;height:38px;border-radius:8px;background:#f5f5f5;border:1.5px solid #e5e5e5;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;color:#444}.card-title[data-astro-cid-mmc7otgs]{font-size:17px;font-weight:700;margin:0 0 4px;color:#111;letter-spacing:-.01em}.card-desc[data-astro-cid-mmc7otgs]{font-size:13px;color:#aaa;margin:0;line-height:1.5}.card-badge[data-astro-cid-mmc7otgs]{margin-left:auto;flex-shrink:0;padding:3px 9px;border-radius:5px;background:#f5f5f5;border:1px solid #e5e5e5;font-size:11px;font-family:"ui-monospace",monospace;color:#888;letter-spacing:.02em;white-space:nowrap}.card-body[data-astro-cid-mmc7otgs]{flex:1}.counter-body[data-astro-cid-mmc7otgs]{display:flex;justify-content:center;padding:8px 0}.footer[data-astro-cid-mmc7otgs]{display:flex;align-items:center;gap:8px;font-size:13px;color:#bbb}.pill[data-astro-cid-mmc7otgs]{padding:3px 11px;border-radius:999px;background:#f5f5f5;border:1px solid #e5e5e5;color:#888;text-decoration:none;font-size:12px;transition:all .12s}.pill[data-astro-cid-mmc7otgs]:hover{background:#111;border-color:#111;color:#fff}.code-viewer[data-astro-cid-mmc7otgs]{width:100%;max-width:860px;border:1.5px solid #e5e5e5;border-radius:16px;overflow:hidden}.code-viewer-header[data-astro-cid-mmc7otgs]{display:flex;align-items:center;padding:0 16px;border-bottom:1.5px solid #e5e5e5;background:#fafafa}.code-tabs[data-astro-cid-mmc7otgs]{display:flex;gap:0}.code-tab[data-astro-cid-mmc7otgs]{padding:12px 18px;font-size:13px;font-family:"ui-monospace",monospace;font-weight:500;color:#aaa;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:color .12s,border-color .12s;margin-bottom:-1.5px}.code-tab[data-astro-cid-mmc7otgs]:hover{color:#444}.code-tab[data-astro-cid-mmc7otgs].active{color:#111;border-bottom-color:#111}.code-panel[data-astro-cid-mmc7otgs]{display:none}.code-panel[data-astro-cid-mmc7otgs].active{display:block}.code-panel[data-astro-cid-mmc7otgs] pre[data-astro-cid-mmc7otgs]{margin:0;padding:28px 32px;font-size:13px;line-height:1.7;overflow-x:auto;background:#fff!important}.card[data-astro-cid-mmc7otgs].active-source{border-color:#111}html,body{margin:0;width:100%;min-height:100%;background:#fff}
