/* BSI live hashrate widget: farm total + last updated. Uses the crypto.css variables; falls back if absent. */
.cx-hr {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
  max-width: none; width: auto; box-sizing: border-box; margin: 0 0 22px; padding: 18px 20px 14px;
  background: #181b20; border: 1px solid var(--cx-line, #2a2e35); border-top: 3px solid var(--cx-xmr, #F26822);
  border-radius: 10px; color: var(--cx-text, #c9ced6);
}
.cx-hr-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.cx-hr-label { margin: 0; font-family: var(--cx-mono, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cx-xmr, #F26822); }
.cx-hr-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #5a616b; vertical-align: 1px; }
.cx-hr[data-state="live"] .cx-hr-dot { background: #3ccf6e; box-shadow: 0 0 0 3px rgba(60,207,110,.18); }
.cx-hr[data-state="stale"] .cx-hr-dot { background: #e0b341; }
.cx-hr[data-state="offline"] .cx-hr-dot { background: #8d96a3; }
.cx-hr-total { margin: 6px 0 2px; font-size: 34px; line-height: 1.15; font-weight: bold; color: #fff; }
.cx-hr-total small { font-size: 16px; font-weight: normal; color: var(--cx-xmr-light, #ff9257); margin-left: 6px; }
.cx-hr-nodes { margin: 0 0 4px; font-size: 13px; color: var(--cx-text, #c9ced6); }
.cx-hr-meta { margin: 0; font-size: 12px; color: var(--cx-dim, #8d96a3); }
.cx-hr-note { margin: 8px 0 0; font-size: 12px; color: #e0b341; }
.cx-hr[hidden], .cx-hr-note[hidden], .cx-hr-nodes[hidden] { display: none; }
@media screen and (max-width: 560px) {
  .cx-hr { padding: 14px 14px 12px; }
  .cx-hr-total { font-size: 28px; }
}
/* Phones: the site's mobile.css sets every .container_12 p/li/span to 16px; restore the widget's scale. */
@media screen and (max-width: 600px) {
  .container_12 .cx-hr p.cx-hr-total { font-size: 30px; line-height: 1.15; }
  .container_12 .cx-hr .cx-hr-total small { font-size: 16px; }
  .container_12 .cx-hr p.cx-hr-label { font-size: 11px; }
  .container_12 .cx-hr p.cx-hr-meta, .container_12 .cx-hr p.cx-hr-note,
  .container_12 .cx-hr p.cx-hr-nodes { font-size: 13px; line-height: 1.45; }
}

/* Two figures side by side (XMRig total and P2Pool total), one column on phones. */
.cx-hr-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 10px 0 2px; }
.cx-hr-fig { min-width: 0; padding-top: 10px; border-top: 1px solid var(--cx-line, #2a2e35); }
.cx-hr-figlabel { margin: 0; font-family: var(--cx-mono, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--cx-dim, #8d96a3); }
.cx-hr-p2total { margin: 6px 0 2px; font-size: 34px; line-height: 1.15; font-weight: bold; color: #fff; }
.cx-hr-p2total small { font-size: 16px; font-weight: normal; color: var(--cx-xmr-light, #ff9257); margin-left: 6px; }
.cx-hr-p2detail, .cx-hr-p2ext { margin: 0 0 4px; font-size: 13px; color: var(--cx-text, #c9ced6); }
.cx-hr-p2detail[hidden], .cx-hr-p2ext[hidden] { display: none; }
@media screen and (max-width: 600px) {
  .cx-hr-figs { grid-template-columns: 1fr; }
  .container_12 .cx-hr p.cx-hr-p2total { font-size: 30px; line-height: 1.15; }
  .container_12 .cx-hr .cx-hr-p2total small { font-size: 16px; }
  .container_12 .cx-hr p.cx-hr-figlabel { font-size: 11px; }
  .container_12 .cx-hr p.cx-hr-p2detail, .container_12 .cx-hr p.cx-hr-p2ext { font-size: 13px; line-height: 1.45; }
}
