body:has(.lottery-page) .column-left .content-bg > .content-header {
    display: none !important;
}

.lottery-page {
    padding: 18px 0 12px;
    color: #a8b1b6;
}

.lottery-page *,
.lottery-page *::before,
.lottery-page *::after {
    box-sizing: border-box;
}

.lottery-eyebrow {
    display: block;
    color: #b9aa63;
    font-size: 10px;
    line-height: 14px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.lottery-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 150px;
    padding: 26px 28px;
    margin-bottom: 12px;
    background:
        radial-gradient(
            circle at 80% 0,
            rgba(199, 179, 95, .07),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            rgba(15, 20, 23, .98),
            rgba(7, 11, 14, .99)
        );
    border: 1px solid rgba(205, 188, 103, .10);
    border-left: 3px solid #cdbd72;
    border-radius: 4px;
}

.lottery-hero__main h1 {
    margin: 6px 0 6px;
    color: #eef1f2;
    font-size: 29px;
    line-height: 34px;
}

.lottery-hero__main p {
    max-width: 565px;
    margin: 0;
    color: #6d787e;
    font-size: 11px;
    line-height: 17px;
}

.lottery-overview {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.lottery-stat {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 92px;
    padding: 14px;
    background:
        linear-gradient(
            180deg,
            rgba(14, 19, 22, .98),
            rgba(8, 12, 14, .99)
        );
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 4px;
}

.lottery-stat--fund {
    border-color: rgba(205, 187, 100, .12);
}

.lottery-stat__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: #b5a35d;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(77, 67, 36, .23),
            rgba(6, 9, 10, .70)
        );
    border: 1px solid rgba(205, 187, 100, .10);
    border-radius: 4px;
    font-size: 15px;
}

.lottery-stat__label {
    display: block;
    color: #667178;
    font-size: 8px;
    line-height: 11px;
    text-transform: uppercase;
}

.lottery-stat strong {
    display: block;
    margin-top: 2px;
    color: #d8cc7b;
    font-size: 22px;
    line-height: 27px;
}

.lottery-stat strong small {
    color: #778187;
    font-size: 9px;
}

.lottery-stat > div > small {
    display: block;
    margin-top: 2px;
    color: #4f5b61;
    font-size: 7px;
    line-height: 10px;
}

.lottery-countdown {
    margin-bottom: 10px;
    padding: 16px 18px 18px;
    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(198, 176, 84, .04),
            transparent 46%
        ),
        #090d0f;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 4px;
}

.lottery-countdown__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.035);
}

.lottery-countdown__head h2 {
    margin: 3px 0 0;
    color: #cfd5d7;
    font-size: 17px;
    line-height: 21px;
}

.lottery-countdown__status {
    color: #59656b;
    font-size: 8px;
    line-height: 12px;
}

.lottery-countdown__status i {
    margin-right: 4px;
    color: #8c8152;
}

.lottery-countdown__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding-top: 16px;
}

.lottery-countdown__item {
    min-width: 79px;
    padding: 9px 10px;
    text-align: center;
    background: rgba(255,255,255,.012);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 3px;
}

.lottery-countdown__number {
    display: block;
    color: #d8ca76;
    font-size: 25px;
    line-height: 28px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lottery-countdown__unit {
    display: block;
    margin-top: 3px;
    color: #59646a;
    font-size: 7px;
    line-height: 10px;
    text-transform: uppercase;
}

.lottery-countdown__separator {
    color: #71694a;
    font-size: 20px;
    opacity: .55;
}

.lottery-countdown__finished {
    padding: 13px;
    color: #d0c16d;
    font-size: 11px;
    font-weight: 800;
}

.lottery-guide,
.lottery-current,
.lottery-history {
    margin-bottom: 10px;
    background: #090d0f;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 4px;
}

.lottery-guide {
    padding: 16px;
}

.lottery-guide__head,
.lottery-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.lottery-guide__head {
    margin-bottom: 12px;
}

.lottery-guide__head h2,
.lottery-section-head h2 {
    margin: 3px 0 0;
    color: #cbd1d4;
    font-size: 16px;
    line-height: 20px;
}

.lottery-guide__head > span {
    color: #556168;
    font-size: 7px;
}

.lottery-guide__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 7px;
}

.lottery-guide-card {
    display: flex;
    gap: 10px;
    min-height: 92px;
    padding: 11px;
    background: rgba(255,255,255,.012);
    border: 1px solid rgba(255,255,255,.035);
    border-radius: 3px;
}

.lottery-guide-card__number {
    color: #8d8050;
    font-size: 10px;
    font-weight: 800;
}

.lottery-guide-card strong {
    display: block;
    color: #aeb7bb;
    font-size: 9px;
    line-height: 12px;
}

.lottery-guide-card p {
    margin: 5px 0 0;
    color: #5b666c;
    font-size: 7px;
    line-height: 12px;
}

.lottery-guide-card p b {
    color: #c4b76d;
}

.lottery-prizes {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 7px;
    margin-top: 8px;
}

.lottery-prizes__main,
.lottery-prizes__others {
    min-height: 110px;
    padding: 12px;
    background:
        linear-gradient(
            180deg,
            rgba(185, 157, 67, .035),
            rgba(255,255,255,.008)
        );
    border: 1px solid rgba(195, 171, 83, .07);
    border-radius: 3px;
}

.lottery-prizes__place,
.lottery-prizes__others > span {
    display: block;
    color: #786f4c;
    font-size: 7px;
    line-height: 10px;
    text-transform: uppercase;
}

.lottery-prizes__place i {
    margin-right: 4px;
    color: #b99f4d;
}

.lottery-prizes__main strong,
.lottery-prizes__others strong {
    display: block;
    margin: 3px 0 2px;
    color: #d7c875;
    font-size: 25px;
    line-height: 29px;
}

.lottery-prizes p {
    margin: 0;
    color: #59656b;
    font-size: 7px;
    line-height: 11px;
}

.lottery-small-rules {
    grid-column: 1/-1;
    background: rgba(255,255,255,.008);
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 3px;
}

.lottery-small-rules summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 35px;
    padding: 0 10px;
    color: #7e898e;
    font-size: 8px;
    cursor: pointer;
    list-style: none;
}

.lottery-small-rules summary::-webkit-details-marker {
    display: none;
}

.lottery-small-rules summary i {
    color: #756b46;
    transition: transform .18s ease;
}

.lottery-small-rules[open] summary i {
    transform: rotate(180deg);
}

.lottery-small-rules > div {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 5px;
    padding: 8px;
    border-top: 1px solid rgba(255,255,255,.03);
}

.lottery-small-rules > div span {
    padding: 7px;
    color: #7d878c;
    background: rgba(0,0,0,.14);
    border-radius: 2px;
    font-size: 7px;
    line-height: 10px;
    text-align: center;
}

.lottery-small-rules > div b {
    display: block;
    margin-bottom: 2px;
    color: #b6aa67;
}

.lottery-section-head {
    min-height: 59px;
    padding: 11px 13px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.lottery-section-head__count {
    color: #59656b;
    font-size: 7px;
}

.lottery-table-wrap {
    overflow-x: auto;
}

.lottery-current-table,
.lottery-history-table {
    width: 100%;
    border-collapse: collapse;
}

.lottery-current-table th,
.lottery-history-table th {
    padding: 9px 11px;
    color: #58636a;
    background: rgba(255,255,255,.008);
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 7px;
    line-height: 10px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

.lottery-current-table th:first-child {
    width: 70px;
    text-align: center;
}

.lottery-current-table td {
    padding: 10px 11px;
    color: #7e898e;
    border-bottom: 1px solid rgba(255,255,255,.03);
    font-size: 8px;
    line-height: 12px;
}

.lottery-current-table td:first-child {
    text-align: center;
    color: #8b8053;
    font-weight: 800;
}

.lottery-current-table tbody tr:hover {
    background: rgba(255,255,255,.012);
}

.lottery-current-name {
    color: #aab3b7 !important;
    font-weight: 700;
}

.lottery-empty-row {
    padding: 24px !important;
    color: #566168 !important;
    text-align: center !important;
}

.lottery-pagination {
    margin: 12px !important;
}

.lottery-history {
    padding-bottom: 8px;
}

.lottery-history-empty {
    margin: 10px;
    padding: 25px;
    color: #566168;
    background: rgba(255,255,255,.008);
    border: 1px solid rgba(255,255,255,.03);
    text-align: center;
    font-size: 8px;
}

.lottery-history-round {
    margin: 8px 9px 0;
    overflow: hidden;
    background: rgba(255,255,255,.008);
    border: 1px solid rgba(255,255,255,.035);
    border-radius: 3px;
}

.lottery-history-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
    transition: background .15s ease;
}

.lottery-history-summary::-webkit-details-marker {
    display: none;
}

.lottery-history-summary:hover {
    background: rgba(255,255,255,.012);
}

.lottery-history-date {
    color: #b8aa66;
    font-size: 9px;
    line-height: 12px;
    font-weight: 800;
}

.lottery-history-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    color: #58646a;
    font-size: 7px;
    line-height: 10px;
}

.lottery-history-meta b {
    color: #8d979b;
    font-weight: 700;
}

.lottery-history-dot {
    color: #373f43;
}

.lottery-history-arrow {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-right: 1px solid #71694b;
    border-bottom: 1px solid #71694b;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.lottery-history-round[open] .lottery-history-arrow {
    transform: rotate(225deg);
}

.lottery-history-content {
    border-top: 1px solid rgba(255,255,255,.035);
}

.lottery-history-table th {
    text-align: center;
}

.lottery-history-table td {
    padding: 9px 10px;
    color: #768187;
    border-bottom: 1px solid rgba(255,255,255,.025);
    font-size: 8px;
    line-height: 11px;
    text-align: center;
}

.lottery-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.lottery-history-table tbody tr:hover {
    background: rgba(255,255,255,.01);
}

.lottery-history-winner {
    color: #aab2b6 !important;
    font-weight: 700;
}

.lottery-history-prize {
    color: #c8b96c !important;
    font-weight: 800;
}

.lottery-place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: #6d777c;
    background: rgba(255,255,255,.018);
    border: 1px solid rgba(255,255,255,.03);
    border-radius: 50%;
    font-size: 8px;
    font-weight: 800;
}

.lottery-place--first {
    color: #e0c35b;
    background: rgba(218, 180, 58, .055);
    border-color: rgba(218, 180, 58, .11);
    box-shadow: 0 0 10px rgba(210, 170, 45, .055);
}

.lottery-place--second {
    color: #bfc6ca;
    background: rgba(190, 198, 202, .03);
}

.lottery-place--third {
    color: #b98561;
    background: rgba(188, 126, 83, .035);
}

/* ==========================================================================
   BALANCE — EXACT COPY OF REPAIR GEOMETRY
   ========================================================================== */

.lottery-balance {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(130px, 1fr) 104px;
    grid-template-rows: auto auto;

    min-width: 270px;
    min-height: 68px;

    overflow: hidden;

    background: rgba(7, 10, 12, .78);

    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 4px;
}

.lottery-balance__label {
    grid-column: 1;
    grid-row: 1;

    padding: 11px 14px 0;

    color: #667078;

    font-size: 8px;
    line-height: 10px;

    letter-spacing: .4px;
    text-transform: uppercase;
}

.lottery-balance__value {
    grid-column: 1;
    grid-row: 2;

    padding: 1px 14px 11px;

    color: #ddd083;

    font-size: 20px;
    line-height: 24px;
    font-weight: 700;

    white-space: nowrap;
}

.lottery-balance__value small {
    font-size: 12px;
}

.lottery-balance__button {
    grid-column: 2;
    grid-row: 1 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #262719 !important;

    background:
        linear-gradient(
            180deg,
            #ddd18d,
            #c8bc77
        );

    border-left: 1px solid rgba(255, 255, 255, .07);

    font-size: 10px;
    font-weight: 700;

    text-decoration: none !important;
}

@media (max-width: 760px) {
    .lottery-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .lottery-overview,
    .lottery-guide__grid,
    .lottery-prizes {
        grid-template-columns: 1fr;
    }

    .lottery-small-rules {
        grid-column: auto;
    }

    .lottery-small-rules > div {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .lottery-countdown__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .lottery-countdown__timer {
        gap: 5px;
    }

    .lottery-countdown__item {
        min-width: 58px;
    }

    .lottery-countdown__separator {
        display: none;
    }
}

/* ==========================================================================
   V3 — LARGER TYPOGRAPHY
   ========================================================================== */

.lottery-eyebrow {
    font-size: 12px !important;
    line-height: 16px !important;
}

.lottery-hero__main h1 {
    font-size: 32px !important;
    line-height: 38px !important;
}

.lottery-hero__main p {
    font-size: 13px !important;
    line-height: 20px !important;
}

.lottery-stat__label {
    font-size: 10px !important;
    line-height: 13px !important;
}

.lottery-stat strong {
    font-size: 26px !important;
    line-height: 31px !important;
}

.lottery-stat strong small {
    font-size: 11px !important;
}

.lottery-stat > div > small {
    font-size: 9px !important;
    line-height: 13px !important;
}

.lottery-countdown__head h2 {
    font-size: 20px !important;
    line-height: 25px !important;
}

.lottery-countdown__status {
    font-size: 10px !important;
    line-height: 14px !important;
}

.lottery-countdown__number {
    font-size: 29px !important;
    line-height: 33px !important;
}

.lottery-countdown__unit {
    font-size: 9px !important;
    line-height: 12px !important;
}

.lottery-countdown__finished {
    font-size: 13px !important;
    line-height: 18px !important;
}

.lottery-guide__head h2,
.lottery-section-head h2 {
    font-size: 19px !important;
    line-height: 24px !important;
}

.lottery-guide__head > span,
.lottery-section-head__count {
    font-size: 9px !important;
    line-height: 13px !important;
}

.lottery-guide-card__number {
    font-size: 12px !important;
    line-height: 16px !important;
}

.lottery-guide-card strong {
    font-size: 11px !important;
    line-height: 15px !important;
}

.lottery-guide-card p {
    font-size: 9px !important;
    line-height: 14px !important;
}

.lottery-prizes__place,
.lottery-prizes__others > span {
    font-size: 9px !important;
    line-height: 12px !important;
}

.lottery-prizes__main strong,
.lottery-prizes__others strong {
    font-size: 29px !important;
    line-height: 34px !important;
}

.lottery-prizes p {
    font-size: 9px !important;
    line-height: 14px !important;
}

.lottery-small-rules summary {
    font-size: 10px !important;
    line-height: 14px !important;
}

.lottery-small-rules > div span {
    font-size: 9px !important;
    line-height: 13px !important;
}

.lottery-current-table th,
.lottery-history-table th {
    font-size: 9px !important;
    line-height: 12px !important;
}

.lottery-current-table td {
    font-size: 10px !important;
    line-height: 15px !important;
}

.lottery-history-date {
    font-size: 11px !important;
    line-height: 15px !important;
}

.lottery-history-meta {
    font-size: 9px !important;
    line-height: 13px !important;
}

.lottery-history-table td {
    font-size: 10px !important;
    line-height: 14px !important;
}

.lottery-place {
    width: 30px !important;
    height: 30px !important;
    font-size: 10px !important;
}

.lottery-history-empty,
.lottery-empty-row {
    font-size: 10px !important;
    line-height: 15px !important;
}

/* ======================================================================
   V4 — targeted font increase for small helper text / tables / rules
   ====================================================================== */

.lottery-stat > div > small {
    font-size: 11px !important;
    line-height: 16px !important;
}

.lottery-countdown__status {
    font-size: 12px !important;
    line-height: 18px !important;
}

.lottery-guide__head > span {
    font-size: 11px !important;
    line-height: 16px !important;
}

.lottery-guide-card strong {
    font-size: 15px !important;
    line-height: 20px !important;
}

.lottery-guide-card p {
    font-size: 12px !important;
    line-height: 18px !important;
}

.lottery-prizes p {
    font-size: 12px !important;
    line-height: 18px !important;
}

.lottery-small-rules summary {
    font-size: 12px !important;
    line-height: 18px !important;
}

.lottery-small-rules > div span {
    font-size: 12px !important;
    line-height: 17px !important;
}

.lottery-small-rules > div b {
    font-size: 13px !important;
    line-height: 18px !important;
}

.lottery-section-head__count {
    font-size: 12px !important;
    line-height: 16px !important;
}

.lottery-current-table th,
.lottery-history-table th {
    font-size: 11px !important;
    line-height: 15px !important;
}

.lottery-current-table td {
    font-size: 13px !important;
    line-height: 18px !important;
}

.lottery-history-date {
    font-size: 13px !important;
    line-height: 18px !important;
}

.lottery-history-meta {
    font-size: 11px !important;
    line-height: 16px !important;
}

.lottery-history-table td {
    font-size: 12px !important;
    line-height: 17px !important;
}

.lottery-history-empty,
.lottery-empty-row {
    font-size: 12px !important;
    line-height: 18px !important;
}


@media (max-width: 900px) {
    .lottery-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .lottery-balance {
        width: 100%;
    }
}
