/* BTCMiner · Diseño de tarjeta idéntico al ejemplo compacto compartido. */
.page-content.btcm-machine-layout > .section-head{order:0;display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0 0 1px}
.page-content.btcm-machine-layout > .owned-machine{order:1}
.page-content.btcm-machine-layout > .empty{order:1}
.page-content.btcm-machine-layout > .notice{order:5;margin-top:8px}
.page-content.btcm-machine-layout > .page-title{order:3;margin-top:20px;padding-top:23px;border-top:1px solid #2e475e}
.page-content.btcm-machine-layout > .machines-list{order:4}
.page-content.btcm-machine-layout{gap:12px}
.page-content.btcm-machine-layout .section-head h3{font-size:18px;letter-spacing:-.4px}
.page-content.btcm-machine-layout .owned-machine.btcm-machine-enhanced{
 background:#152b3d;
 border:1px solid #30475b;
 border-radius:18px;
 box-shadow:none;
 padding:13px 14px 12px;
 min-height:0;
 margin:0;
 overflow:hidden;
 position:relative;
 cursor:pointer;
 -webkit-tap-highlight-color:transparent
}
.btcm-machine-enhanced::before{display:none}
.btcm-machine-enhanced > div:first-child{display:flex;align-items:center;gap:8px!important;min-height:24px}
.btcm-machine-enhanced > div:first-child svg{width:21px;height:21px;color:#fbb83d;flex-shrink:0}
.btcm-machine-enhanced > div:first-child strong{font-size:16px;line-height:1.2;font-weight:750;letter-spacing:-.2px;color:#f5f8fa;flex:1;min-width:0}
.btcm-machine-enhanced .owned-meta{display:none!important}
.btcm-machine-enhanced .btcm-live-badge{
 display:inline-flex;align-items:center;gap:5px;
 border:0!important;background:none!important;
 padding:0!important;border-radius:0;
 color:#89dab7;font-size:11px;font-weight:650;line-height:1.2;
 white-space:nowrap
}
.btcm-machine-enhanced .btcm-live-badge::before{
 content:"✓";font-size:9px;line-height:1;
 display:inline-flex;align-items:center;justify-content:center;
 width:13px;height:13px;border:1.5px solid currentColor;border-radius:50%;box-sizing:border-box
}
.btcm-machine-enhanced .btcm-live-badge[data-status="finalizada"]{color:#b4c5d0}
.btcm-machine-enhanced .btcm-live-badge[data-status="pendiente"]{color:#f0c278}
.btcm-machine-enhanced .btcm-live-badge[data-status="sin-datos"]{color:#b9c8d2}
.btcm-machine-enhanced .btcm-live-content{margin-top:12px;display:flex;flex-direction:column;gap:12px}
.btcm-machine-enhanced .btcm-live-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;max-width:none}
.btcm-machine-enhanced .btcm-live-metric{background:none!important;border:0!important;border-radius:0;padding:0!important;min-width:0}
.btcm-machine-enhanced .btcm-live-metric-label{display:block;font-size:11px;color:#a6b8c8;font-weight:500;margin-bottom:4px;line-height:1.35}
.btcm-machine-enhanced .btcm-live-metric-value{display:block;font-size:19px;font-weight:750;line-height:1.3;color:#f2f6fa;letter-spacing:-.45px;white-space:nowrap;font-variant-numeric:tabular-nums}
.btcm-machine-enhanced .btcm-live-metric-accredited .btcm-live-metric-value{color:#79dda9}
.btcm-machine-enhanced .btcm-live-progress{margin:1px 0 0;display:block}
.btcm-machine-enhanced .btcm-live-track{width:100%;height:5px;background:#394e60;border-radius:50px;overflow:hidden}
.btcm-machine-enhanced .btcm-live-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#ec9b35,#ffd17b);border-radius:50px;transition:width .6s ease}
.btcm-machine-enhanced .btcm-live-timing{border:0;padding:0;display:block;margin:0}
.btcm-machine-enhanced .btcm-live-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:17px}
.btcm-machine-enhanced .btcm-live-remaining{font-size:11px;font-weight:450;color:#a5b7c7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btcm-machine-enhanced .btcm-live-percent{font-size:11px;font-weight:700;color:#ffbd55;white-space:nowrap;font-variant-numeric:tabular-nums}
.btcm-machine-enhanced .btcm-live-dates{display:none;justify-content:space-between;gap:8px;color:#94b2c6;font-size:10px}
.btcm-machine-enhanced.btcm-machine-expanded .btcm-live-dates{display:flex;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px solid #385065}
.btcm-machine-enhanced:focus-visible{outline:2px solid #ffc96c;outline-offset:3px}
.btcm-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}
.btcm-summary-count{color:#f0c679;font-size:11px;font-weight:750}
.btcm-summary-sync{color:#8da8bd;font-size:10px}
.btcm-summary-refresh{border:1px solid #4b647a;background:#253a4f;color:#d9e9f7;border-radius:8px;min-width:31px;min-height:31px;font-size:18px;cursor:pointer}
.btcm-summary-refresh:focus-visible{outline:2px solid #ffc96c;outline-offset:2px}
@media(max-width:380px){
 .page-content.btcm-machine-layout > .owned-machine.btcm-machine-enhanced{padding:12px}
 .btcm-machine-enhanced .btcm-live-metric-value{font-size:17px}
 .btcm-machine-enhanced .btcm-live-values{gap:7px}
}
@media(prefers-reduced-motion:reduce){.btcm-live-fill{transition:none}}

/* Reserve the final machine card footprint while the authenticated data loads. */
.page-content:has(> .machines-list) > .owned-machine:not(.btcm-machine-enhanced){
 min-height:230px!important;position:relative!important;overflow:hidden!important;
 background:#152b3d!important;border:1px solid #30475b!important;border-radius:18px!important;
}
.page-content:has(> .machines-list) > .owned-machine:not(.btcm-machine-enhanced) > *{visibility:hidden!important}
.page-content:has(> .machines-list) > .owned-machine:not(.btcm-machine-enhanced)::after{
 content:"";position:absolute;inset:16px;border-radius:12px;
 background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.055) 45%,transparent 75%),linear-gradient(#243d50,#243d50) 0 0/52% 22px no-repeat,linear-gradient(#243d50,#243d50) 0 48px/40% 36px no-repeat,linear-gradient(#243d50,#243d50) 100% 48px/38% 36px no-repeat,linear-gradient(#30475b,#30475b) 0 118px/100% 8px no-repeat;
 background-repeat:no-repeat;animation:btcm-owned-shimmer 1.7s ease-in-out infinite alternate;
}
@keyframes btcm-owned-shimmer{from{opacity:.45}to{opacity:.85}}
.btcm-machine-fallback .page-content:has(> .machines-list) > .owned-machine:not(.btcm-machine-enhanced){min-height:0!important}
.btcm-machine-fallback .page-content:has(> .machines-list) > .owned-machine:not(.btcm-machine-enhanced) > *{visibility:visible!important}
.btcm-machine-fallback .page-content:has(> .machines-list) > .owned-machine:not(.btcm-machine-enhanced)::after{display:none}
@media(prefers-reduced-motion:reduce){.page-content:has(> .machines-list) > .owned-machine:not(.btcm-machine-enhanced)::after{animation:none}}
