.mobile-more-dialog {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 82dvh;

  margin: auto 0 0;
  padding: 0;

  border: 0;
  border-radius:
    22px 22px 0 0;

  background: transparent;

  overflow: visible;
}

.mobile-more-dialog::backdrop {
  background:
    rgba(7, 25, 31, .48);

  backdrop-filter:
    blur(2px);
}

.mobile-more-sheet {
  max-height: 82dvh;

  display: flex;
  flex-direction: column;

  background:
    var(--surface-card);

  border-radius:
    22px 22px 0 0;

  box-shadow:
    0 -18px 50px
    rgba(12, 31, 38, .18);

  animation:
    mobile-sheet-in
    var(--motion-slow)
    cubic-bezier(.2, .8, .2, 1);
}

.mobile-more-sheet::before {
  content: "";

  width: 38px;
  height: 4px;

  margin:
    9px auto 2px;

  border-radius:
    var(--radius-pill);

  background:
    var(--border-strong);
}

.mobile-more-head {
  padding:
    14px 18px
    13px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  border-bottom:
    1px solid
    var(--border-subtle);
}

.mobile-more-head small,
.mobile-more-label {
  color:
    var(--text-tertiary);

  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mobile-more-head h2 {
  margin: 2px 0 0;

  font-size: 20px;
  line-height: 1.2;
}

.mobile-more-close {
  width: 38px;
  height: 38px;

  border:
    1px solid
    var(--border-default);

  border-radius:
    var(--radius-sm);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background:
    var(--surface-subtle);

  color:
    var(--text-primary);

  cursor: pointer;
}

.mobile-more-content {
  padding:
    15px 16px
    calc(92px + env(safe-area-inset-bottom));

  overflow-y: auto;
}

.mobile-more-section + .mobile-more-section {
  margin-top: 20px;
}

.mobile-more-grid {
  margin-top: 8px;

  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 8px;
}

.mobile-more-grid a {
  min-height: 68px;

  padding:
    12px;

  border:
    1px solid
    var(--border-subtle);

  border-radius:
    var(--radius-md);

  display: flex;
  align-items: center;
  gap: 10px;

  background:
    var(--surface-subtle);

  color:
    var(--text-primary);

  font-size: 13px;
  font-weight: 750;
}

.mobile-more-grid a svg {
  flex: 0 0 auto;
  color:
    var(--brand-600);
}

.mobile-more-grid a:active {
  background:
    var(--brand-100);
}

@keyframes mobile-sheet-in {
  from {
    transform:
      translateY(100%);
  }

  to {
    transform:
      translateY(0);
  }
}

@media (min-width: 951px) {
  .mobile-more-dialog {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-more-sheet {
    animation: none;
  }
}