.dfFRVV {
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    text-align: center;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    height: 33px;
    line-height: 31px;
    padding: 0px 16px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    color: rgb(4, 6, 12);
    background-color: rgb(80, 210, 193);
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.bCwfQS {
    display: block;
    background: rgb(15, 26, 31);
    padding: 10px;
    color: rgb(246, 254, 253);
    box-sizing: border-box;
    width: 100%;
}

.bSUVbf {
    color: rgb(246, 254, 253);
    cursor: pointer;
    text-decoration: none;
}

.bNClEW {
    color: rgb(148, 158, 156);
    cursor: pointer;
    text-decoration: none;
}

.iYNzQx {
    color: rgb(246, 254, 253);
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 34px;
    line-height: 37px;
}

.jxtURp {
    color: rgb(246, 254, 253);
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
}

.jMYGSn {
    background: rgb(15, 26, 31);
    padding: 12px;
    border-radius: 10px;
}

.grbokk {
    cursor: pointer;
    color: rgb(246, 254, 253);
    border-bottom: 1px solid rgb(48, 48, 48);
    padding: 1px 10px 0px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease-in-out;
}

.bJnEQa {
    cursor: pointer;
    color: rgb(148, 158, 156);
    border-bottom: 1px solid rgb(48, 48, 48);
    padding: 1px 10px 0px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease-in-out;
}

.btYoYh {
    -webkit-box-flex: 1;
    flex-grow: 1;
    border-bottom: 1px solid rgb(48, 48, 48);
}

.iXJTpo.outline.disabled {
    opacity: 0.3;
}

.iXJTpo.outline {
    color: rgb(80, 210, 193);
    background-color: transparent;
    border: 1px solid rgb(80, 210, 193);
}

.iXJTpo.outline {
    color: rgb(80, 210, 193);
    background-color: transparent;
    border: 1px solid rgb(80, 210, 193);
}

.iXJTpo {
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    text-align: center;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    height: 40px;
    line-height: 38px;
    padding: 0px 16px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    color: rgb(4, 6, 12);
    background-color: rgb(80, 210, 193);
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.dFTCzX {
    color: rgb(246, 254, 253);
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 30px;
}

.cehqpH {
    color: rgb(246, 254, 253);
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
}

.gKZuHd {
    display: inline-block;
}

element.style {
    padding-top: 16px;
    padding-bottom: 0px;
    background: url(/images/back_lines.svg) 0% 0% / cover no-repeat rgb(4, 37, 31);
    height: 100%;
    position: relative;
    box-sizing: border-box;
    max-width: 100vw;
    overflow: auto;
    margin-top: -4px;
}

.dEDyOL>svg {
    transition: 0.3s;
}

.iYNzQx {
    color: rgb(246, 254, 253);
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 34px;
    line-height: 37px;
}

.jdojlf {
    display: block;
    width: 100%;
    cursor: pointer;
    outline: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    text-align: center;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    height: 40px;
    line-height: 38px;
    padding: 0px 16px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    color: rgb(4, 6, 12);
    background-color: rgb(80, 210, 193);
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.ghLAkI {
    transition: fill 0.2s ease-in-out;
}

.dpFCPO {
    border: 0px;
    outline: 0px;
    height: 31px;
    padding: 0px;
    line-height: 31px;
    background: transparent;
    color: rgb(246, 254, 253);
    -webkit-box-flex: 1;
    flex-grow: 1;
    width: inherit;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    cursor: default;
}

.bCwfSg {
    display: block;
    background: rgb(15, 26, 31);
    padding: 12px;
    color: rgb(246, 254, 253);
    box-sizing: border-box;
    width: 100%;
}

.cehqpH {
    color: rgb(246, 254, 253);
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
}

.bFBYgR {
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    color: rgb(246, 254, 253);
}

.bdKGzq {
    display: inline-flex;
    box-sizing: border-box;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    border: 1px solid rgb(39, 48, 53);
    border-radius: 8px;
    gap: 12px;
    padding: 8px 10px;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: rgb(148, 158, 156);
    white-space: nowrap;
    background-color: rgb(15, 26, 31);
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.iYfqHo.variant_black {
    background: transparent;
    border-color: rgb(39, 48, 53);
}

.iYfqHo {
    display: inline-flex;
    box-sizing: border-box;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    border: 1px solid rgb(39, 48, 53);
    background: rgb(27, 36, 41);
    line-height: 31px;
    border-radius: 8px;
    padding: 0px 12px 0px 10px;
    gap: 12px;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: rgb(148, 158, 156);
    white-space: nowrap;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.jmloEn td:first-child {
    margin-left: 0px !important;
}

.dEDyOL {
    display: inline-flex;
    box-sizing: border-box;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    border: none;
    background: transparent;
    line-height: 31px;
    border-radius: 8px;
    gap: 12px;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: rgb(148, 158, 156);
    white-space: nowrap;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}

.jXCepL {
    display: flex;
    width: 100%;
    border: 1px solid rgb(39, 48, 53);
    -webkit-box-align: center;
    align-items: center;
    box-sizing: border-box;
    background: transparent;
    height: 33px;
    border-radius: 8px;
    padding: 5px 12px 5px 10px;
    gap: 6px;
    font-family: OurFont, system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    font-style: normal;
    font-weight: 400;
    color: rgb(246, 254, 253);
    cursor: default;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}


/* MOBILE FIXES */

@media (max-width: 300px) {
    /* Fix root layout scaling */
    #root {
        width: 100% !important;
        overflow-x: hidden;
    }
    /* Top bar fix */
    .bCwfQS {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    /* Connect button always visible */
    .Connect-wallet {
        padding: 0 20px !important;
        height: 40px !important;
        font-size: 14px !important;
    }
    /* Replace 4-column stats with 2-column for mobile */
    .sc-idXgbr.jMYGSn {
        width: 100% !important;
    }
    .sc-fEXmlR[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* About + PNL cards stack vertically */
    .sc-fEXmlR[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    /* Prevent horizontal scroll */
    body,
    html {
        max-width: 60vw !important;
        overflow-x: hidden !important;
    }
    /* Fix oversized containers that break layout */
    div[style*="max-width: 1312px"] {
        max-width: 100% !important;
        padding: 12px !important;
    }
}


/* ===== GLOBAL FIXES ===== */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

#root {
    width: 100%;
    height: auto !important;
}


/* Main content container (the one with back_lines.svg background) */

.sc-fEXmlR.ejmSgi>div[style*="back_lines.svg"] {
    height: auto !important;
    /* override inline height:100% */
    max-width: 100vw !important;
    overflow-x: hidden !important;
}


/* ===== MOBILE LAYOUT ===== */

@media (max-width: 768px) {
    /* HEADER: allow wrapping so Connect button fits */
    .bCwfQS>div {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    /* Hide the long nav menu row on mobile, keep logo + Connect */
    .bCwfQS>div>div:nth-child(2) {
        display: none !important;
    }
    /* Make sure Connect button is visible and tappable */
    .bCwfQS .Connect-wallet {
        margin-left: auto;
        height: 40px !important;
        padding: 0 18px !important;
        font-size: 14px !important;
    }
    /* STATS ROW: 4 columns → 2 columns on mobile */
    .sc-fEXmlR.ejmSgi div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* ABOUT + PNL: 2 columns → 1 column stack */
    .sc-fEXmlR.ejmSgi div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    /* General safety: no horizontal scrolling in grids */
    .sc-fEXmlR.ejmSgi {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}