/* Modern DeFi mining page. Overrides the legacy inline layout safely. */
:root {
    --op-bg: #0b0e11;
    --op-panel: #181a20;
    --op-card: rgba(30,35,41,.96);
    --op-line: rgba(255,255,255,.08);
    --op-text: #f5f5f5;
    --op-muted: #9aa4b2;
    --op-yellow: #fcd535;
    --op-green: #0ecb81;
    --op-red: #f6465d;
    --op-radius: 24px;
}
body {
    background:
        radial-gradient(circle at 12% 8%, rgba(14,203,129,.12), transparent 30%),
        radial-gradient(circle at 86% 10%, rgba(252,213,53,.10), transparent 28%),
        linear-gradient(180deg, #0b0e11 0%, #11141a 100%) !important;
    color: var(--op-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.css-ogtd7z { display: none !important; }
.css-1wr4jig {
    background: transparent !important;
}
.css-1odg5z2 {
    position: relative !important;
    top: 0 !important;
    height: 330px !important;
    overflow: hidden;
    background:
        radial-gradient(circle at 68% 42%, rgba(14,203,129,.22), transparent 22%),
        linear-gradient(120deg, #0b0e11 0%, #0d202d 50%, #11141a 100%) !important;
    border-bottom: 1px solid rgba(252,213,53,.14);
}
.css-1odg5z2::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, #11141a);
}
.css-1xrgo9z {
    width: min(1360px, calc(100vw - 96px));
    height: 330px !important;
    margin: 0 auto !important;
    padding: 56px 0 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.css-1xrgo9z > div:first-child {
    position: relative;
    z-index: 1;
}
.css-1xrgo9z p {
    margin: 0;
}
.css-1xrgo9z p:first-child {
    color: #fff;
    font-size: clamp(48px, 5vw, 76px) !important;
    line-height: 1;
    font-weight: 900;
}
.css-1xrgo9z p:last-child {
    max-width: 620px;
    margin-top: 18px;
    color: #c5ccd6;
    font-size: 18px !important;
    line-height: 1.7;
}
.css-1xrgo9z div[style*="position: absolute"] {
    position: relative !important;
    right: auto !important;
    z-index: 1;
    margin-left: auto;
}
.css-1xrgo9z img {
    max-width: min(520px, 38vw);
    height: auto;
    filter: drop-shadow(0 28px 70px rgba(14,203,129,.22));
}
.css-1ax9bc0 {
    position: relative !important;
    top: auto !important;
    z-index: 3 !important;
    margin-top: -52px !important;
    background: transparent !important;
    box-shadow: none !important;
}
.css-6mr8u2 {
    width: min(1360px, calc(100vw - 96px)) !important;
    max-width: none !important;
    display: flex !important;
    justify-content: flex-start !important;
}
.css-abpumn {
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--op-line);
    border-radius: 999px;
    background: rgba(30,35,41,.94);
    box-shadow: 0 18px 50px rgba(0,0,0,.26);
}
.css-1m3syfi,
.css-lk1png {
    min-width: 118px !important;
    padding: 12px 22px !important;
    border: 0 !important;
    border-radius: 999px;
    background: transparent !important;
    color: #c5ccd6 !important;
    font-size: 15px !important;
    font-weight: 900;
    text-align: center;
}
.css-1m3syfi {
    color: #181a20 !important;
    background: linear-gradient(135deg, var(--op-yellow), #f0b90b) !important;
}
.css-cbipbt {
    color: inherit !important;
}
#myminerbox,
#gxminerbox,
#dzminerbox,
#allminerbox {
    width: min(1360px, calc(100vw - 96px)) !important;
    min-height: 520px !important;
    margin: 0 auto !important;
    padding: 44px 0 90px !important;
    background: transparent !important;
}
#myminerbox > div,
#gxminerbox > div,
#dzminerbox > div,
#allminerbox > div {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 22px !important;
    padding: 24px !important;
    overflow: hidden;
    border: 1px solid var(--op-line);
    border-radius: var(--op-radius) !important;
    background:
        radial-gradient(circle at 90% 10%, rgba(14,203,129,.12), transparent 30%),
        linear-gradient(180deg, rgba(30,35,41,.98), rgba(17,20,26,.98)) !important;
    box-shadow: 0 24px 68px rgba(0,0,0,.28) !important;
}
#myminerbox > div > div,
#gxminerbox > div > div,
#dzminerbox > div > div,
#allminerbox > div > div {
    height: auto !important;
}
#myminerbox > div > div:first-child,
#gxminerbox > div > div:first-child,
#dzminerbox > div > div:first-child,
#allminerbox > div > div:first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: 24px;
}
#myminerbox > div > div:first-child > div,
#gxminerbox > div > div:first-child > div,
#dzminerbox > div > div:first-child > div,
#allminerbox > div > div:first-child > div {
    width: auto !important;
    height: auto !important;
    float: none !important;
    padding: 0 !important;
}
#myminerbox div[style*="background:#fff"],
#gxminerbox div[style*="background:#fff"],
#dzminerbox div[style*="background:#fff"],
#allminerbox div[style*="background:#fff"] {
    background: transparent !important;
}
#myminerbox img,
#gxminerbox img,
#dzminerbox img,
#allminerbox img {
    max-width: 86px !important;
    width: 86px !important;
    height: 86px !important;
    object-fit: contain;
    padding: 14px;
    border: 1px solid rgba(252,213,53,.18);
    border-radius: 20px;
    background: rgba(252,213,53,.06);
}
#myminerbox span,
#gxminerbox span,
#dzminerbox span,
#allminerbox span {
    color: #c5ccd6 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}
#myminerbox .fch,
#gxminerbox .fch,
#dzminerbox .fch,
#allminerbox .fch {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}
#myminerbox .fcy,
#gxminerbox .fcy,
#dzminerbox .fcy,
#allminerbox .fcy {
    color: var(--op-green) !important;
}
#myminerbox div[style*="height:30px"],
#gxminerbox div[style*="height:30px"],
#dzminerbox div[style*="height:30px"],
#allminerbox div[style*="height:30px"] {
    height: auto !important;
    min-height: 28px;
    margin-bottom: 6px;
}
#myminerbox div[style*="min-height:30px"],
#gxminerbox div[style*="min-height:30px"],
#dzminerbox div[style*="min-height:30px"],
#allminerbox div[style*="min-height:30px"] {
    height: auto !important;
    min-height: 28px !important;
    margin-bottom: 8px;
}
.progress {
    height: 12px !important;
    overflow: hidden;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
}
.progress-bar {
    height: 100%;
    min-width: 42px;
    color: #181a20 !important;
    background: linear-gradient(90deg, var(--op-yellow), var(--op-green)) !important;
    font-size: 10px !important;
    font-weight: 900;
}
.css-bhso1m {
    min-width: 132px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    color: #181a20 !important;
    background: linear-gradient(135deg, var(--op-yellow), #f0b90b) !important;
    font-size: 14px !important;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 16px 32px rgba(240,185,11,.22);
}
@media (max-width: 980px) {
    .css-1xrgo9z,
    .css-6mr8u2,
    #myminerbox,
    #gxminerbox,
    #dzminerbox,
    #allminerbox {
        width: calc(100vw - 28px) !important;
    }
    .css-1xrgo9z img { display: none; }
    #myminerbox > div > div:first-child,
    #gxminerbox > div > div:first-child,
    #dzminerbox > div > div:first-child,
    #allminerbox > div > div:first-child {
        grid-template-columns: 1fr;
    }
}
