* {
    box-sizing: border-box;
}

/* 365Races-like public desktop landing */
@media (min-width: 821px) {
    body.exchange-home:not(.logged-exchange) {
        background:
            linear-gradient(120deg, rgba(255,255,255,.08) 0 18%, transparent 18% 35%, rgba(31,112,187,.18) 35% 50%, transparent 50% 62%, rgba(255,255,255,.08) 62% 79%, transparent 79%),
            #3d91d7;
    }

    body.exchange-home:not(.logged-exchange) .exchange-header {
        position: relative;
        background: #4d98db;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-top {
        min-height: 82px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 40px;
        background:
            linear-gradient(118deg, rgba(255,255,255,.08) 0 24%, transparent 24% 46%, rgba(22,79,145,.12) 46% 64%, transparent 64%),
            #4d98db;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo {
        display: inline-flex;
        align-items: center;
        gap: 0;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo span {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 28px;
        font-weight: 400;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo strong {
        color: #fff;
        font-size: 28px;
        font-weight: 700;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock,
    body.exchange-home:not(.logged-exchange) .exchange-search,
    body.exchange-home:not(.logged-exchange) .exchange-user,
    body.exchange-home:not(.logged-exchange) .exchange-ticker,
    body.exchange-home:not(.logged-exchange) .exchange-nav {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login {
        position: static;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button {
        min-width: 135px;
        min-height: 48px;
        padding: 0 26px;
        border: 0;
        border-radius: 5px;
        background: #ffcc1c;
        color: #1f2937;
        font-size: 19px;
        font-weight: 900;
        text-transform: uppercase;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button::before {
        content: "";
        margin: 0;
    }

    body.exchange-home:not(.logged-exchange) .race-hero {
        min-height: 396px;
        display: grid;
        grid-template-columns: 78px 1fr 78px;
        align-items: center;
        margin: 0;
        background:
            linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.02)),
            url("race-hero.png") center / cover no-repeat;
    }

    body.exchange-home:not(.logged-exchange) .race-copy,
    body.exchange-home:not(.logged-exchange) .race-visual,
    body.exchange-home:not(.logged-exchange) .race-hero > strong,
    body.exchange-home:not(.logged-exchange) .credit-pill {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button {
        width: 50px;
        height: 50px;
        border-radius: 0;
        background: rgba(0,0,0,.45);
        color: #fff;
        font-size: 58px;
        line-height: .7;
        z-index: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-board {
        width: min(1750px, calc(100% - 156px));
        margin: 50px auto 0;
        padding: 0 8px 8px;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        min-height: 72px;
        padding: 7px;
        border-radius: 18px;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a,
    body.exchange-home:not(.logged-exchange) .mode-tabs button {
        min-height: 56px;
        border: 0;
        border-radius: 10px;
        background: #fff;
        color: #000;
        font-size: 20px;
        font-weight: 500;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:not(:last-child),
    body.exchange-home:not(.logged-exchange) .mode-tabs button:not(:last-child) {
        border-right: 1px solid #d9d9d9;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(1)::before { content: "\1F525"; margin-right: 14px; }
    body.exchange-home:not(.logged-exchange) .mode-tabs button:nth-child(2)::before { content: "\1F680"; margin-right: 14px; }
    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(3)::before { content: "\25C9"; margin-right: 14px; color: #81551e; }
    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(4)::before { content: "\1F3CF"; margin-right: 14px; }

    body.exchange-home:not(.logged-exchange) .mode-tabs .active {
        background: #5a9fde;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs {
        display: flex;
        justify-content: center;
        gap: 46px;
        margin: 5px 0 0;
        padding: 14px 12px 20px;
        border: 0;
        border-radius: 8px 8px 0 0;
        background: #fff;
        box-shadow: none;
        overflow-x: auto;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #000;
        font-size: 20px;
        font-weight: 500;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(1)::before { content: "\1F3C6  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(2) { color: #1768ad; font-weight: 700; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(2)::before { content: "\1F3CF  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(3)::before { content: "\26BD  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(4)::before { content: "\1F3BE  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(5)::before { content: "\1F3C7  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(6)::before { content: "\1F3C7  "; }

    body.exchange-home:not(.logged-exchange) .odds-panel {
        overflow: hidden;
        border: 0;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel table {
        width: 100%;
        min-width: 960px;
        table-layout: fixed;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel thead {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th {
        height: 32px;
        padding: 0 10px;
        background: #f1f1f1;
        color: #000;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:nth-child(n+2) {
        text-align: center;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td {
        height: 66px;
        padding: 4px 8px;
        border-bottom: 1px solid #e7e7e7;
        background: #fff;
        color: #4b5563;
        font-size: 15px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td:first-child {
        width: 65%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td:first-child button {
        color: #4d5b6b;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.55;
    }

    body.exchange-home:not(.logged-exchange) .live-pill {
        min-height: 18px;
        padding: 0 6px;
        background: #14b567;
        color: #fff;
        font-size: 10px;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back,
    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        min-width: 80px;
        min-height: 56px;
        margin: 0 1px;
        border-radius: 4px;
        color: #263241;
        font-size: 16px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back {
        background: #79c4f7;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        background: #f5a9bf;
    }
}

/* Final public desktop landing lock */
@media (min-width: 821px) {
    body.exchange-home:not(.logged-exchange) .exchange-top {
        min-height: 82px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 40px;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock,
    body.exchange-home:not(.logged-exchange) .exchange-search,
    body.exchange-home:not(.logged-exchange) .exchange-user,
    body.exchange-home:not(.logged-exchange) .exchange-ticker,
    body.exchange-home:not(.logged-exchange) .exchange-nav,
    body.exchange-home:not(.logged-exchange) .credit-pill {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login {
        position: static;
        display: flex;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button {
        min-width: 135px;
        min-height: 48px;
        padding: 0 26px;
        border-radius: 5px;
        background: #ffcc1c;
        color: #1f2937;
        font-size: 19px;
        font-weight: 900;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button::before {
        content: "";
        margin: 0;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs button:nth-child(2)::before {
        content: "\1F680";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(3)::before {
        content: "\25C9";
        margin-right: 14px;
        color: #81551e;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(4)::before {
        content: "\1F3CF";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel thead {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th {
        height: 32px;
        padding: 0 10px;
        background: #f1f1f1;
        color: #000;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:nth-child(n+2) {
        text-align: center;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back {
        background: #79c4f7;
        color: #263241;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        background: #f5a9bf;
        color: #263241;
    }
}

/* Desktop landing: 365-style first screen only */
@media (min-width: 821px) {
    body.exchange-home:not(.logged-exchange) {
        min-height: 100vh;
        background:
            linear-gradient(120deg, rgba(255,255,255,.08) 0 18%, transparent 18% 35%, rgba(31,112,187,.18) 35% 50%, transparent 50% 62%, rgba(255,255,255,.08) 62% 79%, transparent 79%),
            #3d91d7;
        overflow-x: hidden;
    }

    body.exchange-home:not(.logged-exchange) .exchange-header {
        position: relative;
        z-index: 10;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-top {
        min-height: 82px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 40px;
        background:
            linear-gradient(116deg, rgba(255,255,255,.08) 0 25%, transparent 25% 46%, rgba(27,104,181,.18) 46% 64%, transparent 64%),
            #519add;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo {
        display: inline-flex;
        align-items: center;
        gap: 0;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo span {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 34px;
        font-weight: 400;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo strong {
        color: #fff;
        font-size: 34px;
        font-weight: 700;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock,
    body.exchange-home:not(.logged-exchange) .exchange-search,
    body.exchange-home:not(.logged-exchange) .exchange-user,
    body.exchange-home:not(.logged-exchange) .exchange-ticker,
    body.exchange-home:not(.logged-exchange) .exchange-nav {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock {
        grid-template-columns: auto auto auto;
        gap: 10px;
        align-items: center;
        font-weight: 700;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock span,
    body.exchange-home:not(.logged-exchange) .exchange-clock b {
        font-size: 16px;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock::after {
        content: "";
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid #fff;
    }

    body.exchange-home:not(.logged-exchange) .exchange-search input {
        min-height: 45px;
        border: 1px solid rgba(0,0,0,.18);
        border-radius: 5px;
        padding: 0 18px;
        background: #fff;
        color: #000;
        font-size: 18px;
        font-weight: 500;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-user {
        gap: 6px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    body.exchange-home:not(.logged-exchange) .exchange-user p,
    body.exchange-home:not(.logged-exchange) .exchange-user small {
        margin: 0;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login {
        display: flex;
        justify-content: flex-end;
        gap: 22px;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button,
    body.exchange-home:not(.logged-exchange) .exchange-login a {
        min-width: auto;
        min-height: 34px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        text-transform: none;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button::before {
        content: "\25CF";
        margin-right: 9px;
        font-size: 18px;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login a::before {
        content: "\2192";
        margin-right: 6px;
        font-weight: 900;
    }

    body.exchange-home:not(.logged-exchange) .exchange-ticker {
        height: 32px;
        overflow: hidden;
        display: none;
        background: #2f80c7;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        line-height: 32px;
        white-space: nowrap;
    }

    body.exchange-home:not(.logged-exchange) .exchange-ticker span {
        min-width: auto;
        padding-left: 78%;
        animation: ticker 28s linear infinite;
    }

    body.exchange-home:not(.logged-exchange) .exchange-nav {
        min-height: 74px;
        display: none;
        justify-content: center;
        gap: 24px;
        padding: 0 42px;
        border: 0;
        background: #fff;
        overflow: hidden;
    }

    body.exchange-home:not(.logged-exchange) .exchange-nav a {
        position: relative;
        min-height: 54px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #145da5;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .exchange-nav a:not(:last-child)::after {
        content: "\2022";
        position: absolute;
        right: -18px;
        color: #3b0a4c;
        font-size: 18px;
    }

    body.exchange-home:not(.logged-exchange) .race-hero {
        min-height: 396px;
        display: grid;
        grid-template-columns: 78px 1fr 78px;
        align-items: center;
        margin: 0;
        background:
            linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.02)),
            url("race-hero.png") center / cover no-repeat;
    }

    body.exchange-home:not(.logged-exchange) .race-copy,
    body.exchange-home:not(.logged-exchange) .race-visual,
    body.exchange-home:not(.logged-exchange) .race-hero > strong {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .credit-pill {
        top: 0;
        right: 0;
        min-height: 33px;
        display: inline-flex;
        border-radius: 4px 0 0 4px;
        padding: 0 15px;
        background: #2f85d5;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        text-transform: none;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .credit-pill::after {
        content: "\2304";
        margin-left: 8px;
        line-height: .8;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button {
        width: 50px;
        height: 50px;
        border-radius: 0;
        background: rgba(0,0,0,.45);
        color: #fff;
        font-size: 58px;
        line-height: .7;
        z-index: 1;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button:first-child {
        grid-column: 1;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button:last-child {
        grid-column: 3;
    }

    body.exchange-home:not(.logged-exchange) .exchange-board {
        width: min(1750px, calc(100% - 156px));
        margin: 50px auto 0;
        padding: 0 8px 0;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        min-height: 72px;
        padding: 7px;
        border-radius: 18px;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a,
    body.exchange-home:not(.logged-exchange) .mode-tabs button {
        min-height: 56px;
        border-radius: 10px;
        background: #fff;
        color: #000;
        font-size: 20px;
        font-weight: 500;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:not(:last-child),
    body.exchange-home:not(.logged-exchange) .mode-tabs button:not(:last-child) {
        border-right: 1px solid #d9d9d9;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(1)::before {
        content: "\1F525";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs button:nth-child(2)::before {
        content: "\1F680";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(3)::before {
        content: "\25C9";
        margin-right: 14px;
        color: #81551e;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(4)::before {
        content: "\1F3CF";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs .active {
        background: #5a9fde;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs {
        display: flex;
        justify-content: center;
        gap: 46px;
        margin: 5px 0 0;
        padding: 14px 12px 20px;
        border: 0;
        border-radius: 8px 8px 0 0;
        background: #fff;
        box-shadow: none;
        overflow: hidden;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a {
        min-height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #000;
        font-size: 20px;
        font-weight: 500;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(1)::before { content: "\1F3C6  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(2) { color: #1768ad; font-weight: 700; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(2)::before { content: "\1F3CF  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(3)::before { content: "\26BD  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(4)::before { content: "\1F3BE  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(5)::before { content: "\1F3C7  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(6)::before { content: "\1F415  "; }

    body.exchange-home:not(.logged-exchange) .sport-tabs a.is-active {
        color: #1768ad;
        font-weight: 800;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel {
        display: none;
        overflow: hidden;
        border: 0;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel.is-active {
        display: block;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .match-col {
        width: 47%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .time-col {
        width: 13%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .empty-col {
        width: 0;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .odd-col {
        width: 13.333%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(3),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(3) {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(n+4),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(n+4) {
        padding: 4px 3px;
        text-align: center;
        white-space: nowrap;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:first-child {
        width: 60%;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:nth-child(n+2) {
        width: 13.333%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back,
    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        width: calc(50% - 3px);
        min-width: 0;
        max-width: 92px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel table {
        min-width: 960px;
        table-layout: fixed;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel thead {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th {
        height: 32px;
        padding: 0 10px;
        background: #f1f1f1;
        color: #000;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:nth-child(n+2) {
        text-align: center;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th {
        height: 34px;
        padding: 0 10px;
        background: #f1f1f1;
        color: #000;
        font-size: 16px;
        font-weight: 700;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:first-child {
        width: 65%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(2) {
        width: 70px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(3),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(3) {
        width: 0;
        padding: 0;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td {
        height: 62px;
        padding: 4px 8px;
        border-bottom: 1px solid #e7e7e7;
        background: #fff;
        color: #4b5563;
        font-size: 15px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td:first-child button {
        color: #4d5b6b;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.55;
    }

    body.exchange-home:not(.logged-exchange) .live-pill {
        min-height: 18px;
        padding: 0 6px;
        background: #14b567;
        color: #fff;
        font-size: 10px;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back,
    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        min-width: 80px;
        min-height: 56px;
        margin: 0 1px;
        border-radius: 4px;
        color: #263241;
        font-size: 16px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back {
        background: #79c4f7;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        background: #f5a9bf;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock,
    body.exchange-home:not(.logged-exchange) .exchange-search,
    body.exchange-home:not(.logged-exchange) .exchange-user,
    body.exchange-home:not(.logged-exchange) .exchange-ticker,
    body.exchange-home:not(.logged-exchange) .exchange-nav,
    body.exchange-home:not(.logged-exchange) .credit-pill {
        display: none !important;
    }

    body.exchange-home:not(.logged-exchange) .exchange-top {
        display: flex !important;
        justify-content: space-between !important;
        min-height: 82px !important;
        padding: 10px 40px !important;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login {
        position: static !important;
        display: flex !important;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        align-items: stretch;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a,
    body.exchange-home:not(.logged-exchange) .mode-tabs button {
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs {
        overflow: hidden;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a {
        white-space: nowrap;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a.is-active {
        color: #1768ad !important;
        font-weight: 800 !important;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel.is-active {
        display: block;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .match-col {
        width: 47% !important;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .time-col {
        width: 13% !important;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .empty-col {
        width: 0 !important;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel .odd-col {
        width: 13.333% !important;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(3),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(3) {
        display: none !important;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(n+4),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(n+4) {
        padding: 4px 3px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:first-child {
        width: 60% !important;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:nth-child(n+2) {
        width: 13.333% !important;
        display: table-cell !important;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back,
    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        width: calc(50% - 3px) !important;
        min-width: 0 !important;
        max-width: 92px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        vertical-align: middle !important;
    }

    @media (max-width: 1400px) {
        body.exchange-home:not(.logged-exchange) .exchange-login {
            top: 78px;
        }

        body.exchange-home:not(.logged-exchange) .exchange-login button,
        body.exchange-home:not(.logged-exchange) .exchange-login a {
            font-size: 19px;
        }
    }
}

/* Final public desktop landing lock */
@media (min-width: 821px) {
    body.exchange-home:not(.logged-exchange) .exchange-top {
        min-height: 82px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 40px;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock,
    body.exchange-home:not(.logged-exchange) .exchange-search,
    body.exchange-home:not(.logged-exchange) .exchange-user,
    body.exchange-home:not(.logged-exchange) .exchange-ticker,
    body.exchange-home:not(.logged-exchange) .exchange-nav,
    body.exchange-home:not(.logged-exchange) .credit-pill {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login {
        position: static;
        display: flex;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button {
        min-width: 135px;
        min-height: 48px;
        padding: 0 26px;
        border-radius: 5px;
        background: #ffcc1c;
        color: #1f2937;
        font-size: 19px;
        font-weight: 900;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button::before {
        content: "";
        margin: 0;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs button:nth-child(2)::before {
        content: "\1F680";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(3)::before {
        content: "\25C9";
        margin-right: 14px;
        color: #81551e;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(4)::before {
        content: "\1F3CF";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel thead {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th {
        height: 32px;
        padding: 0 10px;
        background: #f1f1f1;
        color: #000;
        font-size: 16px;
        font-weight: 700;
        text-align: left;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .landing-section-row th:nth-child(n+2) {
        text-align: center;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back {
        background: #79c4f7;
        color: #263241;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        background: #f5a9bf;
        color: #263241;
    }
}

:root {
    --sky: #318bd4;
    --sky-dark: #1768ad;
    --ink: #111827;
    --muted: #667085;
    --line: #dbe7f4;
    --panel: #ffffff;
    --track: #0c7c3e;
    --track-dark: #064528;
    --gold: #ffc247;
    --back: #80caff;
    --lay: #ffbed0;
}

html {
    scroll-behavior: smooth;
}

body.exchange-home {
    margin: 0;
    min-width: 320px;
    background: #3595dd;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.exchange-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .14);
}

.exchange-top {
    min-height: 86px;
    display: grid;
    grid-template-columns: 210px 180px minmax(260px, 1fr) 190px 150px;
    align-items: center;
    gap: 18px;
    padding: 12px 42px;
    background: linear-gradient(120deg, #61b1ec, var(--sky) 58%, #247ac2);
    color: #ffffff;
}

.exchange-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.exchange-logo span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, .92);
    border-radius: 50%;
    background: #ffffff;
    color: var(--sky-dark);
    font-size: 28px;
    font-weight: 900;
}

.exchange-logo strong {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
}

.exchange-clock {
    display: grid;
    gap: 3px;
    font-weight: 800;
    line-height: 1.15;
}

.exchange-clock span {
    font-size: 13px;
    opacity: .86;
}

.exchange-clock b {
    font-size: 18px;
}

.exchange-search input {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    padding: 0 18px;
    color: #0f172a;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
}

.exchange-user {
    display: grid;
    gap: 3px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
}

.exchange-user p,
.exchange-user small {
    margin: 0;
    overflow-wrap: anywhere;
}

.exchange-user p {
    font-size: 14px;
    font-weight: 900;
}

.exchange-user small {
    font-size: 12px;
    font-weight: 800;
    opacity: .86;
}

.exchange-login {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.exchange-login button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #ffffff;
    color: var(--sky-dark);
    font-weight: 900;
    text-transform: uppercase;
}

.exchange-ticker {
    height: 30px;
    overflow: hidden;
    background: #2378bf;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 30px;
    white-space: nowrap;
}

.exchange-ticker span {
    display: inline-block;
    min-width: 100%;
    padding-left: 52%;
    animation: ticker 24s linear infinite;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.exchange-nav {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 22px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.exchange-nav a,
.exchange-nav button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #176fb8;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.exchange-nav a:hover,
.exchange-nav button:hover {
    background: #edf6ff;
}

.race-hero {
    min-height: 368px;
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) minmax(320px, 43vw) 52px;
    align-items: stretch;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(6, 69, 40, .96), rgba(12, 124, 62, .84) 43%, rgba(49, 139, 212, .2)),
        var(--track);
}

.race-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background: linear-gradient(90deg, var(--gold), #ffffff, var(--gold));
}

.race-hero > button {
    align-self: center;
    justify-self: center;
    width: 44px;
    height: 58px;
    border: 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, .26);
    color: #ffffff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}

.race-copy {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 780px;
    padding: 34px 42px;
}

.race-copy small {
    color: #d8ffce;
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}

.race-copy h1 {
    margin: 6px 0 10px;
    color: #ffffff;
    font-size: clamp(34px, 4.6vw, 66px);
    line-height: .96;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .28);
}

.race-copy p {
    max-width: 590px;
    margin: 0 0 18px;
    color: #effdf2;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.race-copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.race-copy li {
    min-width: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(4, 13, 9, .92);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

.race-copy li b {
    grid-row: span 2;
    min-height: 58px;
    display: grid;
    place-items: center;
    background: #62bd3c;
    font-size: 30px;
}

.race-copy li span {
    padding: 8px 10px 0;
    overflow: hidden;
    color: #ff5944;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.race-copy li em {
    padding: 0 10px 8px;
    font-style: normal;
    font-weight: 900;
}

.race-visual {
    min-height: 100%;
    background:
        linear-gradient(90deg, rgba(6, 69, 40, .25), rgba(6, 69, 40, 0) 44%),
        url("race-hero.png") center right / cover no-repeat;
}

.race-hero > strong {
    position: absolute;
    right: clamp(72px, 8vw, 138px);
    bottom: 42px;
    max-width: 260px;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 56px);
    font-style: italic;
    font-weight: 900;
    line-height: .92;
    text-align: right;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .42);
}

.credit-pill {
    position: absolute;
    right: clamp(72px, 8vw, 138px);
    top: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 16px;
    background: var(--gold);
    color: #182230;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
}

.exchange-board {
    width: min(1220px, calc(100% - 48px));
    margin: 34px auto 24px;
}

.quick-strip {
    width: min(1220px, calc(100% - 48px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 22px auto 0;
}

.quick-strip a,
.quick-strip button {
    min-height: 86px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 16px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: inherit;
    text-align: left;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .1);
}

.quick-strip b {
    color: #11263a;
    font-size: 18px;
    font-weight: 900;
}

.quick-strip span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.mode-tabs,
.sport-tabs {
    display: grid;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .1);
}

.mode-tabs {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 8px 8px 0 0;
    padding: 6px;
    gap: 6px;
}

.sport-tabs {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    border-top: 1px solid #edf2f7;
}

.mode-tabs a,
.mode-tabs button,
.sport-tabs a {
    min-height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-weight: 900;
    text-align: center;
}

.mode-tabs a,
.mode-tabs button {
    border-radius: 6px;
}

.mode-tabs .active,
.mode-tabs a:hover,
.mode-tabs button:hover {
    background: var(--sky);
    color: #ffffff;
}

.sport-tabs a {
    border-right: 1px solid #edf2f7;
    color: #126fb9;
    font-size: 14px;
    text-transform: uppercase;
}

.odds-panel {
    overflow-x: auto;
    background: #ffffff;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(16, 24, 40, .09);
}

.odds-panel table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.odds-panel th {
    height: 34px;
    padding: 0 10px;
    background: #f2f6fb;
    color: #344054;
    font-size: 13px;
    text-align: left;
    text-transform: uppercase;
}

.odds-panel th:nth-child(n+4),
.odds-panel td:nth-child(n+4) {
    text-align: center;
}

.odds-panel td {
    padding: 8px 10px;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.odds-panel tr:nth-child(even) td {
    background: #fbfdff;
}

.odds-panel td:first-child button {
    border: 0;
    background: transparent;
    color: #1d2939;
    font-weight: 900;
    text-align: left;
}

.odds-panel td:first-child button:hover {
    color: var(--sky-dark);
}

.live-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #dcfaeb;
    color: #04845f;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.blink-blue {
    background: #1f8fff;
    color: #fff;
    animation: blinkBlue 1s ease-in-out infinite;
}

@keyframes blinkBlue {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(31,143,255,.18);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 0 5px rgba(31,143,255,.2);
        opacity: .72;
    }
}

.odds-panel button {
    min-width: 56px;
    min-height: 34px;
    margin: 0 1px;
    border: 0;
    border-radius: 4px;
    color: #182230;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.odds-panel .back {
    background: var(--back);
}

.odds-panel .lay {
    background: var(--lay);
}

.exchange-links {
    width: min(1220px, calc(100% - 48px));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 auto 38px;
}

.exchange-links a,
.exchange-links button {
    min-height: 50px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: #ffffff;
    color: var(--sky-dark);
    font-weight: 900;
    text-align: center;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .1);
}

.game-lobby {
    width: min(1220px, calc(100% - 48px));
    margin: 28px auto 24px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
    color: #ffffff;
}

.section-title span {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.section-title h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1;
}

.lobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.lobby-grid a,
.lobby-grid button {
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    overflow: hidden;
    position: relative;
    padding: 18px;
    border: 0;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8, 34, 54, .92), rgba(8, 34, 54, .58)),
        linear-gradient(135deg, #0f5a7e, #1a9a67 48%, #f7bd45);
    color: #ffffff;
    text-align: left;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .16);
}

.lobby-grid a::before,
.lobby-grid button::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
}

.lobby-grid strong,
.lobby-grid span {
    position: relative;
}

.lobby-grid strong {
    font-size: 20px;
    font-weight: 900;
}

.lobby-grid span {
    max-width: 330px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.login-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    place-items: center;
    padding: 22px;
}

.login-overlay.is-open {
    display: grid;
}

.login-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(5, 15, 30, .68);
}

.landing-login-card {
    width: min(438px, 100%);
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    padding: 36px 24px;
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #1f84ce, #4aa5ee);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.landing-login-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
}

.landing-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.landing-login-logo span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    font-size: 28px;
    font-weight: 900;
}

.landing-login-logo strong {
    font-size: 40px;
    font-weight: 900;
}

.landing-login-card h2 {
    margin: 0;
    font-size: 20px;
    text-align: center;
}

.landing-login-card form {
    display: grid;
    gap: 14px;
}

.landing-login-card label {
    display: grid;
    gap: 6px;
}

.landing-login-card label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.landing-login-card input {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 6px;
    padding: 0 14px;
    background: #ffffff;
    color: #111827;
    font-size: 17px;
    outline: 0;
}

.landing-login-card input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .38);
}

.landing-login-card form button {
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: #d5e900;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-login-card form button:disabled {
    opacity: .75;
}

.login-error {
    margin: -2px 0 0;
    padding: 9px 10px;
    border-radius: 6px;
    background: rgba(76, 5, 5, .32);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.logged-exchange {
    background: #3d95d8;
}

.logged-top {
    min-height: 112px;
    display: grid;
    grid-template-columns: 230px 210px minmax(280px, 1fr) 260px 210px;
    align-items: center;
    gap: 22px;
    padding: 16px 52px;
    background:
        linear-gradient(120deg, rgba(28, 85, 132, .92), rgba(66, 154, 221, .9)),
        linear-gradient(135deg, #1f4f7b, #4aa4e8);
    color: #ffffff;
}

.logged-top .exchange-logo span {
    color: #318bd4;
}

.logged-top .exchange-logo strong {
    font-size: 34px;
}

.logged-top .exchange-clock b small {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 800;
}

.logged-user {
    display: grid;
    gap: 4px;
    font-size: 14px;
    font-weight: 900;
}

.logged-user small {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 800;
}

.profile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.profile-actions a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.logged-nav {
    gap: 18px;
}

.logged-nav a {
    color: #1261a3;
    font-size: 16px;
}

.logged-hero {
    min-height: 394px;
}

.logged-hero .credit-pill {
    right: 0;
    top: 0;
    border-radius: 0 0 0 7px;
    background: #2d8ddd;
    color: #ffffff;
}

.logged-board {
    width: min(1750px, calc(100% - 150px));
    margin-top: 50px;
}

.logged-board .mode-tabs {
    grid-template-columns: repeat(3, 1fr);
    border: 6px solid #ffffff;
    border-radius: 16px;
}

.logged-board .sport-tabs {
    margin-top: 6px;
    border-radius: 12px 12px 0 0;
}

.logged-board .odds-panel {
    box-shadow: none;
}

.logged-board .odds-panel table {
    min-width: 980px;
}

.exchange-detail-layout {
    width: min(1560px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 390px;
    gap: 26px;
    align-items: start;
    margin: 0 auto 42px;
    padding-top: 0;
}

.exchange-detail-layout .logged-board {
    width: 100%;
    margin-top: 0;
}

.event-sidebar {
    position: sticky;
    top: 196px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.event-sidebar strong,
.event-sidebar a,
.event-sidebar button {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    text-align: left;
}

.event-sidebar a {
    background: #cfe4fa;
    color: #1261a3;
}

.event-sidebar button {
    color: #b42318;
}

.event-title-row {
    display: grid;
    gap: 8px;
    margin: 8px 0 18px;
}

.event-title-row h1 {
    margin: 0;
    font-size: 24px;
}

.event-title-row a {
    width: fit-content;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.watch-panel {
    min-height: 356px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-bottom: 16px;
    background:
        linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)),
        url("race-hero.png") center / cover no-repeat;
}

.watch-panel div {
    min-height: 50px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.86);
    color: #172033;
    font-size: 17px;
    text-transform: uppercase;
}

.watch-panel div:nth-child(2) {
    background: #3e96df;
    color: #ffffff;
}

.watch-panel span {
    grid-column: 1 / -1;
    align-self: center;
    justify-self: center;
    padding: 10px 16px;
    background: rgba(0, 0, 0, .46);
    color: #ffffff;
    font-weight: 900;
}

.logged-board .odds-panel td:first-child a {
    display: grid;
    gap: 3px;
    color: #172033;
    font-weight: 900;
}

.logged-board .odds-panel td:first-child small {
    color: #008060;
    font-size: 12px;
}

.logged-board .odds-panel button small {
    display: block;
    font-size: 10px;
    font-weight: 800;
}

.betslip-panel {
    position: sticky;
    top: 196px;
    display: grid;
    gap: 12px;
}

.credit-box {
    min-height: 34px;
    display: grid;
    place-items: center;
    background: #c9df00;
    color: #ffffff;
    font-weight: 900;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    color: #172033;
    font-weight: 900;
}

.toggle-row input {
    width: 28px;
    height: 28px;
}

.betslip-panel h2 {
    margin: 0;
    color: #1261a3;
    font-size: 20px;
}

.betslip-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.betslip-tabs button {
    min-height: 44px;
    border: 0;
    background: #ffffff;
    color: #1261a3;
    font-weight: 800;
}

.betslip-tabs .active {
    background: #d8ecff;
}

.bet-form {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #ffffff;
}

.bet-form > strong {
    color: #004f99;
    font-size: 18px;
}

.bet-pick-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
    background: #80caff;
    color: #00365f;
    font-weight: 900;
}

.bet-input-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.bet-input-grid label {
    display: grid;
    gap: 4px;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.bet-input-grid input {
    min-height: 42px;
    width: 100%;
    border: 1px solid #b9d7ef;
    border-radius: 4px;
    padding: 0 8px;
}

.stake-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.stake-grid button {
    min-height: 34px;
    border: 0;
    border-radius: 4px;
    background: #2d8ddd;
    color: #ffffff;
    font-weight: 900;
}

.bet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 70px;
}

.bet-actions button {
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 900;
}

.bet-actions button:first-child {
    background: #c21a0a;
}

.bet-actions button:last-child {
    background: #c9df00;
}

.bet-message {
    margin: 0;
    padding: 9px;
    border-radius: 4px;
    background: #fee4e2;
    color: #b42318;
    font-size: 13px;
    font-weight: 900;
}

.bet-message.is-ok {
    background: #dcfae6;
    color: #067647;
}

.user-bet-history {
    margin-top: 16px;
    background: #ffffff;
}

.user-bet-history h2 {
    margin: 0;
    padding: 12px;
    font-size: 18px;
}

.user-bet-history p {
    margin: 0;
    padding: 12px;
}

.user-bet-history table {
    width: 100%;
    border-collapse: collapse;
}

.user-bet-history th,
.user-bet-history td {
    padding: 9px 10px;
    border-top: 1px solid #edf2f7;
    font-size: 13px;
    text-align: left;
}

@media (max-width: 1120px) {
    .exchange-top {
        grid-template-columns: 210px minmax(220px, 1fr) 150px;
    }

    .exchange-clock,
    .exchange-user {
        display: none;
    }

    .race-hero {
        grid-template-columns: 1fr minmax(260px, 42vw);
    }

    .race-hero > button {
        display: none;
    }
}

@media (max-width: 1180px) {
    .logged-top {
        grid-template-columns: 210px minmax(250px, 1fr) 220px;
    }

    .logged-top .exchange-clock,
    .logged-user {
        display: none;
    }

    .logged-board {
        width: calc(100% - 32px);
    }

    .exchange-detail-layout {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
    }

    .event-sidebar,
    .betslip-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .exchange-header {
        position: static;
    }

    .exchange-top {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .logged-top {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .exchange-logo,
    .exchange-login {
        justify-self: center;
    }

    .profile-actions {
        justify-content: center;
    }

    .exchange-nav {
        justify-content: flex-start;
        padding: 8px 12px;
    }

    .race-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .race-copy {
        padding: 28px 16px 22px;
    }

    .race-copy ul {
        grid-template-columns: 1fr;
    }

    .race-visual {
        min-height: 210px;
        background-position: center;
    }

    .race-hero > strong,
    .credit-pill {
        right: 16px;
    }

    .race-hero > strong {
        bottom: 22px;
    }

    .credit-pill {
        top: auto;
        bottom: 124px;
    }

    .exchange-board,
    .exchange-links,
    .quick-strip,
    .game-lobby {
        width: calc(100% - 20px);
    }

    .mode-tabs,
    .sport-tabs,
    .exchange-links,
    .quick-strip,
    .lobby-grid {
        grid-template-columns: 1fr;
    }

    .logged-board .mode-tabs {
        grid-template-columns: 1fr;
    }

    .section-title {
        display: block;
    }

    .section-title h2 {
        margin-top: 4px;
        font-size: 24px;
    }
}

@media (max-width: 520px) {
    .exchange-logo strong {
        font-size: 26px;
    }

    .race-copy li span {
        white-space: normal;
    }

    .sport-tabs a,
    .mode-tabs a {
        min-height: 42px;
    }
}

/* 365-style landing refresh */
body.exchange-home {
    background:
        linear-gradient(120deg, rgba(255,255,255,.08) 0 16%, transparent 16% 34%, rgba(255,255,255,.08) 34% 50%, transparent 50%),
        #3d91d7;
}

body.exchange-home:not(.logged-exchange) .exchange-header {
    position: relative;
    background: #4d97da;
    box-shadow: none;
}

body.exchange-home:not(.logged-exchange) .exchange-top {
    min-height: 90px;
    grid-template-columns: minmax(170px, 1fr) auto;
    padding: 14px 38px;
    background:
        linear-gradient(118deg, rgba(255,255,255,.09) 0 21%, transparent 21% 45%, rgba(18,86,155,.14) 45% 63%, transparent 63%),
        #4c98db;
}

body.exchange-home:not(.logged-exchange) .exchange-logo span {
    width: 34px;
    height: 34px;
    border-width: 2px;
    font-size: 21px;
}

body.exchange-home:not(.logged-exchange) .exchange-logo strong {
    font-size: 28px;
    color: #fff;
}

body.exchange-home:not(.logged-exchange) .exchange-clock,
body.exchange-home:not(.logged-exchange) .exchange-search,
body.exchange-home:not(.logged-exchange) .exchange-user,
body.exchange-home:not(.logged-exchange) .exchange-ticker,
body.exchange-home:not(.logged-exchange) .exchange-nav {
    display: none;
}

body.exchange-home:not(.logged-exchange) .exchange-login {
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

body.exchange-home:not(.logged-exchange) .exchange-login button,
body.exchange-home:not(.logged-exchange) .exchange-login a {
    min-width: 136px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    background: #ffcf22;
    color: #1f2937;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
}

body.exchange-home:not(.logged-exchange) .exchange-login a {
    background: #ffffff;
    color: #1768ad;
}

body.exchange-home:not(.logged-exchange) main {
    padding-bottom: 0;
}

body.exchange-home:not(.logged-exchange) .race-hero {
    min-height: 396px;
    grid-template-columns: 64px 1fr 64px;
    margin: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(20,35,55,.06), rgba(255,255,255,.04)),
        url("race-hero.png") center / cover no-repeat,
        linear-gradient(90deg, #f5d7b5, #f9e4bd);
}

body.exchange-home:not(.logged-exchange) .race-hero::after {
    height: 0;
}

body.exchange-home:not(.logged-exchange) .race-copy,
body.exchange-home:not(.logged-exchange) .race-visual,
body.exchange-home:not(.logged-exchange) .race-hero > strong,
body.exchange-home:not(.logged-exchange) .credit-pill {
    display: none;
}

body.exchange-home:not(.logged-exchange) .race-hero > button {
    width: 50px;
    height: 50px;
    border-radius: 0;
    background: rgba(0,0,0,.5);
    font-size: 54px;
    z-index: 2;
}

body.exchange-home:not(.logged-exchange) .race-hero > button:first-child {
    grid-column: 1;
}

body.exchange-home:not(.logged-exchange) .race-hero > button:last-child {
    grid-column: 3;
}

body.exchange-home:not(.logged-exchange) .quick-strip,
body.exchange-home:not(.logged-exchange) .game-lobby,
body.exchange-home:not(.logged-exchange) .exchange-links {
    display: none;
}

body.exchange-home:not(.logged-exchange) .exchange-board {
    width: min(1750px, calc(100% - 156px));
    margin: 50px auto 0;
    padding: 0 8px 8px;
    border: 0;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: none;
}

body.exchange-home:not(.logged-exchange) .mode-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    min-height: 62px;
    margin: 0;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
}

body.exchange-home:not(.logged-exchange) .mode-tabs a,
body.exchange-home:not(.logged-exchange) .mode-tabs button {
    min-height: 56px;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #000;
    font-size: 20px;
    text-transform: none;
}

body.exchange-home:not(.logged-exchange) .mode-tabs a:not(:last-child),
body.exchange-home:not(.logged-exchange) .mode-tabs button:not(:last-child) {
    border-right: 1px solid #ddd;
}

body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(1)::before { content: "🔥"; margin-right: 12px; }
body.exchange-home:not(.logged-exchange) .mode-tabs button:nth-child(2)::before { content: "🚀"; margin-right: 12px; }
body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(3)::before { content: "🎰"; margin-right: 12px; }
body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(4)::before { content: "🏏"; margin-right: 12px; }

body.exchange-home:not(.logged-exchange) .mode-tabs .active {
    background: #5aa0e2;
    color: #fff;
}

body.exchange-home:not(.logged-exchange) .sport-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 26px;
    margin: 5px 0 0;
    padding: 16px 12px;
    border-radius: 8px 8px 0 0;
    background: #fff;
    overflow-x: auto;
}

body.exchange-home:not(.logged-exchange) .sport-tabs a {
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
}

body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(1)::before { content: "🏆 "; }
body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(2)::before { content: "🏏 "; }
body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(3)::before { content: "⚽ "; }
body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(4)::before { content: "🎾 "; }
body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(5)::before { content: "🏇 "; }
body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(6)::before { content: "🐎 "; }

body.exchange-home:not(.logged-exchange) .odds-panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.exchange-home:not(.logged-exchange) .odds-panel th {
    height: 32px;
    background: #f3f3f3;
    color: #000;
    font-size: 16px;
    text-transform: none;
}

body.exchange-home:not(.logged-exchange) .odds-panel td {
    height: 66px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 15px;
}

body.exchange-home:not(.logged-exchange) .odds-panel td:first-child button {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}

body.exchange-home:not(.logged-exchange) .odds-panel button.back,
body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
    min-width: 80px;
    min-height: 54px;
    border-radius: 4px;
    font-size: 17px;
}

.mobile-live-board {
    display: none;
}

@media (max-width: 820px) {
    body.exchange-home:not(.logged-exchange) .exchange-top {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        min-height: 58px;
        padding: 7px 9px;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login {
        width: auto;
        display: flex;
        gap: 7px;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button,
    body.exchange-home:not(.logged-exchange) .exchange-login a {
        min-width: 0;
        width: auto;
        min-height: 34px;
        padding: 0 10px;
        font-size: 11px;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login a {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo strong {
        font-size: 20px;
    }

    body.exchange-home:not(.logged-exchange) .race-hero {
        min-height: 126px;
        grid-template-columns: 44px 1fr 44px;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button {
        width: 36px;
        height: 42px;
        font-size: 42px;
    }

    body.exchange-home:not(.logged-exchange) .quick-strip {
        width: calc(100% - 14px);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        margin: 0 auto;
        padding: 0;
        border-radius: 0;
        background: #ffd400;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .quick-strip::before {
        content: "Trending";
        grid-column: 1 / -1;
        padding: 4px 6px;
        color: #333;
        font-size: 13px;
        font-weight: 900;
    }

    body.exchange-home:not(.logged-exchange) .quick-strip a,
    body.exchange-home:not(.logged-exchange) .quick-strip button {
        min-height: 62px;
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 2px;
        border: 0;
        border-radius: 0;
        background: linear-gradient(135deg, #11335a, #eb2779);
        color: #fff;
        text-align: center;
    }

    body.exchange-home:not(.logged-exchange) .quick-strip a:nth-child(n+3),
    body.exchange-home:not(.logged-exchange) .quick-strip button:nth-child(n+3) {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .quick-strip b {
        font-size: 13px;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .quick-strip span {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .mobile-live-board {
        width: calc(100% - 14px);
        display: block;
        margin: 5px auto 0;
        overflow: hidden;
        border-radius: 9px 9px 0 0;
        background: #fff;
    }

    body.exchange-home:not(.logged-exchange) .mobile-mode-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-bottom: 1px solid #ddd;
    }

    body.exchange-home:not(.logged-exchange) .mobile-mode-tabs button {
        min-height: 47px;
        border: 0;
        border-right: 1px solid #ddd;
        background: #fff;
        color: #111;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.15;
    }

    body.exchange-home:not(.logged-exchange) .mobile-mode-tabs button:first-child {
        background: #5aa1df;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-slider {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 8px 8px;
        border-bottom: 1px solid #e5e5e5;
        background: #fff;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-slider a {
        flex: 0 0 auto;
        min-height: 25px;
        display: inline-flex;
        align-items: center;
        padding: 0 7px;
        border-radius: 999px;
        color: #111;
        font-size: 11px;
        font-weight: 900;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-slider a:first-child {
        background: #ffe167;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-slider a:nth-child(1)::before { content: "🏏 "; }
    body.exchange-home:not(.logged-exchange) .mobile-sport-slider a:nth-child(2)::before { content: "⚽ "; }
    body.exchange-home:not(.logged-exchange) .mobile-sport-slider a:nth-child(3)::before { content: "🎾 "; }
    body.exchange-home:not(.logged-exchange) .mobile-sport-slider a:nth-child(4)::before { content: "🏇 "; }
    body.exchange-home:not(.logged-exchange) .mobile-sport-slider a:nth-child(5)::before { content: "🏁 "; }

    body.exchange-home:not(.logged-exchange) .mobile-slide-panels {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-panel {
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
        background: #fff;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-panel header,
    body.exchange-home:not(.logged-exchange) .mobile-odd-row {
        display: grid;
        grid-template-columns: 62px minmax(0, 1fr) 52px 52px 52px;
        align-items: stretch;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-panel header {
        min-height: 32px;
        background: #f2f2f2;
        color: #000;
        font-size: 10px;
        font-weight: 900;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-panel header span {
        grid-column: 1 / 3;
        align-self: center;
        padding: 0 8px;
    }

    body.exchange-home:not(.logged-exchange) .mobile-sport-panel header b {
        display: grid;
        place-items: center;
    }

    body.exchange-home:not(.logged-exchange) .mobile-section-label {
        padding: 8px 10px;
        background: #fff;
        color: #111;
        font-size: 12px;
        font-weight: 900;
    }

    body.exchange-home:not(.logged-exchange) .mobile-odd-row {
        min-height: 56px;
        border-bottom: 1px solid #e8e8e8;
    }

    body.exchange-home:not(.logged-exchange) .mobile-time {
        display: grid;
        place-items: center;
        padding: 3px;
        color: #de5c3d;
        font-size: 9px;
        font-weight: 800;
        line-height: 1.15;
        text-align: center;
        overflow-wrap: anywhere;
    }

    body.exchange-home:not(.logged-exchange) .mobile-match {
        display: grid;
        align-content: center;
        justify-items: start;
        min-width: 0;
        padding: 4px 6px;
        border: 0;
        background: transparent;
        color: #111;
        text-align: left;
    }

    body.exchange-home:not(.logged-exchange) .mobile-match strong,
    body.exchange-home:not(.logged-exchange) .mobile-match small {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }

    body.exchange-home:not(.logged-exchange) .mobile-match strong {
        font-size: 11px;
        font-weight: 900;
        line-height: 1.15;
    }

    body.exchange-home:not(.logged-exchange) .mobile-match small {
        margin-top: 2px;
        font-size: 10px;
        font-weight: 900;
    }

    body.exchange-home:not(.logged-exchange) .mobile-odd-row .back {
        min-width: 0;
        min-height: 48px;
        margin: 2px;
        border: 0;
        border-radius: 5px;
        background: #78c4f6;
        color: #10263a;
        font-size: 13px;
        font-weight: 900;
    }

    body.exchange-home:not(.logged-exchange) .exchange-board {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs {
        grid-template-columns: repeat(4, 1fr);
        min-height: 0;
        padding: 0;
        border-radius: 9px 9px 0 0;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a,
    body.exchange-home:not(.logged-exchange) .mode-tabs button {
        min-height: 46px;
        border-radius: 0;
        font-size: 12px;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs {
        justify-content: flex-start;
        gap: 10px;
        padding: 8px 7px;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a {
        flex: 0 0 auto;
        font-size: 11px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel {
        overflow: hidden;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel table {
        min-width: 0;
        width: 100%;
        table-layout: fixed;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th,
    body.exchange-home:not(.logged-exchange) .odds-panel td {
        height: 50px;
        padding: 3px;
        font-size: 10px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(1),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(1) {
        width: 38%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(2),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(2) {
        width: 15%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(3),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(3) {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(n+4),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(n+4) {
        width: 15.66%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td:first-child button {
        font-size: 11px;
        line-height: 1.25;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back,
    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        min-width: 0;
        width: 100%;
        min-height: 34px;
        margin: 1px 0;
        font-size: 12px;
    }
}

/* Logged-in 365-style sport pages */
.logged-exchange {
    background:
        linear-gradient(125deg, rgba(0,0,0,.025), transparent 18%, rgba(0,0,0,.025) 18% 42%, transparent 42%),
        #f6f6f6;
}

.logged-exchange .exchange-header {
    position: relative;
    box-shadow: none;
}

.logged-exchange .logged-top {
    min-height: 112px;
    grid-template-columns: 240px 230px minmax(320px, 1fr) 270px 220px;
    background:
        linear-gradient(118deg, rgba(255,255,255,.08) 0 24%, transparent 24% 46%, rgba(22,79,145,.12) 46% 64%, transparent 64%),
        #4d98db;
}

.logged-exchange .exchange-ticker {
    height: 32px;
    background: #2c80c9;
}

.logged-exchange .logged-nav {
    min-height: 74px;
    gap: 22px;
    border-bottom: 1px solid #d7d7d7;
    background: #fff;
}

.logged-exchange .logged-nav a {
    color: #005aa8;
    font-size: 18px;
    text-transform: uppercase;
}

.sports-page-shell {
    background:
        linear-gradient(120deg, rgba(0,0,0,.025) 0 16%, transparent 16% 39%, rgba(0,0,0,.025) 39% 63%, transparent 63%),
        #f6f6f6;
}

.sports-detail-layout {
    width: min(1560px, calc(100% - 40px));
    grid-template-columns: 220px minmax(0, 1fr) 390px;
    gap: 26px;
    padding-top: 0;
}

.sports-detail-layout .event-sidebar {
    top: 0;
    position: sticky;
}

.sports-detail-layout .event-sidebar strong,
.sports-detail-layout .event-sidebar a,
.sports-detail-layout .event-sidebar button {
    min-height: 38px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

.sports-detail-layout .event-sidebar a.is-active {
    background: #3b92df;
    color: #fff;
}

.sports-detail-layout .event-sidebar a span,
.sports-detail-layout .event-sidebar button span {
    margin-left: auto;
    font-size: 22px;
}

.sports-content {
    min-width: 0;
    padding: 8px 0 44px;
}

.sports-heading {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
}

.sports-heading h1,
.sports-heading h2 {
    margin: 0;
    color: #000;
}

.sports-heading h1 {
    font-size: 26px;
}

.sports-heading h2 {
    grid-column: 1 / -1;
    font-size: 26px;
    font-weight: 500;
}

.sports-heading strong {
    font-size: 14px;
}

.sports-heading a {
    color: #000;
    font-size: 18px;
    font-weight: 900;
}

.sports-odds-panel {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sports-odds-panel table {
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
}

.sports-odds-panel th {
    height: 34px;
    background: #f2f2f2;
    color: #000;
    font-size: 16px;
    text-transform: none;
}

.sports-odds-panel td {
    height: 56px;
    border-bottom: 1px solid #e2e2e2;
    background: rgba(255,255,255,.76);
}

.sports-odds-panel td:first-child a,
.sports-odds-panel td:first-child strong {
    display: block;
    color: #0054a6;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.sports-odds-panel td:first-child small {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 8px;
    background: #e5e5e5;
    color: #000;
}

.match-time {
    display: block;
    color: #333;
    font-size: 13px;
    line-height: 1.2;
    text-align: right;
    white-space: pre-line;
}

.sports-odds-panel button.back,
.sports-odds-panel button.lay {
    min-width: 64px;
    min-height: 50px;
    margin: 0 2px;
    border-radius: 4px;
    font-size: 16px;
}

.sports-odds-panel button[data-bet-pick] {
    animation: oddsFlash 1.8s ease-in-out infinite;
}

.sports-odds-panel button[data-bet-pick] small {
    display: block !important;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1;
}

.sports-odds-panel button.is-updating {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(31,143,255,.22);
    animation: oddsChanged 2s ease-in-out;
}

@keyframes oddsChanged {
    0%, 100% { outline: 0 solid rgba(255, 204, 0, 0); }
    25%, 75% { outline: 4px solid rgba(255, 204, 0, .7); }
    50% { filter: brightness(1.18); }
}

@keyframes oddsFlash {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.08);
    }
}

.exchange-match-board {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.exchange-match-board table {
    min-width: 980px;
}

.exchange-match-board .market-section-row th {
    height: 34px;
    background: #f1f1f1;
    color: #000;
    font-size: 15px;
    text-align: left;
}

.exchange-match-board td:first-child a {
    display: grid;
    gap: 6px;
    color: #0054a6;
}

.exchange-match-board td:nth-child(n+3),
.exchange-match-board th:nth-child(n+3) {
    text-align: center;
}

.exchange-match-board .match-time {
    text-align: center;
}

.tennis-list-panel td:first-child {
    min-width: 440px;
}

.tennis-match-link {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.tennis-score {
    width: 68px;
    min-height: 54px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    border-radius: 5px;
    background: #20a85a;
    color: #fff;
}

.tennis-score b {
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 900;
}

.tennis-score b:nth-child(even) {
    background: rgba(0,0,0,.12);
}

.tennis-match-link strong {
    display: block;
    color: #0054a6;
    line-height: 1.55;
}

.tennis-detail-heading {
    grid-template-columns: 1fr auto;
}

.tennis-watch-panel {
    min-height: 356px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-bottom: 14px;
    background:
        linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
        url("race-hero.png") center / cover no-repeat,
        #fff;
}

.tennis-watch-panel > button {
    min-height: 50px;
    display: grid;
    place-items: center;
    border: 0;
    background: #ddd;
    color: #172033;
    font-size: 18px;
    text-transform: uppercase;
}

.tennis-watch-panel > button:nth-child(2),
.tennis-watch-panel > button.active {
    background: #3b92df;
    color: #fff;
}

.tennis-watch-panel > button:first-child.active {
    background: #ddd;
    color: #172033;
}

.tennis-watch-panel > .live-score-panel,
.tennis-watch-panel > .live-tv-panel {
    grid-column: 1 / -1;
    align-self: stretch;
    justify-self: stretch;
}

.live-score-panel[hidden],
.live-tv-panel[hidden] {
    display: none !important;
}

.live-score-panel,
.live-tv-panel {
    min-height: 248px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 24px;
    background: #fff;
    color: #111827;
}

.live-score-panel strong,
.live-tv-panel strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 12px;
    background: #1689e8;
    color: #fff;
    font-weight: 900;
}

.live-score-panel p {
    width: min(460px, 100%);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #dfe7f2;
    border-radius: 4px;
    background: #f8fbff;
    color: #0054a6;
    font-size: 18px;
    font-weight: 900;
}

.live-score-panel b {
    color: #111827;
}

.live-tv-panel {
    background:
        linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
        #111827;
    color: #fff;
}

.live-tv-panel span {
    max-width: 520px;
    text-align: center;
}

.sport-detail-board {
    min-height: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-bottom: 14px;
    background: #fff;
}

.sport-detail-board > button {
    min-height: 50px;
    display: grid;
    place-items: center;
    border: 0;
    background: #ddd;
    color: #172033;
    font-size: 18px;
    text-transform: uppercase;
}

.sport-detail-board > button:nth-child(2),
.sport-detail-board > button.active {
    background: #3b92df;
    color: #fff;
}

.sport-detail-board > button:first-child.active {
    background: #ddd;
    color: #172033;
}

.sport-detail-board > .live-score-panel,
.sport-detail-board > .live-tv-panel {
    grid-column: 1 / -1;
    align-self: stretch;
    justify-self: stretch;
}

.country-sport-detail-odds td:nth-child(2),
.country-sport-detail-odds td:nth-child(3),
.country-sport-detail-odds th:nth-child(2),
.country-sport-detail-odds th:nth-child(3) {
    text-align: center;
}

.country-sport-detail-odds button small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1;
}

.tennis-detail-odds button small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1;
}

.tennis-detail-odds td:nth-child(2),
.tennis-detail-odds td:nth-child(3),
.tennis-detail-odds th:nth-child(2),
.tennis-detail-odds th:nth-child(3),
.tennis-list-panel td:nth-child(n+3),
.tennis-list-panel th:nth-child(n+3) {
    text-align: center;
}

.race-schedule {
    background: rgba(255,255,255,.5);
}

.race-schedule header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 8px 6px;
    background: #579ee3;
    color: #fff;
}

.race-schedule h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
}

.race-schedule header div {
    display: flex;
    gap: 10px;
}

.race-schedule header button,
.country-tabs button {
    min-width: 90px;
    min-height: 36px;
    border: 0;
    border-radius: 3px;
    background: #fff;
    font-weight: 900;
}

.race-schedule header button.active {
    background: #c7dc00;
    color: #fff;
}

.country-tabs {
    display: flex;
    background: #fff;
}

.country-tabs button,
.country-tabs a {
    min-width: 105px;
    min-height: 72px;
    display: grid;
    place-items: center;
    border-right: 1px solid #ececec;
    border-radius: 0;
    color: #000;
    font-weight: 900;
}

.country-tabs button span,
.country-tabs a span {
    display: block;
    font-size: 16px;
}

.country-flag-img {
    width: 44px;
    height: 30px;
    display: block;
    object-fit: cover;
    border: 1px solid #d6dce7;
    border-radius: 2px;
}

.country-icon-mini-img {
    width: 40px;
    height: 28px;
    object-fit: cover;
    border: 1px solid #d6dce7;
    border-radius: 2px;
    margin-right: 10px;
}

.country-tabs a .country-flag {
    width: 48px;
    min-height: 32px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #f4f8ff;
    border: 1px solid #c9d7e8;
    color: transparent;
    font-size: 0;
    font-weight: 900;
    line-height: 1;
    text-shadow: none;
    overflow: hidden;
}

.country-icon-mini {
    width: 34px;
    min-height: 22px;
    display: grid;
    place-items: center;
    margin-right: 8px;
    border: 1px solid #c9d7e8;
    border-radius: 3px;
    color: transparent;
    font-size: 0;
    font-weight: 900;
    overflow: hidden;
}

.flag-rsa { background: linear-gradient(90deg,#000 0 18%,transparent 18%),linear-gradient(135deg,#007a4d 0 42%,#ffb612 42% 48%,#fff 48% 54%,#de3831 54% 76%,#002395 76%); }
.flag-fra { background: linear-gradient(90deg,#0055a4 0 33.3%,#fff 33.3% 66.6%,#ef4135 66.6%); }
.flag-gb { background: linear-gradient(27deg,transparent 0 44%,#fff 44% 48%,#c8102e 48% 53%,#fff 53% 57%,transparent 57%),linear-gradient(153deg,transparent 0 44%,#fff 44% 48%,#c8102e 48% 53%,#fff 53% 57%,transparent 57%),linear-gradient(90deg,transparent 0 42%,#fff 42% 58%,transparent 58%),linear-gradient(180deg,transparent 0 38%,#fff 38% 62%,transparent 62%),linear-gradient(90deg,transparent 0 46%,#c8102e 46% 54%,transparent 54%),linear-gradient(180deg,transparent 0 44%,#c8102e 44% 56%,transparent 56%),#012169; }
.flag-ire { background: linear-gradient(90deg,#169b62 0 33.3%,#fff 33.3% 66.6%,#ff883e 66.6%); }
.flag-usa { background: repeating-linear-gradient(180deg,#b22234 0 4px,#fff 4px 8px); position: relative; }
.flag-usa::before { content:""; position:absolute; left:0; top:0; width:45%; height:55%; background:#3c3b6e; border-radius:3px 0 0 0; }
.flag-aus { background: radial-gradient(circle at 72% 34%,#fff 0 3px,transparent 4px),radial-gradient(circle at 82% 66%,#fff 0 3px,transparent 4px),linear-gradient(135deg,#012169 0 58%,#fff 58% 64%,#e4002b 64%); }
.flag-nzl { background: radial-gradient(circle at 72% 34%,#fff 0 3px,transparent 4px),radial-gradient(circle at 82% 66%,#fff 0 3px,transparent 4px),linear-gradient(135deg,#00247d 0 60%,#cc142b 60%); }
.flag-ind { background: linear-gradient(180deg,#ff9933 0 33%,#fff 33% 66%,#138808 66%); }
.flag-eng { background: linear-gradient(90deg,transparent 0 42%,#c8102e 42% 58%,transparent 58%),linear-gradient(180deg,transparent 0 38%,#c8102e 38% 62%,transparent 62%),#fff; }
.flag-esp { background: linear-gradient(180deg,#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }
.flag-ita { background: linear-gradient(90deg,#009246 0 33%,#fff 33% 66%,#ce2b37 66%); }
.flag-ger { background: linear-gradient(180deg,#000 0 33%,#dd0000 33% 66%,#ffce00 66%); }
.flag-pak { background: radial-gradient(circle at 64% 48%,#fff 0 7px,transparent 8px),linear-gradient(90deg,#fff 0 24%,#01411c 24%); }
.flag-int { background: radial-gradient(circle at center,#fff 0 18%,transparent 19%),#2d8ddd; }

.country-tabs button.active,
.country-tabs a.active {
    background: #3c92df;
    color: #fff;
}

.race-schedule table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.race-schedule th,
.race-schedule td {
    padding: 10px;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
}

.race-schedule td strong {
    display: block;
    color: #0054a6;
}

.race-schedule td em {
    display: block;
    margin-top: 6px;
    color: #555;
}

.race-schedule td a {
    min-width: 70px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 3px 5px;
    border-radius: 3px;
    background: #dfdfdf;
    color: #0054a6;
    font-weight: 900;
}

.race-country-prompt td {
    height: 92px;
    color: #555;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
}

.race-watch-panel {
    min-height: 346px;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}

.race-watch-panel > button {
    min-height: 40px;
    border: 0;
    background: #3b92df;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
}

.race-watch-panel > button:first-child.active {
    background: #ddd;
    color: #172033;
}

.race-watch-panel > button:nth-child(2),
.race-watch-panel > button.active {
    background: #3b92df;
    color: #fff;
}

.race-watch-panel > .live-score-panel,
.race-watch-panel > .live-tv-panel {
    grid-column: 1 / -1;
    align-self: stretch;
    justify-self: stretch;
}

.race-market-tabs {
    display: flex;
    margin: 12px 0;
}

.race-market-tabs button {
    min-width: 100px;
    min-height: 40px;
    border: 0;
    background: #fff;
    font-size: 18px;
}

.race-market-tabs button.active {
    background: #579ee3;
    color: #fff;
}

.race-detail-odds td:nth-child(2),
.race-detail-odds td:nth-child(3),
.race-detail-odds th:nth-child(2),
.race-detail-odds th:nth-child(3) {
    text-align: center;
}

.race-detail-odds button small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1;
}

.race-open-time {
    color: #555;
    font-size: 14px;
}

.race-open-time b {
    color: #0054a6;
}

.logged-exchange .betslip-panel {
    top: 0;
    gap: 14px;
    padding-top: 0;
}

.logged-exchange .credit-box {
    background: #c7dc00;
    min-height: 34px;
}

.logged-exchange .betslip-panel h2 {
    margin: 6px 0 0;
    color: #0054a6;
    font-size: 20px;
    font-weight: 500;
}

.logged-exchange .betslip-tabs {
    border-top: 1px solid #9fb8d1;
    padding-top: 12px;
}

.logged-exchange .bet-form {
    min-height: 110px;
    display: block;
    padding: 12px 24px;
    background: #fff;
}

.logged-exchange .bet-form > strong,
.logged-exchange .bet-pick-row,
.logged-exchange .bet-input-grid,
.logged-exchange .stake-grid,
.logged-exchange .bet-actions {
    display: none;
}

.logged-exchange .bet-form.has-selection {
    display: grid;
    gap: 12px;
}

.logged-exchange .bet-form.has-selection > strong,
.logged-exchange .bet-form.has-selection .bet-pick-row,
.logged-exchange .bet-form.has-selection .bet-input-grid,
.logged-exchange .bet-form.has-selection .stake-grid,
.logged-exchange .bet-form.has-selection .bet-actions {
    display: grid;
}

.logged-exchange .bet-form.has-selection .bet-pick-row,
.logged-exchange .bet-form.has-selection .bet-actions {
    display: flex;
}

.logged-exchange .bet-form.has-selection::before {
    content: none;
}

.logged-exchange .bet-form::before {
    content: "Click on the odds to add selections to the betslip.";
    color: #000;
}

@media (max-width: 980px) {
    .logged-exchange .logged-top {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }

    .logged-exchange .logged-nav {
        justify-content: flex-start;
    }

    .sports-detail-layout {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sports-detail-layout .event-sidebar {
        position: relative;
        display: flex;
        overflow-x: auto;
    }

    .sports-detail-layout .event-sidebar strong,
    .sports-detail-layout .event-sidebar a,
    .sports-detail-layout .event-sidebar button {
        min-width: fit-content;
        white-space: nowrap;
    }

    .sports-content,
    .logged-exchange .betslip-panel {
        padding: 12px;
    }

    .sports-odds-panel,
    .race-schedule {
        overflow-x: auto;
    }

    .race-schedule table {
        min-width: 760px;
    }

    .sport-detail-board,
    .tennis-watch-panel,
    .race-watch-panel {
        min-height: 280px;
    }

    .live-score-panel,
    .live-tv-panel {
        min-height: 220px;
        padding: 16px;
    }

    .live-score-panel p {
        font-size: 15px;
    }

    .sports-odds-panel table {
        min-width: 760px;
    }

    .sports-odds-panel button.back,
    .sports-odds-panel button.lay {
        min-width: 58px;
        min-height: 44px;
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .sport-detail-board,
    .tennis-watch-panel,
    .race-watch-panel {
        grid-template-columns: 1fr 1fr;
    }

    .sport-detail-board > button,
    .tennis-watch-panel > button,
    .race-watch-panel > button {
        min-height: 42px;
        font-size: 14px;
    }

    .live-score-panel strong,
    .live-tv-panel strong {
        font-size: 13px;
    }

    .live-score-panel p {
        min-height: 36px;
        padding: 0 10px;
    }
}

/* Final desktop landing overrides */
@media (min-width: 821px) {
    body.exchange-home:not(.logged-exchange) {
        min-height: 100vh;
        background:
            linear-gradient(120deg, rgba(255,255,255,.08) 0 18%, transparent 18% 35%, rgba(31,112,187,.18) 35% 50%, transparent 50% 62%, rgba(255,255,255,.08) 62% 79%, transparent 79%),
            #3d91d7;
        overflow-x: hidden;
    }

    body.exchange-home:not(.logged-exchange) .exchange-header {
        position: relative;
        z-index: 10;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-top {
        min-height: 112px;
        display: grid;
        position: relative;
        grid-template-columns: minmax(170px, 240px) 220px minmax(250px, 1fr) 260px;
        gap: 16px;
        align-items: center;
        padding: 18px 210px 18px 42px;
        background:
            linear-gradient(116deg, rgba(255,255,255,.08) 0 25%, transparent 25% 46%, rgba(27,104,181,.18) 46% 64%, transparent 64%),
            #519add;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo,
    body.exchange-home:not(.logged-exchange) .exchange-login {
        display: inline-flex;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo {
        align-items: center;
        gap: 0;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo span {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 34px;
        font-weight: 400;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-logo strong {
        color: #fff;
        font-size: 34px;
        font-weight: 700;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock,
    body.exchange-home:not(.logged-exchange) .exchange-search,
    body.exchange-home:not(.logged-exchange) .exchange-user,
    body.exchange-home:not(.logged-exchange) .exchange-ticker,
    body.exchange-home:not(.logged-exchange) .exchange-nav {
        display: grid;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock {
        grid-template-columns: auto auto auto;
        gap: 10px;
        align-items: center;
        font-weight: 700;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock span,
    body.exchange-home:not(.logged-exchange) .exchange-clock b {
        font-size: 16px;
        line-height: 1;
    }

    body.exchange-home:not(.logged-exchange) .exchange-clock::after {
        content: "";
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 7px solid #fff;
    }

    body.exchange-home:not(.logged-exchange) .exchange-search input {
        min-height: 45px;
        border: 1px solid rgba(0,0,0,.18);
        border-radius: 5px;
        padding: 0 18px;
        background: #fff;
        color: #000;
        font-size: 18px;
        font-weight: 500;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-user {
        gap: 6px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    body.exchange-home:not(.logged-exchange) .exchange-user p,
    body.exchange-home:not(.logged-exchange) .exchange-user small {
        margin: 0;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login {
        position: static;
        display: flex;
        justify-content: flex-end;
        gap: 0;
        white-space: nowrap;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button,
    body.exchange-home:not(.logged-exchange) .exchange-login a {
        min-width: 135px;
        min-height: 48px;
        padding: 0 26px;
        border: 0;
        border-radius: 5px;
        background: #ffcc1c;
        color: #1f2937;
        font-size: 19px;
        font-weight: 900;
        text-transform: uppercase;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login button::before {
        content: "";
        margin: 0;
        font-size: 0;
    }

    body.exchange-home:not(.logged-exchange) .exchange-login a::before {
        content: "\2192";
        margin-right: 6px;
        font-weight: 900;
    }

    body.exchange-home:not(.logged-exchange) .exchange-ticker {
        height: 32px;
        overflow: hidden;
        display: none;
        background: #2f80c7;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        line-height: 32px;
        white-space: nowrap;
    }

    body.exchange-home:not(.logged-exchange) .exchange-ticker span {
        min-width: auto;
        padding-left: 78%;
        animation: ticker 28s linear infinite;
    }

    body.exchange-home:not(.logged-exchange) .exchange-nav {
        min-height: 74px;
        display: none;
        justify-content: center;
        gap: 24px;
        padding: 0 42px;
        border: 0;
        background: #fff;
        overflow: hidden;
    }

    body.exchange-home:not(.logged-exchange) .exchange-nav a {
        position: relative;
        min-height: 54px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #145da5;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .exchange-nav a:not(:last-child)::after {
        content: "\2022";
        position: absolute;
        right: -18px;
        color: #3b0a4c;
        font-size: 18px;
    }

    body.exchange-home:not(.logged-exchange) .race-hero {
        min-height: 396px;
        display: grid;
        grid-template-columns: 78px 1fr 78px;
        align-items: center;
        margin: 0;
        background:
            linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.02)),
            url("race-hero.png") center / cover no-repeat;
    }

    body.exchange-home:not(.logged-exchange) .race-copy,
    body.exchange-home:not(.logged-exchange) .race-visual,
    body.exchange-home:not(.logged-exchange) .race-hero > strong {
        display: none;
    }

    body.exchange-home:not(.logged-exchange) .credit-pill {
        top: 0;
        right: 0;
        min-height: 33px;
        display: inline-flex;
        border-radius: 4px 0 0 4px;
        padding: 0 15px;
        background: #2f85d5;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        text-transform: none;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .credit-pill::after {
        content: "\2304";
        margin-left: 8px;
        line-height: .8;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button {
        width: 50px;
        height: 50px;
        border-radius: 0;
        background: rgba(0,0,0,.45);
        color: #fff;
        font-size: 58px;
        line-height: .7;
        z-index: 1;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button:first-child {
        grid-column: 1;
    }

    body.exchange-home:not(.logged-exchange) .race-hero > button:last-child {
        grid-column: 3;
    }

    body.exchange-home:not(.logged-exchange) .exchange-board {
        width: min(1750px, calc(100% - 156px));
        margin: 50px auto 0;
        padding: 0 8px 0;
        border-radius: 18px 18px 0 0;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        min-height: 72px;
        padding: 7px;
        border-radius: 18px;
        background: #fff;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a,
    body.exchange-home:not(.logged-exchange) .mode-tabs button {
        min-height: 56px;
        border-radius: 10px;
        background: #fff;
        color: #000;
        font-size: 20px;
        font-weight: 500;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:not(:last-child),
    body.exchange-home:not(.logged-exchange) .mode-tabs button:not(:last-child) {
        border-right: 1px solid #d9d9d9;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(1)::before {
        content: "\1F525";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(2)::before {
        content: "\25C9";
        margin-right: 14px;
        color: #81551e;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs a:nth-child(3)::before {
        content: "\1F3CF";
        margin-right: 14px;
    }

    body.exchange-home:not(.logged-exchange) .mode-tabs .active {
        background: #5a9fde;
        color: #fff;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs {
        display: flex;
        justify-content: center;
        gap: 46px;
        margin: 5px 0 0;
        padding: 14px 12px 20px;
        border: 0;
        border-radius: 8px 8px 0 0;
        background: #fff;
        box-shadow: none;
        overflow: hidden;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a {
        min-height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #000;
        font-size: 20px;
        font-weight: 500;
        text-transform: uppercase;
    }

    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(1)::before { content: "\1F3C6  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(2) { color: #1768ad; font-weight: 700; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(2)::before { content: "\1F3CF  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(3)::before { content: "\26BD  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(4)::before { content: "\1F3BE  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(5)::before { content: "\1F3C7  "; }
    body.exchange-home:not(.logged-exchange) .sport-tabs a:nth-child(6)::before { content: "\1F415  "; }

    body.exchange-home:not(.logged-exchange) .odds-panel {
        overflow: hidden;
        border: 0;
        box-shadow: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel table {
        min-width: 960px;
        table-layout: fixed;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th {
        height: 34px;
        padding: 0 10px;
        background: #f1f1f1;
        color: #000;
        font-size: 16px;
        font-weight: 700;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:first-child {
        width: 65%;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(2) {
        width: 70px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel th:nth-child(3),
    body.exchange-home:not(.logged-exchange) .odds-panel td:nth-child(3) {
        width: 0;
        padding: 0;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td {
        height: 62px;
        padding: 4px 8px;
        border-bottom: 1px solid #e7e7e7;
        background: #fff;
        color: #4b5563;
        font-size: 15px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel td:first-child button {
        color: #4d5b6b;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.55;
    }

    body.exchange-home:not(.logged-exchange) .live-pill {
        min-height: 18px;
        padding: 0 6px;
        background: #14b567;
        color: #fff;
        font-size: 10px;
        text-transform: none;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back,
    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        min-width: 80px;
        min-height: 56px;
        margin: 0 1px;
        border-radius: 4px;
        color: #fff;
        font-size: 18px;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.back {
        background: #2d4f67;
    }

    body.exchange-home:not(.logged-exchange) .odds-panel button.lay {
        background: #5d4149;
    }

    @media (max-width: 1400px) {
        body.exchange-home:not(.logged-exchange) .exchange-login {
            top: 78px;
        }

        body.exchange-home:not(.logged-exchange) .exchange-login button,
        body.exchange-home:not(.logged-exchange) .exchange-login a {
            font-size: 14px;
        }
    }
}
