@media (max-width: 860px) {
  .ds-profile-tabs-toggle[hidden] {
    display: none;
  }

  .ds-profile-tabs[data-profile-tabs-menu] {
    display: none;
  }

  .ds-profile-tabs-toggle:not([hidden]) {
    box-sizing: border-box;
    width: fit-content;
    min-width: 0;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 0 0 10px;
    padding: 8px 18px;
    border: 1px solid rgba(215, 237, 255, 0.12);
    border-radius: 0;
    color: #ffffff;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(215, 237, 255, 0.22), transparent 58%),
      linear-gradient(135deg, rgba(210, 232, 246, 0.26), rgba(51, 126, 174, 0.36) 35%, rgba(5, 18, 31, 0.98) 78%);
    font: inherit;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    box-shadow:
      0 0 16px color-mix(in srgb, var(--ds-profile-accent, #20a9ff) 38%, transparent),
      inset 0 0 0 1px rgba(215, 237, 255, 0.12),
      inset 0 -18px 28px rgba(0, 0, 0, 0.32);
    cursor: pointer;
  }

  .ds-profile-tabs-toggle-icon {
    flex: 0 0 auto;
    font-size: 1.05rem;
    line-height: 1;
  }

  .ds-profile-tabs-toggle-label {
    min-width: 0;
    white-space: nowrap;
    text-decoration: none;
  }

  .ds-profile-tabs[data-profile-tabs-menu][data-profile-tabs-open="true"] {
    box-sizing: border-box;
    width: min(320px, calc(100% - 28px));
    max-width: calc(100% - 28px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0 14px 10px;
    padding: 8px;
    overflow-x: visible;
    overflow-y: visible;
    border: 1px solid rgba(215, 237, 255, 0.14);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(12, 22, 30, 0.98), rgba(0, 0, 0, 0.99));
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--ds-profile-accent) 14%, transparent),
      0 12px 24px rgba(0, 0, 0, 0.34);
  }

  .ds-profile-tabs[data-profile-tabs-menu] .ds-profile-tab {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(215, 237, 255, 0.12);
    border-right-width: 1px;
    border-radius: 0;
    text-decoration: none;
  }
}
