


#mt-slot-top[hidden] { display: none; }
.mt-gym { margin-top: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--wt-28, rgba(88,166,255,.28));
    background: linear-gradient(120deg, var(--wt-10, rgba(88,166,255,.10)), rgba(0,0,0,.22)); }
.mt-gym.slim { padding: 9px 12px; }
.mt-gym-top { display: flex; align-items: center; gap: 10px; }
.mt-gym-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--wt-10, rgba(88,166,255,.10)); border: 1px solid var(--wt-28, rgba(88,166,255,.28)); color: var(--wt, #58a6ff); }
.mt-gym-ic svg { width: 15px; height: 15px; }
.mt-gym-txt { flex: 1; min-width: 0; }
.mt-gym-lab { display: block; font-family: 'Rajdhani', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #8b949e; }
.mt-gym-name { display: block; font-family: 'Rajdhani', sans-serif; font-size: 14.5px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-gym.slim .mt-gym-name { font-size: 13px; }
.mt-gym-sub { display: block; font-size: 10.5px; color: #8b949e; margin-top: 1px; }
.mt-gym-btn { flex: none; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; color: #05070a; padding: 9px 13px;
    border-radius: 10px; border: none; cursor: pointer; background: linear-gradient(135deg, #58a6ff, #79b8ff); }
.mt-gym-btn.ghost { color: #c9d1d9; background: transparent; border: 1px solid rgba(255,255,255,.14); }
.mt-gym-btn:disabled { opacity: .55; cursor: default; }
.mt-gym-week { display: flex; gap: 4px; margin-top: 10px; }
.mt-gym-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: #6b7480; }
.mt-gym-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); }
.mt-gym-day.on .mt-gym-dot { background: var(--wt, #58a6ff); border-color: var(--wt, #58a6ff); box-shadow: 0 0 6px rgba(88,166,255,.55); }
.mt-gym-day.today { color: #e6edf3; font-weight: 600; }
.mt-gym-day.today .mt-gym-dot { border-color: #e6edf3; }
.mt-gym-note { font-size: 10.5px; color: #8b949e; line-height: 1.5; margin: 9px 0 0; }
.mt-gym-note b { color: #e6edf3; font-weight: 600; }
.mt-gym-row { display: flex; gap: 8px; margin-top: 10px; }
.mt-gym-row .mt-gym-btn { flex: 1; }
.mt-gym-strava { display: flex; gap: 8px; align-items: center; margin-top: 9px; padding: 8px 10px; border-radius: 10px;
    background: rgba(252,76,2,.08); border: 1px solid rgba(252,76,2,.25); }
.mt-gym-strava svg { width: 13px; height: 13px; flex: none; }
.mt-gym-strava p { margin: 0; font-size: 10.5px; color: #e6c4b4; line-height: 1.45; }
.mt-gym-ok { display: inline-flex; align-items: center; gap: 5px; font-family: 'Rajdhani', sans-serif; font-size: 9.5px; font-weight: 700;
    letter-spacing: .06em; padding: 3px 8px; border-radius: 20px; margin-top: 4px; }
.mt-gym-ok.strava { color: #FC4C02; background: rgba(252,76,2,.1); border: 1px solid rgba(252,76,2,.3); }
.mt-gym-ok.local { color: #00FF94; background: rgba(0,255,148,.08); border: 1px solid rgba(0,255,148,.3); }
.mt-gym-ok svg { width: 10px; height: 10px; }
.mt-gym-xp { flex: none; font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700; color: #00FF94; }
.mt-gym-warn { margin-top: 9px; padding: 8px 10px; border-radius: 10px; font-size: 10.5px; line-height: 1.45; color: #e3c27a;
    background: rgba(210,153,34,.08); border: 1px solid rgba(210,153,34,.3); }
.mt-gym-link { display: inline-block; margin-top: 8px; padding: 0; font-size: 10.5px; color: var(--wt, #58a6ff);
    background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }


.mg-ov { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transition: all .25s ease; }
.mg-ov.active { opacity: 1; visibility: visible; }
.mg-sheet { position: relative; width: 100%; max-width: 520px; max-height: 85vh; overflow-y: auto; background: #161b22;
    border: 1px solid rgba(255,255,255,.1); border-bottom: none; border-radius: 20px 20px 0 0;
    padding: 14px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .25s ease; }
.mg-ov.active .mg-sheet { transform: translateY(0); }
.mg-handle { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); margin: 0 auto 12px; }
.mg-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04); color: #8b949e; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mg-tt { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 18px; text-align: center; margin: 0 0 3px; color: #e6edf3; }
.mg-sb { font-size: 11.5px; color: #8b949e; text-align: center; margin: 0 0 12px; line-height: 1.45; }
.mg-lab { font-family: 'Rajdhani', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #58a6ff; margin: 14px 0 8px; }
.mg-opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.2); margin-bottom: 8px; }
.mg-n { flex: 1; min-width: 0; }
.mg-n b { display: block; font-family: 'Rajdhani', sans-serif; font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-n small { font-size: 10.5px; color: #8b949e; }
.mg-wait { font-size: 12px; color: #8b949e; margin: 4px 0; }
.mg-none { font-size: 12px; color: #c9d1d9; line-height: 1.5; padding: 12px; border-radius: 12px; border: 1px dashed rgba(88,166,255,.35);
    background: rgba(88,166,255,.05); }
.mg-sheet .mt-gym-ic { color: #58a6ff; background: rgba(88,166,255,.10); border-color: rgba(88,166,255,.28); }
