
/* DINASTY V73 — LIVE MEMBER DASHBOARD */

#live-dashboard {
    margin-bottom: 25px;
}

.live-dashboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 24px;
}

.live-dashboard-heading h2 {
    margin: 10px 0 0;
    font-size: 24px;
}

.live-network {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    letter-spacing: 1.2px;
    color: #A2B5D5;
}

.live-network i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6FB8FF;
    box-shadow: 0 0 12px #6FB8FF80;
}

#live-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(
        145deg,#234A82,#00133C
    );
    border: 1px solid #D4B47870;
    color: #F1D8A1;
    border-radius: 50px;
    font-size: 12px;
    padding: 12px 18px;
}

#live-refresh svg {
    width: 17px;
    height: 17px;
}

#live-refresh:disabled svg {
    animation: liveSpin 2s linear infinite;
}

.live-wallet-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px;
    margin-bottom: 22px;
    border-radius: 30px;
    border: 1px solid #D4B47880;

    background:
        repeating-radial-gradient(
            ellipse at 100% 0%,
            transparent 0 24px,
            #D4B47815 25px 26px
        ),
        radial-gradient(
            ellipse at 100% 0%,
            #3865A2,transparent 65%
        ),
        linear-gradient(
            130deg,#18386D,#00133C
        );

    box-shadow:
        0 16px 45px #00091B50,
        inset 0 1px 0 #D4B47840;
}

.live-wallet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.live-wallet-card span {
    color: #B9CCE8;
    font-size: 12px;
}

#live-wallet-pol,
.live-big-value {
    display: block;
    margin: 14px 0;
    font-size: clamp(24px,3vw,40px);
    color: #F4DCA5;
    font-weight: 800;
    letter-spacing: -1.4px;
    overflow-wrap: anywhere;
}

.live-wallet-top > div:first-child {
    min-width: 0;
}

.live-wallet-symbol {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 23px;
    border: 1px solid #D4B47880;
    color: #F4DCA5;
    background: #D4B47815;
}

.live-wallet-symbol svg {
    width: 34px;
    height: 34px;
}

.live-wallet-address {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    padding: 12px;
    background: #00102B60;
    border: 1px solid #FFFFFF15;
    border-radius: 16px;
}

#live-address {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: monospace;
}

#live-copy {
    flex-shrink: 0;
    border-radius: 50px;
    font-size: 11px;
    padding: 8px 14px;
}

.live-wallet-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
}

.live-stats {
    display: grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.live-stat {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid #D4B47830;

    background: linear-gradient(
        145deg,#18386B,#071B41
    );
}

.live-stat-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border-radius: 17px;
    border: 1px solid #FFFFFF30;
}

.live-stat-icon svg {
    width: 25px;
    height: 25px;
}

.live-blue {
    background: linear-gradient(
        145deg,#72B6FF,#265AC0
    );
    color: white;
}

.live-gold {
    background: linear-gradient(
        145deg,#FFE0A6,#AD7D35
    );
    color: #00133C;
}

.live-cyan {
    background: linear-gradient(
        145deg,#65D5DF,#087F93
    );
    color: white;
}

.live-rose {
    background: linear-gradient(
        145deg,#FFA3BD,#AB3568
    );
    color: white;
}

.live-stat-copy {
    min-width: 0;
}

.live-stat-copy span {
    color: #A2B5D5;
    font-size: 11px;
}

.live-stat-copy strong {
    display: block;
    color: #F4DCA5;
    font-size: 20px;
    margin-top: 9px;
    overflow-wrap: anywhere;
}

.live-secondary {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 20px;
}

.live-panel {
    min-width: 0;
    padding: 25px;
    border-radius: 25px;
    border: 1px solid #D4B47830;
    background: linear-gradient(
        145deg,#143365,#061A40
    );
    margin-bottom: 18px;
}

.live-panel h3 {
    font-size: 17px;
    margin: 0 0 22px;
}

.live-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid #FFFFFF12;
    font-size: 12px;
}

.live-data-row span {
    color: #B7C7E2;
}

.live-data-row strong {
    color: #F1D8A1;
    text-align: right;
}

.live-explorer {
    display: inline-flex;
    margin-top: 20px;
    color: #F1D8A1;
    font-size: 12px;
    text-decoration: none;
}

.live-position-row {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #FFFFFF12;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.live-position-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: #D4B47820;
    color: #F1D8A1;
    border: 1px solid #D4B47840;
    border-radius: 12px;
}

.live-position-row small {
    display: block;
    color: #A2B5D5;
    margin-top: 5px;
}

#live-update-status {
    color: #A2B5D5;
    font-size: 11px;
    line-height: 1.6;
}

@keyframes liveSpin {
    to { transform: rotate(360deg); }
}

@media(max-width:1200px) {

    .live-stats {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

@media(max-width:850px) {

    .live-secondary {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media(max-width:540px) {

    .live-dashboard-heading h2 {
        font-size: 19px;
    }

    #live-refresh {
        font-size: 10px;
        padding: 10px 12px;
    }

    .live-wallet-card {
        padding: 21px;
        border-radius: 25px;
    }

    .live-wallet-symbol {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .live-wallet-symbol svg {
        width: 25px;
        height: 25px;
    }

    .live-stats {
        gap: 11px;
    }

    .live-stat {
        padding: 16px;
        border-radius: 19px;
        gap: 13px;
    }

    .live-stat-copy strong {
        font-size: 17px;
    }

    .live-panel {
        padding: 19px;
        border-radius: 22px;
    }

    .live-position-row {
        grid-template-columns: 34px 1fr;
    }

    .live-position-row > span:last-child {
        grid-column: 2;
    }
}

@media(prefers-reduced-motion:reduce) {

    #live-refresh svg {
        animation: none !important;
    }
}

