/* ===== Fund Flow Trend Page ===== */
.fundflow-page{padding-top:76px;padding-left:20px;padding-right:20px;padding-bottom:40px;max-width:1320px;margin:0 auto}
.fundflow-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px;flex-wrap:wrap}
.fundflow-title{font-size:22px;font-weight:700;color:var(--text)}
.fundflow-subtitle{font-size:12px;color:var(--text2);margin-top:4px}
.fundflow-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fundflow-symbols-input{min-width:320px;padding:8px 12px;border-radius:8px;border:1px solid var(--border);background:rgba(255,255,255,0.04);color:var(--text);outline:none}
.fundflow-symbols-input:focus{border-color:rgba(59,130,246,0.45);box-shadow:0 0 0 3px rgba(59,130,246,0.12)}
.fundflow-refresh-btn{padding:8px 14px}
.fundflow-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));margin-top:18px}
.fundflow-grade-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.fundflow-grade-badge{font-size:13px;font-weight:900;border:1px solid currentColor;border-radius:999px;padding:4px 10px;background:rgba(255,255,255,.03);cursor:help;white-space:nowrap;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.fundflow-grade-wrap:hover .fundflow-grade-badge{transform:translateY(-1px);background:rgba(255,255,255,.06);box-shadow:0 0 0 3px rgba(59,130,246,.08)}
.fundflow-grade-wrap:after{content:"";position:absolute;right:0;top:100%;width:100%;height:14px;display:block}
.fundflow-grade-tip{position:absolute;right:0;top:calc(100% + 10px);z-index:80;min-width:280px;max-width:360px;padding:12px;border:1px solid rgba(59,130,246,.34);border-radius:14px;background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(2,6,23,.98));box-shadow:0 22px 60px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.04) inset;color:var(--text);opacity:0;visibility:hidden;transform:translateY(-4px);pointer-events:auto;transition:opacity .16s ease,transform .16s ease,visibility .16s ease;text-align:left}
.fundflow-grade-tip:before{content:"";position:absolute;right:18px;top:-7px;width:12px;height:12px;background:rgba(15,23,42,.98);border-left:1px solid rgba(59,130,246,.34);border-top:1px solid rgba(59,130,246,.34);transform:rotate(45deg)}
.fundflow-grade-wrap:hover .fundflow-grade-tip{opacity:1;visibility:visible;transform:translateY(0)}
.fundflow-grade-tip-title{font-size:13px;font-weight:900;color:var(--gold);margin-bottom:4px}
.fundflow-grade-tip-current,.fundflow-grade-tip-score{font-size:11px;line-height:1.5;color:var(--text2)}
.fundflow-grade-tip-list{display:grid;gap:4px;margin-top:9px;max-height:320px;overflow:auto;padding-right:2px}
.fundflow-grade-tip-row{display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:start;padding:5px 7px;border-radius:9px;background:rgba(255,255,255,.025);border:1px solid transparent}
.fundflow-grade-tip-row span{font-size:12px;font-weight:900;color:var(--text)}
.fundflow-grade-tip-row em{font-style:normal;font-size:10px;line-height:1.35;color:var(--text3)}
.fundflow-grade-tip-row.active{background:rgba(240,185,11,.1);border-color:rgba(240,185,11,.28)}
.fundflow-grade-tip-row.active span{color:var(--gold)}
.fundflow-grade-tip-row.active em{color:var(--text2)}
@media(max-width:720px){.fundflow-symbols-input{min-width:0;width:100%}.fundflow-controls{width:100%}.fundflow-refresh-btn{width:100%}}
