.cex-hot-page{height:calc(100vh - 104px);min-height:510px;display:flex;flex-direction:column;gap:16px;color:var(--text);font-size:12px}
.cex-hot-page button,.cex-hot-page input,.cex-hot-page select{font:inherit}
.cex-hot-head{height:30px;flex:0 0 30px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.cex-hot-title{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}.cex-hot-title h2{font-size:17px;font-weight:700;margin:0}.cex-hot-title span{font-size:11px;color:color-mix(in srgb,var(--muted) 65%,transparent)}
.cex-hot-actions{display:flex;gap:8px}.cex-hot-actions button{border:1px solid var(--border);background:var(--active);color:var(--text);font-size:11px;padding:6px 11px;border-radius:6px;white-space:nowrap;cursor:pointer}.cex-hot-actions button:hover{filter:brightness(.97)}
.cex-hot-filters{display:flex;align-items:center;align-content:flex-start;gap:7px;flex-wrap:wrap;flex:0 0 auto;min-height:80px;padding:10px 14px;background:var(--card);border:1px solid var(--border);border-radius:12px}
.cex-filter-group,.cex-filter-options{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
.cex-filter-group+.cex-filter-group{border-left:1px solid var(--border);padding-left:9px}
.cex-filter-label{font-size:11px;color:var(--muted);white-space:nowrap}.cex-filter-divider{width:1px;height:17px;background:var(--border);margin:0 2px}
.cex-hot-page .cex-chip{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:25px;padding:3px 7px;border:1px solid var(--border);border-radius:5px;background:var(--card);color:var(--muted);font-size:10px;white-space:nowrap;cursor:pointer}.cex-hot-page .cex-chip.on{border-color:rgba(82,146,240,.35);background:rgba(75,140,239,.08);color:#5a9ce1}.cex-hot-page .cex-chip:hover{color:var(--text)}
.cex-exmark{width:14px;height:14px;display:inline-grid;place-items:center;flex:0 0 14px;border-radius:3px;background:var(--cex-color);color:#fff;font-size:7px;font-weight:800}.cex-hot-page #cex-token-search{height:27px;width:176px;min-width:80px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);padding:0 10px;font-size:11px}.cex-hot-page #cex-token-search::placeholder{color:var(--muted)}
.cex-no-snapshot{flex:0 0 auto;border:1px solid rgba(214,167,58,.2);border-radius:7px;background:rgba(214,167,58,.09);color:#ba9338;padding:8px 11px;font-size:11px;line-height:17px}
.cex-rank-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;flex:1;min-height:0}
.cex-rank{min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(202,78,89,.16);border-radius:11px;background:var(--card)}.cex-rank.cex-in{border-color:rgba(45,176,107,.16)}
.cex-rank-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 45px;padding:8px 13px;border-bottom:1px solid var(--border)}.cex-rank-head h3{display:flex;align-items:center;gap:5px;margin:0;font-size:13px;color:#dd707b;white-space:nowrap}.cex-in .cex-rank-head h3{color:#51bd81}.cex-rank-head h3 span{display:inline-block;border-radius:3px;padding:2px 5px;background:rgba(209,76,93,.12);color:#dd707b;font-size:10px}.cex-in .cex-rank-head h3 span{background:rgba(50,182,103,.12);color:#51bd81}
.cex-rank-times{display:flex;gap:2px;white-space:nowrap}.cex-rank-times button{border:1px solid var(--border);border-radius:3px;background:var(--card);color:var(--muted);font-size:10px;padding:4px 5px;cursor:pointer;opacity:.65}.cex-rank-times button.on{opacity:1;color:var(--text);border-color:#b9bfc8;background:var(--active)}
.cex-rank-columns{display:grid;grid-template-columns:1fr .5fr .7fr .9fr .9fr .9fr .7fr;gap:4px;align-items:center;flex:0 0 29px;background:var(--active);border-bottom:1px solid var(--border);padding:6px 13px;color:var(--muted);font-size:10px;font-weight:600}.cex-rank-columns span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cex-rank-empty{flex:1;display:grid;place-items:center;color:var(--muted);font-size:12px;opacity:.8}
.cex-overlay{position:fixed;inset:0;z-index:85;display:grid;place-items:center;background:rgba(0,0,0,.6);padding:18px}.cex-dialog{width:min(640px,100%);max-height:80vh;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--card);box-shadow:0 20px 60px rgba(0,0,0,.22)}.cex-dialog-head{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:0 20px;border-bottom:1px solid var(--border)}.cex-dialog-head strong{font-size:14px}.cex-dialog-close{border:0;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}.cex-dialog-body{overflow-y:auto;padding:18px 20px}.cex-wallet-empty{min-height:96px;display:grid;place-items:center;color:var(--muted);font-size:12px}.cex-plain-note{margin:0 0 12px;color:var(--muted);font-size:11px;line-height:1.5}.cex-wallet-list{max-height:230px;overflow-y:auto;display:grid;gap:6px;margin-bottom:18px}.cex-wallet-row{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--border);border-radius:7px;font-size:11px}.cex-wallet-exchange{font-weight:600}.cex-wallet-chain{padding:2px 5px;border-radius:4px;background:var(--active);color:var(--muted);font-size:9px}.cex-wallet-address{font-family:monospace;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.cex-wallet-remark{color:var(--muted)}.cex-wallet-row button{border:0;background:transparent;cursor:pointer}.cex-delete{font-size:18px;color:var(--muted)}.cex-delete-confirm{color:#d45f66}.cex-delete-cancel{color:var(--muted)}
.cex-wallet-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:13px;border-top:1px solid var(--border)}.cex-wallet-form select,.cex-wallet-form input{height:30px;min-width:0;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:var(--bg);color:var(--text);font-size:11px}.cex-wallet-form select:first-child{width:96px}.cex-wallet-form select:nth-child(2){width:80px}.cex-wallet-form input:nth-child(3){flex:1;min-width:150px}.cex-wallet-form input:nth-child(4){width:95px}.cex-wallet-form .cex-action,.cex-dialog-body>.cex-action{height:30px;padding:0 12px;border:0;border-radius:6px;background:#0a0d17;color:#fff;white-space:nowrap;font-size:11px;font-weight:600;cursor:pointer}.cex-form-error{color:#d45f66;font-size:11px;margin:9px 0 0}
.dark .cex-no-snapshot{color:#d8ad4a}.dark .cex-wallet-form .cex-action,.dark .cex-dialog-body>.cex-action{background:#f4f5f6;color:#101318}
@media(max-width:900px){.cex-hot-filters{min-height:100px}.cex-hot-page{min-height:580px}.cex-rank-columns{font-size:9px}.cex-rank-head{padding:8px}.cex-rank-times{gap:1px}.cex-rank-times button{padding:4px 3px}}
@media(max-width:700px){.cex-hot-title h2{font-size:16px}.cex-dialog{width:min(640px,calc(100vw - 24px))}}
.cex-alert-dialog{width:min(860px,calc(100vw - 32px));height:auto;max-height:calc(100vh - 64px);border-radius:11px}
.cex-alert-dialog .cex-dialog-head{flex:0 0 50px;padding:0 20px}
.cex-alarm-scroll{padding:16px 20px;overflow-y:auto;min-height:0}
.cex-alarm-rule{border:1px solid var(--border);border-radius:9px;background:var(--card);padding:12px;margin-bottom:12px}
.cex-alarm-rule-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.cex-alarm-rule-top b{font-size:11px;font-weight:600}
.cex-alarm-rule-top button{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:14px;padding:0 3px}
.cex-alarm-first,.cex-alarm-three{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:8px}
.cex-alarm-first{grid-template-columns:140px minmax(0,1.28fr) minmax(0,1fr)}
.cex-alarm-field{display:block;min-width:0;font-size:10px;color:var(--muted)}
.cex-alarm-field>span,.cex-alarm-relation>span{display:block;margin-bottom:4px;line-height:14px}
.cex-alarm-field input,.cex-alarm-field select{width:100%;height:30px;padding:0 9px;border:1px solid var(--border);border-radius:5px;background:var(--bg);color:var(--text);font-size:11px;outline:0}
.cex-alarm-field input:focus,.cex-alarm-field select:focus{border-color:#90b7f6}
.cex-alarm-field input::placeholder{color:var(--muted)}
.cex-alarm-chips{display:flex;flex-wrap:wrap;gap:3px;min-height:30px;align-content:center}
.cex-hot-page .cex-alarm-chip{min-height:21px;border:1px solid var(--border);border-radius:4px;padding:2px 5px;background:var(--card);color:var(--muted);font-size:9px;line-height:14px;white-space:nowrap;cursor:pointer}
.cex-hot-page .cex-alarm-chip.on{border-color:rgba(82,146,240,.38);background:rgba(75,140,239,.1);color:#70a7ea}
.cex-alarm-relation{min-width:0;color:var(--muted);font-size:10px}
.cex-alarm-relation>span{display:inline-block;margin-right:7px}
.cex-alarm-relation>div{display:inline-flex;border:1px solid var(--border);border-radius:5px;overflow:hidden}
.cex-alarm-relation button{border:0;background:var(--card);color:var(--muted);font-size:9px;padding:2px 7px;cursor:pointer}
.cex-alarm-relation button.on{background:rgba(72,140,238,.11);color:#75a8eb}
.cex-alarm-relation small{display:block;margin-top:3px;line-height:12px;font-size:9px}
.cex-alarm-channel{display:grid;gap:8px}
.cex-alarm-endpoint{display:flex;gap:7px}
.cex-alarm-endpoint input{flex:1;min-width:0}
.cex-alarm-endpoint input:disabled{opacity:1;color:var(--muted);background:var(--bg)}
.cex-alarm-endpoint button{width:40px;flex:0 0 40px;height:30px;border:1px solid var(--border);border-radius:5px;background:var(--card);color:var(--muted);font-size:9px;opacity:.45}
.cex-alarm-bark{padding:8px 10px 10px;border:1px solid var(--border);border-radius:8px}
.cex-alarm-bark>b{display:block;margin-bottom:7px;color:#c7a03e;font-size:10px}
.cex-alarm-add{width:100%;height:36px;border:1px dashed var(--border);border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:11px}
.cex-alarm-add:disabled{opacity:.45;cursor:default}
.cex-alarm-disclosure{margin:8px 0 0;color:var(--muted);font-size:9px;line-height:1.35}
.cex-alarm-foot{flex:0 0 60px;display:flex;align-items:center;padding:10px 20px;border-top:1px solid var(--border)}
.cex-alarm-foot button{width:100%;height:36px;border:0;border-radius:6px;background:#080b17;color:white;font-size:11px;font-weight:700;cursor:pointer}
.dark .cex-alarm-foot button{background:#f4f5f6;color:#101318}
.cex-alarm-first{grid-template-columns:140px minmax(0,1fr) minmax(0,1fr)}
@media(max-width:900px){
  .cex-hot-page{width:100%;min-width:0;height:auto;min-height:0;gap:14px;padding-bottom:24px;overflow:visible}
  .cex-hot-head{height:auto;flex:0 0 auto;flex-direction:column;align-items:stretch;gap:10px}
  .cex-hot-title{white-space:normal;flex-wrap:wrap;gap:4px 10px}
  .cex-hot-title h2{width:auto;flex:0 1 auto;line-height:1.4;overflow-wrap:normal}
  .cex-hot-title span{width:auto;line-height:1.4;white-space:normal;overflow-wrap:normal}
  .cex-hot-actions{width:100%}
  .cex-hot-actions button{flex:1;min-width:0;min-height:36px;padding:7px 8px;white-space:normal;line-height:1.3}
  .cex-hot-filters{min-height:0;flex-direction:column;align-items:stretch;gap:12px;padding:14px}
  .cex-filter-group{display:block;width:100%}
  .cex-filter-group+.cex-filter-group{border-left:0;border-top:1px solid var(--border);padding:12px 0 0}
  .cex-filter-label{display:block;margin-bottom:8px;font-size:12px}
  .cex-filter-options{gap:7px}
  .cex-hot-page .cex-chip{min-height:32px;padding:6px 9px;font-size:11px}
  .cex-hot-page #cex-token-search{width:100%;min-width:0;height:36px;font-size:12px}
  .cex-no-snapshot{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
  .cex-rank-grid{grid-template-columns:minmax(0,1fr);gap:12px;flex:0 0 auto}
  .cex-rank{min-width:0;min-height:150px}
  .cex-rank-head{min-height:46px;height:auto;flex:0 0 auto;flex-wrap:wrap;gap:8px;padding:10px 12px}
  .cex-rank-head h3{font-size:12px}
  .cex-rank-times{max-width:100%;flex-wrap:wrap;gap:4px}
  .cex-rank-times button{min-width:28px;padding:5px 4px;font-size:10px}
  .cex-rank-columns{display:none}
  .cex-rank-empty{min-height:100px}
  .cex-wallet-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .cex-wallet-form select:first-child,.cex-wallet-form select:nth-child(2),.cex-wallet-form input:nth-child(3),.cex-wallet-form input:nth-child(4){width:100%;min-width:0}
  .cex-wallet-form input:nth-child(3),.cex-wallet-form input:nth-child(4),.cex-wallet-form .cex-action{grid-column:1/-1}
  .cex-wallet-row{flex-wrap:wrap}
  .cex-wallet-address{flex-basis:100%;order:3}
  .cex-wallet-remark{flex:1}
  .cex-alarm-first,.cex-alarm-three{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:560px){.cex-overlay{padding:10px}.cex-dialog,.cex-alert-dialog{width:100%;max-height:calc(100dvh - 20px)}.cex-dialog-head{padding:0 14px}.cex-dialog-body,.cex-alarm-scroll{padding:14px}.cex-alarm-rule{padding:12px}.cex-alarm-foot{padding:10px 14px}}
