.wcu-token-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 16px;
    max-width: 320px;
    background: #121820;
    color: #f7e6b3;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    font-family: inherit;
}

.wcu-token-card__meta {
    color: #a7b0bd;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.wcu-token-card__title {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 8px;
}

.wcu-token-card__price {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.wcu-token-card__price span {
    font-size: 14px;
    font-weight: 600;
    color: #a7b0bd;
}

.wcu-token-card__footer {
    margin-top: 10px;
    font-size: 12px;
    color: #a7b0bd;
}

.wcu-token-card__delta {
    margin-left: 8px;
    color: #f7e6b3;
}

.wcu-token-card--empty {
    background: #fff8e5;
    color: #4a3510;
    border-color: #e9cc80;
}

.wcu-token-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.wcu-token-table th,
.wcu-token-table td {
    border-bottom: 1px solid rgba(127, 127, 127, 0.25);
    padding: 10px 12px;
    text-align: left;
}

.wcu-token-table th {
    font-weight: 700;
}

.wcu-token-chart {
    --wcu-chart-bg: #0d1226;
    --wcu-chart-text: #ffffff;
    --wcu-chart-muted: rgba(255, 255, 255, 0.55);
    --wcu-chart-border: rgba(255, 255, 255, 0.14);
    background: var(--wcu-chart-bg);
    color: var(--wcu-chart-text);
    padding: 28px;
    border-radius: 10px;
    font-family: inherit;
}

.wcu-token-chart__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.wcu-token-chart__eyebrow {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wcu-token-chart__date-range {
    min-width: 230px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

.wcu-token-chart__ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.wcu-token-chart__ranges button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--wcu-chart-muted);
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    font-weight: 600;
    padding: 0;
}

.wcu-token-chart__ranges button.is-active {
    color: #ffffff;
}

.wcu-token-chart__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 32px;
    align-items: stretch;
}

.wcu-token-chart__plot {
    min-width: 0;
    height: var(--wcu-chart-height, 420px);
}

.wcu-token-chart__title {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 20px;
}

.wcu-token-chart canvas {
    display: block;
    width: 100% !important;
    height: calc(var(--wcu-chart-height, 420px) - 46px) !important;
}

.wcu-token-chart__legend {
    padding-top: 54px;
}

.wcu-token-chart__legend strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 14px;
}

.wcu-token-chart__region {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 18px;
}

.wcu-token-chart__region input {
    width: 16px;
    height: 16px;
    margin: 0 8px 0 0;
}

.wcu-token-chart__swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

@media (max-width: 800px) {
    .wcu-token-chart {
        padding: 20px;
    }

    .wcu-token-chart__top,
    .wcu-token-chart__body {
        display: block;
    }

    .wcu-token-chart__ranges {
        margin-top: 18px;
    }

    .wcu-token-chart__legend {
        padding-top: 22px;
    }
}

.wcu-token-chart__message {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.wcu-token-sidebar {
    width: 100%;
    max-width: 360px;
    background: #0d1226;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 14px;
    font-family: inherit;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
}

.wcu-token-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.wcu-token-sidebar__header h3 {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    margin: 0;
}

.wcu-token-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wcu-token-sidebar__item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wcu-token-sidebar__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.wcu-token-sidebar__main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.wcu-token-sidebar__region {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wcu-token-sidebar__price {
    color: #f7e6b3;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}

.wcu-token-sidebar__price span {
    color: rgba(247, 230, 179, 0.72);
    font-size: 11px;
    margin-left: 2px;
}

.wcu-token-sidebar__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 16px;
    margin-top: 5px;
    font-size: 11px;
}

.wcu-token-sidebar__updated,
.wcu-token-sidebar__missing {
    color: rgba(255, 255, 255, 0.48);
}

.wcu-token-sidebar__item.is-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wcu-token-delta {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 700;
    white-space: nowrap;
}

.wcu-token-delta small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    margin-left: 4px;
}

.wcu-token-delta.is-up {
    color: #7ee787;
}

.wcu-token-delta.is-down {
    color: #ff8a8a;
}

.wcu-token-sidebar--empty {
    color: #f7e6b3;
}
