/* B0X3 v128 - the main menu, organised like the Roblox game's lobby (js/Menu.js).
   One obvious FIGHT button in thumb reach, shortcuts under it, everything else in MENU; identity top-left,
   settings and MENU top-right, TODAY as a card on wide screens and a sheet on phones. The ring scene behind
   stays open in the middle. Loaded after the other style sheets: rules are scoped to #start.mn. */

#start.mn { --mn-gold: #f0c040; --mn-glass: rgba(10, 12, 18, .72); --mn-line: rgba(255, 255, 255, .14);
    --mn-sl: max(12px, env(safe-area-inset-left)); --mn-sr: max(12px, env(safe-area-inset-right));
    --mn-st: max(10px, env(safe-area-inset-top)); --mn-sb: max(12px, env(safe-area-inset-bottom));
    padding: 0; }
#start.mn .mn-lower { display: contents; }
#start.mn:has(#mp-lobby.v) .mn-lower > * { display: none; }

/* ---------------------------------------------------------------- top bar */
#start.mn .mn-upper { position: absolute; z-index: 6; top: var(--mn-st); left: var(--mn-sl); right: var(--mn-sr); text-align: left; }
#start.mn .mn-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
#start.mn .mn-id { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 48px; }
#start.mn .menu-profile { margin: 0; justify-content: flex-start; max-width: min(320px, 46vw); }
#start.mn .menu-daily { position: static; margin: 0; justify-content: flex-start; }
#start.mn .menu-daily .dg-panel { left: 0; right: auto; transform: none; }
#start.mn .menu-daily .dg-lv { white-space: nowrap; }
#start.mn .mn-tr { display: flex; gap: 8px; flex: none; }
#start.mn .menu-gear { position: static; }
.mn-menu-btn {
    display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .25); background: rgba(8, 9, 14, .55); color: #fff; -webkit-tap-highlight-color: transparent;
    font-family: "Teko", sans-serif; font-weight: 600; font-size: 21px; letter-spacing: .14em; line-height: 1; transition: background .15s;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mn-menu-btn:hover { background: rgba(8, 9, 14, .85); }
.mn-menu-btn:focus-visible, .mn-q:focus-visible, .mn-item:focus-visible, .mn-side:focus-visible, .mn-link:focus-visible, .mn-x:focus-visible,
.mn-t-go:focus-visible, .mn-t-friend:focus-visible { outline: 2px solid var(--mn-gold, #f0c040); outline-offset: 2px; }
.mn-burger { display: grid; gap: 3px; width: 16px; }
.mn-burger i { display: block; height: 2px; border-radius: 1px; background: currentColor; }
.mn-menu-t { padding-top: 2px; }

/* ---------------------------------------------------------------- the brand (small, out of the boxers' way) */
#start.mn .menu-brand { position: absolute; z-index: 2; top: calc(var(--mn-st) + 4px); left: 0; right: 0; margin: 0 auto; width: max-content; max-width: 40vw; }
/* (no transform here: the brand's entrance animation owns it) */
#start.mn .menu-brand .title { font-size: clamp(46px, 6.4vw, 96px); }
#start.mn .menu-brand .title-sub { font-size: clamp(11px, 1.15vw, 16px); margin-top: 4px; }
#start.mn .menu-tagline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; }

/* ---------------------------------------------------------------- the dock: FIGHT and the shortcuts */
#start.mn .mn-dock { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: calc(var(--mn-sb) + 8px); width: min(470px, calc(100% - 32px)); }
#start.mn .menu-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; grid-template-columns: none; }
#start.mn .menu-actions .mn-fight {
    position: relative; display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; min-height: 84px; padding: 10px 18px 10px 16px;
    border-radius: 18px; border: 1px solid rgba(255, 214, 120, .55); text-align: left; letter-spacing: 0; color: #fff;
    background: linear-gradient(135deg, #e3262d 0%, #b5141b 60%, #8f0f15 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 0 4px rgba(240, 192, 64, .12), inset 0 1px 0 rgba(255, 255, 255, .25);
    grid-column: auto; transition: transform .12s, filter .15s;
}
#start.mn .menu-actions .mn-fight:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 0 4px rgba(240, 192, 64, .25), inset 0 1px 0 rgba(255, 255, 255, .25); }
#start.mn .menu-actions .mn-fight:active { transform: scale(.985); }
#start.mn .menu-actions .mn-fight:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mn-fight-ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 30px;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .35), rgba(0, 0, 0, .18)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.mn-fight-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.mn-fight-main { font-family: "Teko", sans-serif; font-weight: 700; font-size: 50px; line-height: .8; letter-spacing: .14em; padding-top: 6px;
    text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.mn-fight-sub { font-family: "Oswald", sans-serif; font-weight: 400; font-size: 14px; letter-spacing: .06em; color: rgba(255, 255, 255, .86);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-fight-go { flex: none; font-size: 42px; line-height: 1; opacity: .85; padding-bottom: 4px; }
@media (prefers-reduced-motion: no-preference) {
    #start.mn .menu-actions .mn-fight::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
        box-shadow: 0 0 0 0 rgba(240, 192, 64, .45); animation: mnPulse 2.6s ease-out infinite; }
    @keyframes mnPulse { 0% { box-shadow: 0 0 0 0 rgba(240, 192, 64, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(240, 192, 64, 0); } }
}

#start.mn .mn-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#start.mn .mn-q {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 58px; margin: 0; padding: 6px 4px;
    border-radius: 14px; border: 1px solid var(--mn-line); background: var(--mn-glass); color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
    font-family: "Teko", sans-serif; font-weight: 600; font-size: 19px; letter-spacing: .12em; line-height: 1; -webkit-tap-highlight-color: transparent;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s, transform .1s;
}
#start.mn .mn-q:hover { background: rgba(30, 34, 46, .85); }
#start.mn .mn-q:active { transform: scale(.96); }
.mn-qi { font-size: 21px; line-height: 1.1; }
.mn-qt { padding-top: 2px; }
#start.mn .mn-q .menu-live:not([hidden]) { position: absolute; top: 5px; right: 6px; margin: 0; width: 9px; height: 9px; overflow: hidden; text-indent: 30px; }
#start.mn .mn-q .menu-live:not([hidden])::before { position: absolute; left: 0; top: 0; margin: 0; width: 9px; height: 9px; box-shadow: 0 0 8px #3be07f; }
.mn-dot:not([hidden]) { position: absolute; top: 4px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--mn-gold, #f0c040);
    color: #111; font-family: "Oswald", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 18px; text-align: center; }

/* ---------------------------------------------------------------- bottom-left: project card and sponsor line */
#start.mn .mn-foot { position: absolute; z-index: 4; left: var(--mn-sl); bottom: calc(var(--mn-sb) + 46px);   /* above the version button */ width: min(360px, calc(50% - 250px));
    display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; }
#start.mn .mn-foot .menu-ad { width: 100%; margin: 0; }
#start.mn .sponsor-line { margin: 0; letter-spacing: 3px; color: rgba(255, 255, 255, .42); }
#start.mn .sponsor-line a { color: rgba(240, 192, 64, .8); }

/* ---------------------------------------------------------------- TODAY */
#start.mn .mn-today { display: none; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid var(--mn-line);
    background: var(--mn-glass); color: #fff; text-align: left; font-family: "Oswald", sans-serif; box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mn-today-head { display: flex; align-items: center; justify-content: space-between; }
.mn-today-h { margin: 0; font-family: "Teko", sans-serif; font-weight: 600; font-size: 26px; line-height: 1; letter-spacing: .16em; color: var(--mn-gold, #f0c040); padding-top: 3px; }
.mn-today-body { display: grid; gap: 12px; }
.mn-t-sec { display: grid; gap: 6px; }
.mn-t-row { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; letter-spacing: .12em; }
.mn-t-row b { font-weight: 600; color: rgba(255, 255, 255, .9); }
.mn-t-n { color: var(--mn-gold, #f0c040); font-weight: 600; }
.mn-t-streak { margin-left: auto; font-size: 12px; letter-spacing: .04em; color: #ffb066; }
.mn-goal { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 6px 9px 8px; border-radius: 9px; background: rgba(255, 255, 255, .05); font-size: 13px; line-height: 1.25; overflow: hidden; }
.mn-goal i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); background: var(--mn-gold, #f0c040); border-radius: 0 2px 2px 0; }
.mn-goal.done { color: rgba(255, 255, 255, .6); }
.mn-goal.done i { background: #3be07f; }
.mn-goal-n { flex: none; font-weight: 600; color: rgba(255, 255, 255, .85); }
.mn-drills { display: flex; flex-wrap: wrap; gap: 5px; }
.mn-drill { padding: 4px 8px; border-radius: 7px; background: rgba(255, 255, 255, .06); font-size: 12px; letter-spacing: .05em; }
.mn-drill.done { background: rgba(59, 224, 127, .16); color: #9ff0bf; }
.mn-t-go, .mn-t-friend { min-height: 44px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07); color: #fff; cursor: pointer;
    font-family: "Teko", sans-serif; font-weight: 600; font-size: 19px; letter-spacing: .12em; line-height: 1; -webkit-tap-highlight-color: transparent; }
.mn-t-go { background: linear-gradient(135deg, rgba(240, 192, 64, .9), rgba(214, 150, 20, .9)); color: #15110a; border-color: transparent; }
.mn-t-friend { display: flex; align-items: center; gap: 8px; padding: 0 12px; font-family: "Oswald", sans-serif; font-size: 14px; letter-spacing: .04em; text-align: left; }
.mn-t-friend b { margin-left: auto; font-family: "Teko", sans-serif; font-size: 18px; letter-spacing: .12em; color: #9ff0bf; }
.mn-t-friend:disabled { opacity: .55; cursor: default; }
.mn-on { width: 8px; height: 8px; border-radius: 50%; background: #3be07f; flex: none; box-shadow: 0 0 6px #3be07f; }
.mn-t-link { color: var(--mn-gold, #f0c040); font-size: 13px; text-decoration: none; padding: 6px 0; }
.mn-t-link:hover { text-decoration: underline; }
.mn-t-note { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
#start.mn .menu-record:not([hidden]) { margin: 0; font-size: 16px; text-align: left; }
#start.mn .mn-today-x { display: none; }

/* TODAY as a sheet (phones and small windows) */
#start.mn .mn-today.mn-open { display: flex; position: fixed; z-index: 3300; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: min(400px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; background: linear-gradient(160deg, #1e2230, #0a0b10);
    box-shadow: 0 0 0 100vmax rgba(4, 5, 9, .66), 0 20px 50px rgba(0, 0, 0, .6); }
#start.mn .mn-today.mn-open .mn-today-x { display: grid; }

/* wide screens: TODAY is a card on the right, the TODAY shortcut is not needed */
@media (min-width: 1000px) and (min-height: 600px) {
    #start.mn .mn-today:not(.mn-open) { display: flex; position: absolute; z-index: 4; right: var(--mn-sr); top: calc(var(--mn-st) + 64px); width: 300px;
        max-height: calc(100% - var(--mn-st) - 64px - 180px); overflow: auto; }
    #start.mn .mn-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #start.mn .mn-today-q { display: none; }
}
@media (min-width: 1600px) and (min-height: 900px) {
    #start.mn .mn-today:not(.mn-open) { width: 340px; top: calc(var(--mn-st) + 80px); }
    #start.mn .mn-dock { width: 520px; }
}

/* ---------------------------------------------------------------- sheets: FIGHT and MENU */
.mn-sheet { position: fixed; inset: 0; z-index: 3250; display: flex; align-items: center; justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(4, 5, 9, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); font-family: "Oswald", sans-serif; text-align: left; }
.mn-sheet[hidden] { display: none; }
.mn-box { width: min(460px, 100%); max-height: 100%; overflow: auto; display: grid; gap: 10px; padding: 14px; border-radius: 20px; color: #fff;
    background: linear-gradient(160deg, #1e2230, #0a0b10); border: 1px solid var(--mn-line, rgba(255, 255, 255, .14)); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
@media (prefers-reduced-motion: no-preference) {
    .mn-sheet.v .mn-box { animation: mnIn .22s cubic-bezier(.2, .9, .25, 1.1) both; }
    @keyframes mnIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
}
.mn-head { display: flex; align-items: center; justify-content: space-between; }
.mn-head h2 { margin: 0; padding-top: 4px; font-family: "Teko", sans-serif; font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: .16em; color: #f0c040; }
.mn-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06);
    color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0; }
.mn-list { display: grid; gap: 8px; }
.mn-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.mn-row[data-k="friend"], .mn-row[data-k="online"] { grid-template-columns: minmax(0, 1fr); }
.mn-row[data-k="train"] { grid-template-columns: minmax(0, 1fr) auto; }
.mn-item { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 12px; border-radius: 14px; cursor: pointer; text-align: left;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; -webkit-tap-highlight-color: transparent; transition: background .15s, transform .1s; }
.mn-item:hover { background: rgba(255, 255, 255, .11); }
.mn-item:active { transform: scale(.985); }
.mn-row.is-last .mn-item { border-color: rgba(240, 192, 64, .7); background: linear-gradient(135deg, rgba(227, 38, 45, .9), rgba(143, 15, 21, .9)); }
.mn-ii { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .25); font-size: 22px; }
.mn-it { display: grid; gap: 2px; min-width: 0; }
.mn-it b { font-family: "Teko", sans-serif; font-weight: 600; font-size: 25px; line-height: .95; letter-spacing: .1em; padding-top: 3px; }
.mn-it small { font-family: "Oswald", sans-serif; font-weight: 400; font-size: 13px; line-height: 1.25; letter-spacing: .02em; color: rgba(255, 255, 255, .74); }
.mn-side { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); color: #fff; -webkit-tap-highlight-color: transparent;
    font-family: "Teko", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: .1em; line-height: 1; white-space: nowrap; }
.mn-side:hover { background: rgba(255, 255, 255, .11); }
.mn-side b { color: #f0c040; font-weight: 600; }
.mn-pair { display: grid; gap: 6px; }
.mn-friends { display: flex; flex-wrap: wrap; gap: 6px; }
.mn-friends:empty { display: none; }
.mn-call { font-family: "Oswald", sans-serif; font-size: 13.5px; letter-spacing: .03em; }
.mn-call b { color: #9ff0bf; font-family: "Teko", sans-serif; font-size: 17px; letter-spacing: .12em; }

/* MENU families */
.mn-sheet-menu .mn-box { width: min(760px, 100%); }
.mn-fams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.mn-fam { display: grid; align-content: start; gap: 4px; }
.mn-fam h3 { margin: 0 0 2px; font-family: "Teko", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: .18em; color: rgba(240, 192, 64, .85); }
.mn-link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04); color: #fff; text-decoration: none; text-align: left; cursor: pointer; font-family: "Oswald", sans-serif; font-size: 15px;
    letter-spacing: .02em; line-height: 1.15; -webkit-tap-highlight-color: transparent; width: 100%; margin: 0; }
.mn-link:hover { background: rgba(255, 255, 255, .1); }
/* buttons that keep an older class (share-btn, studio-btn) for the scripts that look for them: same look as the links */
#mn-menu .mn-link { justify-content: flex-start; min-height: 44px; padding: 0 12px; margin: 0; font-family: "Oswald", sans-serif; font-weight: 400; font-size: 15px;
    letter-spacing: .02em; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; text-transform: none; transform: none; }
#mn-menu .mn-link:hover { background: rgba(255, 255, 255, .1); }

/* ---------------------------------------------------------------- PAD WORK: the coach's call */
.mn-padcall { position: fixed; z-index: 70; left: 50%; top: 22%; transform: translate(-50%, -50%) scale(.9); opacity: 0; pointer-events: none;
    display: grid; justify-items: center; gap: 2px; padding: 8px 22px 12px; border-radius: 16px; background: rgba(8, 9, 14, .72);
    border: 2px solid rgba(240, 192, 64, .85); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-family: "Teko", sans-serif; color: #fff; text-align: center; }
.mn-padcall.v { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .08s, transform .12s; }
.mn-padcall-k { font-size: 15px; letter-spacing: .3em; color: #f0c040; }
.mn-padcall-p { font-size: 54px; line-height: .9; letter-spacing: .1em; font-weight: 700; }
.mn-padcall-bar { display: block; width: 100%; height: 5px; border-radius: 3px; background: #f0c040; transform-origin: left; }
.mn-padcall.v .mn-padcall-bar { animation: mnCall .7s linear both; }
@keyframes mnCall { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------------------------------------------------------------- phones held sideways and short windows */
@media (orientation: landscape) and (max-height: 500px) {
    #start.mn .mn-id { gap: 6px; }
    #start.mn .menu-brand { top: calc(var(--mn-st) + 2px); }
    #start.mn .menu-brand .title { font-size: clamp(34px, 11vh, 52px); }
    #start.mn .menu-brand .title-sub { display: none; }
    #start.mn .mn-dock { left: auto; right: var(--mn-sr); transform: none; width: min(400px, 50vw); bottom: calc(var(--mn-sb) + 2px); }
    #start.mn .menu-actions { gap: 8px; }
    #start.mn .menu-actions .mn-fight { min-height: 68px; padding: 6px 14px 6px 10px; gap: 10px; }
    .mn-fight-ico { width: 44px; height: 44px; font-size: 24px; }
    .mn-fight-main { font-size: 42px; }
    #start.mn .mn-q { min-height: 48px; font-size: 17px; flex-direction: row; gap: 5px; border-radius: 12px; }
    .mn-qi { font-size: 17px; }
    #start.mn .mn-foot { width: min(330px, calc(100% - min(400px, 50vw) - 3 * 12px)); bottom: calc(var(--mn-sb) + 40px); }
    .mn-box { padding: 10px 12px; gap: 8px; }
    .mn-head h2 { font-size: 28px; }
    .mn-sheet:not(.mn-sheet-menu) .mn-box { width: min(720px, 100%); }
    .mn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .mn-row[data-k="train"], .mn-row[data-k="ai"] { grid-template-columns: minmax(0, 1fr); }
    .mn-row[data-k="train"] .mn-pair { grid-template-columns: 1fr 1fr; }
    .mn-item { min-height: 54px; padding: 6px 10px; }
    .mn-ii { width: 34px; height: 34px; font-size: 19px; }
    .mn-it b { font-size: 22px; }
    .mn-fams { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }      /* (v139: three families, were five) */
    .mn-link { min-height: 44px; font-size: 13.5px; padding: 0 9px; }
}
@media (orientation: landscape) and (max-height: 360px) {
    #start.mn .menu-brand { display: none; }
    #start.mn .menu-actions .mn-fight { min-height: 56px; }
    #start.mn .menu-actions { gap: 6px; }
    .mn-fight-main { font-size: 38px; }
    #start.mn .mn-q { min-height: 44px; }
    #start.mn .mn-q .mn-qi { display: none; }
    .mn-it small { display: none; }
    .mn-item { min-height: 48px; }
    .mn-fams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- phones held upright, narrow windows */
@media (max-width: 640px) and (orientation: portrait) {
    #start.mn .menu-brand { top: calc(var(--mn-st) + 128px); max-width: 90vw; }
    #start.mn .menu-brand .title { font-size: clamp(56px, 19vw, 84px); }
    #start.mn .mn-dock { width: calc(100% - 24px); bottom: calc(var(--mn-sb) + 122px); }
    #start.mn .mn-foot { left: 12px; right: 12px; width: auto; bottom: calc(var(--mn-sb) + 38px); align-items: stretch; }
    #start.mn .mn-foot .menu-ad { min-height: 58px; }
    #start.mn .sponsor-line { text-align: center; letter-spacing: 2px; font-size: 10px; }
    #start.mn .menu-profile { max-width: calc(100vw - 170px); }
    .mn-sheet:not(.mn-sheet-menu) { align-items: flex-end; }
    .mn-fams { grid-template-columns: 1fr 1fr; }
    .mn-fam:last-child { grid-column: 1 / -1; }
}
@media (max-width: 430px) and (orientation: portrait) {
    .mn-menu-t { display: none; }
    .mn-menu-btn { width: 44px; padding: 0; justify-content: center; }
    #start.mn .menu-profile { max-width: calc(100vw - 132px); }
}
@media (max-width: 380px) and (orientation: portrait) {
    .mn-fams { grid-template-columns: 1fr; }
}

/* desktop and tablets between the two */
@media (min-width: 641px) and (min-height: 501px) and (max-width: 999px) {
    #start.mn .mn-foot { width: min(300px, calc(50% - 250px)); }
}
@media (min-width: 641px) and (max-width: 1080px) and (min-height: 501px) {
    #start.mn .mn-foot .menu-ad { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mn-sheet.v .mn-box, .mn-padcall.v .mn-padcall-bar { animation: none; }
    #start.mn .menu-actions .mn-fight, #start.mn .mn-q { transition: none; }
}

/* v139: FOLLOW US at the foot of MENU */
.mn-follow { margin-top: 10px; }
