@media (max-width: 768px) {
  .m-icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    align-items: center;
    justify-content: center;
  }

  .m-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .m-icon-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .m-avatar {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #dcecff;
    color: var(--m-aw-blue);
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(15, 47, 88, 0.08);
  }

  .m-avatar.large {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .m-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .m-badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    padding: 6px 11px;
    background: var(--m-aw-orange-soft);
    color: #9a4f05;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }

  .m-primary-button,
  .m-text-button,
  .m-action-card,
  .m-member-card,
  .m-quick-item,
  .m-top-row {
    border: 0;
    font-family: inherit;
  }

  .m-primary-button {
    display: flex;
    min-height: 49px;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: var(--m-aw-radius-control);
    background: var(--m-aw-blue-dark);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0, 104, 201, 0.22);
  }

  .m-text-button {
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--m-aw-blue-soft);
    color: var(--m-aw-blue-dark);
    font-size: 13px;
    font-weight: 850;
  }

  .m-empty,
  .m-error {
    display: grid;
    gap: 8px;
    border: 1px solid var(--m-aw-border);
    border-radius: var(--m-aw-radius-card);
    padding: 18px;
    background: var(--m-aw-surface);
    color: var(--m-aw-muted);
    box-shadow: var(--m-aw-shadow-card);
  }

  .m-empty strong {
    color: var(--m-aw-text);
    font-size: 17px;
  }

  .m-error {
    border-color: rgba(239, 68, 68, 0.2);
    background: var(--m-aw-red-soft);
    color: #a12b2b;
    font-weight: 750;
  }

  .m-skeleton {
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, #edf3fb 0%, #f8fbff 42%, #edf3fb 80%);
    background-size: 220% 100%;
    animation: mSkeleton 1.25s ease-in-out infinite;
  }

  .m-skeleton-card {
    pointer-events: none;
  }

  .m-skeleton-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
  }

  .m-skeleton-title {
    width: 86px;
    height: 18px;
  }

  .m-skeleton-topic {
    width: 90%;
    height: 26px;
    border-radius: 10px;
  }

  .m-skeleton-wide {
    width: 100%;
    height: 68px;
    border-radius: 16px;
  }

  .m-skeleton-button {
    width: 100%;
    height: 52px;
    border-radius: var(--m-aw-radius-control);
  }

  .m-skeleton-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  @keyframes mSkeleton {
    0% {
      background-position: 120% 0;
    }
    100% {
      background-position: -120% 0;
    }
  }

  .m-bottom-tab {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -8px 28px rgba(15, 47, 88, 0.1);
    backdrop-filter: blur(18px);
  }

  .m-tab-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 14px;
    padding: 6px 2px 5px;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
  }

  .m-tab-item .m-icon {
    width: 22px;
    height: 22px;
  }

  .m-tab-item.active {
    background: var(--m-aw-blue-soft);
    color: var(--m-aw-blue-dark);
  }
}
