@media (min-width: 769px) {
  .volt-mm, .volt-mm-overlay, .volt-mm-panel { display: none !important; }
}

@media (max-width: 768px) {
  body { padding-bottom: 96px !important; }

  .volt-mm {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    height: 74px;
    z-index: 99990;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    background: var(--volt-bg, #050505);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    box-shadow: 0 12px 38px rgba(0,0,0,.48);
    box-sizing: border-box;
    font-family: inherit;
  }

  .volt-mm *, .volt-mm *::before, .volt-mm *::after { box-sizing: border-box; }

  .volt-mm-item {
    position: relative;
    min-width: 0;
    height: 58px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none !important;
    color: #fff !important;
    background: #101010;
    border: 1px solid rgba(255,255,255,.04);
    overflow: visible;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    transition: transform .16s ease, background .16s ease, color .16s ease;
  }

  .volt-mm-item:active { transform: scale(.96); }

  .volt-mm-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--volt-accent, #ff4d1a) !important;
    flex: 0 0 auto;
  }

  .volt-mm-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .volt-mm-label {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 3px;
    color: #fff !important;
    font-size: 11px;
    line-height: 1.05;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .volt-mm-item.is-active {
    background: var(--volt-accent, #ff4d1a) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255,77,26,.25);
  }

  .volt-mm-item.is-active .volt-mm-icon,
  .volt-mm-item.is-active .volt-mm-label { color: #fff !important; }

  .volt-mm-item.is-active svg { stroke: #fff !important; fill: none !important; }

  .volt-mm-badge {
    position: absolute;
    top: -9px;
    right: 8px;
    min-width: 26px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--volt-accent, #ff4d1a);
    color: #fff;
    font-size: 11px;
    line-height: 22px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 5px 13px rgba(0,0,0,.35);
    z-index: 3;
  }

  .volt-mm-overlay {
    position: fixed;
    inset: 0;
    z-index: 99980;
    background: rgba(0,0,0,.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }

  .volt-mm-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 72vh;
    z-index: 99985;
    background: #050505;
    color: #fff;
    border-radius: 28px 28px 0 0;
    padding: 24px 18px calc(110px + env(safe-area-inset-bottom));
    transform: translateY(104%);
    transition: transform .25s ease;
    box-shadow: 0 -18px 50px rgba(0,0,0,.5);
    overflow-y: auto;
  }

  body.volt-mm-open .volt-mm-overlay { opacity: 1; pointer-events: auto; }
  body.volt-mm-open .volt-mm-panel { transform: translateY(0); }

  .volt-mm-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .volt-mm-panel-head h3 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 900;
  }

  .volt-mm-close {
    width: 62px;
    height: 46px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.16);
    background: #111;
    color: #fff;
    font-size: 27px;
    font-weight: 900;
  }

  .volt-mm-panel-links {
    display: grid;
    gap: 12px;
  }

  .volt-mm-panel-link {
    display: block;
    padding: 20px 22px;
    border-radius: 20px;
    background: #121212;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 20px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.08);
  }

  @media (max-width: 390px) {
    .volt-mm { left: 10px; right: 10px; gap: 4px; padding: 7px; height: 72px; border-radius: 26px; }
    .volt-mm-item { height: 56px; border-radius: 18px; }
    .volt-mm-label { font-size: 10px; }
    .volt-mm-icon svg { width: 22px; height: 22px; }
  }
}
