/* ============================================================================
   Mobile.css — mobile render path for the bitmeup portal.
   Everything is scoped under body.mobile so the desktop layout is untouched.
   The body.mobile class is toggled at runtime by js/client/Mobile.js
   (viewport-width based, breakpoint in bitmeup.mobile.BREAKPOINT).
   ============================================================================ */

body.mobile {
    /* design tokens */
    --m-bg:        #0e0a14;
    --m-bg-2:      #1b1226;
    --m-bar:       rgba(44, 30, 54, 0.96);
    --m-surface:   rgba(27, 18, 38, 0.72);
    --m-surface-2: rgba(20, 13, 30, 0.9);
    --m-border:    rgba(178, 58, 242, 0.35);
    --m-primary:   #b23af2;
    --m-primary-2: #8529b6;
    --m-accent:    #bc70dc;
    --m-glow:      rgba(188, 112, 220, 0.85);
    --m-text:      #ffffff;
    --m-text-dim:  rgba(255, 255, 255, 0.62);
    --m-radius:    16px;
    --m-bar-h:     52px;
    --m-safe-t:    env(safe-area-inset-top, 0px);
    --m-safe-b:    env(safe-area-inset-bottom, 0px);

    margin: 0;
    background: var(--m-bg);
    color: var(--m-text);
    font-family: Arial, "Helvetica Neue", sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}

/* ---- force the desktop container chain to a clean full-screen app frame ---- */
body.mobile,
body.mobile html {
    height: 100%;
    overflow: hidden;
}
body.mobile #bitmeup\.bgc,
body.mobile #bitmeup\.bg\.container,
body.mobile #bitmeup\.page,
body.mobile #portal_scroll,
body.mobile #bitmeup\.page\.action {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--m-bg) !important;
    overflow: hidden !important;
}
body.mobile #bitmeup\.page\.action { background: transparent !important; }

/* hide desktop-only chrome, background canvases and the Google reCAPTCHA bubble */
body.mobile #bitmeup\.bar,
body.mobile #bits-left,
body.mobile #bits-right,
body.mobile #bitmeup\.bg\.color,
body.mobile #bitmeup\.bg\.div,
body.mobile #bitmeup\.bg\.bits,
body.mobile #bar-spacer,
body.mobile #page-backlight { display: none !important; }
body.mobile .grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; }

body.mobile * { -webkit-box-sizing: border-box; box-sizing: border-box; }
body.mobile a { color: inherit; text-decoration: none; }
body.mobile #bitmeup\.status { z-index: 10000; }

/* ============================================================================
   FIXED TOP BAR — the brand hallmark: swinging animated border (bitmeupBarNove)
   ============================================================================ */
.m-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 400;
    height: calc(var(--m-safe-t) + var(--m-bar-h));
    padding: var(--m-safe-t) 12px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--m-bar);
    box-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
/* the brand animated frame (reuses Border.css bitmeup_border_2: gradient lines
   running back and forth on all four edges) — behind the interactive elements,
   inert to pointer events, with a slight glow */
.m-topbar .bitmeup_border_2 { pointer-events: none; z-index: 1; }
.m-topbar .bitmeup_border_2 i {
    filter: drop-shadow(0 0 3px #bc70dc) drop-shadow(0 0 7px rgba(188, 112, 220, 0.55));
}

.m-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 0 8px;
    cursor: pointer;
    -webkit-user-select: none; user-select: none;
}
.m-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--m-accent);
    filter: drop-shadow(0 0 6px var(--m-glow));
}
.m-brand .m-logo {
    height: 26px;
    filter: drop-shadow(0 0 8px var(--m-glow));
}
.m-topbtn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: rgba(178,58,242,0.14);
    border: 1px solid var(--m-border);
}

/* iOS fires click reliably on elements marked interactive */
body.mobile .m-chip, body.mobile .m-cta, body.mobile .m-menu-item,
body.mobile .m-menu-close, body.mobile .m-oauth-btn, body.mobile .m-mebuly,
body.mobile .m-shot, body.mobile .m-link, body.mobile .m-btn { cursor: pointer; }

/* ============================================================================
   LANDING scroller
   ============================================================================ */
.m-landing {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 0%, var(--m-bg-2) 0%, var(--m-bg) 60%);
}

.m-scroller {
    position: absolute;
    inset: 0;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.m-scroller::-webkit-scrollbar { display: none; }

.m-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    overflow: hidden;
}

/* background + shades sit behind the (independently scrolling) content */
.m-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.12);
    transition: transform 7s ease-out;
    z-index: 0;
}
.m-slide.is-active .m-slide-bg { transform: scale(1); }
.m-slide-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* top -> bottom darkening: artwork stays visible up top, text zone at the
       bottom is solidly dark for readability */
    background: linear-gradient(to bottom,
        rgba(8,5,12,0.30) 0%,
        rgba(8,5,12,0.05) 18%,
        rgba(8,5,12,0.30) 46%,
        rgba(8,5,12,0.80) 68%,
        rgba(8,5,12,0.96) 88%,
        rgba(8,5,12,0.99) 100%);
}
/* extra darkening driven by vertical scroll (opacity set from JS) */
.m-slide-darken {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #05030a;
    opacity: 0;
    pointer-events: none;
}

/* the vertical scroller inside each slide (hero + detail below) */
.m-slide-scroll {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* no touch-action override: let the browser delegate horizontal swipes to
       the outer game pager while this element handles vertical scrolling */
}
.m-slide-scroll::-webkit-scrollbar { display: none; }

.m-slide-hero {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 22px calc(var(--m-safe-b) + 96px);
}
.m-slide-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--slide-accent, var(--m-primary));
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 12px currentColor;
}
.m-slide-title {
    font-size: clamp(34px, 11vw, 54px);
    line-height: 1.02;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.8);
}
.m-slide-title::after {
    content: "";
    display: block;
    width: 210px; max-width: 72%; height: 4px;
    margin-top: 14px;
    border-radius: 4px;
    background: var(--slide-accent, var(--m-primary));
    box-shadow: 0 0 16px var(--slide-accent, var(--m-glow));
}
.m-slide-descr {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.94);
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 2px 6px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.7);
    max-width: 34em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.m-slide-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.m-chip {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.m-chip--primary {
    background: var(--slide-accent, var(--m-primary));
    border-color: transparent;
    color: #0c0710;
    box-shadow: 0 6px 24px -6px var(--slide-accent, var(--m-glow));
}

/* "scroll down for more" affordance */
.m-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 22px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: m-bounce 1.8s ease-in-out infinite;
}
@keyframes m-bounce {
    0%, 100% { transform: translateY(0); opacity: .7; }
    50%      { transform: translateY(6px); opacity: 1; }
}

/* ---- detail section (screenshots / mebula tester) ---- */
.m-detail {
    position: relative;
    padding: calc(var(--m-safe-t) + var(--m-bar-h) + 12px) 18px calc(var(--m-safe-b) + 150px);
    background: linear-gradient(to bottom, rgba(10,6,16,0.6), rgba(10,6,16,0.94) 22%, #0b0710 100%);
}
.m-detail-h {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--slide-accent, var(--m-primary));
    font-weight: 800;
    margin: 0 0 4px;
}
.m-detail-sub {
    font-size: 13px;
    color: var(--m-text-dim);
    margin: 0 0 18px;
}

.m-shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.m-shot {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 6px 18px -8px #000;
}
.m-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- mebula tester ---- */
.m-mebula-preview {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(178,58,242,0.10);
    border: 1px solid var(--m-border);
}
.m-mebula-preview img {
    width: 92px; height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
    flex: 0 0 auto;
}
.m-mebula-name { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.m-mebula-descr { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.82); }
.m-mebula-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
    gap: 8px;
}
.m-mebuly {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.m-mebuly.is-sel {
    border-color: var(--m-primary);
    background: rgba(178,58,242,0.22);
    box-shadow: 0 0 0 2px rgba(178,58,242,0.35);
}
.m-mebuly img { width: 74%; height: 74%; object-fit: contain; }

/* ---- dots ---- */
.m-dots {
    position: absolute;
    left: 0; right: 0;
    top: calc(var(--m-safe-t) + var(--m-bar-h) + 16px);
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}
.m-dot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.32);
    transition: width .25s ease, background .25s ease;
}
.m-dot.is-active {
    width: 22px;
    background: var(--m-primary);
    box-shadow: 0 0 10px var(--m-glow);
}

/* ---- floating CTA: pulses (like desktop PlayPulse) and pokes past the edge ---- */
.m-cta {
    position: absolute;
    left: 16px; right: 16px;
    bottom: calc(var(--m-safe-b) - 16px);   /* lower rounded part bleeds off-screen */
    z-index: 25;
    height: 72px;
    padding-bottom: 14px;                    /* keep the label optically centered */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(120deg, var(--m-primary), var(--m-primary-2));
    text-shadow: 0 0 10px var(--m-glow);
    box-shadow: 0 0 22px -2px var(--m-glow), 0 -6px 26px -10px #000, 0 0 0 1px rgba(255,255,255,0.10) inset;
    -webkit-user-select: none; user-select: none;
    animation: m-cta-pulse 2s ease-in-out infinite alternate;
}
@keyframes m-cta-pulse {
    from {
        box-shadow: 0 0 22px -2px var(--m-glow), 0 -6px 26px -10px #000, 0 0 0 1px rgba(255,255,255,0.10) inset;
        text-shadow: 0 0 10px rgba(188,112,220,1);
    }
    to {
        box-shadow: 0 0 34px 2px var(--m-glow), 0 -6px 26px -10px #000, 0 0 0 1px rgba(255,255,255,0.20) inset;
        text-shadow: 0 0 16px rgba(188,112,220,0.55);
    }
}
.m-cta:active { transform: translateY(1px) scale(0.995); }

/* ============================================================================
   BURGER MENU (slide-in drawer)
   ============================================================================ */
.m-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 940;
    background: rgba(4,2,8,0.6);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity .28s ease;
}
.m-menu-backdrop.is-open { opacity: 1; pointer-events: auto; }
.m-menu {
    position: fixed;
    top: 0; bottom: 0; right: 0;
    z-index: 941;
    width: min(82%, 340px);
    padding: calc(var(--m-safe-t) + 18px) 0 calc(var(--m-safe-b) + 18px);
    background: linear-gradient(200deg, var(--m-bg-2), var(--m-bg));
    border-left: 1px solid var(--m-border);
    box-shadow: -20px 0 60px -20px #000;
    transform: translateX(102%);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    pointer-events: none;
}
.m-menu.is-open { transform: translateX(0); pointer-events: auto; }
.m-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 10px;
}
.m-menu-head img { height: 30px; filter: drop-shadow(0 0 8px var(--m-glow)); }
.m-menu-close { color: var(--m-text-dim); padding: 6px; }
.m-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.m-menu-item:active { background: rgba(178,58,242,0.14); }
.m-menu-item .chev { color: var(--m-text-dim); }
.m-menu-spacer { flex: 1 1 auto; }
.m-menu-social {
    display: flex;
    gap: 14px;
    padding: 20px;
    justify-content: center;
}
.m-menu-social img { height: 30px; width: 30px; border-radius: 8px; box-shadow: 0 0 6px rgba(0,0,0,0.5); }

/* ============================================================================
   BOTTOM SHEET (login) + MODAL (privacy)
   ============================================================================ */
.m-sheet-backdrop, .m-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(4,2,8,0.62);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none;
    transition: opacity .28s ease;
}
.m-sheet-backdrop { z-index: 900; }
.m-modal-backdrop { z-index: 1000; }
.m-sheet-backdrop.is-open, .m-modal-backdrop.is-open { opacity: 1; pointer-events: auto; }

.m-sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 901;
    max-height: 92%;
    overflow-y: auto;
    padding: 10px 22px calc(var(--m-safe-b) + 26px);
    background: linear-gradient(to bottom, var(--m-bg-2), var(--m-bg));
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-top: 1px solid var(--m-border);
    box-shadow: 0 -20px 60px -20px #000;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
}
.m-sheet.is-open { transform: translateY(0); pointer-events: auto; }
.m-sheet-grabber { width: 44px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.25); margin: 4px auto 18px; }
.m-sheet-title { font-size: 24px; font-weight: 800; margin: 0 0 20px; text-align: center; }
.m-sheet-title .bittag { color: var(--m-primary); }

body.mobile .m-field { margin-bottom: 14px; }
body.mobile .m-field input[type=text],
body.mobile .m-field input[type=email],
body.mobile .m-field input[type=password] {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-size: 16px; /* >=16px avoids iOS zoom-on-focus */
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--m-border);
    border-radius: 12px;
    outline: none;
}
body.mobile .m-field input::placeholder { color: var(--m-text-dim); }
body.mobile .m-field input:focus { border-color: var(--m-primary); box-shadow: 0 0 0 3px rgba(178,58,242,0.18); }

.m-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 54px;
    border: none; border-radius: 12px;
    font-size: 17px; font-weight: 800; color: #fff;
    background: linear-gradient(120deg, var(--m-primary), var(--m-primary-2));
    box-shadow: 0 8px 24px -8px var(--m-glow);
}
.m-btn:active { transform: translateY(1px); }
.m-btn--ghost { background: transparent; border: 1px solid var(--m-border); box-shadow: none; }

.m-row-between {
    display: flex; align-items: center; justify-content: space-between;
    margin: 4px 0 18px; font-size: 13px; color: var(--m-text-dim);
}
.m-link { color: var(--m-primary); font-weight: 700; }
.m-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 22px 0 16px; color: var(--m-text-dim);
    font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.m-divider::before, .m-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.14); }
.m-oauth { display: flex; gap: 12px; }
.m-oauth-btn {
    flex: 1; height: 50px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 12px; font-size: 14px; font-weight: 700;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
}
.m-oauth-btn img { height: 22px; width: 22px; object-fit: contain; }

.m-form-error {
    display: none;
    margin: -4px 0 14px; padding: 10px 12px;
    border-radius: 10px; font-size: 13px;
    color: #ffd7d7; background: rgba(200,40,40,0.18);
    border: 1px solid rgba(220,60,60,0.4);
}
.m-form-error.is-shown { display: block; }

/* ============================================================================
   FULL-SCREEN PAGE (mobile registration)
   ============================================================================ */
.m-page {
    position: absolute;
    inset: 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, var(--m-bg-2), var(--m-bg));
}
.m-page-bar {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: calc(var(--m-safe-t) + var(--m-bar-h));
    padding: var(--m-safe-t) 14px 0;
    background: var(--m-bar);
    box-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.m-page-back {
    display: flex; align-items: center; justify-content: center;
    color: var(--m-accent); cursor: pointer;
    filter: drop-shadow(0 0 6px var(--m-glow));
}
.m-page-title { font-size: 18px; font-weight: 800; }
.m-page-title .bittag { color: var(--m-primary); }
.m-page-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 22px calc(var(--m-safe-b) + 40px);
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}
.m-check {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px; margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 13px; line-height: 1.45;
}
.m-check input[type=checkbox] {
    width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px;
    accent-color: var(--m-primary);
}
.m-check label { color: rgba(255,255,255,0.86); }
.m-check a { color: var(--m-primary); text-decoration: underline; }
.m-reg-captcha { display: flex; justify-content: center; margin: 8px 0 18px; }

/* validation feedback from the untouched ValidateRegistrationField */
body.mobile .form_error {
    position: static;
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #ffb3b3;
}
body.mobile input.form_field_error {
    border-color: #e0483f !important;
    box-shadow: 0 0 0 3px rgba(224,72,63,0.18) !important;
}
body.mobile #form\.error\.tac.form_error_chk {
    border-color: #e0483f;
    box-shadow: 0 0 0 2px rgba(224,72,63,0.35);
}

/* ============================================================================
   LOGGED-IN APP (mobile intern): content area, chips, account cards,
   bottom game carousel, account detail sheet
   ============================================================================ */
.m-app-content {
    position: absolute;
    inset: 0;
    z-index: 1;   /* own stacking context: inline z-indexes in legacy embeds stay below the carousel/topbar */
    padding: calc(var(--m-safe-t) + var(--m-bar-h) + 14px) 16px calc(var(--m-safe-b) + 132px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
}

/* full-bleed background layer behind the content: the selected game's artwork,
   or the brand 0/1 raster for the bitmeup pages (set from JS) */
.m-app-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--m-bg);
}
.m-app-bg-img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}
.m-app-bg-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(10,6,16,0.72) 0%,
        rgba(10,6,16,0.55) 30%,
        rgba(10,6,16,0.78) 70%,
        rgba(10,6,16,0.94) 100%);
}
.m-loading {
    padding: 40px 0;
    text-align: center;
    color: var(--m-text-dim);
    font-size: 14px;
}
.m-noacc {
    padding: 26px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    text-align: center;
}
.m-noacc p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0 0 16px; }

.m-ava-sm {
    width: 34px; height: 34px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--m-border);
    background: #000;
}
.m-ava-sm img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- selection chips (instances / accounts / realms) --- */
.m-chips-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scrollbar-width: none;
}
.m-chips-row::-webkit-scrollbar { display: none; }
.m-chip-sm {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    white-space: nowrap;
}
.m-chip-sm img { height: 14px; }
.m-chip-sm.is-sel {
    background: var(--m-primary);
    border-color: transparent;
    color: #0c0710;
    box-shadow: 0 4px 16px -4px var(--m-glow);
}
.m-sec-h {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--m-text-dim);
    font-weight: 800;
    margin: 18px 2px 10px;
}

/* --- account list cards: tight rows, avatar bleeds flush on the left --- */
.m-acc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 0 0;
    border-radius: 14px;
    overflow: hidden;               /* crops the flush avatar into the card corners */
    background: rgba(20,13,30,0.68);
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 8px;
    min-height: 56px;
    cursor: pointer;
}
.m-acc-card:active { background: rgba(178,58,242,0.2); }
.m-acc-card .chev { color: var(--m-text-dim); flex: 0 0 auto; display: flex; }
.m-acc-ava {
    width: 56px; height: 56px;
    flex: 0 0 auto;
    overflow: hidden;
    background: rgba(0,0,0,0.45);
    align-self: stretch;
}
.m-acc-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* transparent character skins (Mebula): no box behind them, a bit larger,
   cropped at the bottom (legs) by the row */
.m-acc-ava--skin { background: transparent; }
.m-acc-ava--skin img {
    height: 145%;
    object-fit: contain;
    object-position: top center;
}
.m-acc-ava--lg {
    width: 64px; height: 64px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
}
.m-acc-ava--lg.m-acc-ava--skin { border: none; }
.m-acc-main { flex: 1 1 auto; min-width: 0; }
.m-acc-name {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.m-acc-sub {
    font-size: 12px;
    color: var(--m-text-dim);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.m-acc-meta { flex: 0 0 auto; text-align: right; }
.m-acc-pts { font-size: 14px; font-weight: 800; }
.m-acc-pts-label { font-size: 10px; color: var(--m-text-dim); text-transform: uppercase; letter-spacing: .5px; }
.m-acc-add {
    justify-content: center;
    padding: 15px 14px;
    border-style: dashed;
    border-color: var(--m-border);
    color: var(--m-primary);
    font-weight: 800;
    font-size: 14px;
}

/* --- bottom game carousel --- */
.m-carousel {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 300;
    padding: 26px 0 calc(var(--m-safe-b) + 10px);
    /* brand purple like the top bar */
    background: linear-gradient(to top,
        rgba(44,30,54,0.97) 55%,
        rgba(44,30,54,0.78) 80%,
        rgba(44,30,54,0) 100%);
    pointer-events: none;
}
.m-car-track {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    overflow-x: auto;
    padding: 4px 18px;
    scrollbar-width: none;
    pointer-events: auto;
}
.m-car-track::-webkit-scrollbar { display: none; }
.m-car-tile {
    flex: 0 0 auto;
    width: 78px;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none; user-select: none;
}
.m-car-img {
    width: 60px; height: 60px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #000;
    border: 1px solid rgba(255,255,255,0.22);
    transition: width .22s ease, height .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.m-car-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-car-lbl {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--m-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .22s ease;
}
.m-car-tile.is-sel .m-car-img {
    width: 78px; height: 78px;
    border-color: var(--game-accent, var(--m-primary));
    box-shadow: 0 0 20px -2px var(--game-accent, var(--m-glow)), 0 0 5px var(--game-accent, var(--m-glow));
}
.m-car-tile.is-sel .m-car-lbl {
    color: #fff;
    text-shadow: 0 0 8px var(--m-glow);
}

/* --- account detail sheet extras --- */
.m-sheet-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0 12px;
}
.m-sheet-name { font-size: 20px; font-weight: 800; }
.m-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0 14px;
}
.m-stat {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}
.m-stat span {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--m-text-dim);
    margin-bottom: 3px;
}
.m-stat b { font-size: 17px; }
.m-stat-sub { font-size: 11px; color: var(--m-text-dim); margin-top: 2px; }
.m-warn {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin: 10px 0;
    color: #ffe1b3;
    background: rgba(230,150,20,0.16);
    border: 1px solid rgba(230,150,20,0.5);
}
.m-team { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 12px; }
.m-team .mon {
    position: relative;
    width: 46px; height: 46px;
    border-radius: 10px;
    overflow: hidden;
    background: #6d2377;
}
.m-team .mon img {
    position: absolute;
    bottom: -3px; left: 50%;
    transform: translateX(-50%);
    max-width: 82%; max-height: 82%;
}
.m-team .mon i {
    position: absolute;
    top: 2px; right: 4px;
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    color: #eee;
}

/* --- embedded legacy pages (lotto / tippspiel) --- */
.m-embed { overflow-x: auto; }
body.mobile .m-embed #game_content { width: 100% !important; display: block !important; }
body.mobile .m-embed table { max-width: 100%; }
body.mobile .m-embed img { max-width: 100%; height: auto; }

/* ============================================================================
   LOGGED-IN v2: topbar user chip, burger button, menu bits row,
   legacy-screen compat, lotto mobile overrides
   ============================================================================ */
.m-user-name {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 46vw;
}
.m-user-name i {
    font-style: normal;
    font-weight: 700;
    color: var(--m-accent);
    font-size: 12px;
}
.m-burger-btn {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    color: var(--m-accent);
    cursor: pointer;
    filter: drop-shadow(0 0 6px var(--m-glow));
}
.m-menu-bits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 16px;
    padding: 14px 16px;
    border-radius: 14px;
    cursor: pointer;
    background: rgba(178,58,242,0.14);
    border: 1px solid var(--m-border);
}
.m-menu-bits .m-menu-bits-val { font-size: 15px; }
.m-menu-bits b { font-size: 17px; color: #fff; }
.m-menu-bits .chev { color: var(--m-text-dim); display: flex; }

/* --- legacy compat scaffold: neutralize the fixed desktop sizing that
   updateSiteSize / the site templates write as inline styles --- */
.m-embed { position: relative; z-index: 1; overflow-x: hidden; }
body.mobile .m-embed #bitmeup\.game\.site,
body.mobile .m-embed #bitmeup\.game\.container,
body.mobile .m-embed #bitmeup\.game\.container\.scroll,
body.mobile .m-embed #bitmeup\.game\.page\.action {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
}
body.mobile .m-embed div { max-width: 100%; }
body.mobile .m-embed #game_content {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}
/* every legacy screen root (Site tpls set inline fixed height + overflow:hidden,
   which kills native scrolling — e.g. Tippspiel, Inventar) */
body.mobile .m-embed #bitmeup\.game\.page\.action\.html > div,
body.mobile .m-embed #bitmeup\.game\.page\.action\.html > center > div {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}
body.mobile .m-embed center > table { width: 100% !important; }

/* --- lotto: tip row becomes a clean mobile block, button on its own line --- */
body.mobile .m-embed .lotto_input {
    width: 56px !important;
    height: 64px !important;
    font-size: 32px !important;
    font-weight: 800;
    text-align: center;
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid var(--m-border) !important;
    border-radius: 14px !important;
    margin: 0 3px;
    box-shadow: none !important;
}
body.mobile .m-embed .lotto_input:focus {
    border-color: var(--m-primary) !important;
    box-shadow: 0 0 0 3px rgba(178,58,242,0.25) !important;
    outline: none;
}
body.mobile .m-embed .lotto_button,
body.mobile .m-embed .lotto_price_button {
    height: 48px;
    padding: 0 26px;
    font-size: 16px !important;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(120deg, var(--m-primary), var(--m-primary-2)) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px -8px var(--m-glow) !important;
    cursor: pointer;
}
body.mobile .m-embed .lotto_price_button { height: 38px; padding: 0 16px; font-size: 13px !important; }
/* the tip table: dice + 4 digits centered, button wraps to its own row */
body.mobile .m-embed #game_content > center > table:first-of-type { width: auto !important; }
body.mobile .m-embed #game_content > center > table:first-of-type tr:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
body.mobile .m-embed #game_content > center > table:first-of-type tr:first-child td { display: block; }
body.mobile .m-embed #game_content > center > table:first-of-type tr:first-child td:empty { display: none; }
body.mobile .m-embed #game_content > center > table:first-of-type tr:first-child td:last-child {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-top: 14px;
}
/* week/prize tiles: full width */
body.mobile .m-embed #game_content > center > div[style*="width:60%"],
body.mobile .m-embed #game_content > center > div[style*="width: 60%"] {
    width: 100% !important;
    margin: 12px 0 !important;
    box-sizing: border-box;
    padding: 10px !important;
}
body.mobile .m-embed #game_content > center > div[style*="width:60%"] table,
body.mobile .m-embed #game_content > center > div[style*="width: 60%"] table {
    width: 100% !important;
}

/* ============================================================================
   LOGGED-IN v3: composite tiles, app topbar (flush avatar), settings/tipp/
   lotto embed fixes, bits placeholder
   ============================================================================ */
/* damoria composite tile: castle art + logo overlay (like the desktop icon) */
.m-car-overlay {
    position: absolute;
    left: 5%; right: 5%;
    top: 50%;
    width: 90%;
    transform: translateY(-50%);
    filter: drop-shadow(0 1px 3px #000) drop-shadow(0 0 6px rgba(0,0,0,0.8));
    pointer-events: none;
}

/* logged-in top bar: avatar fills the bar height flush left, bigger name */
.m-topbar--app { padding-left: 0; }
.m-topbar--app .m-brand { padding: 0 10px 0 0; gap: 12px; }
.m-ava-bar {
    /* inset by 2px so the animated frame lines stay visible around it */
    width: calc(var(--m-bar-h) - 4px);
    height: calc(var(--m-bar-h) - 4px);
    margin: 2px 0 2px 2px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 6px;
    background: #000;
}
.m-ava-bar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-topbar--app .m-user-name { font-size: 19px; max-width: 52vw; }
.m-topbar--app .m-user-name i { font-size: 14px; }

/* settings page (legacy embed): full width, natural height, no clipping */
body.mobile .m-embed #settings-page {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
}
body.mobile .m-embed #settings-page > table { width: 100%; }
body.mobile .m-embed #settings-page td { white-space: normal; }
body.mobile .m-embed #settings-page input[type=text],
body.mobile .m-embed #settings-page input[type=password] { max-width: 100%; }

/* tippspiel: the round-selection box needs a solid dark background */
body.mobile .m-embed div[onmouseover*="event_selection_box"] {
    background: rgba(0,0,0,0.88) !important;
    border-radius: 8px;
}

/* lotto countdown header */
.m-lotto-head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    padding: 6px 0 14px;
    font-size: 14px;
    color: var(--m-text-dim);
}
.m-lotto-head b {
    font-size: 24px;
    color: #fff;
    text-shadow: 0 0 10px var(--m-glow);
}

/* bits placeholder */
.m-bits-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 22px;
    margin-bottom: 14px;
}
.m-bits-balance b { font-size: 26px; }
.m-menu-bits .bit-icon { display: inline-block; position: relative; top: 1px; }

/* ============================================================================
   MOBILE SETTINGS + SUPPORT pages
   ============================================================================ */
.m-set { display: flex; flex-direction: column; gap: 14px; }
.m-set-card {
    padding: 16px;
    border-radius: 16px;
    background: rgba(20,13,30,0.72);
    border: 1px solid rgba(255,255,255,0.12);
}
.m-set-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.m-set-title {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--m-text-dim);
    font-weight: 800;
    margin-bottom: 10px;
}
.m-set-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.m-set-row:first-child { border-top: none; }
.m-set-row .chev { color: var(--m-text-dim); display: flex; }
.m-set-row:active { background: rgba(178,58,242,0.12); }
.m-set-row--danger { color: #ff9d9d; }
.m-set-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    font-size: 15px;
    cursor: pointer;
}
.m-set-check input[type=checkbox] {
    width: 22px; height: 22px;
    flex: 0 0 auto;
    accent-color: var(--m-primary);
}
.m-set-provider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.m-set-provider:first-of-type { border-top: none; }
.m-set-provider .p-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    object-fit: cover;
    background: #000;
}
.m-set-provider .p-main { flex: 1 1 auto; min-width: 0; }
.m-set-provider .p-main b { display: block; font-size: 14px; }
.m-set-provider .p-main span {
    font-size: 12px;
    color: var(--m-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.m-chip-sm--danger {
    background: rgba(200,50,50,0.18);
    border-color: rgba(220,80,80,0.5);
    color: #ffb3b3;
}

/* --- mobile support: header row + legacy content restyled --- */
.m-support-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.m-support-top #bitmeup-support-title {
    font-size: 17px;
    font-weight: 800;
    min-width: 0;
    flex: 1 1 auto;
}
/* ticket list entries (rendered by the untouched Support.js) */
body.mobile .m-support .ticket {
    position: relative;
    display: block;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 12px !important;
    border-radius: 14px;
    background: rgba(20,13,30,0.72) !important;
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    overflow: hidden;
}
body.mobile .m-support .ticket .icon { float: left; margin-right: 10px; }
body.mobile .m-support .ticket .icon img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
body.mobile .m-support .ticket .title { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.mobile .m-support .ticket .text {
    font-size: 12px;
    color: var(--m-text-dim);
    max-height: 34px;
    overflow: hidden;
    margin-top: 2px;
}
body.mobile .m-support .ticket .info { clear: both; padding-top: 8px; font-size: 11px; color: var(--m-text-dim); }
body.mobile .m-support .ticket .status { display: inline-block; margin-right: 8px; font-weight: 700; color: var(--m-accent); }
body.mobile .m-support .ticket .other { display: inline; }

/* posts in the ticket thread */
body.mobile .m-support .post {
    width: 92% !important;
    margin: 0 0 10px !important;
    padding: 10px 12px !important;
    border-radius: 14px;
    background: rgba(20,13,30,0.72) !important;
    border: 1px solid rgba(255,255,255,0.12);
}
body.mobile .m-support .player-post { margin-left: 8% !important; border-color: var(--m-border); }
body.mobile .m-support .admin-post  { margin-right: 8% !important; }
body.mobile .m-support .post .author { font-size: 12px; font-weight: 800; color: var(--m-accent); }
body.mobile .m-support .post .date { font-size: 10px; color: var(--m-text-dim); }
body.mobile .m-support .post .text { font-size: 14px; line-height: 1.45; margin-top: 6px; word-break: break-word; }
body.mobile .m-support .post-system {
    text-align: center;
    font-size: 11px;
    color: var(--m-text-dim);
    margin: 8px 0;
}
body.mobile .m-support .new-post { margin-top: 16px; }

/* form controls the legacy code writes with inline width:500px */
body.mobile .m-support select,
body.mobile .m-support textarea,
body.mobile .m-support input[type=text] {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    padding: 10px !important;
}
body.mobile .m-support select { height: 46px; }
body.mobile .m-support input[type=button] {
    height: 48px;
    padding: 0 24px;
    font-size: 15px !important;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(120deg, var(--m-primary), var(--m-primary-2)) !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer;
}
body.mobile .m-support .screenshot img,
body.mobile .m-support .screenshot-big img { max-width: 110px; border-radius: 8px; }
body.mobile .m-support .add-screenshot { cursor: pointer; color: var(--m-accent); padding: 8px 0; }

/* legacy overlay boxes (password / 2fa / confirm popups) on small screens */
body.mobile #bitmeup\.status > div,
body.mobile #bitmeup\.status table { max-width: 94vw !important; }
body.mobile #bitmeup\.status input[type=text],
body.mobile #bitmeup\.status input[type=password] { max-width: 82vw; font-size: 16px; }

/* registration: terms checkbox error state */
.m-check--error {
    border-color: #e0483f !important;
    box-shadow: 0 0 0 2px rgba(224,72,63,0.3);
}

/* ============================================================================
   TIPPSPIEL entries: stack the flag BELOW the country name (the fixed 270px
   columns squeezed the flag off-screen for long country names)
   ============================================================================ */
body.mobile .m-embed td[style*="width:270px"] {
    width: 34% !important;
    font-size: 15px !important;
    vertical-align: top;
}
body.mobile .m-embed td[style*="width:270px"] > table { width: 100%; }
body.mobile .m-embed td[style*="width:270px"] tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
body.mobile .m-embed td[style*="width:270px"] td {
    display: block;
    text-align: center !important;
    word-break: break-word;
}
/* the flag cell always goes below the name cell (order works on both sides,
   where the markup once puts the flag first and once last) */
body.mobile .m-embed td[style*="width:270px"] td:has(img) { order: 2; }
body.mobile .m-embed td[style*="width:270px"] td:not(:has(img)) { order: 1; }
body.mobile .m-embed td[style*="width:270px"] img {
    height: 32px !important;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
/* score column: let it shrink */
body.mobile .m-embed td[style*="width:180px"] { width: auto !important; }
/* entry boxes have a fixed inline height that no longer fits stacked content */
body.mobile .m-embed div[style*="height:92px"] {
    height: auto !important;
    padding: 10px 0;
}

/* settings polish: danger button, 2fa status badge, subpage back row */
.m-btn--danger {
    background: linear-gradient(120deg, #d43a3a, #8f2222);
    box-shadow: 0 8px 24px -8px rgba(220, 60, 60, 0.6);
}
.m-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--m-text-dim);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
}
.m-badge--on {
    color: #9df0a5;
    background: rgba(60,180,80,0.16);
    border-color: rgba(90,200,110,0.5);
}
.m-set-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px 8px 6px;
    margin-bottom: 2px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--m-accent);
    cursor: pointer;
    align-self: flex-start;
}
.m-set-back:active { background: rgba(178,58,242,0.14); }
.m-set-descr {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    margin: 0 0 14px;
}

/* --- support create form: the desktop tpl absolutely-positions the form in a
   zero-height wrapper (parent collapses, form scrolls in a tiny box) —
   flatten it into normal flow on mobile --- */
body.mobile .m-support #bitmeup-support-action div[style*="position:absolute"][style*="overflow:auto"] {
    position: static !important;
    overflow: visible !important;
    width: 100%;
}
/* board suggestions: desktop places them at left:540px (off-screen on phones) —
   show them full-width below the form fields instead */
body.mobile .m-support #support-suggest {
    position: static !important;
    width: 100% !important;
    margin-top: 10px;
}
/* decorative mebula monsters overlay half the phone screen — hide */
body.mobile .m-support #support-mebulies { display: none !important; }
