:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f6f5f9;--surface:#fff;--text:#22202b;--muted:#63606f;--line:#dedbe7;--accent:#54488a;--on-accent:#fff;--none:#8b8896;--can-say:#2468b4;--used:#23784a;--tab-height:60px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#17151f;--surface:#221f2d;--text:#eceaf3;--muted:#aaa6b8;--line:#393548;--accent:#b5a8ec;--on-accent:#1d1832;--none:#86829a;--can-say:#78b2f2;--used:#6bc994}}*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none;margin:0;font:16px/1.6 system-ui,Noto Sans JP,sans-serif}button,a{touch-action:manipulation}button{min-height:44px;font:inherit;color:inherit;cursor:pointer}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}#view{max-width:640px;padding:calc(12px + env(safe-area-inset-top)) 16px calc(var(--tab-height) + env(safe-area-inset-bottom) + 32px);outline:none;margin:0 auto}h1{margin:0;font-size:22px;line-height:1.4}h2{color:var(--muted);margin:28px 0 8px;font-size:16px}.head{align-items:center;gap:4px;min-height:48px;margin-bottom:12px;display:flex}.head h1{flex:1}.icon-button{width:48px;height:48px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.head .icon-button:first-child{margin-left:-12px}.head .icon-button:last-child{margin-right:-12px}svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.card{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:16px}.note{color:var(--muted);margin:0}.button{background:var(--accent);min-height:48px;color:var(--on-accent);border:0;border-radius:12px;padding:0 24px;font-weight:600}.counts{grid-template-columns:1fr 1fr;gap:12px;display:grid}.count{text-align:center}.count strong{font-variant-numeric:tabular-nums;font-size:52px;line-height:1.15;display:block}.count.used strong{color:var(--used)}.count.can-say strong{color:var(--can-say)}.total{text-align:center;color:var(--muted);margin:8px 0 0}.segments{background:var(--line);border-radius:14px;grid-auto-columns:1fr;grid-auto-flow:column;margin-bottom:12px;padding:4px;display:grid}.segments button{background:0 0;border:0;border-radius:10px}.segments [aria-pressed=true]{background:var(--surface);color:var(--accent);font-weight:600}.rows{margin:0;padding:0;list-style:none}.rows li{align-items:center;gap:12px;min-height:60px;margin-bottom:8px;padding:8px 16px;display:flex}.rows .title{flex:1}.dots{gap:6px;display:flex}.dot{border:2px solid var(--none);border-radius:50%;width:18px;height:18px}#tabs{max-width:640px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:var(--surface);grid-template-columns:repeat(5,1fr);margin:0 auto;display:grid;position:fixed;inset:auto 0 0}#tabs a{height:var(--tab-height);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;font-size:12px;line-height:1.4;text-decoration:none;display:flex}#tabs a[aria-current=page]{color:var(--accent);font-weight:700}#tabs .add{background:var(--accent);width:52px;height:52px;color:var(--on-accent);border-radius:50%;place-self:center}#tabs .add svg{stroke-width:2.5px;width:28px;height:28px}#update-bar{inset:auto 0 calc(var(--tab-height) + env(safe-area-inset-bottom) + 8px);background:var(--text);width:calc(100% - 32px);max-width:608px;color:var(--bg);border-radius:12px;justify-content:space-between;align-items:center;margin:0 auto;padding:4px 4px 4px 16px;display:flex;position:fixed}#update-bar button{background:0 0;border:0;min-width:72px;font-weight:700}@media (max-height:420px){#tabs{position:static}}
