/* Shared frame dimensions for page content and desktop header. */
.tt-shell {
    --tt-page-frame-max: 1640px;
    --tt-page-frame-gutter: 28px;
}
.tt-shell .tt-page-frame {
    width: 100%;
    max-width: var(--tt-page-frame-max);
    min-width: 0;
    margin-inline: auto;
    padding-inline: var(--tt-page-frame-gutter);
}

/* Older pages already provide their own root wrapper. The shared frame now
   owns the width, so those wrappers must not introduce a second max-width. */
.tt-shell .tt-page-frame > .tt-content-wrap,
.tt-shell .tt-page-frame > .tt-promotions {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

/* Promotions was the reference and previously carried these gutters itself. */
.tt-shell .tt-page-frame > .tt-promotions {
    padding-inline: 0;
}

@media (max-width: 1199px) {
    .tt-shell {
        --tt-page-frame-gutter: 20px;
    }
}

@media (max-width: 767px) {
    .tt-shell {
        --tt-page-frame-gutter: 12px;
    }
}

/* These pages already sit inside the shared frame: avoid a second inset. */
.tt-shell .tt-page-frame #dashboard-bonus > div {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}
.tt-shell .tt-page-frame #deposit-fs-player {
    max-width: none;
    padding-inline: 0;
}
.tt-shell .tt-page-frame #account-settings {
    width: 100%;
    max-width: none;
}
