:root{--accent: #285d48;--accent-ink: #fff;--red: #e5484d;--green: #30a46c;--amber: #c78a00;--amber-bg: #f5a52422;--radius: 18px;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Inter,sans-serif;-webkit-font-smoothing:antialiased}:root,[data-theme=light]{color-scheme:light;--bg: #f4f4ed;--surface: #fffef9;--surface-2: #e9ece4;--text: #20271f;--muted: #73796f;--line: #dfe3d9}[data-theme=dark]{color-scheme:dark;--accent: #9ac5a5;--accent-ink: #15241b;--bg: #151a16;--surface: #202720;--surface-2: #2a332c;--text: #eef2ed;--muted: #a0aa9f;--line: #354037;--amber: #f5a524}[data-theme=amoled]{color-scheme:dark;--accent: #a2d0ad;--accent-ink: #101b13;--bg: #000;--surface: #0b0e0b;--surface-2: #151a16;--text: #f2f2f2;--muted: #8a948b;--line: #242a25;--amber: #f5a524}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text)}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}button:disabled{opacity:.45;cursor:default}input,textarea{font:inherit;color:inherit}h1{font-size:22px;letter-spacing:-.02em;margin:0}h2{font-size:15px;font-weight:600;margin:0}h3{font-size:15px;margin:0 0 6px}.app{min-height:100vh;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.screen{max-width:560px;margin:0 auto;padding:20px 18px 28px;display:flex;flex-direction:column;gap:20px}.screen>div{display:flex;flex-direction:column;gap:16px}.banner{background:var(--amber-bg);color:var(--text);font-size:13px;padding:10px 16px;text-align:center}.brand{display:flex;align-items:center;gap:11px}.user-avatar{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 auto;border:1px solid var(--line)}.avatar-fallback{display:grid;place-items:center;background:var(--surface-2);color:var(--accent);font-weight:700}.brand-copy{display:flex;flex-direction:column;gap:1px}.wordmark{font-weight:800;letter-spacing:.11em;font-size:14px}.slogan{color:var(--muted);font-size:12px}.hero{display:flex;flex-direction:column;gap:8px;padding:8px 0 2px}.eyebrow,.wallet-label{color:var(--accent);font-size:10px;font-weight:750;letter-spacing:.14em}.title{max-width:440px;font-size:clamp(29px,7vw,36px);line-height:1.04;letter-spacing:-.045em}.hero .hint{margin:0;max-width:410px;line-height:1.5}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:0 5px 22px #20271f08}.segmented{display:flex;background:var(--surface-2);border-radius:12px;padding:3px;gap:2px}.segmented button{flex:1;padding:8px 6px;border-radius:9px;font-size:14px;color:var(--muted)}.segmented button.on{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #0000001a}.search{display:flex;align-items:center;background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius);padding:0 10px 0 14px;height:58px}.search:focus-within{border-color:var(--accent)}.search .prefix{color:var(--muted);font-size:20px;margin-right:4px}.search .prefix,.search .expand-input,.search .clear{flex-shrink:0}.search input{flex:1;border:0;outline:0;background:transparent;color:var(--text);font-size:19px;min-width:0}.expand-input{color:var(--accent);font-size:12px;font-weight:600;width:auto;min-height:32px;white-space:nowrap;padding:0 4px}.search .clear{font-size:22px;color:var(--muted);width:32px}.hint{color:var(--muted);font-size:12.5px;margin:-6px 2px 0}.buttons{display:grid;grid-template-columns:1.15fr 1fr;gap:10px}.btn{min-height:50px;border-radius:14px;padding:0 12px;font-weight:650;font-size:14px}.btn.primary{background:var(--accent);color:var(--accent-ink)}.btn.secondary{background:var(--surface);border:1px solid var(--line)}.btn.wide{width:100%}.link{color:var(--accent);font-size:14px;font-weight:500}.section-head,.page-head{display:flex;align-items:center;justify-content:space-between;gap:8px}section{display:flex;flex-direction:column;gap:10px}.count{color:var(--muted);font-weight:500;font-size:13px;margin-left:4px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:7px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-size:13.5px}.chip.on{border-color:var(--accent);color:var(--accent);font-weight:600}.opts{display:flex;flex-direction:column;gap:12px}.range{display:flex;flex-direction:column;gap:6px;font-size:14px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pair input{width:100%;accent-color:var(--accent)}.toggle{display:flex;justify-content:space-between;align-items:center;font-size:14px;position:relative}.toggle input{position:absolute;opacity:0;right:0;width:44px;height:26px;margin:0;cursor:pointer}.toggle i{width:44px;height:26px;border-radius:13px;background:var(--surface-2);position:relative;transition:background .15s;pointer-events:none}.toggle i:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .15s}.toggle input:checked+i{background:var(--accent)}.toggle input:checked+i:after{transform:translate(18px)}.wallet{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:var(--surface-2)}.wallet>div:first-child{display:flex;flex-direction:column;gap:5px}.wallet-count{display:flex;align-items:baseline;gap:7px}.wallet-count b{font-size:27px;line-height:1;letter-spacing:-.04em}.wallet-count span{color:var(--muted);font-size:13px}.wallet-action{color:var(--accent);font-size:13px;font-weight:650;padding:9px 11px;border:1px solid var(--line);border-radius:11px}.wallet .quota-sub{flex-basis:100%}.quota-main{font-size:15px}.quota-main b{font-size:20px}.quota-sub{color:var(--muted);font-size:13px}.quota-warn{color:var(--amber);font-size:13px;margin-top:4px}.progress .bar{height:6px;background:var(--surface-2);border-radius:3px;overflow:hidden}.progress .bar div{height:100%;background:var(--accent);transition:width .3s}.progress-row{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-top:6px}.list{display:flex;flex-direction:column;gap:10px}.result{display:flex;flex-direction:column;gap:8px;border-left-width:3px}.result.tone-red{border-left-color:var(--red)}.result.tone-green{border-left-color:var(--green)}.result.tone-amber{border-left-color:var(--amber)}.row{display:flex;justify-content:space-between;align-items:center;gap:8px}.name{font-size:17px;font-weight:600;word-break:break-all}.name .at{color:var(--muted);font-weight:400}.meta{color:var(--muted);font-size:12.5px;display:flex;flex-wrap:wrap;gap:4px}.pill{font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;white-space:nowrap;background:var(--surface-2);color:var(--muted)}.pill-red{background:#e5484d1f;color:var(--red)}.pill-green{background:#30a46c1f;color:var(--green)}.pill-amber{background:var(--amber-bg);color:var(--amber)}.note{font-size:13px;color:var(--muted);margin:0;line-height:1.45}.note-green{background:#30a46c12;padding:10px;border-radius:10px}.note-green .link{margin-left:6px;font-size:13px}.note-amber{color:var(--amber)}.explain p{margin:8px 0 4px}.explain ul{margin:4px 0;padding-left:18px}.links{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.actions{display:flex;gap:6px;border-top:1px solid var(--line);padding-top:8px}.btn-ghost{flex:1;font-size:13px;padding:7px 4px;border-radius:9px;color:var(--muted)}.btn-ghost:active{background:var(--surface-2)}.btn-ghost.on{color:var(--amber)}.paywall{display:flex;flex-direction:column;gap:12px}.paywall p{margin:0;color:var(--muted);font-size:14px}.packs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pack{background:var(--surface);border:1.5px solid var(--line);border-radius:var(--radius);padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.pack:active{border-color:var(--accent)}.pack-quantity{font-size:26px;font-weight:700;letter-spacing:-.02em}.pack-label{color:var(--muted);font-size:13px}.pack-price{margin-top:8px;font-weight:600;color:var(--accent)}.fine{grid-column:1 / -1;color:var(--muted);font-size:12px;line-height:1.45;margin:0}.rejected{font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:4px}.empty{color:var(--muted);text-align:center;font-size:14px;padding:24px 8px;margin:0}.howto ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;font-size:13.5px;color:var(--muted)}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px}.dot.red{background:var(--red)}.dot.green{background:var(--green)}.dot.amber{background:var(--amber)}.table{padding:4px 14px}.trow{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.trow:last-child{border-bottom:0}.tname{font-size:14.5px;font-weight:500;word-break:break-all}.tmeta{font-size:12px;color:var(--muted);margin-top:2px}.profile{display:flex;align-items:center;gap:12px}.profile .user-avatar{width:56px;height:56px}.pname{font-size:18px;font-weight:600}.pmeta{color:var(--muted);font-size:14px}.stats{display:flex;justify-content:space-around;text-align:center}.stats div{display:flex;flex-direction:column;gap:2px}.stats b{font-size:18px}.stats span{font-size:11.5px;color:var(--muted)}.footer-links{align-items:flex-start}.tabbar{position:fixed;bottom:0;left:0;right:0;display:flex;background:var(--surface);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);z-index:10}.tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 6px;font-size:11px;color:var(--muted)}.tab.active{color:var(--accent)}.toast{position:fixed;left:50%;transform:translate(-50%);bottom:calc(84px + env(safe-area-inset-bottom));background:var(--text);color:var(--bg);padding:10px 16px;border-radius:12px;font-size:14px;max-width:calc(100% - 32px);z-index:20;box-shadow:0 6px 24px #0003}
