:root{--red:#ef4d43;--red-soft:#fff0ee;--green:#15966a;--green-soft:#eaf8f2;--amber:#d89522;--amber-soft:#fff7e8;--ink:#17191d;--muted:#7b818a;--line:#eceef1;--bg:#f5f6f8;--card:#fff;--radius:22px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}.app-shell{width:min(100%,620px);min-height:100vh;margin:auto;background:#fafafa;padding-bottom:96px}.topbar{height:96px;padding:26px 22px 12px;display:flex;align-items:center;justify-content:space-between;background:#fafafa;position:sticky;top:0;z-index:10}.eyebrow{margin:0 0 4px;color:#9a9fa7;font-size:10px;font-weight:800;letter-spacing:1.8px}.topbar h1,.section-heading h2{margin:0;font-size:25px;letter-spacing:-1px}.icon-button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:white;font-size:24px;color:#555;cursor:pointer}.hero{margin:6px 16px 18px;padding:22px;background:#1e232b;color:white;border-radius:28px;box-shadow:0 14px 34px #1f253024}.hero-top{display:flex;justify-content:space-between;align-items:flex-start}.market-dot{display:inline-block;width:7px;height:7px;background:#62d6a1;border-radius:50%;margin-right:7px;box-shadow:0 0 0 5px #62d6a11e}.hero h2{margin:13px 0 8px;font-size:28px}.hero p{color:#b6bbc3;font-size:13px}.score-ring{width:70px;height:70px;border-radius:50%;border:5px solid #efc15d;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-ring strong{font-size:21px}.score-ring span{font-size:9px;color:#bfc3ca}.scan-time{font-size:11px;color:#777f8a;border-top:1px solid #ffffff16;padding-top:14px;margin-top:18px}.filter-row{display:flex;gap:8px;padding:0 16px 18px;overflow:auto}.filter{border:0;background:#eceef1;color:#727780;padding:9px 15px;border-radius:99px;font-weight:700;white-space:nowrap}.filter.active{background:#222831;color:white}.filter span{margin-left:4px}.signal-list{padding:0 16px}.signal-card{background:var(--card);border-radius:var(--radius);padding:18px;margin-bottom:13px;border:1px solid #f0f1f3;box-shadow:0 7px 22px #1b253008}.signal-header{display:flex;align-items:flex-start;gap:12px}.signal-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;font-weight:900}.reduce .signal-icon{background:var(--red-soft);color:var(--red)}.add .signal-icon{background:var(--green-soft);color:var(--green)}.watch .signal-icon{background:var(--amber-soft);color:var(--amber)}.signal-title{flex:1}.signal-title h3{margin:0 0 4px;font-size:17px}.signal-title p{margin:0;color:#9a9fa6;font-size:12px}.tag{font-size:11px;font-weight:800;padding:6px 9px;border-radius:8px}.reduce .tag{background:var(--red-soft);color:var(--red)}.add .tag{background:var(--green-soft);color:var(--green)}.watch .tag{background:var(--amber-soft);color:var(--amber)}.reason{font-size:14px;line-height:1.7;color:#60666f;margin:16px 0 13px}.metrics{display:flex;gap:8px}.metric{background:#f7f8fa;padding:9px 11px;border-radius:11px;flex:1}.metric span{display:block;color:#999fa7;font-size:10px}.metric strong{font-size:13px}.action{margin-top:14px;padding:12px 14px;border-radius:12px;font-size:13px;font-weight:750}.reduce .action{background:var(--red-soft);color:#d84239}.add .action{background:var(--green-soft);color:#087b55}.watch .action{background:var(--amber-soft);color:#af7210}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,620px);height:78px;background:#fffffff2;backdrop-filter:blur(16px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding-top:10px;z-index:20}.bottom-nav button{border:0;background:none;color:#999fa7;display:flex;flex-direction:column;gap:4px;align-items:center;font-weight:700;min-width:80px}.bottom-nav button span{font-size:22px}.bottom-nav button.active{color:var(--red)}.hidden{display:none}.strategy-panel,.position-panel{padding:0 16px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:8px 2px 18px}.text-button,.primary-small{border:0;background:none;color:var(--red);font-weight:700}.primary-small{background:var(--ink);color:white;border-radius:12px;padding:9px 13px}.rule-card,.position-card{padding:17px;background:white;border-radius:18px;margin-bottom:11px;border:1px solid var(--line)}.rule-card h3{font-size:15px;margin:0 0 7px}.rule-card p{font-size:13px;color:#737983;margin:0;line-height:1.6}.rule-card label{display:flex;justify-content:space-between;align-items:center}.switch{width:42px;height:24px;appearance:none;background:#dcdfe3;border-radius:30px;position:relative;transition:.2s}.switch:checked{background:var(--red)}.switch:after{content:"";width:18px;height:18px;background:white;border-radius:50%;position:absolute;top:3px;left:3px;transition:.2s}.switch:checked:after{left:21px}.disclaimer{font-size:11px;line-height:1.6;color:#a0a5ad;padding:12px}.position-card{display:flex;align-items:center;gap:13px}.stock-avatar{width:42px;height:42px;background:#f0f2f4;border-radius:13px;display:grid;place-items:center;font-weight:900}.stock-info{flex:1}.stock-info h3{margin:0 0 5px;font-size:15px}.stock-info p{margin:0;color:#999;font-size:11px}.profit{font-weight:800;color:var(--red);text-align:right}.profit.down{color:var(--green)}.profit small{display:block;color:#999;margin-top:4px}dialog{width:min(calc(100% - 28px),480px);border:0;border-radius:24px;padding:0;box-shadow:0 20px 80px #0004}dialog::backdrop{background:#10131888;backdrop-filter:blur(3px)}form{padding:22px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0}.close-btn{border:0;background:#f0f1f3;width:34px;height:34px;border-radius:50%;font-size:20px}form label{display:block;font-size:12px;font-weight:700;color:#676d76;margin-top:16px}input,select{width:100%;margin-top:7px;border:1px solid #e1e3e7;background:#f8f9fa;padding:13px;border-radius:12px;font:inherit}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.submit-btn{width:100%;border:0;border-radius:14px;background:var(--ink);color:white;padding:14px;margin-top:22px;font-weight:800}@media(min-width:700px){body{padding:20px 0}.app-shell{border-radius:32px;overflow:hidden;min-height:calc(100vh - 40px);box-shadow:0 20px 80px #2221}.bottom-nav{bottom:20px;border-radius:0 0 32px 32px}}
