:root{--bg:#07090b;--panel:#0e1115;--line:#282d34;--text:#f2f5f8;--muted:#7f8995;--green:#00e676;--red:#ff4d4d;--blue:#1c8cff;--gold:#f2b700}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;padding-bottom:72px}header{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#0b0e12;z-index:10}.online{color:#fff;font-size:12px}.muted,small{color:var(--muted)}small{display:block;margin-top:4px;line-height:1.35}main{max-width:720px;margin:auto}.page{display:none;padding:10px}.page.active{display:block}.market-head{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 8px}.market-head select{font-size:16px;font-weight:700}.price{font:700 28px ui-monospace,Consolas,monospace}select,input,button{background:#0b0e11;color:var(--text);border:1px solid #353b43;border-radius:7px;padding:11px;font-size:14px}input,select{width:100%}button{cursor:pointer}.primary{background:#113257;border-color:#1b68a9}.linkbtn{display:block;text-align:center;color:white;text-decoration:none;margin:10px 0;padding:11px;border-radius:7px}#chart{height:390px;border:1px solid var(--line);background:#050607}.tfbar{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:8px 0 12px}.tfbar button.sel{background:#0f2c45;border-color:#315f7d}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:13px;margin:10px 0}.hidden{display:none}.title{font-size:20px;font-weight:800;padding:6px 2px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.row>div{flex:1}.panel input{margin:7px 0}.panel>label{display:block;font-size:13px;color:var(--muted);margin-top:8px}.panel .primary{width:100%;margin-top:6px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:8px}.badge{font-size:12px;padding:5px 8px;border:1px solid var(--line);border-radius:20px}.signal{border-left:3px solid var(--blue);padding:12px;margin:8px 0;background:var(--panel);border-radius:8px}.signal.long{border-left-color:var(--green)}.signal.short{border-left-color:var(--red)}.sighead{display:flex;justify-content:space-between;font-weight:800}.levels{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:9px;font-family:ui-monospace,Consolas,monospace;font-size:12px}.levels div{background:#090b0e;padding:7px;border-radius:5px}.actions{display:flex;gap:8px;margin-top:9px}.actions button{flex:1}.switch{position:relative;width:44px;height:25px}.switch input{display:none}.switch span{position:absolute;inset:0;background:#343a40;border-radius:20px}.switch span:after{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;background:white;border-radius:50%;transition:.18s}.switch input:checked+span{background:#087f47}.switch input:checked+span:after{transform:translateX(19px)}nav{position:fixed;bottom:0;left:0;right:0;height:62px;background:#0b0e12;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);z-index:20}nav button{border:0;border-radius:0;background:transparent;color:#bcc4cc;font-size:19px;padding:5px}nav button.active{color:white;background:#10161c}nav span{display:block;font-size:11px;margin-top:2px}footer{text-align:center;color:#565f69;font-size:10px;padding:12px}.legal p{font-size:12px;line-height:1.45;color:#a8b0b8;margin-bottom:0}.toast{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);background:#20252b;padding:10px 14px;border-radius:8px;z-index:99;max-width:90%}
.pagehint{color:var(--muted);font-size:12px;line-height:1.45;margin:0 2px 10px}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0 10px}.tabs button.sel{background:#153552;border-color:#315f7d}.sigstatus{font-size:11px;color:#b9c2cb;margin-left:8px;text-align:right}.stateNote{font-size:11px;color:#98a4af;margin-top:8px;line-height:1.35}.apiExplain{font-size:12px;color:#a9b3bd;line-height:1.45;margin:-2px 0 8px;padding:9px;background:#0a0d10;border-radius:7px}#accessPanel b{display:block;margin-bottom:4px}#accessPanel small{margin:0}nav span{white-space:nowrap}
.tradeResult{font-size:12px;font-weight:700;margin-top:8px}.tradeResult.win{color:var(--green)}.tradeResult.loss{color:var(--red)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.82);z-index:80;display:flex;align-items:center;justify-content:center;padding:12px}.modal.hidden{display:none}.modalCard{width:100%;max-width:520px;max-height:94vh;overflow:auto;background:#0e1115;border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:0 16px 60px rgba(0,0,0,.45)}.modalHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.iconBtn{width:36px;height:36px;padding:0;border-radius:50%;font-size:24px;line-height:1;background:#11161b}#resultCanvas{display:block;width:100%;height:auto;border-radius:12px;background:#080a0d}.shareActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.shareActions .primary{width:auto;margin:0}.shareActions button{min-height:44px}

/* PivotFlow UI repair: explicit styles that must not depend on browser defaults. */
.panelTitle{font-size:18px;font-weight:800;line-height:1.25;margin:0 0 10px;color:var(--text)}
#profile .panelTitle{font-size:18px;font-weight:800;line-height:1.25;margin:0 0 10px;color:var(--text)}
.apiExplain{font-size:12px!important;font-weight:400!important;line-height:1.45!important;color:#a9b3bd!important}
.apiExplain b{font-size:inherit;line-height:inherit}
.pagehint{font-size:12px!important;font-weight:400!important;line-height:1.45!important;color:var(--muted)!important}


/* v2.19.62 hide non-editable text caret */
html,body{caret-color:transparent;-webkit-user-select:none;user-select:none}
input,textarea,select,[contenteditable="true"]{caret-color:auto;-webkit-user-select:text;user-select:text}


/* PIVOTFLOW_SIGNAL_DEALS_HUMAN_UI_V230 */
/* PIVOTFLOW_SIGNAL_DEALS_API_HINT_MINIMAL_STYLE_V231 */
.dealApiHint{font-size:12px;line-height:1.4;color:#9aaab7;background:transparent;border:0;border-left:2px solid #315b7a;border-radius:0;padding:5px 0 5px 9px;margin:0 0 10px}
.dealSignalCard{padding:13px!important;border-radius:11px!important}
.dealSigHead{align-items:flex-start;gap:10px;margin-bottom:5px}
.dealSigHead b{font-size:14px}
.dealSigMeta{font-size:11px;font-weight:600;color:#8fa1b1;margin-top:2px}
.dealDirection{font-weight:800;letter-spacing:.03em}
.dealDirection.long{color:var(--green)}
.dealDirection.short{color:var(--red)}

