html:has(body.c7-redesign),
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: 64px;
    padding: 0 18px;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

body.c7-redesign .c7-sidebar__user {
    display: inline-flex;
    text-decoration: none;
    border-radius: 50%;
}

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

body.c7-redesign .c7-logo picture {
    display: contents;
}

body.c7-redesign .c7-logo img {
    height: 30px;
    width: auto;
    max-width: none;
    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: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 auto;
}

body.c7-redesign .c7-promo-card {
    position: relative;
    display: block;
    /* grows with its content: a fixed 104px squeezed the Claim button into the bottom edge */
    min-height: 112px;
    margin-bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(213, 43, 30, 0.6);
    background: #2a0907;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

body.c7-redesign .c7-promo-card:hover {
    border-color: #d52b1e;
    color: #fff;
}

body.c7-redesign .c7-promo-card img {
    position: absolute;
    right: 2px;
    top: 50%;
    height: 90%;
    width: auto;
    max-width: none;
    transform: translateY(-50%);
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
}

body.c7-redesign .c7-promo-card__shade {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc(100% - 84px);
    background: linear-gradient(90deg, #2a0907 0%, #2a0907 88%, rgba(42, 9, 7, 0) 100%);
    pointer-events: none;
}

body.c7-redesign .c7-promo-card__copy {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 112px;
    max-width: 168px;
    padding: 12px 8px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

body.c7-redesign .c7-promo-card__eye {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ff7a6e;
}

body.c7-redesign .c7-promo-card strong {
    display: block;
    font-family: var(--c7-font-display);
    font-weight: 900;
    font-stretch: 115%;
    font-size: 26px;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #fff;
}

body.c7-redesign .c7-promo-card__line {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffd0cb;
    margin-bottom: 10px; /* space between the offer line and the Claim button */
}

html[lang="fr"] body.c7-redesign .c7-promo-card__copy {
    padding: 8px 8px 8px 14px;
    gap: 1px;
}

html[lang="fr"] body.c7-redesign .c7-promo-card__eye {
    line-height: 1.1;
}

html[lang="fr"] body.c7-redesign .c7-promo-card__line {
    line-height: 1.15;
}

html[lang="fr"] body.c7-redesign .c7-promo-card__claim {
    padding: 4px 12px;
    line-height: 1.1;
}

body.c7-redesign .c7-promo-card__claim {
    margin-top: auto;
    padding: 5px 12px;
    border-radius: 8px;
    background: #d52b1e;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(213, 43, 30, 0.5);
}

body.c7-redesign .c7-wheel-link {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    min-height: 50px;
    margin-bottom: 0;
    padding: 0 12px 0 8px;
    border-radius: 14px;
    background: linear-gradient(100deg, #7a1009 0%, #d52b1e 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.15;
}

body.c7-redesign .c7-wheel-link:hover {
    color: #fff;
    filter: brightness(1.06);
}

body.c7-redesign .c7-featwheel {
    position: relative;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

body.c7-redesign .c7-featwheel svg {
    display: block;
    width: 38px;
    height: 38px;
    max-width: none;
}

body.c7-redesign .c7-featwheel__spin {
    transform-origin: 24px 24px;
    animation: c7-wheel-spin 7s linear infinite;
}

body.c7-redesign .c7-featwheel__badge {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    color: #d52b1e;
    font-size: 11px;
    font-weight: 900;
    line-height: 16px;
    text-align: center;
    animation: c7-wheel-pulse 1.6s ease-in-out infinite;
}

@keyframes c7-wheel-spin {
    to { transform: rotate(360deg); }
}

@keyframes c7-wheel-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
    body.c7-redesign .c7-featwheel__spin,
    body.c7-redesign .c7-featwheel__badge {
        animation: none;
    }
}

body.c7-redesign .c7-wheel-float {
    position: fixed;
    right: 16px;
    bottom: calc(var(--c7-bottom-nav) + 16px + env(safe-area-inset-bottom, 0px));
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}

body.c7-redesign .c7-wheel-float:hover {
    color: #fff;
}

body.c7-redesign .c7-wheel-float__tag {
    padding: 4px 8px;
    border-radius: 999px;
    background: #d52b1e;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
}

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: 0;
    padding: 0 12px 6px;
}

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

body.c7-redesign .c7-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    height: 38px;
    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: 9px;
    bottom: 9px;
    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-nav .c7-icon {
    width: 18px;
    height: 18px;
}

body.c7-redesign .c7-side-foot {
    margin-top: 0;
    padding: 10px 18px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 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;
    max-width: none;
}

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;
    flex-shrink: 0;
}

body.c7-redesign .c7-header__tools .c7-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

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;
}

/* Language list items are short ("ENG"); the shared 220px minimum left a wide empty column. */
body.c7-redesign #c7LangPanel {
    min-width: 132px;
}

/* The legacy flag sprite sets margin: 0 auto, which centred the flag and pushed the language
   name to the far right of the dropdown. Keep flag + name together on the left. */
body.c7-redesign .c7-menu__panel .flag25,
body.c7-redesign .c7-side-lang .flag25 {
    margin: 0;
    flex: none;
}

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;
}

/* Balance breakdown dropdown: label left, amount right on one line, numbers aligned */
body.c7-redesign .c7-balpanel { min-width: 260px; }

body.c7-redesign .c7-balpanel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    color: var(--c7-text-2, #b9b0b3);
    font-size: 14px;
    font-weight: 600;
}

body.c7-redesign .c7-balpanel__row + .c7-balpanel__row { border-top: 1px solid rgba(255, 255, 255, 0.06); }

body.c7-redesign .c7-balpanel__amt {
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

body.c7-redesign .c7-fs-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(232, 199, 122, 0.75);
    background: rgba(232, 199, 122, 0.14);
    color: var(--c7-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

body.c7-redesign .c7-fs-chip:hover,
body.c7-redesign .c7-fs-chip:focus-visible {
    color: #fff;
    background: rgba(232, 199, 122, 0.28);
}

body.c7-redesign .c7-fs-chip[hidden] {
    display: none !important;
}

body.c7-redesign .c7-fs-toast {
    position: fixed;
    z-index: 80;
    top: calc(var(--c7-header) + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: min(460px, calc(100vw - 24px));
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 16px;
    border-radius: 16px;
    background: #1a1210;
    border: 1px solid rgba(232, 199, 122, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    color: #fff;
}

body.c7-redesign .c7-fs-toast[hidden] {
    display: none !important;
}

body.c7-redesign .c7-fs-toast p {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

body.c7-redesign .c7-fs-toast .c7-btn {
    flex: 0 0 auto;
    height: 40px;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
}

body.c7-redesign .c7-fs-toast__x {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 599.98px) {
    /* Phones: the number stacked over a small "FREE SPINS" label, so the words stay visible but
       menu + logo + chip + Deposit + avatar fit (the avatar was cut off with the one-line chip). */
    body.c7-redesign .c7-fs-chip {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 2px;
        height: 40px;
        padding: 0 10px;
        border-radius: 12px;
        font-size: 15px;
    }

    body.c7-redesign .c7-fs-chip__dot {
        display: none;
    }

    body.c7-redesign .c7-fs-chip__label {
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        line-height: 1;
    }

    body.c7-redesign .c7-fs-chip [data-c7-fs-num] {
        line-height: 1;
    }

    body.c7-redesign .c7-fs-toast {
        flex-wrap: wrap;
    }

    body.c7-redesign .c7-fs-toast .c7-btn {
        flex: 1 1 auto;
    }
}

body.c7-redesign .c7-avatar-btn {
    display: inline-flex;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    line-height: 0;
}

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;
    /* The Betby iframe sizes to 100% of its container, and the redesign content area has no
       fixed height (the old layout's height:100% chain doesn't exist here), so the sportsbook
       collapsed to a ~200px strip with the footer under it. Give it the screen below the header. */
    max-width: none;
    height: calc(100vh - var(--c7-header));
    height: calc(100dvh - var(--c7-header));
}

body.c7-redesign.is-sportsbook #betby-sportsbook-container { height: 100%; }

/* the classic new-style.css adds padding-bottom:80px !important to .content-wrapper on mobile
   (room for the old bottom nav); the sportsbook hides the bottom nav, so drop it here */
body.c7-redesign.is-sportsbook .c7-content.content-wrapper { padding-bottom: 0 !important; }

/* full-screen app: no site footer under it (same as the classic layout) */
body.c7-redesign.is-sportsbook .c7-footer { display: none; }

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);
}

/* Partner badges: an even grid that fills the width (fixed 120px boxes left the right third of
   the screen empty on phones). 3 per row on phones, as many as fit on wider screens. */
body.c7-redesign .c7-trusted {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 479.98px) {
    body.c7-redesign .c7-trusted { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.c7-redesign .c7-trusted a {
    min-width: 0;
    height: 48px;
    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: 30px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

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.c7-redesign.c7-exit-open .c7-bottom-nav,
body.modal-open.c7-redesign .wheel-launcher,
body.modal-open.c7-redesign .c7-wheel-float,
body.c7-redesign.c7-search-open .c7-wheel-float,
body.c7-redesign.c7-exit-open .c7-wheel-float {
    display: none;
}

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

html.c7-search-open,
body.c7-redesign.c7-search-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.c7-redesign .c7-search-dialog {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    overflow: hidden;
    padding:
        max(12px, env(safe-area-inset-top, 0px))
        max(12px, env(safe-area-inset-right, 0px))
        max(12px, env(safe-area-inset-bottom, 0px))
        max(12px, env(safe-area-inset-left, 0px));
    border: 0;
    background: transparent;
    color: var(--c7-text);
    box-shadow: none;
}

body.c7-redesign .c7-search-dialog[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.c7-redesign .c7-search-dialog::backdrop {
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
}

body.c7-redesign .c7-search-dialog__panel {
    width: min(720px, 100%);
    max-width: min(720px, calc(100vw - 24px));
    min-width: 0;
    height: min(720px, 100%);
    max-height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #0f0b0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

body.c7-redesign .c7-search-dialog__bar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.c7-redesign .c7-search-dialog__field {
    flex: 1;
    min-width: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 0 16px;
    border-radius: 12px;
    background: #161213;
    border: 2px solid #d52b1e;
    box-shadow: 0 0 0 4px rgba(213, 43, 30, 0.15);
}

body.c7-redesign .c7-search-dialog__field .c7-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #ff7a6e;
}

body.c7-redesign .c7-search-dialog__field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
}

body.c7-redesign .c7-search-dialog__field input::-webkit-search-cancel-button {
    display: none;
}

body.c7-redesign .c7-search-dialog__clear {
    flex-shrink: 0;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #c9c1c4;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

body.c7-redesign .c7-search-dialog__cancel {
    display: none;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

body.c7-redesign .c7-search-dialog__x {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #fff;
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
}

body.c7-redesign .c7-search-dialog__x .c7-icon {
    width: 18px;
    height: 18px;
}

body.c7-redesign .c7-search-dialog__x:hover,
body.c7-redesign .c7-search-dialog__cancel:hover {
    border-color: #fff;
}

body.c7-redesign .c7-search-dialog__body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.c7-redesign .c7-search-dialog [hidden] {
    display: none !important;
}

body.c7-redesign .c7-search-dialog .c7-kicker {
    color: #a39a9e;
    letter-spacing: 0.16em;
    margin: 0;
}

body.c7-redesign .c7-search-providers__row,
body.c7-redesign .c7-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.c7-redesign .c7-search-providers .c7-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.c7-redesign .c7-search-providers .c7-chip.is-on {
    border-color: rgba(213, 43, 30, 0.7);
    background: rgba(213, 43, 30, 0.16);
}

body.c7-redesign .c7-search-providers img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

body.c7-redesign .c7-search-pops {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

body.c7-redesign .c7-search-pop {
    width: 112px;
    min-height: 64px;
    padding: 8px;
    border-radius: 12px;
    background: #141011;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

body.c7-redesign .c7-search-pop span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

body.c7-redesign .c7-search-pop img {
    width: auto;
    max-width: 96px;
    height: 32px;
    object-fit: contain;
}

body.c7-redesign .c7-search-pop--all {
    width: auto;
    min-width: 112px;
    max-width: 156px;
    padding: 8px 12px;
    background: #1c1416;
    border-style: dashed;
}

body.c7-redesign .c7-search-pop:hover,
body.c7-redesign .c7-search-prow:hover {
    border-color: #d52b1e;
    color: #fff;
}

body.c7-redesign .c7-search-provs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.c7-redesign .c7-search-prow {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #141011;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    text-decoration: none;
}

body.c7-redesign .c7-search-prow__mark {
    flex: 0 0 88px;
    width: 88px;
    height: 40px;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
}

body.c7-redesign .c7-search-prow__mark img {
    width: auto;
    max-width: 88px;
    height: 32px;
    object-fit: contain;
}

body.c7-redesign .c7-search-prow > span:last-child {
    min-width: 0;
}

body.c7-redesign .c7-search-prow__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

body.c7-redesign .c7-search-prow__meta {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 600;
    color: #a39a9e;
}

body.c7-redesign .c7-search-dialog__headrow h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    font-stretch: 110%;
    letter-spacing: -0.01em;
}

body.c7-redesign .c7-search-status {
    margin: 0;
    color: #a39a9e;
    font-size: 14px;
}

body.c7-redesign .c7-search-empty {
    margin: 0;
    padding: 40px 20px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    text-align: center;
}

body.c7-redesign .c7-search-empty p {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

body.c7-redesign .c7-search-dialog .c7-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

body.c7-redesign .c7-search-dialog .c7-tile__media {
    aspect-ratio: 1 / 1; /* square like the home Lobby: thumbnails are square, 3:4 cropped the left/right of the art */
    border-radius: 14px;
}

body.c7-redesign .c7-search-pick {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

body.c7-redesign .c7-search-pick .c7-tile__media,
body.c7-redesign .c7-search-pick .c7-tile__name,
body.c7-redesign .c7-search-pick .c7-tile__provider {
    display: block;
}

body.c7-redesign .c7-search-pick:hover .c7-tile__media {
    border-color: #d52b1e;
}

/* Play cue on search results, matching the game-card hover (shade + red play circle). */
body.c7-redesign .c7-search-pick .c7-tile__media {
    position: relative;
}

body.c7-redesign .c7-search-pick__shade {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 45%, rgba(11, 9, 9, 0.25) 0%, rgba(11, 9, 9, 0.72) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

body.c7-redesign .c7-search-pick__cue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #d52b1e;
    color: #fff;
    box-shadow: 0 10px 30px rgba(213, 43, 30, 0.6), 0 0 0 6px rgba(213, 43, 30, 0.25);
    transform: scale(0.6);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.4);
}

body.c7-redesign .c7-search-pick__cue--deposit {
    width: auto;
    height: auto;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

body.c7-redesign .c7-search-pick:hover .c7-search-pick__shade,
body.c7-redesign .c7-search-pick:focus-visible .c7-search-pick__shade {
    opacity: 1;
}

body.c7-redesign .c7-search-pick:hover .c7-search-pick__cue,
body.c7-redesign .c7-search-pick:focus-visible .c7-search-pick__cue {
    transform: scale(1);
}

/* Touch screens have no hover: keep a small play badge visible so results read as playable. */
@media (hover: none), (pointer: coarse) {
    body.c7-redesign .c7-search-pick__shade {
        opacity: 1;
        align-items: flex-end;
        justify-content: flex-end;
        padding: 6px;
        background: none;
    }

    body.c7-redesign .c7-search-pick__cue {
        width: 28px;
        height: 28px;
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    }

    body.c7-redesign .c7-search-pick__cue--deposit {
        width: auto;
        height: auto;
        padding: 5px 10px;
        font-size: 11px;
    }

    body.c7-redesign .c7-search-pick__cue .c7-icon {
        width: 14px;
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.c7-redesign .c7-search-pick__shade,
    body.c7-redesign .c7-search-pick__cue { transition: none; }
}

@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 {
        align-items: center;
        justify-content: center;
    }

    body.c7-redesign .c7-search-dialog__panel {
        width: min(720px, 100%);
        height: min(720px, 100%);
        max-height: 100%;
        border-radius: 20px;
    }

    body.c7-redesign .c7-search-dialog__bar {
        padding: 12px 16px;
    }

    body.c7-redesign .c7-search-dialog__cancel {
        display: inline-flex;
        align-items: center;
    }

    body.c7-redesign .c7-search-dialog__body {
        padding: 16px;
    }

    body.c7-redesign .c7-search-dialog .c7-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    body.c7-redesign .c7-search-pops {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        margin-right: -16px;
        padding-right: 16px;
    }

    body.c7-redesign .c7-search-pops::-webkit-scrollbar { display: none; }

    body.c7-redesign .c7-search-pop,
    body.c7-redesign .c7-search-pop--all {
        flex: 0 0 auto;
    }

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

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

    body.c7-redesign .c7-header {
        gap: 10px;
        padding: 0 12px;
    }

    body.c7-redesign .c7-header__tools {
        gap: 8px;
    }

    /* Language moves into the ☰ menu on phones (see .c7-side-lang), freeing header space. */
    body.c7-redesign .c7-header__langmenu {
        display: none;
    }

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

    body.c7-redesign .c7-header__tools .c7-btn {
        height: 40px;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1;
    }

    body.c7-redesign .c7-header__tools .c7-btn--primary {
        padding: 0 16px;
    }
}

/* Small phones (iPhone SE 375px, 360px Androids, 320px): menu + logo + language + Deposit +
   avatar didn't fit, so the avatar was cut off. Compact the language button (flag only),
   a slightly smaller logo and tighter buttons/gaps. */
@media (max-width: 413.98px) {
    body.c7-redesign .c7-header { gap: 8px; padding: 0 12px; }
    body.c7-redesign .c7-header__tools { gap: 8px; }
    body.c7-redesign .c7-header__logo img { height: 20px; }
    body.c7-redesign .c7-header__tools > .c7-menu:first-child .c7-menu__btn { padding: 0 8px; gap: 0; }
    body.c7-redesign .c7-header__tools > .c7-menu:first-child .c7-menu__btn .c7-icon { display: none; }
    body.c7-redesign .c7-header__tools .c7-btn,
    body.c7-redesign .c7-header__tools .c7-btn--primary { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 349.98px) {
    /* 320px phones: longer French/German "Log in" + "Join" labels need a slightly smaller logo. */
    body.c7-redesign .c7-header { gap: 6px; }
    body.c7-redesign .c7-header__tools { gap: 6px; }
    body.c7-redesign .c7-header__logo img { height: 15px; }
    body.c7-redesign .c7-header__tools .c7-btn,
    body.c7-redesign .c7-header__tools .c7-btn--primary { padding: 0 8px; font-size: 12.5px; }
}

@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,
    body.c7-redesign .c7-wheel-float {
        right: 24px;
        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));
    }
}

body.c7-redesign .c7-loader {
    position: fixed;
    inset: 0;
    z-index: 2000000010;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #0b0909;
}

body.c7-redesign .c7-loader[hidden],
body.modal-open.c7-redesign .c7-loader,
body.c7-redesign.c7-search-open .c7-loader,
body.c7-redesign.c7-exit-open .c7-loader,
body.c7-redesign.c7-exchange-open .c7-loader {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
}

body.c7-redesign .c7-loader.is-leaving {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
}

body.c7-redesign .c7-loader__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
}

body.c7-redesign .c7-loader__ring {
    position: relative;
    width: 256px;
    height: 256px;
    display: grid;
    place-items: center;
}

body.c7-redesign .c7-loader__glow,
body.c7-redesign .c7-loader__spin,
body.c7-redesign .c7-loader__dash,
body.c7-redesign .c7-loader__spark {
    position: absolute;
    border-radius: 50%;
}

body.c7-redesign .c7-loader__glow {
    inset: -90px;
    background: radial-gradient(circle, rgba(213, 43, 30, .42) 0%, rgba(213, 43, 30, .12) 38%, rgba(213, 43, 30, 0) 66%);
    animation: c7glow 2.4s ease-in-out infinite;
}

body.c7-redesign .c7-loader__spin {
    inset: 0;
    background: conic-gradient(from 0deg, rgba(213, 43, 30, 0) 0deg, rgba(213, 43, 30, 0) 200deg, #D52B1E 320deg, #ff7a6e 352deg, rgba(213, 43, 30, 0) 360deg);
    -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: c7spin 1.1s linear infinite;
}

body.c7-redesign .c7-loader__dash {
    inset: 18px;
    border: 2px dashed rgba(232, 199, 122, .38);
    animation: c7spinRev 9s linear infinite;
}

body.c7-redesign .c7-loader__spark {
    left: calc(50% + (var(--x) * 256px));
    top: calc(50% + (var(--y) * 256px));
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: radial-gradient(circle, #fff 0%, #ffe2a8 35%, rgba(232, 199, 122, 0) 70%);
    animation: c7spark 1.8s ease-in-out var(--d, .6s) infinite both;
}

body.c7-redesign .c7-loader__badge {
    position: relative;
    width: 180px;
    height: 180px;
    animation: c7in .9s cubic-bezier(.2, .9, .25, 1.2) both;
}

body.c7-redesign .c7-loader__breathe {
    position: absolute;
    inset: 0;
    animation: c7breathe 2.4s ease-in-out .9s infinite;
}

body.c7-redesign .c7-loader__breathe img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .6));
}

body.c7-redesign .c7-loader__shinewrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    pointer-events: none;
}

body.c7-redesign .c7-loader__shine {
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: 0;
    width: 45%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
    mix-blend-mode: overlay;
    animation: c7shine 2.4s ease-in-out 1s infinite;
}

body.c7-redesign .c7-loader__track {
    width: 162px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    overflow: hidden;
    animation: c7fade .4s ease .5s both;
}

body.c7-redesign .c7-loader__track span {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(213, 43, 30, 0), #D52B1E 40%, #ff7a6e);
    box-shadow: 0 0 12px rgba(213, 43, 30, .8);
    animation: c7bar 1.2s cubic-bezier(.45, 0, .55, 1) infinite;
}

@keyframes c7in {
    0% { opacity: 0; transform: scale(.55) rotate(-14deg); }
    60% { opacity: 1; transform: scale(1.06) rotate(3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes c7breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

@keyframes c7spin { to { transform: rotate(360deg); } }
@keyframes c7spinRev { to { transform: rotate(-360deg); } }

@keyframes c7shine {
    0%, 35% { transform: translateX(-140%) skewX(-18deg); }
    75%, 100% { transform: translateX(140%) skewX(-18deg); }
}

@keyframes c7glow {
    0%, 100% { opacity: .55; transform: scale(.92); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes c7bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

@keyframes c7fade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes c7spark {
    0%, 100% { opacity: 0; transform: scale(.2); }
    45% { opacity: 1; transform: scale(1); }
}

@keyframes c7out {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
    body.c7-redesign .c7-loader [data-c7a] { animation: none !important; }
}


/* Phone-only language picker inside the ☰ menu. */
body.c7-redesign .c7-side-lang {
    display: none;
}

@media (max-width: 899.98px) {
    body.c7-redesign .c7-side-lang {
        display: block;
        margin-top: 4px;
    }

    body.c7-redesign .c7-side-lang__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 0 8px;
    }

    body.c7-redesign .c7-side-lang__grid a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 40px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, .08);
        background: rgba(255, 255, 255, .03);
        color: var(--c7-text-dim, #c9c1c4);
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    body.c7-redesign .c7-side-lang__grid a[aria-current="true"] {
        border-color: rgba(213, 43, 30, .6);
        background: rgba(213, 43, 30, .14);
        color: #fff;
    }
}

/* When the free-spins chip is showing, small phones need a few more pixels: slightly smaller
   logo and tighter gaps so the avatar is never pushed off screen. */
@media (max-width: 389.98px) {
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) { gap: 6px; padding: 0 10px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-header__tools { gap: 6px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-header__logo img { height: 17px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-header__tools > .c7-btn--primary { padding: 0 12px; }
}

@media (max-width: 349.98px) {
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-header__logo img { height: 14px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-header__menu { width: 36px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) { gap: 4px; padding: 0 8px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-header__tools { gap: 4px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-fs-chip { padding: 0 6px; }
    body.c7-redesign .c7-header:has(.c7-fs-chip:not([hidden])) .c7-header__tools > .c7-btn--primary { padding: 0 10px; font-size: 13px; }
}
