.hx{--n:#0A1A33;--g:#C9A227;background:#f8f4ea;color:var(--n);padding:14px 16px 30px}
.hx-head h1{font-size:clamp(22px,3vw,32px);margin:2px 0 4px}.hx-head p{margin:0 0 10px;color:#3b4456;max-width:900px}
.hx-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.hx-layers{display:flex;background:#fff;border:1px solid #d8cfb8;border-radius:24px;overflow:hidden}
.hx-layers button,.hx-ftog{border:0;background:#fff;color:var(--n);font-weight:700;font-size:14px;padding:10px 14px;cursor:pointer}
.hx-layers button.on{background:var(--n);color:#F1D27A}.hx-ftog{display:none;border:1px solid #d8cfb8;border-radius:24px}
.hx-filters{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px 10px;background:#fff;border:1px solid #eadfc3;border-top:3px solid var(--g);border-radius:10px;padding:10px 12px;margin-bottom:8px}
.hx-filters label{display:flex;flex-direction:column;font-size:12px;font-weight:700;color:#5b6475;gap:3px}
.hx-filters select,.hx-filters input{font:inherit;font-size:14px;padding:7px 8px;border:1px solid #d8cfb8;border-radius:6px;background:#fff;color:var(--n);min-width:0}
.hx-filters .two{display:flex;gap:4px}.hx-filters .two input{width:50%}.hx-filters .chk{flex-direction:row;align-items:center;gap:6px;padding-top:18px}
.hx-filters .rst{align-self:end;background:var(--n);color:#F1D27A;border:0;border-radius:6px;padding:9px;font-weight:700;cursor:pointer}
.hx-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;min-height:4px}
.hx-chips button{border:1px solid var(--g);background:#fffaf0;color:var(--n);border-radius:16px;padding:5px 10px;font-size:13px;cursor:pointer}.hx-chips button b{margin-left:6px}
.hx-main{display:grid;grid-template-columns:1fr 340px;gap:10px;height:min(78vh,820px);min-height:520px}
.hx-map{position:relative;border-radius:14px;overflow:hidden;border:1px solid #1e293b;background:#0b1220;box-shadow:0 6px 24px rgba(10,26,51,.25)}#hmap{position:absolute;inset:0;background:#0b1220}
.hm-leg{position:absolute;z-index:5;left:10px;bottom:24px;background:rgba(11,18,32,.92);border:1px solid #1e293b;border-radius:10px;padding:8px 10px;font-size:12px;line-height:1.3;max-width:250px;color:#cbd5e1}
.hm-leg b{display:block;margin-bottom:4px}.hm-leg .sw{display:flex;align-items:center;gap:6px;margin:2px 0}.hm-leg i{display:inline-block;width:18px;height:12px;border-radius:2px;border:1px solid rgba(148,163,184,.4)}.hm-leg b{color:#e2e8f0}
.hx-card{background:#fff;border:1px solid #eadfc3;border-top:3px solid var(--g);border-radius:10px;padding:12px 14px;overflow:auto;font-size:13px}
.hx-card h3{margin:0;font-size:18px}.hx-card .sub{color:#5b6475;font-size:12px;margin:2px 0 8px}
.hx-card table{width:100%;border-collapse:collapse}.hx-card td{padding:3px 0;vertical-align:top}.hx-card td:last-child{text-align:right;font-weight:600}.hx-card .sh td{padding-top:9px;font-weight:700;color:var(--n)}
.hm-gap{font-weight:700;padding:7px 9px;border-radius:6px;margin:8px 0;font-size:13px}.hm-gap.up{background:#fdecea;color:#9b1c1c}.hm-gap.dn{background:#e8f3ec;color:#1d6b3a}.hm-gap.ok{background:#fffaf0;color:var(--n)}
.hx-card a.btn{display:inline-block;margin-top:6px;background:var(--n);color:#F1D27A;padding:8px 12px;border-radius:6px;text-decoration:none;font-weight:700}
.hx-table{background:#fff;border:1px solid #eadfc3;border-radius:10px;margin-top:12px;padding:10px 12px}
.hx-tbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.hx-tbar h2{font-size:18px;margin:0;flex:1}.hx-tbar input{padding:7px 9px;border:1px solid #d8cfb8;border-radius:6px;min-width:220px}#hcount{font-size:12px;color:#5b6475}
.hx-tw{max-height:520px;overflow:auto;margin-top:8px}
.hm-rank{width:100%;border-collapse:collapse;font-size:13px}.hm-rank th{text-align:left;font-size:12px;color:var(--n);border-bottom:2px solid var(--g);padding:6px 4px;position:sticky;top:0;background:#fff;cursor:pointer;white-space:nowrap;user-select:none}
.hm-rank th.num,.hm-rank td.num{text-align:right}.hm-rank th[aria-sort] :after{content:""}.hm-rank td{padding:6px 4px;border-bottom:1px solid #f0e9d6;cursor:pointer}.hm-rank tr:hover td,.hm-rank tr.sel td{background:#fbf3dc}
.sc-neg{color:#9b1c1c;font-weight:700}.sc-pos{color:#1d6b3a;font-weight:700}
.hx-srcw{margin-top:12px;background:#fff;border:1px solid #eadfc3;border-radius:10px;padding:6px 14px}
.hm-src{font-size:12.5px;color:#3b4456;line-height:1.5}.hm-src summary{cursor:pointer;font-weight:700;color:var(--n);font-size:15px;margin:6px 0}.hm-src li{margin:0 0 6px}
.hm-tt{position:absolute;z-index:6;pointer-events:none;background:#0f172a;border:1px solid #334155;border-radius:12px;padding:12px 14px;box-shadow:0 10px 30px rgba(0,0,0,.45);color:#cbd5e1;min-width:230px;max-width:300px}.hm-tip{font-size:13px;line-height:1.55;color:#cbd5e1}.hm-tip b{color:#f8fafc}.hm-tip .tv{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#4ade80;font-size:15px}.hm-tip .sc-neg{color:#fb7185}.hm-tip .sc-pos{color:#4ade80}.hm-tip small{color:#94a3b8}
@media(max-width:900px){.hx{padding:10px}.hx-main{grid-template-columns:1fr;height:auto}.hx-map{height:62svh;min-height:380px}.hx-card{max-height:none}
.hx-ftog{display:block}.hx-filters{display:none;grid-template-columns:1fr 1fr}.hx-filters.open{display:grid}.hx-layers button{padding:9px 10px;font-size:13px}
.hm-leg{font-size:11px;max-width:190px;bottom:12px}.hx-tbar input{min-width:0;width:100%}.hm-rank .hide-m{display:none}}
.hm-tip td{padding:2px 0;font-size:12.5px}.hm-tip td:last-child{text-align:right;font-family:ui-monospace,Menlo,monospace;color:#f8fafc}
