?>

html body main.coin-profile{
    --coin-accent: #9b8cff;
    width: min(1120px, calc(100% - 40px)) !important;
    max-width: 1120px !important;
    align-self: center !important;
    margin: 0 auto !important;
    padding: 0 0 108px !important;
    color: #dce3f0;
    box-sizing: border-box;
}

.coin-profile *,
.coin-profile *::before,
.coin-profile *::after{
    box-sizing: border-box;
}

.coin-profile a{
    color: inherit;
}

/* Breadcrumb. Reset global nav geometry: this is navigation, not the site navbar. */
html body nav.coin-profile-breadcrumbs{
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #dce3f0;
    font-size: 13px;
    opacity: .58;
}

.coin-profile-breadcrumbs a{
    text-decoration: none;
}

.coin-profile-breadcrumbs a:hover{
    color: #9b8cff;
    opacity: 1;
}

/* Hero */
.coin-profile-hero{
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 34px;
    align-items: center;
    overflow: hidden;
    padding: 30px 32px;
    border: 1px solid #363d59;
    border-radius: calc(16px + 5px);
    background:
        radial-gradient(circle at 88% 5%, color-mix(in srgb, #9b8cff 10%, transparent), transparent 42%),
        #23273b;
    box-shadow: 0 14px 36px rgba(10, 12, 25, 0.20);
}

.coin-profile-identity{
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 20px;
}

.coin-profile-logo{
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    padding: 7px;
    object-fit: contain;
    border: 1px solid #363d59;
    border-radius: 21px;
    background: #1a1d2f;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.coin-profile-kicker,
.coin-profile-section-heading > div > span,
.coin-about-content > span,
.coin-node-eyebrow{
    display: block;
    margin-bottom: 6px;
    color: #dce3f0;
    font-size: 13px;
    font-weight: 680;
    letter-spacing: .075em;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: .52;
}

.coin-profile-identity h1{
    margin: 0;
    color: #f5f7ff;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 730;
    letter-spacing: -.028em;
    line-height: 1.06;
}

.coin-profile-identity h1 span{
    color: #dce3f0;
    font-size: .52em;
    font-weight: 620;
    letter-spacing: .01em;
    opacity: .52;
}

.coin-profile-identity p{
    max-width: 650px;
    margin: 11px 0 0;
    color: #dce3f0;
    font-size: 16px;
    line-height: 1.65;
    opacity: .78;
}

.coin-profile-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.coin-profile-badges span,
.coin-node-protocols span{
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border: 1px solid color-mix(in srgb, #9b8cff 24%, #363d59);
    border-radius: 999px;
    background: color-mix(in srgb, #9b8cff 6%, #23273b);
    color: #dce3f0;
    font-size: 13px;
    font-weight: 620;
    line-height: 1;
}

.coin-profile-price{
    min-width: 0;
    padding: 4px 0 4px 30px;
    border-left: 1px solid #363d59;
    text-align: right;
}

.coin-profile-price-label,
.coin-stat-card > span,
.coin-node-metrics > div > span{
    display: block;
    color: #dce3f0;
    font-size: 13px;
    line-height: 1.35;
    opacity: .58;
}

.coin-profile-price > strong{
    display: block;
    margin-top: 5px;
    color: #f5f7ff;
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 730;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.coin-profile-price > small{
    display: block;
    margin-top: 9px;
    color: #dce3f0;
    font-size: 13px;
    opacity: .46;
}

.coin-profile-change{
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 680;
}

.coin-profile-change small{
    font-size: 13px;
    font-weight: 520;
    opacity: .7;
}

.coin-profile-change.is-positive{ color: #2ca66f; }
.coin-profile-change.is-negative{ color: #d95c5c; }
.coin-profile-change.is-neutral{ color: #dce3f0; opacity: .58; }

/* Section headings */
.coin-profile-section{
    margin-top: 38px;
}

.coin-profile-section-heading{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
    padding: 0 2px;
}

.coin-profile-section-heading h2,
.coin-about h2,
.coin-related h2{
    margin: 0;
    color: #f5f7ff;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 690;
    letter-spacing: -.018em;
    line-height: 1.2;
}

.coin-profile-section-heading > p{
    max-width: 450px;
    margin: 0;
    color: #dce3f0;
    font-size: 14px;
    line-height: 1.45;
    text-align: right;
    opacity: .56;
}

.coin-profile-live{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dce3f0;
    font-size: 13px;
    white-space: nowrap;
    opacity: .7;
}

.coin-profile-live i{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ca66f;
    box-shadow: 0 0 0 4px rgba(44, 166, 111, .12);
}

/* KPI tiles: deliberately not a connected table */
.coin-stat-grid,
.coin-stat-grid-network{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.coin-stat-card{
    min-width: 0;
    min-height: 90px;
    padding: 17px 18px;
    border: 1px solid #363d59 !important;
    border-radius: calc(11px + 3px);
    background: #23273b;
    box-shadow: 0 10px 30px rgba(10, 12, 25, 0.22);
}

.coin-stat-card strong{
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: #f5f7ff;
    font-size: 17px;
    font-weight: 670;
    line-height: 1.24;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coin-stat-card strong small{
    color: #dce3f0;
    font-size: 13px;
    font-weight: 560;
    opacity: .48;
}

/* Node cards */
.coin-node-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.coin-node-card{
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid #363d59;
    border-radius: calc(16px + 2px);
    background: #23273b;
    box-shadow: 0 14px 36px rgba(10, 12, 25, 0.20);
}

.coin-node-card > header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 21px 22px 16px;
    border-bottom: 0;
}

.coin-node-card h3{
    margin: 0;
    color: #f5f7ff;
    font-size: 21px;
    font-weight: 710;
    letter-spacing: -.015em;
}

.coin-node-protocols{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.coin-node-metrics{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px 16px;
    flex: 1 1 auto;
}

.coin-node-metrics > div{
    min-width: 0;
    min-height: 80px;
    padding: 13px 14px;
    border: 0 !important;
    border-radius: calc(11px + 1px);
    background: color-mix(in srgb, #1a1d2f 56%, #23273b);
}

/* Three values visitors usually care about first. */
.coin-node-metrics > div:nth-child(1),
.coin-node-metrics > div:nth-child(5),
.coin-node-metrics > div:nth-child(8){
    background: color-mix(in srgb, #9b8cff 7%, #23273b);
}

.coin-node-metrics strong{
    display: block;
    margin-top: 6px;
    color: #f5f7ff;
    font-size: 16px;
    font-weight: 670;
    line-height: 1.28;
}

.coin-node-metrics strong small{
    color: #dce3f0;
    font-size: 13px;
    font-weight: 560;
    opacity: .48;
}

.coin-node-metrics > div > small{
    display: block;
    min-height: 15px;
    margin-top: 3px;
    color: #dce3f0;
    font-size: 13px;
    opacity: .5;
}

.coin-node-card > footer{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 17px;
    border-top: 0;
    background: transparent;
}

.coin-node-deploy{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid #59628d;
    border-radius: 11px;
    background: #303452;
    color: #f7f8ff !important;
    font-size: 14px;
    font-weight: 660;
    line-height: 1;
    text-decoration: none;
    transition: background-color .14s ease, color .14s ease, border-color .14s ease, transform .14s ease;
}

.coin-node-deploy:hover{
    border-color: #9b8cff;
    background: #9b8cff;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.coin-profile-estimate-note,
.coin-profile-source,
.coin-profile-footnote{
    color: #dce3f0;
    font-size: 13px;
    line-height: 1.5;
    opacity: .52;
}

.coin-profile-estimate-note{
    margin: 11px 2px 0;
}

/* Charts: one primary chart and one secondary chart. */
.coin-chart-grid{
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .8fr);
    gap: 14px;
}

.coin-chart-card{
    min-width: 0;
    height: 340px;
    padding: 19px 20px 16px;
    overflow: hidden;
    border: 1px solid #363d59;
    border-radius: calc(16px + 2px);
    background: #23273b;
    box-shadow: 0 10px 30px rgba(10, 12, 25, 0.22);
}

.coin-chart-card .chart-wrapper-priceChart,
.coin-chart-card .chart-wrapper-volumeChart{
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.coin-chart-card .chart-title-priceChart,
.coin-chart-card .chart-title-volumeChart{
    margin: 0 0 12px !important;
    color: #f5f7ff !important;
    font-size: 16px !important;
    font-weight: 680 !important;
    text-align: left !important;
}

.coin-chart-card .chart-canvas-priceChart,
.coin-chart-card .chart-canvas-volumeChart{
    min-height: 0 !important;
    height: calc(100% - 32px) !important;
}

.coin-profile-source{
    margin-top: 9px;
    text-align: right;
}

/* About */
.coin-about{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    padding: 26px 28px;
    border: 1px solid #363d59;
    border-radius: calc(16px + 2px);
    background: #23273b;
    box-shadow: 0 10px 30px rgba(10, 12, 25, 0.22);
}

.coin-about-content p{
    max-width: 720px;
    margin: 13px 0 0;
    color: #dce3f0;
    font-size: 16px;
    line-height: 1.72;
    opacity: .8;
}

.coin-about-links{
    align-self: start;
    padding: 2px 0 2px 24px;
    border-left: 1px solid #363d59;
}

.coin-about-links h3{
    margin: 0 0 9px;
    color: #f5f7ff;
    font-size: 16px;
    font-weight: 670;
}

.coin-about-links a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #363d59;
    color: #dce3f0;
    font-size: 14px;
    text-decoration: none;
}

.coin-about-links a:last-child{
    border-bottom: 0;
}

.coin-about-links a:hover{
    color: #9b8cff;
}

/* Related profiles */
.coin-related{
    margin-top: 30px;
}

.coin-related > div{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 13px;
}

.coin-related a{
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid #363d59;
    border-radius: calc(11px + 1px);
    background: #23273b;
    text-decoration: none;
    transition: border-color .14s ease, background-color .14s ease, transform .14s ease;
}

.coin-related a strong{
    flex: 0 0 auto;
    color: #f5f7ff;
    font-size: 16px;
    font-weight: 680;
}

.coin-related a span{
    min-width: 0;
    overflow: hidden;
    color: #dce3f0;
    font-size: 13px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: .55;
}

.coin-related a:hover{
    border-color: color-mix(in srgb, #9b8cff 40%, #363d59);
    background: color-mix(in srgb, #9b8cff 5%, #23273b);
    transform: translateY(-1px);
}

.coin-profile-footnote{
    margin-top: 16px;
    text-align: center;
}

.coin-profile-empty{
    width: min(760px, calc(100% - 36px));
    margin: 80px auto;
    padding: 30px;
    border: 1px solid #363d59;
    border-radius: 16px;
    background: #23273b;
    color: #dce3f0;
    text-align: center;
}

@media (max-width: 980px){
    html body main.coin-profile{
        width: min(100% - 28px, 1120px) !important;
        max-width: 1120px !important;
    }

    .coin-profile-hero{
        grid-template-columns: minmax(0, 1fr) 210px;
        padding: 26px;
    }

    .coin-stat-grid,
    .coin-stat-grid-network{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coin-node-grid{
        grid-template-columns: 1fr;
    }

    .coin-chart-grid{
        grid-template-columns: 1fr;
    }

    .coin-chart-card{
        height: 320px;
    }
}

@media (max-width: 680px){
    html body main.coin-profile{
        width: min(100% - 20px, 1120px) !important;
        max-width: 1120px !important;
    }

    .coin-profile-hero{
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px;
    }

    .coin-profile-identity{
        gap: 15px;
    }

    .coin-profile-logo{
        flex-basis: 62px;
        width: 62px;
        height: 62px;
        border-radius: 17px;
    }

    .coin-profile-price{
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: baseline;
        padding: 18px 0 0;
        border-top: 1px solid #363d59;
        border-left: 0;
        text-align: left;
    }

    .coin-profile-price > strong{
        grid-column: 1;
    }

    .coin-profile-price > .coin-profile-change{
        grid-column: 2;
        grid-row: 2;
        margin-top: 5px;
    }

    .coin-profile-price > small{
        grid-column: 1 / -1;
    }

    .coin-profile-section{
        margin-top: 30px;
    }

    .coin-profile-section-heading{
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .coin-profile-section-heading > p{
        text-align: left;
    }

    .coin-stat-grid,
    .coin-stat-grid-network{
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .coin-stat-card{
        min-height: 84px;
        padding: 14px;
    }

    .coin-node-metrics{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coin-node-card > header{
        padding: 18px 18px 14px;
    }

    .coin-node-metrics{
        padding: 0 12px 12px;
    }

    .coin-node-card > footer{
        padding: 0 12px 14px;
    }

    .coin-about{
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px;
    }

    .coin-about-links{
        padding: 18px 0 0;
        border-top: 1px solid #363d59;
        border-left: 0;
    }

    .coin-related > div{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px){
    .coin-stat-grid,
    .coin-stat-grid-network{
        grid-template-columns: 1fr;
    }

    .coin-node-metrics{
        grid-template-columns: 1fr;
    }

    .coin-node-deploy{
        flex: 1 1 auto;
    }
}
