/* =========================
   TopBetPredict Account Dashboard
========================= */

:root {
    --dash-bg: #060d1c;
    --dash-panel: rgba(14, 26, 50, .94);
    --dash-panel-2: rgba(18, 32, 61, .92);
    --dash-border: rgba(90, 132, 210, .25);
    --dash-text: #ffffff;
    --dash-muted: #94a9c9;
    --dash-blue: #3b82f6;
    --dash-blue-2: #2563eb;
    --dash-green: #22c55e;
    --dash-red: #ef4444;
    --dash-yellow: #facc15;
    --dash-purple: #8b5cf6;
}

.dash-page {
    min-height: 100vh;
    padding: 18px 14px 48px;
    background:
        radial-gradient(circle at 76% 8%, rgba(37, 99, 235, .22), transparent 24%),
        radial-gradient(circle at 96% 18%, rgba(139, 92, 246, .20), transparent 22%),
        linear-gradient(180deg, #060d1c 0%, #071020 48%, #050b18 100%);
    color: var(--dash-text);
}

.dash-shell {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
}

/* LEFT SIDEBAR */

.dash-left {
    min-height: calc(100vh - 38px);
    padding: 20px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(15, 30, 59, .98), rgba(8, 17, 34, .98));
    border: 1px solid var(--dash-border);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    position: sticky;
    top: 18px;
}

.dash-user-box {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 22px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.dash-avatar {
    border-radius: 50%;
    background: linear-gradient(135deg, #4f7cff, #4338ca);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 6px rgba(59, 130, 246, .10),
        0 18px 36px rgba(59, 130, 246, .26);
    overflow: hidden;
    flex: 0 0 auto;
}

.dash-avatar.big {
    width: 72px;
    height: 72px;
}

.dash-avatar span {
    font-size: 26px;
    font-weight: 950;
    color: #fff;
}

.dash-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-user-meta h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    line-height: 1.1;
}

.dash-user-meta p {
    margin: 6px 0 10px;
    color: #b8c7e6;
    font-size: 13px;
    font-weight: 700;
    word-break: break-word;
}

.dash-active-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .18);
    color: #bbf7d0;
    font-size: 11px;
    font-weight: 950;
}

.dash-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-menu a,
.dash-menu button {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    background: transparent;
    border: 0;
    color: #e6efff;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    transition: .16s ease;
}

.dash-menu a span,
.dash-menu button span {
    width: 24px;
    display: inline-flex;
    justify-content: center;
    opacity: .92;
}

.dash-menu a:hover,
.dash-menu button:hover {
    background: rgba(59, 130, 246, .13);
    color: #fff;
}

.dash-menu a.active {
    background: linear-gradient(135deg, #2663ff, #3b82f6);
    color: #fff;
    box-shadow: 0 16px 35px rgba(37, 99, 235, .28);
}

.dash-menu form {
    margin: 8px 0 0;
}

.dash-menu button.logout {
    color: #ff6969;
}

/* MAIN */

.dash-main-wrap {
    min-width: 0;
}

.dash-welcome {
    min-height: 118px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.dash-welcome h1 {
    margin: 0;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 950;
    letter-spacing: -.04em;
}

.dash-welcome p {
    margin: 8px 0 0;
    color: #b8c7e6;
    font-size: 15px;
    font-weight: 700;
}

.dash-trophy {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 78px;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, .55));
    position: relative;
}

.dash-trophy::before,
.dash-trophy::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, .65);
    box-shadow:
        28px -18px 0 rgba(139, 92, 246, .65),
        58px 12px 0 rgba(34, 197, 94, .50),
        -34px 24px 0 rgba(250, 204, 21, .55);
}

.dash-trophy::before {
    width: 5px;
    height: 5px;
    left: 20px;
    top: 22px;
}

.dash-trophy::after {
    width: 4px;
    height: 4px;
    right: 34px;
    bottom: 26px;
}

/* STAT CARDS */

.dash-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.dash-stat-card {
    min-height: 126px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(17, 31, 59, .96), rgba(8, 16, 32, .96));
    border: 1px solid var(--dash-border);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .26);
    overflow: hidden;
    position: relative;
}

.dash-stat-card::after {
    content: "";
    position: absolute;
    inset: auto -20px -30px auto;
    width: 130px;
    height: 80px;
    opacity: .24;
    background: repeating-linear-gradient(
        90deg,
        currentColor 0 7px,
        transparent 7px 18px
    );
    transform: skewX(-8deg);
}

.dash-stat-card span {
    display: block;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.dash-stat-card strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 40px;
    font-weight: 950;
    line-height: 1;
}

.dash-stat-card small {
    display: block;
    margin-top: 10px;
    color: #b8c7e6;
    font-size: 13px;
    font-weight: 700;
}

.dash-stat-card em {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 28px;
    font-weight: 950;
    background: rgba(255, 255, 255, .07);
    z-index: 1;
}

.stat-blue {
    color: #3b82f6;
}

.stat-green {
    color: #22c55e;
}

.stat-yellow {
    color: #facc15;
}

.stat-purple {
    color: #8b5cf6;
}

/* LAYOUT */

.dash-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 20px;
}

.dash-center {
    min-width: 0;
}

.dash-right {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.dash-card {
    padding: 20px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(15, 29, 55, .96), rgba(8, 17, 34, .98));
    border: 1px solid var(--dash-border);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .26);
    margin-bottom: 20px;
}

.dash-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.dash-card-head h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.02em;
}

.dash-card-head p {
    margin: 5px 0 0;
    color: #91a4c3;
    font-size: 13px;
    font-weight: 700;
}

.dash-card-head a {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    background: rgba(37, 99, 235, .18);
    border: 1px solid rgba(59, 130, 246, .32);
    color: #60a5fa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
}

/* TABLE */

.dash-table {
    display: flex;
    flex-direction: column;
}

.dash-table-row {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 90px 80px 110px 100px;
    gap: 14px;
    align-items: center;
    min-height: 54px;
    padding: 0 10px;
    border-radius: 9px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.dash-table-row:not(.head):hover {
    background: rgba(59, 130, 246, .08);
}

.dash-table-row.head {
    min-height: 38px;
    color: #879bbd;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dash-table-row span {
    font-size: 13px;
    font-weight: 850;
}

.match-cell {
    display: flex;
    gap: 9px;
    align-items: center;
    min-width: 0;
}

.match-cell strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-cell small {
    color: #778aaa;
    font-weight: 900;
}

/* STATUS */

.dash-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 950;
    text-transform: capitalize;
}

.is-won {
    background: rgba(34, 197, 94, .15);
    color: #35ff8c;
}

.is-lost {
    background: rgba(239, 68, 68, .15);
    color: #ff6b6b;
}

.is-pending {
    background: rgba(250, 204, 21, .16);
    color: #ffd91a;
}

.is-neutral {
    background: rgba(148, 163, 184, .14);
    color: #dbeafe;
}

/* EMPTY */

.dash-empty {
    padding: 22px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px dashed rgba(255, 255, 255, .12);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-empty strong {
    color: #fff;
    font-size: 15px;
}

.dash-empty span {
    color: #9fb0c7;
    font-size: 13px;
}

.dash-empty a {
    color: #60a5fa;
    font-weight: 950;
    text-decoration: none;
}

.dash-empty.compact {
    padding: 14px;
    color: #9fb0c7;
    font-size: 13px;
}

/* MINI LISTS */

.dash-mini-list,
.dash-activity-list,
.dash-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-mini-item,
.dash-activity-item {
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.dash-mini-item:hover,
.dash-activity-item:hover {
    background: rgba(59, 130, 246, .09);
}

.dash-mini-item .star {
    color: #b7c5df;
    font-size: 23px;
}

.dash-mini-item div,
.dash-activity-item div {
    min-width: 0;
    flex: 1;
}

.dash-mini-item strong,
.dash-activity-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-mini-item small,
.dash-activity-item small {
    display: block;
    margin-top: 3px;
    color: #91a4c3;
    font-size: 11px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-activity-item em {
    color: #8fa3c7;
    font-size: 11px;
    font-style: normal;
    white-space: nowrap;
}

.dot-green,
.dot-red,
.dot-blue {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 9px;
}

.dot-green {
    background: #22c55e;
    box-shadow: 0 0 14px rgba(34, 197, 94, .75);
}

.dot-red {
    background: #ef4444;
    box-shadow: 0 0 14px rgba(239, 68, 68, .75);
}

.dot-blue {
    background: #3b82f6;
    box-shadow: 0 0 14px rgba(59, 130, 246, .75);
}

/* QUICK ACTIONS */

.dash-actions a {
    min-height: 52px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .065);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
    transition: .16s ease;
}

.dash-actions a:hover {
    background: rgba(59, 130, 246, .12);
}

.dash-actions span {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(59, 130, 246, .13);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-actions b {
    margin-left: auto;
    color: #a7b7d3;
    font-size: 22px;
}

/* CREDITS */

.dash-credit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dash-credit-grid div {
    min-height: 92px;
    padding: 17px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .055);
}

.dash-credit-grid span {
    display: block;
    color: #8fa3c7;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.dash-credit-grid strong {
    display: block;
    margin-top: 10px;
    color: #a78bfa;
    font-size: 29px;
    font-weight: 950;
}

.dash-credit-grid strong.green {
    color: #22c55e;
}

.dash-credit-grid strong.red {
    color: #ef4444;
}

/* LINKS */

.dash-wide-link {
    margin-top: 14px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, .55);
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .16s ease;
}

.dash-wide-link:hover {
    background: rgba(59, 130, 246, .12);
    color: #60a5fa;
}

.dash-wide-link.small {
    min-height: 38px;
}

/* REWARDS */

.dash-rewards {
    margin-top: 0;
    padding: 20px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(15, 29, 55, .96), rgba(8, 17, 34, .98));
    border: 1px solid var(--dash-border);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .26);
    display: grid;
    grid-template-columns: 80px minmax(220px, 1.3fr) repeat(3, minmax(140px, .7fr)) 170px;
    gap: 18px;
    align-items: center;
}

.reward-icon {
    font-size: 54px;
    filter: drop-shadow(0 0 22px rgba(250, 204, 21, .35));
}

.reward-main h2 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 950;
}

.reward-main p {
    margin: 8px 0 0;
    color: #9fb0c7;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.reward-item {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, .08);
}

.reward-item strong {
    display: block;
    color: #a78bfa;
    font-size: 26px;
    font-weight: 950;
}

.reward-item span {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.reward-item small {
    display: block;
    margin-top: 4px;
    color: #91a4c3;
    font-size: 11px;
    font-weight: 700;
}

.dash-rewards > a {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, .55);
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
    .dash-shell {
        grid-template-columns: 1fr;
    }

    .dash-left {
        position: relative;
        top: 0;
        min-height: auto;
    }

    .dash-menu {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .dash-menu form {
        margin: 0;
    }

    .dash-content-grid {
        grid-template-columns: 1fr;
    }

    .dash-rewards {
        grid-template-columns: 70px 1fr;
    }

    .reward-item {
        border-left: 0;
        padding-left: 0;
    }

    .dash-rewards > a {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .dash-stat-grid,
    .dash-two-col {
        grid-template-columns: 1fr;
    }

    .dash-table-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px;
        min-height: auto;
    }

    .dash-table-row.head {
        display: none;
    }

    .match-cell {
        flex-wrap: wrap;
    }

    .dash-welcome {
        align-items: flex-start;
    }

    .dash-trophy {
        display: none;
    }
}

@media (max-width: 620px) {
    .dash-page {
        padding: 12px 8px 36px;
    }

    .dash-left,
    .dash-card,
    .dash-stat-card,
    .dash-rewards {
        border-radius: 12px;
    }

    .dash-menu {
        grid-template-columns: 1fr;
    }

    .dash-user-box {
        align-items: flex-start;
    }

    .dash-avatar.big {
        width: 58px;
        height: 58px;
    }

    .dash-avatar span {
        font-size: 21px;
    }

    .dash-welcome h1 {
        font-size: 24px;
    }

    .dash-stat-card {
        min-height: 110px;
    }

    .dash-credit-grid {
        grid-template-columns: 1fr;
    }

    .dash-rewards {
        grid-template-columns: 1fr;
    }
}

/* =========================
   My Predictions Page
========================= */

.predictions-welcome {
    min-height: 104px;
}

.predictions-page-card {
    margin-bottom: 0;
}

.prediction-history-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.prediction-history-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 18px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .075);
    transition: .16s ease;
}

.prediction-history-card:hover {
    background: rgba(59, 130, 246, .075);
    border-color: rgba(59, 130, 246, .25);
}

.prediction-main {
    min-width: 0;
}

.prediction-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.prediction-market {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .15);
    color: #93c5fd;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.prediction-league {
    color: #8fa3c7;
    font-size: 11px;
    font-weight: 850;
}

.prediction-history-card h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
}

.prediction-history-card h3 span {
    color: #64748b;
    font-size: 13px;
    margin: 0 7px;
}

.prediction-meta-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.prediction-meta-grid div {
    min-height: 58px;
    padding: 10px;
    border-radius: 11px;
    background: rgba(8, 18, 34, .75);
    border: 1px solid rgba(255, 255, 255, .055);
}

.prediction-meta-grid span {
    display: block;
    color: #8397b8;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.prediction-meta-grid strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prediction-meta-grid .profit-plus {
    color: #22c55e;
}

.prediction-meta-grid .profit-minus {
    color: #ef4444;
}

.prediction-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.prediction-side a {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid rgba(59, 130, 246, .45);
    color: #60a5fa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
}

.prediction-side a:hover {
    background: rgba(59, 130, 246, .12);
}

.dash-pagination {
    margin-top: 18px;
}

.dash-pagination nav {
    display: flex;
    justify-content: center;
}

.dash-pagination a,
.dash-pagination span {
    border-radius: 8px !important;
}

.stat-red {
    color: #ef4444;
}

@media (max-width: 1100px) {
    .prediction-meta-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .prediction-history-card {
        grid-template-columns: 1fr;
    }

    .prediction-side {
        flex-direction: row;
        align-items: center;
    }

    .prediction-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .prediction-meta-grid {
        grid-template-columns: 1fr;
    }

    .prediction-history-card h3 span {
        display: block;
        margin: 4px 0;
    }
}

/* =========================
   My Votes Page
========================= */

.votes-welcome {
    min-height: 104px;
}

.votes-page-card {
    margin-bottom: 0;
}

.votes-dashboard-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.votes-dashboard-day {
    padding: 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .06);
}

.votes-dashboard-day-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding-bottom: 13px;
    margin-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.votes-dashboard-day-head h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.votes-dashboard-day-head span {
    display: block;
    margin-top: 4px;
    color: #8fa3c7;
    font-size: 12px;
    font-weight: 800;
}

.votes-dashboard-day-head strong {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .14);
    border: 1px solid rgba(59, 130, 246, .25);
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.votes-dashboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.votes-dashboard-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 130px;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .075);
    transition: .16s ease;
}

.votes-dashboard-card:hover {
    background: rgba(59, 130, 246, .075);
    border-color: rgba(59, 130, 246, .25);
}

.votes-dashboard-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.votes-dashboard-icon.is-up {
    background: rgba(34, 197, 94, .15);
    color: #22c55e;
}

.votes-dashboard-icon.is-down {
    background: rgba(239, 68, 68, .15);
    color: #ef4444;
}

.votes-dashboard-main {
    min-width: 0;
}

.votes-dashboard-topline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 8px;
}

.votes-dashboard-topline span {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .15);
    color: #93c5fd;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.votes-dashboard-topline small {
    color: #8fa3c7;
    font-size: 11px;
    font-weight: 850;
}

.votes-dashboard-card h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
}

.votes-dashboard-card h3 span {
    color: #64748b;
    font-size: 13px;
    margin: 0 7px;
}

.votes-dashboard-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 13px;
}

.votes-dashboard-meta div {
    min-height: 56px;
    padding: 10px;
    border-radius: 11px;
    background: rgba(8, 18, 34, .75);
    border: 1px solid rgba(255, 255, 255, .055);
}

.votes-dashboard-meta span {
    display: block;
    color: #8397b8;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.votes-dashboard-meta strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.votes-dashboard-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.vote-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.vote-pill.is-up {
    background: rgba(34, 197, 94, .15);
    color: #35ff8c;
}

.vote-pill.is-down {
    background: rgba(239, 68, 68, .15);
    color: #ff6b6b;
}

.votes-dashboard-side a {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid rgba(59, 130, 246, .45);
    color: #60a5fa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
}

.votes-dashboard-side a:hover {
    background: rgba(59, 130, 246, .12);
}

@media (max-width: 1100px) {
    .votes-dashboard-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .votes-dashboard-card {
        grid-template-columns: 1fr;
    }

    .votes-dashboard-side {
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 520px) {
    .votes-dashboard-day-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .votes-dashboard-meta {
        grid-template-columns: 1fr;
    }

    .votes-dashboard-card h3 span {
        display: block;
        margin: 4px 0;
    }
}