/* Share the page frame's width and inner gutters with the desktop header.
   The header background remains full width, including on the VIP hero. */
/* Replace the generic bank-card fallback; keep specific bank/coin logos. */
#payment-modal img[src="/images/banks/all.svg"] {
    content: image-set(url(/images/tictac/remaining-v2/bank-card-96w.webp) 1x, url(/images/tictac/remaining-v2/bank-card-192w.webp) 2x, url(/images/tictac/remaining-v2/bank-card-288w.webp) 3x);
    object-fit: contain;
}
/* The payment modal locks body scrolling while open. Its React mount lives
   in the header: backdrop-filter otherwise makes the header a containing
   block for the fixed overlay and clips the wallet to header height.
   Keep the normal header appearance/layering when the wallet is closed. */
body.tt-shell[style*="overflow: hidden"] .tt-header:has(#payment-modal [aria-modal="true"]) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1200;
}
@media (min-width: 768px) {
    .tt-shell {
        --tt-layout-max: var(--tt-page-frame-max);
        --tt-layout-start: 12px;
        --tt-layout-end: 20px;
        --tt-layout-extra: max(0px, calc((100% - var(--tt-sidebar-width) - var(--tt-layout-start) - var(--tt-layout-end) - var(--tt-layout-max)) / 2));
    }

    .tt-shell .tt-header {
        padding-left: calc(var(--tt-sidebar-width) + var(--tt-layout-start) + var(--tt-layout-extra) + var(--tt-page-frame-gutter));
        padding-right: calc(var(--tt-layout-end) + var(--tt-layout-extra) + var(--tt-page-frame-gutter));
    }

    .tt-shell .tt-header .tt-brand-row {
        display: none;
    }

    .tt-shell .tt-main {
        padding-left: var(--tt-layout-start);
        padding-right: var(--tt-layout-end);
    }

    .tt-shell .tt-content-wrap {
        max-width: var(--tt-layout-max);
    }
}
/* Compact search in the shared site header. */
.tt-shell .tt-header {gap:18px;}
.tt-header-search {display:flex;align-items:center;flex:1 1 280px;min-width:160px;max-width:300px;height:42px;margin:0;border:1px solid #213e4b;border-radius:9px;background:#091c26;overflow:hidden;}
.tt-header-search:focus-within {border-color:#baff00;}
.tt-header-search button {display:flex;align-items:center;justify-content:center;flex:0 0 42px;height:40px;border:0;background:none;color:#e2edf2;cursor:pointer;padding:10px;}
.tt-header-search svg {width:20px;height:20px;}
.tt-header-search input {width:100%;min-width:0;height:40px;border:0;outline:0;background:transparent;color:#edf5f8;font-size:13px;padding:0 12px 0 0;box-shadow:none;}
.tt-header-search input::placeholder {color:#a7becb;opacity:1;}
.tt-header-search button:focus-visible {outline:2px solid #baff00;outline-offset:-4px;}
.tt-shell .tt-header .tt-topnav {gap:18px;}
.tt-shell .tt-header .tt-account {flex-shrink:0;}
@media(min-width:768px) and (max-width:1279px){.tt-shell .tt-header .tt-topnav {display:none;}}
@media(max-width:767px){body.tt-shell {--tt-header-height:120px;}.tt-shell .tt-header {flex-wrap:wrap;align-content:center;gap:8px;padding-top:8px;padding-bottom:8px;}.tt-header-search {order:3;flex:1 0 100%;min-width:0;max-width:none;height:36px;}.tt-header-search input {height:34px;}.tt-header-search button {height:34px;}}
