.fxm-top-item,.fxm-dock,.fxm-panel,.fxm-home-games,.fxm-cart-button { display:none }

@media (max-width:760px) {
    body[data-fox-compact] {
        --fxm-bg:#100f11;
        --fxm-panel:#19181c;
        --fxm-raised:#201e21;
        --fxm-ink:#f8f3ed;
        --fxm-muted:#c3b7b0;
        --fxm-accent:#ffae58;
        --fxm-edge:#433831;
        --fxm-floor:max(5px,env(safe-area-inset-bottom,0px));
        padding-bottom:calc(63px + var(--fxm-floor));
    }
    html:has([data-fox-compact] :is(.fxm-panel,#member-my-menu)[open]) { overflow:hidden }
    [data-fox-compact] .fox-site-header { min-height:0;background:var(--fxm-bg);padding-top:env(safe-area-inset-top,0px) }
    [data-fox-compact] .fox-header-brand {
        height:56px;padding:4px 10px;display:grid;grid-template-columns:1fr auto 1fr;
        align-items:center;gap:3px;border-bottom:1px solid #332b26;
    }
    [data-fox-compact] .fox-header-brand .brand { grid-column:2;grid-row:1;padding:0;margin:0;gap:7px;font-size:29px }
    [data-fox-compact] .fox-header-brand .fox-brand-symbol { width:31px;height:31px }
    [data-fox-compact] .fox-header-brand .fox-menu-toggle { display:none }
    [data-fox-compact] .fxm-top-item {
        display:inline-flex;align-items:center;gap:5px;min-height:44px;min-width:44px;
        padding:0 7px;border:0;border-radius:8px;background:transparent;color:var(--fxm-ink);
        font:inherit;font-size:12px;font-weight:720;white-space:nowrap;
    }
    [data-fox-compact] .fxm-top-item svg { color:var(--fxm-accent) }
    .fxm-menu-button { grid-column:1;grid-row:1;justify-self:start }
    .fxm-account-button { grid-column:3;grid-row:1;justify-self:end }
    :is(.fxm-top-item,.fxm-dock,.fxm-panel,.fxm-home-games,.fxm-cart-button) svg {
        width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;
        stroke-linecap:round;stroke-linejoin:round;
    }
    [data-fox-compact] .fox-header-account>.mw-topbar { padding:0;gap:0;display:block }
    [data-fox-compact] .fox-header-controls,
    [data-fox-compact] .fox-header-account .fox-header-announcement { margin:0;max-width:none;width:100% }
    [data-fox-compact] .fox-header-controls { display:block }
    [data-fox-compact] .fox-header-controls>.mw-actions,
    [data-fox-compact] .fox-header-controls>.mw-links,
    [data-fox-compact] .fox-header-controls:not(:has(.mw-account-bar)),
    [data-fox-compact] .fox-header-controls:not(:has(.mw-account-bar))~* { display:none }
    [data-fox-compact] .fox-header-account:not(:has(.mw-account-bar,.fox-header-announcement [data-service-ticker])) { display:none }
    [data-fox-compact] .fox-header-account .fox-header-announcement .ss-ticker { padding-inline:10px;height:30px }
    [data-fox-compact] .fox-header-controls .mw-account-bar {
        display:grid;grid-template-columns:1.25fr 1fr .85fr;gap:0;align-items:stretch;
        margin:7px 10px!important;padding:3px 0;border:1px solid var(--fxm-edge);border-radius:10px;
        background:#1b181b;overflow:visible;
    }
    [data-fox-compact] .mw-account-bar :is(.mw-name,.mw-coupon-button) { display:none!important }
    [data-fox-compact] .mw-account-bar [data-fxm-wallet] {
        position:relative;display:grid;align-content:start;gap:1px;min-width:0;
        padding:4px 7px 3px;margin:0;color:var(--fxm-ink);font-size:0;line-height:1.35;white-space:normal;
    }
    [data-fox-compact] .mw-account-bar [data-fxm-wallet]+[data-fxm-wallet] { border-left:1px solid #423632 }
    [data-fox-compact] .mw-account-bar [data-fxm-wallet]::before { content:attr(data-fxm-label);font-size:10px;font-weight:630;color:var(--fxm-muted) }
    [data-fox-compact] .mw-account-bar [data-fxm-wallet] b { font-size:14px;font-weight:820;font-variant-numeric:tabular-nums;color:var(--fxm-accent);overflow-wrap:anywhere }
    [data-fox-compact] .mw-account-bar [data-fxm-wallet] b::after { content:' ' attr(data-fxm-unit);color:var(--fxm-muted);font-size:10px }
    [data-fox-compact] .page>.mw-body-grid>.content { grid-row:1;padding:10px 10px 15px;min-width:0 }
    [data-fox-compact] .fox-common-member-rail>.fox-rail-account { display:none }
    [data-fox-compact] .fox-common-member-rail>.fox-rail-banners { padding:0 10px 10px }
    body[data-fox-compact] #cm-main-banner { margin-bottom:10px!important;border-radius:11px!important }
    body[data-fox-compact] #cm-main-banner picture>img { height:auto }
    .fxm-home-games {
        display:grid;grid-template-columns:repeat(var(--fxm-items,4),minmax(0,1fr));
        gap:5px;margin:0 0 16px;padding:4px;
        border:1px solid var(--fxm-edge);border-radius:11px;background:var(--fxm-panel);
    }
    .fxm-home-games>a {
        display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
        min-width:0;min-height:57px;margin:0;padding:4px 2px;border-radius:7px;
        color:var(--fxm-ink);background:#252121;font-size:12px;font-weight:750;
    }
    .fxm-home-games svg { color:var(--fxm-accent) }
    body[data-fox-compact] :is(.fox-casino-heading,.fox-slot-heading) { font-size:clamp(20px,6vw,25px) }
    body[data-fox-compact] .fox-casino-head { margin-bottom:10px }

    .fxm-dock {
        position:fixed;z-index:45;inset:auto 0 0;display:grid;
        grid-template-columns:repeat(var(--fxm-items,5),minmax(0,1fr));align-items:center;
        padding:5px max(5px,env(safe-area-inset-right)) var(--fxm-floor) max(5px,env(safe-area-inset-left));
        border-top:1px solid #524032;background:#141214;box-shadow:0 -5px 18px #0006;
    }
    .fxm-dock>a {
        display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;
        min-width:0;min-height:48px;margin:0 2px;padding:2px 0;border-radius:8px;
        color:var(--fxm-muted);font-size:11px;font-weight:740;line-height:1.2;white-space:nowrap;
    }
    .fxm-dock>a[aria-current="page"] { color:var(--fxm-accent);background:#2e241f }
    .fxm-dock>[data-home] svg { width:23px;height:23px }
    :is(.fxm-dock,.fxm-home-games,.fxm-panel) :focus-visible,.fxm-top-item:focus-visible,.fxm-cart-button:focus-visible {
        outline:2px solid var(--fxm-accent);outline-offset:2px;
    }
    .fxm-panel[open] {
        display:block;position:fixed;margin:0;max-width:none;
        background:var(--fxm-panel);color:var(--fxm-ink);border:1px solid var(--fxm-edge);
        overflow:auto;overscroll-behavior:contain;box-shadow:0 12px 40px #0009;
    }
    .fxm-panel::backdrop,#member-my-menu::backdrop { background:#090809c2 }
    .fxm-drawer[open] {
        inset:0 auto 0 0;width:min(86vw,360px);height:100%;max-height:100%;
        padding:0 10px calc(12px + var(--fxm-floor));border-radius:0 15px 15px 0;
    }
    .fxm-panel>header {
        display:flex;position:sticky;z-index:2;top:0;align-items:center;justify-content:space-between;gap:8px;
        min-height:53px;margin-bottom:7px;border-bottom:1px solid var(--fxm-edge);background:var(--fxm-panel);
    }
    .fxm-drawer>header { padding-top:env(safe-area-inset-top,0px) }
    .fxm-panel h2 { margin:0;font-size:17px;font-weight:820 }
    .fxm-close {
        display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;
        color:var(--fxm-accent);background:transparent;cursor:pointer;
    }
    .fxm-close span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%) }
    .fxm-drawer h3,.fxm-drawer summary { margin:10px 0 5px 2px;color:var(--fxm-muted);font-size:11px;font-weight:760 }
    .fxm-drawer summary { display:flex;align-items:center;gap:6px;min-height:44px;margin-bottom:3px;cursor:pointer }
    .fxm-drawer summary::after { content:'+';margin-left:auto;color:var(--fxm-accent);font-size:17px }
    .fxm-drawer details[open] summary::after { content:'−' }
    .fxm-menu-rows,.fxm-drawer .fxm-menu-rows.mw-links {
        display:grid;grid-template-columns:1fr;gap:4px;margin:0;padding:0;overflow:visible;
    }
    .fxm-menu-rows>a,.fxm-settings button {
        display:grid;align-items:center;grid-template-columns:21px minmax(0,1fr) auto;gap:9px;
        min-width:0;min-height:44px;margin:0;padding:5px 8px;
        color:var(--fxm-ink);border:1px solid var(--fxm-edge);border-radius:7px;background:var(--fxm-raised);
        font:inherit;font-size:13px;font-weight:730;text-align:left;text-decoration:none;
    }
    .fxm-menu-rows>a[aria-current="page"] { border-color:#a66b39;background:#32251f }
    .fxm-menu-rows>a svg:first-child,.fxm-settings button svg { color:var(--fxm-accent) }
    .fxm-menu-rows>a svg:last-child { width:14px;color:#b4a394 }
    .fxm-menu-rows>a span { min-width:0;white-space:normal }
    .fxm-settings button { width:100% }

    [data-fox-compact] #member-my-menu[open] {
        inset:0 0 0 auto!important;margin:0!important;width:min(88vw,360px);height:100%;
        max-width:none;max-height:100%!important;padding:env(safe-area-inset-top,0px) 8px var(--fxm-floor);
        color:var(--fxm-ink);background:var(--fxm-panel);border-left:1px solid var(--fxm-edge);border-radius:15px 0 0 15px;
    }
    [data-fox-compact] #member-my-menu .my-menu-heading {
        position:sticky;top:0;z-index:2;min-height:51px;color:var(--fxm-ink);background:var(--fxm-panel);
    }
    [data-fox-compact] #member-my-menu :is(.my-menu-close,.my-menu-item) { min-height:44px }
    [data-fox-compact] #member-my-menu :is(.my-menu-summary,.my-menu-item) { background:var(--fxm-raised);border-color:var(--fxm-edge) }
    [data-fox-compact] #member-my-menu .my-menu-item { color:var(--fxm-ink);font-size:13px }
    [data-fox-compact] #member-my-menu .my-menu-icon { color:var(--fxm-accent) }

    body[data-fox-compact]:has(.fxm-cart-button) { padding-bottom:calc(106px + var(--fxm-floor)) }
    .fxm-cart-button {
        position:fixed;z-index:44;right:max(9px,env(safe-area-inset-right));bottom:calc(58px + var(--fxm-floor));
        display:flex;align-items:center;gap:6px;min-height:44px;padding:4px 9px 4px 11px;
        color:var(--fxm-ink);background:#231c1c;border:1px solid #855b40;border-radius:22px;
        font:inherit;font-size:12px;font-weight:780;box-shadow:0 4px 18px #0009;
    }
    .fxm-cart-button svg { color:var(--fxm-accent);width:18px }
    .fxm-cart-button b { min-width:17px;border-radius:8px;padding:1px 3px;color:var(--fxm-accent);background:#3b2820;text-align:center }
    .fxm-cart-button.is-filled { border-color:#ffb668;background:#f29b48;color:#281a13 }
    .fxm-cart-button.is-filled svg { color:inherit }
    .fxm-sheet[open] {
        inset:auto 0 0;width:min(100%,480px);max-height:85dvh;margin:0 auto;
        padding:0 12px calc(10px + var(--fxm-floor));border-radius:17px 17px 0 0;
    }
    [data-fox-compact] .fxm-hidden-cart { display:none!important }
    [data-fox-compact] .fxm-sheet>:is(.os-cart,.mg-cart) {
        display:block;position:static;width:100%;min-width:0;max-width:none;margin:0;padding:0;
        color:var(--fxm-ink);background:transparent;border:0;
    }
    .fxm-sheet .os-cart-mode,.fxm-sheet .os-cart-actions { display:none }
    .fxm-sheet input,.fxm-sheet .os-stake { font-size:16px }
    .fxm-sheet :is(.os-stake-buttons,.mg-amounts) { grid-template-columns:repeat(3,minmax(0,1fr));gap:4px }
    .fxm-sheet :is(.os-stake-buttons,.mg-amounts) button { min-width:0;min-height:44px;padding:4px }
    .fxm-sheet :is(.os-submit,.mg-submit) { min-height:46px }
    .fxm-sheet .os-picks { min-height:51px }
    .fxm-sheet .os-pick { min-height:44px }

    body[data-fox-compact] #auth-dialog {
        --ap-bg:#1d1b1e;--ap-input:#141316;--ap-border:#55433a;--ap-muted:#beb1a8;
        width:min(420px,calc(100vw - 20px));max-width:none;max-height:calc(100dvh - 20px);
        border:1px solid var(--fxm-edge);border-radius:15px;overflow:auto;overscroll-behavior:contain;
    }
    body[data-fox-compact] #auth-dialog .ap-shell,
    body[data-fox-compact] #auth-dialog[data-stage=register] .ap-shell {
        display:block;height:auto;min-height:0;max-height:none;
    }
    body[data-fox-compact] #auth-dialog .ap-side { display:block;overflow:hidden;background:#211b19 }
    body[data-fox-compact] #auth-dialog .ap-side>img {
        display:block;width:100%;height:auto;max-height:150px;object-fit:contain;
    }
    body[data-fox-compact] #auth-dialog .ap-brand-art { min-height:80px;padding:12px }
    body[data-fox-compact] #auth-dialog .ap-brand-art :is(.ap-card-mark,.ap-brand-rule,.ap-brand-kicker,.ap-brand-art small,.ap-brand-art p) { display:none }
    body[data-fox-compact] #auth-dialog .ap-main { position:static;max-height:none }
    body[data-fox-compact] #auth-dialog .ap-scroll { padding:15px 13px 13px;max-height:none;overflow:visible }
    body[data-fox-compact] #auth-dialog button.ap-close {
        top:6px;right:6px;width:44px;height:44px;color:white;background:#211a1cdd;
    }
    body[data-fox-compact] #auth-dialog h2 { margin-bottom:14px;font-size:19px }
    body[data-fox-compact] #auth-dialog :is(input:not([type=hidden]),select) { min-height:44px;font-size:16px;border-radius:7px }
    body[data-fox-compact] #auth-dialog .ap-password button { width:44px;height:44px }
    body[data-fox-compact] #auth-dialog .ap-two { gap:7px;margin-top:11px }
    body[data-fox-compact] #auth-dialog :is(.ap-red,.ap-gray) { min-height:44px;border-radius:7px }
    body[data-fox-compact] #auth-dialog .ap-red { color:#221507;background:#ffa544;border:1px solid #ffb969 }
    body[data-fox-compact] #auth-dialog .ap-gray { color:#f8f3ed;background:#292325;border:1px solid #5a4a40 }
    body[data-fox-compact] #auth-dialog [data-auth-mode="code"] { color:var(--fxm-accent);background:#241e1e;border-color:#885b3d }
    body[data-fox-compact] #auth-dialog .ap-support { margin-top:10px;border-radius:8px;border-color:#514037 }

    body[data-fox-compact] .fox-notice-shell {
        padding:max(9px,env(safe-area-inset-top,0px)) 10px calc(8px + var(--fxm-floor));gap:8px;
    }
    body[data-fox-compact] .fox-notice-card { flex-basis:calc(100vw - 20px);border-radius:11px }
    body[data-fox-compact] .fox-notice-track { gap:9px }
    body[data-fox-compact] .fox-notice-close { width:44px;height:44px }
    body[data-fox-compact] .fox-notice-close-all { min-height:44px }
    body[data-fox-compact] .fox-notice-footer label { min-height:40px }

    body[data-fox-compact] .os-detail { scroll-margin-top:calc(var(--fox-header-height,105px) + 5px) }
    body[data-fox-compact] .os-match { border-radius:9px;overflow:hidden }
    body[data-fox-compact] .os-match :is(.os-league,.os-live-head,.os-overseas-meta) { color:var(--fxm-ink) }
    body[data-fox-compact] .os-price { min-width:0;min-height:43px }
    body[data-fox-compact] .os-price>span { min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis }
    body[data-fox-compact] .os-price>b { font-variant-numeric:tabular-nums;white-space:nowrap }
    body[data-fox-compact] .os-price.is-selected { box-shadow:inset 0 0 0 1px #ffc181 }
    body[data-fox-compact] :is(.os-modes,.os-sport-chips,.mg-providers,.mg-games,.cs-table-wrap,.cm-table-wrap,.wr-history-wrap) { max-width:100%;overflow-x:auto;overscroll-behavior-x:contain }
    body[data-fox-compact] :is(.os-modes a,.os-sport-chips button,.mg-providers button,.mg-games button) { min-height:42px }
    body[data-fox-compact] :is(.cs-row,.os-tools) :is(input,select) { font-size:16px }
    body[data-fox-compact] .content iframe { max-width:100% }
}

.fxm-hero-wordmark,.fxm-catalog-link { display:none }

@media (max-width:760px) {
    body[data-fox-compact] {
        --fxm-bg:#101113;
        --fxm-panel:#18191c;
        --fxm-raised:#222326;
        --fxm-edge:#373436;
        --fxm-accent:#ffb266;
    }
    [data-fox-compact] .fox-header-brand { height:55px;border-bottom-color:#29292d }
    [data-fox-compact] .fxm-top-item { color:#ddd6d0 }
    [data-fox-compact] .fxm-top-item svg { width:20px;height:20px }
    [data-fox-compact] .page>.mw-body-grid>.content { padding:12px 12px 16px }
    body[data-fox-compact] :is(#cm-main-banner,.fox-main) {
        margin-bottom:12px!important;border:1px solid #61442f!important;border-radius:15px!important;
        background:#201815!important;
    }
    .fxm-branded-slide {
        --hero-height:clamp(136px,42vw,216px);
        min-width:0;position:relative;isolation:isolate;height:var(--hero-height);overflow:hidden;
        background:linear-gradient(120deg,#211c1c 0%,#241c19 38%,#734019 83%,#a45317);
    }
    .fxm-branded-slide > a { position:absolute;inset:0 }
    body[data-fox-compact] :is(.cm-slide,.fox-main).fxm-branded-slide picture {
        display:block;position:absolute;inset:0 0 0 37%;height:100%;width:auto;
        -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 31%);mask-image:linear-gradient(90deg,transparent 0%,#000 31%);
    }
    body[data-fox-compact] :is(.cm-slide,.fox-main).fxm-branded-slide picture>img {
        position:absolute;right:0;top:0;width:auto;height:100%!important;min-width:100%;max-width:none;object-fit:cover;object-position:right center;
        filter:saturate(.79) brightness(.92);
    }
    .fxm-hero-wordmark {
        position:absolute;inset:0 auto 0 6%;display:flex;flex-direction:column;justify-content:center;gap:6px;
        pointer-events:none;color:#fff5e9;text-shadow:0 2px 11px #190b04aa;
    }
    .fxm-hero-wordmark strong { font:850 clamp(42px,15vw,82px)/.83 FoxOutfit,Arial,sans-serif;letter-spacing:-.065em }
    .fxm-hero-wordmark span { color:#ffbe85;font-size:10px;font-weight:750;letter-spacing:.11em }
    body[data-fox-compact] .fxm-branded-slide .cm-banner-copy { display:none }
    body[data-fox-compact] .cm-slide:not(.fxm-branded-slide) picture { display:grid;place-items:center }
    body[data-fox-compact] .cm-slide:not(.fxm-branded-slide) picture img { height:auto;max-height:clamp(140px,56vw,230px);object-fit:contain }
    body[data-fox-compact] .cm-banner-controls { gap:4px;padding:4px }
    body[data-fox-compact] .cm-banner-controls button { min-height:38px }
    .fxm-home-games { margin-bottom:19px;padding:0;gap:6px;border:0;background:none }
    .fxm-home-games>a {
        min-height:59px;gap:5px;border:1px solid #3a3432;border-radius:10px;
        background:linear-gradient(180deg,#262326,#1b1b1e);font-size:12px;
    }
    .fxm-home-games>a svg { width:21px;height:21px }
    [data-fox-mobile-home] .fxm-home-catalog :is(.fox-casino-intro,.fox-casino-count,.fox-slot-intro,.fox-slot-count) { display:none!important }
    [data-fox-mobile-home] .fxm-home-catalog :is(.fox-provider-grid,.fox-slot-provider-grid)>:nth-child(n+5) { display:none!important }
    .fxm-catalog-link {
        display:flex;align-items:center;gap:2px;min-height:44px;padding:0 4px;
        color:#f0b983;font-size:12px;font-weight:740;white-space:nowrap;
    }
    .fxm-catalog-link span { order:-1 }
    .fxm-catalog-link svg { width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round }
    [data-fox-mobile-home] .fxm-home-catalog :is(.fox-casino-head,.fox-slot-provider-head) { margin-bottom:6px }
    body[data-fox-compact] .fxm-dock { border-top-color:#433a33;background:#161719 }
    body[data-fox-compact] .fxm-dock>a[aria-current="page"] { background:#30251e }
    body[data-fox-compact] .fxm-dock>a[data-home] { position:relative }
    body[data-fox-compact] .fxm-dock>a[data-home][aria-current="page"]::before {
        content:'';height:2px;width:20px;position:absolute;top:1px;border-radius:4px;background:#ffb266;
    }

    body[data-fox-compact] #fox-notice-overlay::backdrop { backdrop-filter:none;background:#060606bf }
    body[data-fox-compact] .fox-notice-shell {
        justify-content:center;gap:8px;width:min(100%,460px);margin:0 auto;
        padding:max(12px,env(safe-area-inset-top,0px)) 10px calc(12px + var(--fxm-floor));
    }
    body[data-fox-compact] .fox-notice-toolbar { padding:0 2px }
    body[data-fox-compact] .fox-notice-eyebrow { color:#f3d8c1 }
    body[data-fox-compact] .fox-notice-close-all { min-height:44px;border-color:#ffb266;background:#ffad61;color:#241709 }
    body[data-fox-compact] .fox-notice-track {
        flex:0 1 auto;max-height:calc(100dvh - 118px);align-items:flex-start;gap:10px;
        scrollbar-width:thin;scrollbar-color:#71604e transparent;
    }
    body[data-fox-compact] .fox-notice-card {
        flex:0 0 100%;max-height:calc(100dvh - 122px);border:1px solid #9e6d45;
        border-radius:14px;background:#171719;box-shadow:0 12px 40px #0009;
    }
    body[data-fox-compact] .fox-notice-card-head { padding:2px 5px 2px 11px;background:#201c1c }
    body[data-fox-compact] .fox-notice-close { width:44px;height:44px }
    body[data-fox-compact] .fox-notice-body .support-image { max-height:65dvh;object-fit:contain }
    body[data-fox-compact] .fox-notice-body .support-copy { padding:13px }
    body[data-fox-compact] .fox-notice-footer { padding:2px 9px;gap:7px;background:#232021 }
    body[data-fox-compact] .fox-notice-footer :is(label,a) { display:flex;min-height:44px;align-items:center }
    body[data-fox-compact] .fox-notice-footer input { width:17px;height:17px;accent-color:#ffb266 }
    body[data-fox-compact] .fox-notice-hint { color:#dbd2c9 }
    .fxm-session-message {
        margin:0 0 7px;padding:8px 9px;border-radius:6px;background:#28201b;color:#ffdbb9;
        font-size:12px;overflow-wrap:anywhere;
    }
}

@media (max-width:760px) {
    body[data-fox-compact] .fox-header-controls .mw-account-bar.fxm-wallet-even,
    body[data-fox-compact] .fox-header-controls .mw-account-bar.fxm-wallet-even:has(>[data-partner-wallet]) {
        grid-template-columns:repeat(var(--fxm-wallet-count),minmax(0,1fr));
        align-items:stretch;gap:0;padding-block:3px;overflow:visible;
    }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > [data-fxm-wallet] {
        display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:13px 19px;
        align-content:center;align-items:center;gap:0;min-width:0;padding:3px 2px;
        text-align:center;white-space:normal;font-size:0;
    }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > [data-partner-wallet] :is(span,small) { display:none }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > [data-fxm-wallet]+[data-fxm-wallet] { border-left:1px solid #423632 }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > [data-fxm-wallet]::before {
        width:100%;min-width:0;white-space:nowrap;font-size:10px;
    }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > [data-fxm-wallet] > b {
        display:block;width:100%;min-width:0;max-width:100%;overflow:auto hidden;scrollbar-width:none;
        font-size:var(--fxm-wallet-size,14px);line-height:18px;white-space:nowrap;overflow-wrap:normal;
        font-variant-numeric:tabular-nums;text-align:center;
    }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > [data-fxm-wallet] > b::after { font-size:.72em }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > .fxm-wallet-compact-unit::before {
        content:attr(data-fxm-label) ' (' attr(data-fxm-wallet-unit) ')';
    }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > .fxm-wallet-compact-unit > b { letter-spacing:-.24px }
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > .fxm-wallet-compact-unit > b::after { content:none }

}
@media (max-width:760px) {
    body[data-fox-compact] .os-events > :is(.os-domestic,.os-overseas-match,.os-special,.os-esports) .os-bet-row {
        grid-template-columns:minmax(0,1fr) clamp(34px,10.5vw,44px) minmax(0,1fr) minmax(48px,18%);
        gap:3px;
    }
    body[data-fox-compact] .os-events > :is(.os-domestic,.os-overseas-match,.os-special,.os-esports) .os-bet-row > time {
        display:none;
    }
    body[data-fox-compact] .os-events > .os-domestic > .os-bet-row:first-child > time {
        display:flex;
        grid-column:1/-1;
        grid-row:1;
        justify-content:flex-start;
        min-height:25px;
        padding:2px 6px;
        border:0;
        border-bottom:1px solid var(--line);
        background:transparent;
        font-size:11px;
        font-variant-numeric:tabular-nums;
    }
    body[data-fox-compact] .os-events > :is(.os-domestic,.os-overseas-match,.os-special,.os-esports) .os-bet-row > :is(.os-price-left,.os-price-right) > span {
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
        white-space:normal;
        overflow-wrap:anywhere;
        line-height:1.3;
    }
}

@media (max-width:760px) {
    body[data-fox-compact] .mw-account-bar.fxm-wallet-even > [data-fxm-wallet="commission"] > b {
        grid-row:3;
    }
}
