/* GlassDex social trading layer (preview "social"). Android-first: 360-430px wide, 44px+ tap targets. */
.gsx{max-width:640px;margin:0 auto;padding-bottom:84px}
.gsx .card.gsx-card{margin:10px 0;padding:12px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0)) ,var(--panel)}
.gsx-hero{display:flex;gap:12px;align-items:center;padding:14px;margin:4px 0 8px;border-radius:16px;border:1px solid #2b2f3b;background:radial-gradient(120% 140% at 0% 0%,rgba(153,69,255,.22),transparent 55%),radial-gradient(120% 140% at 100% 100%,rgba(20,241,149,.14),transparent 60%),var(--panel)}
.gsx-hero img{width:52px;height:52px;border-radius:14px;flex:none;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 6px 22px rgba(124,196,255,.18)}
.gsx-hero h1{margin:0 0 2px;font-size:21px;letter-spacing:.2px}
.gsx-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:6px 0}
.gsx-tabs .chip,.gsx-filt .chip,.gsx .chip,.gsx-sheet .chip{padding:9px 14px;font-size:14px;font-weight:700;border-radius:999px;white-space:nowrap;min-height:40px}
.gsx .chip.sm,.gsx-sheet .chip.sm{padding:6px 12px;font-size:13px;min-height:34px}
.gsx .chip.active,.gsx-sheet .chip.active{color:#0b0c10;background:linear-gradient(90deg,#b88bff,var(--accent));border-color:transparent}
.gsx-filt{display:flex;gap:6px;margin:6px 0 4px;flex-wrap:wrap}
.gsx-ch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.gsx-ch b{font-size:15px}
.gsx-live{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:900;letter-spacing:.8px;color:#ff6b7f;background:#2d1015;border:1px solid #6a2230;padding:2px 8px;border-radius:999px}
.gsx-live i{width:7px;height:7px;border-radius:50%;background:#ff4d64;box-shadow:0 0 0 0 rgba(255,77,100,.7);animation:gdsPulse 1.6s infinite}
@keyframes gdsPulse{0%{box-shadow:0 0 0 0 rgba(255,77,100,.7)}70%{box-shadow:0 0 0 7px rgba(255,77,100,0)}100%{box-shadow:0 0 0 0 rgba(255,77,100,0)}}
.gsx-av{flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:13px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.gsx-av.big{width:60px;height:60px;font-size:20px}
.gsx-trow,.gsx-lrow{display:flex;align-items:center;gap:10px;padding:10px 2px;border-top:1px solid var(--border);cursor:pointer;min-height:58px}
.gsx-trow:first-of-type,.gsx-lrow:first-of-type{border-top:0}
.gsx-tm{flex:1;min-width:0}
.gsx-tn{font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-size:14px}
.gsx-tl{display:flex;align-items:center;gap:5px;font-size:15px;white-space:nowrap;overflow:hidden}
.gsx-tl b{overflow:hidden;text-overflow:ellipsis}
.gsx-ts{font-size:12px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gsx-side{font-size:11px;font-weight:900;padding:1px 6px;border-radius:5px;text-transform:uppercase;letter-spacing:.4px}
.gsx-side.b{color:#3ee89b;background:#0f2a1f}.gsx-side.s{color:#ff6b7f;background:#2d1015}
.gsx-ti{width:22px;height:22px;border-radius:50%;object-fit:cover;flex:none;background:#1d2029;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;color:var(--muted)}
.gsx-ti.sm{width:18px;height:18px}.gsx-ti.big{width:44px;height:44px;font-size:14px}
.gsx-lrow>.gsx-ti{width:34px;height:34px}
.gsx-vchip{margin-left:4px;vertical-align:1px}
.gsx-copy{flex:none;min-height:42px;padding:0 14px;border-radius:12px;border:0;font-weight:900;font-size:14px;color:#0b0c10;background:linear-gradient(90deg,var(--accent),#7cf7c6);box-shadow:0 4px 16px rgba(20,241,149,.22);cursor:pointer}
.gsx-copy:active{transform:scale(.97)}
.gsx-sold{flex:none;font-size:12px;padding:0 8px}
.gsx-hot{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:6px 0;border-radius:12px;background:linear-gradient(90deg,rgba(255,170,0,.14),rgba(255,77,100,.08));border:1px solid #5c4a14;cursor:pointer;font-size:13px}
.gsx-hot>div{flex:1;min-width:0}
.gsx-rk{width:26px;text-align:center;font-weight:800;color:var(--muted);flex:none;font-size:15px}
.gsx-lr{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:none}
.gsx-pnl{font-weight:900;font-size:15px}
.gsx-tag{display:inline-block;font-size:11px;font-weight:700;padding:1px 7px;border-radius:999px;background:#1d2029;border:1px solid var(--border);color:var(--muted);margin:3px 4px 0 0}
.gsx-fbtn{min-height:34px;padding:0 12px;border-radius:999px;border:1px solid #3a3f4c;background:transparent;color:var(--text);font-weight:800;font-size:13px;cursor:pointer;white-space:nowrap}
.gsx-fbtn.on{border-color:#1d5a40;color:#3ee89b;background:#0f2a1f}
.gsx-empty{padding:22px 10px;text-align:center;color:var(--muted);line-height:1.6}
.gsx-empty .chip{margin-top:10px}
.gsx-spin{display:inline-block;width:14px;height:14px;border:2px solid #3a3f4c;border-top-color:var(--accent);border-radius:50%;animation:gdsSpin .8s linear infinite;vertical-align:-2px}
@keyframes gdsSpin{to{transform:rotate(360deg)}}
.gsx-disc{font-size:12px;color:var(--muted);text-align:center;margin:12px 8px}
.gsx-back{margin:4px 2px}.gsx-back a{font-weight:700}
.gsx-ph{display:flex;align-items:center;gap:12px}
.gsx-pn{font-size:19px;font-weight:800}
.gsx-addr{background:#1d2029;border:1px solid var(--border);color:var(--muted);border-radius:8px;padding:3px 8px;font:12px ui-monospace,monospace;margin-top:3px;cursor:pointer}
.gsx-pact{display:flex;gap:8px;margin:12px 0 4px;align-items:center}
.gsx-pact .gsx-fbtn{min-height:40px;padding:0 16px;font-size:14px}
.gsx-pact a.chip{display:inline-flex;align-items:center;color:var(--text)}
.gsx-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.gsx-st{background:#0f1015;border:1px solid var(--border);border-radius:12px;padding:10px}
.gsx-st .k{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;font-weight:700}
.gsx-st .v{font-size:19px;font-weight:900;margin-top:2px}
.gsx-pnote{margin-top:8px}
/* header sign-in pill */
.gsx-hdr{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border-radius:999px;font-weight:800;font-size:13px;color:#0b0c10!important;background:linear-gradient(90deg,#b88bff,var(--accent));white-space:nowrap;text-decoration:none!important}
.gsx-hdr.on{background:#1d2029;color:var(--text)!important;border:1px solid var(--border);padding:0 10px 0 3px}
.gsx-hdr .gsx-av{width:26px;height:26px;font-size:10px}
@media (max-width:430px){.topbar .search-wrap{display:none}.gsx-hdr{margin-left:auto}.gsx-hdr.on span:not(.gsx-av){display:none}.gsx-hdr.on{padding:0 3px}.topbar a.about-link[href="#/stocks"],.topbar .gsx-tr-link{display:none}}
/* sheets */
body.gsx-lock{overflow:hidden}
.gsx-ov{position:fixed;inset:0;z-index:300;background:rgba(5,6,9,.66);backdrop-filter:blur(3px);display:flex;align-items:flex-end;justify-content:center;animation:gdsFade .15s ease}
@keyframes gdsFade{from{opacity:0}to{opacity:1}}
.gsx-sheet{width:100%;max-width:520px;max-height:92vh;overflow-y:auto;background:#12131a;border:1px solid #2b2f3b;border-bottom:0;border-radius:20px 20px 0 0;padding:8px 16px calc(18px + env(safe-area-inset-bottom));animation:gdsUp .2s ease;box-shadow:0 -20px 60px rgba(0,0,0,.5)}
@keyframes gdsUp{from{transform:translateY(40px)}to{transform:none}}
.gsx-grab{width:42px;height:5px;border-radius:3px;background:#3a3f4c;margin:2px auto 10px}
.gsx-lhead{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.gsx-lhead img{border-radius:14px;flex:none}
.gsx-lt{font-size:18px;font-weight:900}
.gsx-lbtn{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:8px 0;border-radius:14px;border:1px solid #2f3340;background:#f4f5f7;color:#111;font-size:16px;font-weight:800;cursor:pointer}
.gsx-lbtn.ph{background:#ab9ff2;color:#1c1530;border-color:#ab9ff2}
.gsx-lbtn img{border-radius:5px}
.gsx-lbtn[disabled]{opacity:.6}
.gsx-soon{position:absolute;right:12px;font-size:10px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;padding:2px 7px;border-radius:999px;background:#1d2029;color:#ffd166}
.gsx-or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:12px 0 4px}
.gsx-or:before,.gsx-or:after{content:"";flex:1;height:1px;background:var(--border)}
.gsx-note{margin:8px 0;padding:10px 12px;border-radius:12px;background:#2a230e;border:1px solid #5c4a14;color:#ffd166;font-size:13px}
.gsx-fine{font-size:12px;color:var(--muted);margin:10px 2px 2px;line-height:1.5}
.gsx-shh{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.gsx-x{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid var(--border);background:#1d2029;color:var(--text);font-size:16px;cursor:pointer}
.gsx-scan{border-radius:16px;padding:12px;border:1px solid var(--border);background:#0f1015;margin-bottom:12px}
.gsx-scan.safe{border-color:#1d5a40;background:linear-gradient(180deg,#0f2a1f,#0f1015 70%)}
.gsx-scan.caution{border-color:#5c4a14;background:linear-gradient(180deg,#2a230e,#0f1015 70%)}
.gsx-scan.risky{border-color:#a3263a;background:linear-gradient(180deg,#3a0f17,#0f1015 75%);box-shadow:0 0 0 1px rgba(246,70,93,.25),0 6px 30px rgba(246,70,93,.18)}
.gsx-sh{display:flex;align-items:center;gap:12px}
.gsx-score{width:62px;height:62px;border-radius:50%;flex:none;display:flex;align-items:baseline;justify-content:center;padding-top:16px;border:3px solid currentColor;font-style:normal}
.gsx-score b{font-size:22px;font-weight:900}.gsx-score i{font-size:10px;font-style:normal;opacity:.7}
.gsx-scan.safe .gsx-score,.gsx-scan.safe .gsx-vv{color:#3ee89b}.gsx-scan.caution .gsx-score,.gsx-scan.caution .gsx-vv{color:#ffd166}.gsx-scan.risky .gsx-score,.gsx-scan.risky .gsx-vv{color:#ff6b7f}
.gsx-vk{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;font-weight:800}
.gsx-vv{font-size:22px;font-weight:900}
.gsx-full{margin-left:auto;font-weight:700;font-size:13px}
.gsx-red{margin:10px 0 4px;padding:10px 12px;border-radius:12px;background:#4a0f1a;border:1px solid #f6465d;color:#ffd0d6;font-size:14px;line-height:1.45}
.gsx-ck{list-style:none;margin:10px 0 0;padding:0;font-size:13px;line-height:1.7}
.gsx-amt{margin:4px 0 8px}
.gsx-pre{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}
.gsx-pre .chip{flex:1 1 auto;min-width:70px}
.gsx-cust{display:flex;align-items:center;gap:8px;margin:8px 0;color:var(--muted);font-size:13px}
.gsx-cust input{flex:1;min-height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--border);background:#0f1015;color:var(--text);font-size:17px;font-weight:700}
.gsx-qrow{min-height:20px}
.gsx-ack{display:flex;gap:10px;align-items:flex-start;margin:10px 0;padding:10px 12px;border-radius:12px;border:1px solid #6a2230;background:#2d1015;color:#ffd0d6;font-size:13px;line-height:1.45}
.gsx-ack input{width:22px;height:22px;flex:none;accent-color:#f6465d;margin:0}
.gsx-cta{width:100%;min-height:56px;border:0;border-radius:16px;margin-top:8px;font-size:17px;font-weight:900;color:#0b0c10;background:linear-gradient(90deg,var(--accent),#7cf7c6);box-shadow:0 8px 28px rgba(20,241,149,.25);cursor:pointer}
.gsx-cta.risky{background:linear-gradient(90deg,#f6465d,#ff8a5c);color:#fff;box-shadow:0 8px 28px rgba(246,70,93,.3)}
.gsx-cta[disabled]{opacity:.45;box-shadow:none}
.gsx-wl{text-align:center;margin-top:6px}
.gsx-done{text-align:center;padding:10px 4px}
.gsx-ok{width:72px;height:72px;margin:6px auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:900;color:#0b0c10;background:linear-gradient(135deg,var(--accent),#7cf7c6)}
.gsx-cta2{display:block;margin:14px 0 10px;padding:14px;border-radius:14px;background:#1d2029;border:1px solid var(--border);font-weight:800}
.gsx-signin .gsx-lbtn{margin:8px 0}
