body.c7-redesign {
    overflow-x: hidden;
}

body.c7-redesign .c7-shell {
    display: block;
    min-height: 100vh;
}

body.c7-redesign .c7-sidebar {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: var(--c7-sidebar);
    height: 100vh;
    height: 100dvh;
    background: var(--c7-surface-1);
    border-right: 1px solid var(--c7-line-soft);
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
}

body.c7-redesign.c7-drawer-open .c7-sidebar {
    transform: none;
}

body.c7-redesign .c7-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.65);
    border: 0;
    padding: 0;
}

body.c7-redesign .c7-sidebar__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: var(--c7-header);
    padding: 0 12px 0 16px;
    flex: 0 0 auto;
}

body.c7-redesign .c7-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

body.c7-redesign .c7-logo img {
    height: 30px;
    width: auto;
    display: block;
}

body.c7-redesign .c7-icon-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--c7-r-sm);
    background: transparent;
    color: var(--c7-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

body.c7-redesign .c7-sidebar__scroll {
    overflow: auto;
    padding: 4px 12px 20px;
    flex: 1 1 auto;
}

body.c7-redesign .c7-promo-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: var(--c7-r-card);
    background: linear-gradient(160deg, #3a0d0a, #140807 60%);
    border: 1px solid rgba(213, 43, 30, 0.45);
    color: #fff;
    text-decoration: none;
}

body.c7-redesign .c7-promo-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

body.c7-redesign .c7-promo-card strong {
    display: block;
    font-family: var(--c7-font-display);
    font-stretch: 110%;
    font-size: 18px;
    line-height: 1;
}

body.c7-redesign .c7-promo-card span,
body.c7-redesign .c7-promo-card small {
    display: block;
    color: var(--c7-text-2);
    font-size: 12px;
}

body.c7-redesign .c7-wheel-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    margin-bottom: 14px;
    padding: 8px 10px;
    border-radius: var(--c7-r-md);
    background: var(--c7-surface-2);
    border: 1px solid var(--c7-line);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

body.c7-redesign .c7-nav-label {
    display: block;
    color: var(--c7-text-faint);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 12px 8px 6px;
}

body.c7-redesign .c7-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.c7-redesign .c7-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: var(--c7-r-sm);
    color: var(--c7-text-2);
    text-decoration: none;
    font-weight: 650;
    font-weight: 600;
    position: relative;
}

body.c7-redesign .c7-nav a:hover,
body.c7-redesign .c7-nav a[aria-current="page"] {
    background: rgba(213, 43, 30, 0.16);
    color: #fff;
}

body.c7-redesign .c7-nav a[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 3px;
    background: var(--c7-primary);
}

body.c7-redesign .c7-nav a[aria-current="page"] .c7-icon {
    color: var(--c7-accent);
}

body.c7-redesign .c7-nav .is-gold {
    color: var(--c7-gold);
}

body.c7-redesign .c7-count {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--c7-r-pill);
    background: var(--c7-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.c7-redesign .c7-side-balance {
    margin: 0 0 12px;
    padding: 12px;
    border-radius: var(--c7-r-md);
    background: var(--c7-surface-2);
    border: 1px solid var(--c7-line);
}

body.c7-redesign .c7-side-balance button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    color: #fff;
    font: inherit;
    min-height: 44px;
    cursor: pointer;
    padding: 0;
}

body.c7-redesign .c7-side-balance dl {
    margin: 8px 0 0;
}

body.c7-redesign .c7-side-balance div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
    font-size: 13px;
}

body.c7-redesign .c7-side-balance dt {
    color: var(--c7-text-muted);
    font-weight: 600;
}

body.c7-redesign .c7-side-balance dd {
    margin: 0;
    font-weight: 700;
}

body.c7-redesign .c7-side-foot {
    margin-top: 16px;
    padding: 12px 8px 4px;
    color: var(--c7-text-muted);
    font-size: 12px;
}

body.c7-redesign .c7-side-foot a {
    color: var(--c7-text-2);
}

body.c7-redesign .c7-main-col {
    min-width: 0;
}

body.c7-redesign .c7-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--c7-header);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: rgba(11, 9, 9, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c7-line-soft);
}

body.c7-redesign .c7-header__logo {
    display: inline-flex;
}

body.c7-redesign .c7-header__logo img {
    height: 24px;
    width: auto;
}

body.c7-redesign .c7-search-form {
    flex: 1 1 auto;
    min-width: 0;
    display: none;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border-radius: var(--c7-r-pill);
    background: var(--c7-input);
    border: 1px solid var(--c7-line);
    color: var(--c7-text-muted);
}

body.c7-redesign .c7-search-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
}

body.c7-redesign .c7-search-form input::placeholder {
    color: var(--c7-text-faint);
}

body.c7-redesign .c7-search-form kbd {
    border: 1px solid var(--c7-line-strong);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 12px;
    color: var(--c7-text-muted);
}

body.c7-redesign .c7-header__tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.c7-redesign .c7-menu {
    position: relative;
}

body.c7-redesign .c7-menu__btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: var(--c7-r-pill);
    border: 1px solid var(--c7-line);
    background: var(--c7-chip);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

body.c7-redesign .c7-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    padding: 8px;
    border-radius: var(--c7-r-md);
    background: var(--c7-modal);
    border: 1px solid var(--c7-line);
    box-shadow: var(--c7-shadow-pop);
    z-index: 50;
}

body.c7-redesign .c7-menu__panel a,
body.c7-redesign .c7-menu__panel button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--c7-text);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

body.c7-redesign .c7-menu__panel a:hover,
body.c7-redesign .c7-menu__panel button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

body.c7-redesign .c7-balance-pill {
    display: none;
    align-items: center;
    border-radius: var(--c7-r-pill);
    background: var(--c7-chip);
    border: 1px solid var(--c7-line);
}

body.c7-redesign .c7-balance-pill .balance-value {
    font-weight: 800;
}

body.c7-redesign .c7-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--c7-line-strong);
    background: var(--c7-primary-deep);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

body.c7-redesign .c7-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 14px 16px 24px;
    min-width: 0;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

body.c7-redesign.is-sportsbook .c7-content {
    padding: 0;
}

body.c7-redesign .c7-footer {
    margin-top: 0;
    padding: 32px 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--c7-text-muted);
}

body.c7-redesign .c7-footer__grid {
    display: grid;
    gap: 18px;
}

body.c7-redesign .c7-footer h2 {
    font-family: var(--c7-font-body);
    font-stretch: 100%;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c7-text-faint);
    margin-bottom: 8px;
}

body.c7-redesign .c7-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.c7-redesign .c7-footer li a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--c7-text-2);
    text-decoration: none;
    font-weight: 600;
}

body.c7-redesign .c7-footer__rg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 18px;
    color: var(--c7-text-2);
    font-size: 13px;
}

body.c7-redesign .c7-licence {
    margin-top: 16px;
    font-size: 12px;
    color: var(--c7-text-muted);
}

body.c7-redesign .c7-trusted {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

body.c7-redesign .c7-trusted a {
    width: 120px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid var(--c7-line);
    background: rgba(255, 255, 255, 0.04);
}

body.c7-redesign .c7-trusted img {
    max-height: 28px;
    width: auto;
}

body.c7-redesign .c7-bottom-nav {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(var(--c7-bottom-nav) + env(safe-area-inset-bottom, 0px));
    padding: 6px 6px env(safe-area-inset-bottom, 0px);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: rgba(11, 9, 9, 0.96);
    border-top: 1px solid var(--c7-line);
}

body.c7-redesign .c7-bottom-nav a,
body.c7-redesign .c7-bottom-nav button {
    flex: 1;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--c7-text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    background: transparent;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

body.c7-redesign .c7-bottom-nav a[aria-current="page"],
body.c7-redesign .c7-bottom-nav a:hover,
body.c7-redesign .c7-bottom-nav button:hover {
    color: var(--c7-accent);
}

body.c7-redesign .c7-bottom-nav__raise .c7-icon {
    width: 56px;
    height: 56px;
    margin-top: -22px;
    border-radius: 50%;
    background: var(--c7-primary);
    color: #fff;
    box-shadow: var(--c7-glow);
    padding: 16px;
}

body.modal-open.c7-redesign .c7-bottom-nav,
body.c7-redesign.c7-search-open .c7-bottom-nav,
body.modal-open.c7-redesign .wheel-launcher {
    display: none;
}

body.c7-redesign .wheel-launcher {
    bottom: calc(var(--c7-bottom-nav) + 16px + env(safe-area-inset-bottom, 0px));
}

body.c7-redesign .c7-search-dialog {
    width: min(860px, calc(100vw - 24px));
    max-height: min(80dvh, 760px);
    margin: auto;
    padding: 0;
    border: 1px solid var(--c7-line);
    border-radius: var(--c7-r-panel);
    background: var(--c7-surface-1);
    color: var(--c7-text);
    box-shadow: var(--c7-shadow-modal);
}

body.c7-redesign .c7-search-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

body.c7-redesign .c7-search-dialog__bar {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--c7-line-soft);
}

body.c7-redesign .c7-search-dialog__bar input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border-radius: var(--c7-r-sm);
    border: 1px solid var(--c7-line);
    background: var(--c7-input);
    color: #fff;
    font: inherit;
    padding: 0 12px;
}

body.c7-redesign .c7-search-dialog__body {
    padding: 12px;
    overflow: auto;
    max-height: 64dvh;
}

body.c7-redesign .c7-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 14px;
}

@media (max-width: 899.98px) {
    body.c7-redesign {
        padding-bottom: calc(var(--c7-bottom-nav) + env(safe-area-inset-bottom, 0px));
    }

    body.c7-redesign .c7-search-dialog {
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }

    body.c7-redesign.is-sportsbook {
        padding-bottom: 0;
    }

    body.c7-redesign.is-sportsbook .c7-bottom-nav {
        display: none;
    }
}

@media (min-width: 600px) {
    body.c7-redesign .c7-balance-pill { display: inline-flex; }
    body.c7-redesign .c7-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
    body.c7-redesign {
        padding-bottom: 0;
    }

    body.c7-redesign .c7-sidebar {
        transform: none;
    }

    body.c7-redesign.c7-sidebar-collapsed .c7-sidebar {
        transform: translateX(-105%);
    }

    body.c7-redesign .c7-backdrop {
        display: none;
    }

    body.c7-redesign .c7-main-col {
        margin-left: var(--c7-sidebar);
    }

    body.c7-redesign.c7-sidebar-collapsed .c7-main-col {
        margin-left: 0;
    }

    body.c7-redesign .c7-header__menu,
    body.c7-redesign .c7-header__logo {
        display: none;
    }

    body.c7-redesign.c7-sidebar-collapsed .c7-header__menu,
    body.c7-redesign.c7-sidebar-collapsed .c7-header__logo {
        display: inline-flex;
    }

    body.c7-redesign .c7-search-form {
        display: flex;
    }

    body.c7-redesign .c7-bottom-nav {
        display: none;
    }

    body.c7-redesign .c7-content {
        gap: 56px;
        padding: 24px 32px 40px;
    }

    body.c7-redesign .wheel-launcher {
        bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    body.c7-redesign .c7-footer {
        padding: 32px 32px 40px;
    }

    body.c7-redesign .c7-footer__grid {
        grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    }
}
