/* ECXBay v4.7 — typography parity and working sidechain console */
#ecxm-app.ecxbay-intelligence{
  font-family:Inter,"Segoe UI",Roboto,Arial,ui-sans-serif,system-ui,sans-serif;
  font-size:14px;line-height:1.55;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
#ecxm-app .ecxi-box-head h3,#ecxm-app .intel-panel-head h2{
  font-size:clamp(18px,1.4vw,21px);font-weight:800;line-height:1.25;
}
#ecxm-app .ecxi-box-head small,#ecxm-app .intel-kicker{
  font-size:11px;font-weight:800;letter-spacing:.09em;
}
#ecxm-app .ecxi-hint,#ecxm-app .ecxi-drivechains .ecxi-hint,#ecxm-app .ecxi-drivechains>p{
  font-size:13px;line-height:1.62;
}
#ecxm-app .ecxi-blockfab-heading p{font-size:14px;line-height:1.55}
#ecxm-app .ecxi-blockfab-heading h2{font-size:clamp(24px,2.1vw,31px)}
#ecxm-app .ecxi-drivechains{gap:0;min-width:0;background:
 radial-gradient(ellipse at 85% 0%,rgba(31,149,196,.08),transparent 35%),
 linear-gradient(145deg,rgba(12,27,49,.99),rgba(6,17,33,.99));}
#ecxm-app .ecxi-drive-head{gap:14px;align-items:center;justify-content:space-between;margin-bottom:8px}
#ecxm-app .ecxi-drive-head h3{font-size:21px;line-height:1.2;letter-spacing:-.025em}
#ecxm-app .ecxi-drive-head .ecxi-led-beta{flex-shrink:0;font-size:11px;line-height:1.25;padding:8px 12px;letter-spacing:.045em}
#ecxm-app .ecxi-drivechains .ecxi-drive-intro{font-size:14px;line-height:1.6;color:#b3cbe0;margin:6px 0 16px}
#ecxm-app .ecxi-drive-status{display:grid;grid-template-columns:1.1fr .9fr .85fr;gap:9px;margin-bottom:18px}
#ecxm-app .ecxi-drive-status-item{min-width:0;display:grid;gap:5px;padding:14px;border:1px solid rgba(93,163,210,.2);border-radius:15px;background:linear-gradient(155deg,rgba(14,38,61,.84),rgba(9,24,45,.87));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
#ecxm-app .ecxi-drive-status-item small{font-size:10px;letter-spacing:.075em;color:#9eb8d4;font-weight:750;line-height:1.35}
#ecxm-app .ecxi-drive-status-item strong{font-size:clamp(13px,1vw,16px);font-weight:800;color:#80eddf;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#ecxm-app .ecxi-drive-status-item strong.is-offline{color:#ffa7b1}
#ecxm-app .ecxi-drive-controls{display:flex;align-items:end;gap:12px;margin-bottom:14px}
#ecxm-app .ecxi-drive-filter{display:grid;gap:6px;min-width:0;flex:1;color:#acc7df;font-size:12px;font-weight:750}
#ecxm-app .ecxi-drive-filter input{width:100%;min-width:0;min-height:44px;background:#061628;border:1px solid rgba(100,171,215,.35);border-radius:13px;padding:10px 14px;color:#f2faff;font-size:14px;outline:none}
#ecxm-app .ecxi-drive-filter input:focus{border-color:#68e9e3;box-shadow:0 0 0 3px rgba(77,221,225,.12)}
#ecxm-app .ecxi-drive-filter input::placeholder{color:#849eb8}
#ecxm-app .ecxi-drive-refresh{min-height:44px;padding:10px 14px;border:1px solid rgba(69,214,216,.35);border-radius:13px;background:rgba(36,139,172,.18);color:#d7f9ff;font-size:13px;font-weight:750;white-space:nowrap;transition:background .2s,border-color .2s}
#ecxm-app .ecxi-drive-refresh:hover{background:rgba(36,139,172,.28);border-color:#5fdcdb}
#ecxm-app .ecxi-drive-refresh:disabled{cursor:wait;opacity:.55}
#ecxm-app .ecxi-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#ecxm-app .ecxi-slot-card{width:100%;min-width:0;min-height:77px;display:grid;grid-template-columns:52px minmax(0,1fr) 15px;align-items:center;gap:9px;padding:10px 12px;text-align:left;cursor:pointer;color:#eaf8ff;background:linear-gradient(135deg,rgba(14,36,58,.88),rgba(9,25,46,.96));border:1px solid rgba(96,160,215,.22);border-radius:15px;transition:border-color .18s,background .18s,transform .18s}
#ecxm-app .ecxi-slot-card:hover{transform:translateY(-2px);border-color:rgba(73,213,238,.58);background:linear-gradient(135deg,rgba(18,52,74,.9),rgba(15,30,56,.97))}
#ecxm-app .ecxi-slot-card[aria-pressed="true"]{border-color:#56d9ee;background:linear-gradient(120deg,rgba(20,75,87,.7),rgba(21,40,71,.94));box-shadow:inset 0 0 0 1px rgba(74,231,235,.14),0 9px 22px rgba(13,120,159,.12)}
#ecxm-app .ecxi-slot-number{display:grid;place-items:center;width:52px;height:49px;border-radius:12px;font-variant-numeric:tabular-nums;background:linear-gradient(120deg,rgba(58,176,211,.2),rgba(116,81,216,.18));color:#8debe6;font-weight:850;font-size:15px}
#ecxm-app .ecxi-slot-info{display:grid;gap:5px;min-width:0}
#ecxm-app .ecxi-slot-info strong{font-size:15px;line-height:1.2;color:#f2faff;font-weight:800;overflow-wrap:anywhere}
#ecxm-app .ecxi-slot-info small{font-size:11px;line-height:1.35;color:#9cb7d0}
#ecxm-app .ecxi-slot-arrow{color:#6aafbd;font-size:17px}
#ecxm-app .ecxi-slot-empty{grid-column:1/-1;text-align:center;padding:15px;color:#aac1d7;font-size:14px}
#ecxm-app .ecxi-slot-detail{display:grid;gap:11px;margin-top:14px;padding:16px 17px;border:1px solid rgba(81,213,220,.26);border-radius:16px;background:radial-gradient(circle at 92% 7%,rgba(34,190,204,.11),transparent 42%),linear-gradient(135deg,rgba(8,29,47,.96),rgba(13,23,47,.98));box-shadow:inset 0 1px 0 rgba(255,255,255,.055)}
#ecxm-app .ecxi-slot-focus{display:grid;gap:4px}
#ecxm-app .ecxi-slot-focus small{font-size:11px;letter-spacing:.105em;color:#7de2e4;font-weight:800}
#ecxm-app .ecxi-slot-focus strong{font-size:21px;font-weight:850;color:#fff;line-height:1.25}
#ecxm-app .ecxi-slot-focus span{font-size:13px;color:#b4cee3}
#ecxm-app .ecxi-slot-detail p{font-size:13px;line-height:1.6;color:#a9c5db;margin:0}
#ecxm-app .ecxi-slot-cta{display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid rgba(69,217,222,.32);border-radius:12px;padding:11px 14px;background:linear-gradient(135deg,#1e6c89,#17447c);color:#fff!important;font-size:13px;font-weight:800;text-decoration:none;transition:filter .2s}
#ecxm-app .ecxi-slot-cta:hover{filter:brightness(1.15)}
#ecxm-app .ecxi-drivefoot{font-size:12px;color:#94adc4;line-height:1.55;margin:13px 0 15px}
#ecxm-app .ecxi-drive-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#ecxm-app .ecxi-drive-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;text-align:center;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.4;color:#e8f9ff;border:1px solid rgba(100,175,218,.28);background:rgba(15,44,65,.8);border-radius:13px;transition:background .18s,border-color .18s}
#ecxm-app .ecxi-drive-actions a:hover{border-color:#65dddd;background:rgba(20,72,87,.8)}
@media(max-width:1350px){#ecxm-app .ecxi-drive-status{grid-template-columns:repeat(2,minmax(0,1fr))}#ecxm-app .ecxi-drive-status-item:first-child{grid-column:1/-1}#ecxm-app .ecxi-slot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:1100px){#ecxm-app .ecxi-drive-status{grid-template-columns:repeat(3,minmax(0,1fr))}#ecxm-app .ecxi-drive-status-item:first-child{grid-column:auto}#ecxm-app .ecxi-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#ecxm-app .ecxi-drive-head{align-items:flex-start;flex-direction:column}#ecxm-app .ecxi-drive-status{grid-template-columns:repeat(2,minmax(0,1fr))}#ecxm-app .ecxi-drive-status-item:first-child{grid-column:1/-1}#ecxm-app .ecxi-drive-actions{grid-template-columns:1fr}#ecxm-app .ecxi-drive-controls{flex-wrap:wrap}#ecxm-app .ecxi-drive-refresh{width:100%}}
@media(max-width:430px){#ecxm-app .ecxi-slot-grid{grid-template-columns:1fr}#ecxm-app .ecxi-drive-status{grid-template-columns:1fr}#ecxm-app .ecxi-drive-status-item:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){#ecxm-app .ecxi-slot-card,#ecxm-app .ecxi-slot-cta,#ecxm-app .ecxi-drive-refresh{transition:none!important}}
