html,body{margin:0;padding:0;font-family:-apple-system,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;background:#0b1026;color:#c8d2e8}
*{box-sizing:border-box}
a{color:#5da2ff;text-decoration:none}
::selection{background:rgba(93,162,255,.4)}
/* ---------- hero ---------- */
.hero{position:relative;padding:64px 32px 42px;text-align:center;
 background:radial-gradient(ellipse at 50% -20%,rgba(255,125,77,.28) 0%,rgba(11,16,38,0) 60%),
 radial-gradient(ellipse at 50% -10%,rgba(43,84,255,.4) 0%,rgba(11,16,38,0) 65%),
 linear-gradient(160deg,#0b1026 0%,#101a3d 55%,#0b1026 100%);
 border-bottom:1px solid rgba(120,150,255,.15)}
.hero h1{margin:0 0 14px;font-size:34px;letter-spacing:6px;color:#eef3ff}
.hero h1 span{background:linear-gradient(90deg,#ffb46e,#ff7d4d,#ffd66e);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{margin:0 auto;max-width:860px;font-size:14px;color:#8fa1c7;line-height:1.9}
.hero .meta{margin-top:22px;font-size:12px;color:#5f719c}
.badges{margin-top:16px}
.badges span{display:inline-block;margin:0 5px;padding:4px 14px;border:1px solid rgba(255,166,110,.35);border-radius:14px;font-size:12px;color:#ffd9a8}
/* ---------- layout ---------- */
.wrap{width:96%;max-width:1680px;margin:0 auto}
section{padding:36px 0 8px}
.sec-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid rgba(120,150,255,.1)}
.sec-head .tt{position:relative;padding-left:13px;font-size:17px;font-weight:600;color:#eef3ff;letter-spacing:1px}
.sec-head .tt::before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:2px;background:linear-gradient(180deg,#ffb46e,#ff7d4d)}
.sec-head .desc{font-size:12px;color:#5f719c;line-height:1.6}
/* ---------- kpi ---------- */
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:14px 0 4px}
.kpi{position:relative;padding:20px 22px;border:1px solid rgba(120,150,255,.18);border-radius:10px;
 background:linear-gradient(150deg,rgba(38,58,130,.35),rgba(20,30,70,.25));overflow:hidden}
.kpi::after{content:'';position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(255,150,80,.22),transparent 70%)}
.kpi .num{font-size:30px;font-weight:700;color:#fff;font-family:Consolas,monospace}
.kpi .num i{font-style:normal;font-size:13px;color:#8fa1c7;margin-left:4px}
.kpi .label{margin-top:6px;font-size:13px;color:#8fa1c7}
.kpi .trend{margin-top:4px;font-size:12px;color:#ffb46e}
/* ---------- city map ---------- */
.city-panel{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;margin:14px 0 6px}
.city-chart{position:relative;padding:6px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:520px}
.city-chart #city-map{width:100%;height:100%}
.map-legend{position:absolute;left:14px;top:14px;z-index:5;display:flex;flex-direction:column;gap:7px;padding:10px 14px;border-radius:8px;background:rgba(11,16,38,.72);border:1px solid rgba(120,150,255,.22);font-size:12px;color:#9fb4dd;backdrop-filter:blur(2px)}
.map-legend span{display:flex;align-items:center;white-space:nowrap}
.map-legend i{width:10px;height:10px;border-radius:50%;margin-right:8px;flex:none}
.map-legend em{font-style:normal;margin-left:12px;color:#5f719c;font-family:Consolas,monospace}
.city-rank{border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:520px;overflow:auto}
.city-rank h4{margin:0;padding:14px 16px;font-size:14px;color:#9fb4dd;border-bottom:1px solid rgba(120,150,255,.12)}
.city-bar{display:flex;align-items:center;margin:9px 10px;font-size:12px;cursor:pointer;border-radius:6px;padding:2px 6px}
.city-bar:hover{background:rgba(63,140,255,.08)}
.city-bar .cn{width:92px;flex:none;color:#c3cee6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.city-bar .track{display:block;flex:1;height:8px;border-radius:4px;background:rgba(120,150,255,.12);margin:0 8px;overflow:hidden}
.city-bar .fill{display:block;height:8px;border-radius:4px;background:linear-gradient(90deg,#2f7bff,#ffb46e);min-width:4px}
.city-bar .val{width:104px;flex:none;text-align:right;color:#8fa1c7;font-family:Consolas,monospace;white-space:nowrap}
/* ---------- food table ---------- */
.food-panel{display:grid;grid-template-columns:1.55fr 1fr;gap:16px;margin:14px 0 6px;align-items:start}
.food-table-wrap{border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);display:flex;flex-direction:column;overflow:hidden;height:520px}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px;border-bottom:1px solid rgba(120,150,255,.12)}
.chip{padding:3px 12px;border-radius:12px;border:1px solid rgba(120,150,255,.25);font-size:12px;color:#9fb4dd;cursor:pointer;user-select:none}
.chip:hover{color:#ffd9a8;border-color:rgba(255,166,110,.45)}
.chip.on{background:rgba(255,125,77,.18);border-color:rgba(255,150,80,.5);color:#ffd9a8}
.table-scroll{overflow:auto;flex:1;min-height:0}
table.ft{width:100%;border-collapse:collapse;font-size:12.5px}
table.ft thead th{position:sticky;top:0;background:#16214a;color:#9fb4dd;padding:9px 12px;text-align:left;font-weight:600;z-index:2}
table.ft td{padding:8px 12px;border-top:1px solid rgba(120,150,255,.08);color:#c3cee6;vertical-align:top}
table.ft tr.item{cursor:pointer}
table.ft tr.item:hover,table.ft tr.item.hi{background:rgba(255,125,77,.08)}
table.ft .f-name{font-weight:600;color:#e8eeff}
.t-sales{font-family:Consolas,monospace;color:#ffd66e;white-space:nowrap}
.t-cat{display:inline-block;padding:1px 8px;border-radius:9px;font-size:11px;background:rgba(63,140,255,.18);color:#7ecbff;white-space:nowrap}
.t-intro{color:#8fa1c7;font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* ---------- category ---------- */
.cat-panel{display:grid;grid-template-columns:1fr 1.35fr;gap:16px;margin:14px 0 6px}
.cat-chart{padding:14px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:460px}
.cat-bar-box{border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:460px;padding:14px}
/* ---------- modal ---------- */
.modal-mask{position:fixed;inset:0;background:rgba(5,8,22,.66);z-index:50;display:none;align-items:center;justify-content:center;backdrop-filter:blur(2px)}
.modal-mask.show{display:flex}
.modal{width:min(680px,92vw);max-height:82vh;overflow:auto;border-radius:12px;border:1px solid rgba(120,150,255,.25);background:linear-gradient(160deg,#111a3e,#0d1430);padding:22px 26px;box-shadow:0 18px 60px rgba(0,0,0,.5)}
.modal h3{margin:0 0 4px;font-size:19px;color:#fff;letter-spacing:1px}
.modal .sub{font-size:12px;color:#8fa1c7;margin-bottom:14px}
.modal .m-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.modal .m-tag{padding:3px 12px;border-radius:12px;font-size:12px;background:rgba(255,125,77,.15);color:#ffd9a8;border:1px solid rgba(255,150,80,.35)}
.modal .m-intro{font-size:13.5px;line-height:1.9;color:#c8d2e8;background:rgba(63,140,255,.06);border:1px dashed rgba(120,150,255,.2);border-radius:8px;padding:12px 14px;margin-bottom:14px}
.modal .m-list h5{margin:0 0 8px;font-size:13px;color:#9fb4dd}
.modal .m-food{display:flex;justify-content:space-between;font-size:12.5px;color:#c3cee6;padding:6px 10px;border-radius:6px;cursor:pointer}
.modal .m-food:hover{background:rgba(63,140,255,.08)}
.modal .m-food b{color:#ffd66e;font-family:Consolas,monospace;font-weight:400}
.modal .close{float:right;cursor:pointer;color:#5f719c;font-size:20px;line-height:1;padding:0 4px}
.modal .close:hover{color:#ff9d9d}
/* ---------- footer ---------- */
footer{margin-top:50px;padding:26px 24px;border-top:1px solid rgba(120,150,255,.12);text-align:center;font-size:12px;color:#5f719c;line-height:2}
/* ---------- responsive ---------- */
@media (max-width:960px){
 .kpis{grid-template-columns:repeat(2,1fr)}
 .city-panel,.food-panel,.cat-panel{grid-template-columns:1fr}
 .city-chart{height:420px}
 .food-table-wrap{height:auto}
 .cat-chart,.cat-bar-box{height:380px}
 .hero h1{font-size:24px;letter-spacing:3px}
 .sec-head .tt{font-size:15px}
}
/* scrollbar */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:rgba(120,150,255,.25);border-radius:4px}
::-webkit-scrollbar-track{background:transparent}