/* Gradlist account, authentication, chat and mobile navigation integration. */

/* Archive/Figma messaging layout, scoped to the profile page. */
.gradlist-chat-page .gradlist-account-content { padding: 0; border: 0; background: transparent; box-shadow: none; }
.gradlist-chat-page .gradlist-account-title { margin: 0; font-size: 24px; }
.gradlist-chat-tabs { display: flex; gap: 8px; margin: 20px 0 25px; }
.gradlist-chat-tab { display: inline-flex; height: 38px; padding: 0 12px; align-items: center; gap: 6px; border: 0; border-radius: 10px; color: #17213a; background: #fff; font-size: 14px; }
.gradlist-chat-tab.active { color: #176ff2; background: #e9f2ff; }
.gradlist-chat-tab svg { color: #8a94a3; fill: none; }
.gradlist-chat-tab.active svg { color: #ef4444; fill: currentColor; }
.gradlist-new-chat .page-chat-container.gradlist-chat-shell { display: flex; height: 616px; min-height: 0; border: 0; box-shadow: 0 8px 24px rgba(37,53,86,.06); }
.gradlist-chat-rail { width: 330px; flex: 0 0 330px; overflow-y: auto; border-right: 1px solid #e4e8ef; }
.gradlist-chat-pane { flex: 1; min-width: 0; height: 100%; }
.gradlist-chat-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: #8a94a3; }
.gradlist-chat-placeholder p { margin: 0; color: #17213a; font-size: 18px; }
.gradlist-chat-placeholder span { font-size: 13px; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-container { padding: 0; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-items { min-height: 0; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item { min-height: 80px; padding: 12px; gap: 10px; border-radius: 0; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item[hidden] { display: none !important; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item.is-active { background: #edf4ff; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item-avatar { width: 55px; height: 55px; flex: 0 0 55px; margin: 0; border-radius: 50%; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item-content { min-width: 0; overflow: hidden; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item-content-user,
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item-content-channel { font-size: 14px; font-weight: 500; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item-content-title,
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item-content-message { margin-top: 4px; font-size: 12px; font-weight: 400; }
.gradlist-new-chat .gradlist-chat-rail .chat-dialogues-item-date { font-size: 10px; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-container { height: 100%; max-height: none; padding: 0; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-container-header { position: relative; padding: 18px 60px 18px 30px; }
.gradlist-chat-pane .chat-dialogue-container-header > .row { margin: 0; flex-wrap: nowrap; align-items: center; }
.gradlist-chat-pane .chat-dialogue-container-header .col-md-11 { width: auto; flex: 1; min-width: 0; padding: 0; order: 1 !important; }
.gradlist-chat-pane .chat-dialogue-container-header .col-md-1 { width: 30px; padding: 0; order: 2 !important; }
@media (min-width: 768px) {
  .gradlist-chat-pane .chat-dialogue-container-header .col-md-1 { position: relative; top: -12px; }
}
.gradlist-new-chat .gradlist-chat-pane .actionOpenDialogues { display: none; }
.gradlist-chat-pane .chat-dialogue-item-card { margin: 0; align-items: center; }
.gradlist-chat-pane .chat-dialogue-item-card-image { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%; }
.gradlist-chat-pane .chat-dialogue-item-card-content { min-width: 0; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-item-card-content-link-user-name,
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-item-card-content-link-ad { display: block; font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gradlist-chat-pane .chat-dialogue-item-card-content-link-user-name p { margin: 4px 0 0; font-size: 12px; font-weight: 400; color: #8a94a3; }
.gradlist-chat-favorite { position: absolute; top: 20px; right: 16px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: transparent; color: #8a94a3; border-radius: 8px; }
.gradlist-chat-favorite.active { color: #ef4444; background: transparent; }
.gradlist-chat-favorite svg { fill: none; }
.gradlist-chat-favorite.active svg { fill: currentColor; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-container-content { min-height: 0; padding: 24px 30px; }
.gradlist-chat-pane .chat-dialogue-item-container { width: 100%; text-align: left; }
.gradlist-chat-pane .chat-dialogue-item-message { position: relative; display: flex; width: 100%; padding: 15px; gap: 10px; align-items: flex-start; border-radius: 10px; background: #f4f5f9; }
.gradlist-chat-pane .item-message-from .chat-dialogue-item-message { background: #e9f2ff; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-item-message-text { flex: 1; min-width: 0; max-width: none; padding: 0; color: #17213a; background: transparent; border-radius: 0; font-size: 14px; line-height: 1.5; }
.gradlist-new-chat .gradlist-chat-pane .item-message-from .chat-dialogue-item-message-text,
.gradlist-new-chat .gradlist-chat-pane .item-message-whom .chat-dialogue-item-message-text { color: #17213a; background: transparent; }
.gradlist-chat-pane .chat-dialogue-item-message-avatar { width: 42px; height: 42px; margin: 0; }
.gradlist-chat-pane .chat-dialogue-item-message-date { margin: 0; color: #8a94a3; font-size: 10px; }
.gradlist-chat-pane .chat-dialogue-container-footer { padding: 18px 30px; border-top: 1px solid #e4e8ef; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-footer { margin: 0; gap: 16px; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-footer-action-textarea { box-sizing: border-box; min-height: 48px; height: 48px; max-height: 160px; padding: 12px 15px; border: 1px solid #176ff2; border-radius: 10px; background: #fff; font-size: 14px; line-height: 20px; resize: none; overflow: hidden; scrollbar-width: none; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-footer-action-textarea::-webkit-scrollbar { display: none; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-footer.has-text .chat-dialogue-footer-action-send { color: #176ff2; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-footer-action-attach,
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-footer-action-send { width: 24px; height: 28px; border-radius: 0; color: #bec7d2; background: transparent; }
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-footer-action-send:hover { color: #176ff2; }
@media (max-width: 1280px) { .gradlist-chat-rail { width: 280px; flex-basis: 280px; } }
@media (max-width: 1000px) { .gradlist-chat-rail { width: 240px; flex-basis: 240px; } }
@media (max-width: 767px) {
  .gradlist-new-chat .page-chat-container.gradlist-chat-shell { height: auto; min-height: calc(100dvh - 245px); box-shadow: none; }
  .gradlist-chat-rail { width: 100%; flex-basis: 100%; border: 0; }
  .gradlist-chat-pane { display: none; }
  .gradlist-chat-shell.has-dialogue .gradlist-chat-pane { display: block; position: fixed; inset: 0; z-index: 1000; height: 100dvh; background: #fff; }
  .gradlist-new-chat .gradlist-chat-pane .actionOpenDialogues { display: inline-flex; margin: 0 0 12px !important; color: #7e8795 !important; }
  .gradlist-new-chat .gradlist-chat-pane .actionOpenDialogues span { display: none; }
  .gradlist-new-chat .gradlist-chat-pane .chat-dialogue-container-header { padding: 12px 48px 12px 16px; }
  .gradlist-new-chat .gradlist-chat-pane .chat-dialogue-container-content { padding: 16px; }
  .gradlist-chat-pane .chat-dialogue-container-footer { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .gradlist-chat-pane .chat-dialogue-item-message { padding: 12px; gap: 8px; }
  .gradlist-chat-pane .chat-dialogue-item-message-avatar { width: 30px; height: 30px; }
  .gradlist-chat-tabs { gap: 6px; margin: 18px 0 20px; }
  .gradlist-chat-tab { padding: 0 10px; font-size: 12px; }
}

.gradlist-chat-count:empty,
.gradlist-mobile-navigation__badge:empty { display: none; }

.gradlist-chat-count {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-left: 3px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  background: #ff4d5f;
}

.gradlist-mobile-navigation { display: none; }

.gradlist-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gradlist-header-action {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 0;
  background: transparent;
  transition: opacity .18s ease;
}
button.gradlist-header-action { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.gradlist-header-action:hover {
  background: transparent;
  opacity: .7;
}
.gradlist-header-action > svg { display: block; width: 32px; height: 32px; }
.gradlist-header-action__badge:empty { display: none; }
.gradlist-header-action__badge {
  position: absolute;
  top: 2px;
  right: 1px;
  display: grid;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  background: #ff4d5f;
}

/* Authentication: keep the working UniSite form and apply the supplied visual system. */
.gradlist-new-auth {
  color: var(--color-primary);
  background: var(--color-bg) !important;
}
.gradlist-new-auth .auth-section { padding: 58px 0 72px; }
.gradlist-new-auth .auth-card {
  border: 1px solid #e3e9f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(19, 33, 53, .08);
}
.gradlist-new-auth .auth-card h4 { color: var(--color-primary); font-size: 28px; line-height: 1.2; }
.gradlist-new-auth .formAuthentication .form-control,
.gradlist-new-auth .formAuthenticationForgot .form-control {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #dbe2ec;
  border-radius: 10px;
  color: var(--color-primary);
  background: #fff;
}
.gradlist-new-auth .formAuthentication .form-control:focus,
.gradlist-new-auth .formAuthenticationForgot .form-control:focus {
  border-color: #2476f3;
  box-shadow: 0 0 0 3px rgba(36, 118, 243, .12);
}
.gradlist-new-auth .formAuthentication .btn-custom,
.gradlist-new-auth .formAuthenticationForgot .btn-custom {
  min-height: 52px;
  border-radius: 10px;
  font-weight: 600;
}
.gradlist-new-auth .formAuthentication .button-color-scheme4 {
  color: var(--color-primary) !important;
  background: #f3f5f8 !important;
}
.gradlist-new-auth .auth-block-tab-back {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: #f3f5f8;
}
.gradlist-new-auth .modal .modal-content {
  border: 1px solid #dce2ea;
  border-radius: 18px;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(19, 33, 53, .25);
}
.gradlist-new-auth .modal .modal-header,
.gradlist-new-auth .modal .modal-body { background: #fff !important; }

/* Profile chat: visual layer over the existing AJAX chat backend. */
.gradlist-new-chat { background: var(--color-bg); }
.gradlist-new-chat .flex-wrapper { min-height: auto; }
.gradlist-account-page { margin: 0; padding: 32px 0 64px; }
.gradlist-account-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 49px;
  align-items: start;
}
.gradlist-account-sidebar,
.gradlist-account-content {
  min-width: 0;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(19, 33, 53, .05);
}
.gradlist-account-sidebar { padding: 0; border: 0; border-radius: 10px; background: transparent; box-shadow: none; }
.gradlist-account-content { padding: 26px; }
.gradlist-account-title {
  margin: 0 0 22px;
  color: var(--color-primary);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 650;
}
/* A single sidebar component for every account route, including chat. */
.gradlist-new-page .profile-user-sidebar { box-sizing: border-box; width: 260px; max-width: 100%; padding: 30px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 8px 26px rgba(19,33,53,.05); text-align: center; }
.gradlist-new-page .profile-user-sidebar-avatar > div { width: 80px; height: 80px; margin: 0 auto 15px; }
.gradlist-new-page .profile-user-sidebar-avatar > div > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gradlist-new-page .profile-user-sidebar-avatar > div { overflow: visible; }
.gradlist-new-page .profile-user-sidebar-avatar-change,
.gradlist-new-page .profile-user-sidebar-avatar > div:hover .profile-user-sidebar-avatar-change { display: grid; place-items: center; inset: auto -4px -4px auto; width: 32px; height: 32px; border-radius: 50%; background: #fff; backdrop-filter: none; box-shadow: 0 2px 8px rgba(19,33,53,.06); }
.gradlist-new-page .profile-user-sidebar-avatar-change svg { width: 24px; height: 24px; }
.gradlist-new-page .profile-user-sidebar-full-name { margin-bottom: 8px; font-size: 20px; font-weight: 600; }
.gradlist-new-page .profile-user-sidebar-menu {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e8ecf2;
  text-align: left;
}
.gradlist-new-page .profile-user-sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  color: var(--color-secondary) !important;
  font-size: 16px;
  font-weight: 600;
}
.gradlist-new-page .profile-user-sidebar-menu .gradlist-profile-link-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.gradlist-new-page .profile-user-sidebar-avatar-change svg { display: block; }
.gradlist-new-page .profile-user-sidebar-menu a:hover { color: #176ff2 !important; background: transparent; }
.gradlist-new-page .profile-user-sidebar-menu a[aria-current="page"] { color: var(--color-primary) !important; background: transparent; }
.gradlist-new-page .profile-user-sidebar-menu .gradlist-profile-extra-icon { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; margin: 0; border-radius: 50%; color: #6b737e; background: #f3f5f8; font-size: 14px !important; }
.gradlist-new-page .profile-user-sidebar-menu i[hidden] { display: none !important; }
.gradlist-new-page .profile-user-sidebar-menu a > strong { margin-left: auto; color: #ff4d5f; font-size: 12px; white-space: nowrap; }
.gradlist-new-page .profile-user-sidebar-menu .dropdown-box-list-nested-toggle > a > i:last-child { margin-left: auto; }
@media (max-width: 1280px) { .gradlist-account-grid { gap: 20px; } }
.gradlist-new-chat .page-chat-container {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  background: #fff;
}
.gradlist-new-chat .chat-dialogues-container { padding: 6px; }
.gradlist-new-chat .chat-dialogues-items { min-height: 540px; }
.gradlist-new-chat .chat-dialogues-item {
  gap: 12px;
  min-height: 86px;
  padding: 13px;
  border-radius: 10px;
}
.gradlist-new-chat .chat-dialogues-item + .chat-dialogues-item { border-top: 1px solid #edf0f4; }
.gradlist-new-chat .chat-dialogues-item:hover { background: #f4f7fb; }
.gradlist-new-chat .chat-dialogues-item-avatar { width: 58px; height: 58px; border-radius: 10px; }
.gradlist-new-chat .chat-dialogues-item-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gradlist-new-chat .chat-dialogues-item-content-user,
.gradlist-new-chat .chat-dialogues-item-content-channel { color: var(--color-primary); font-weight: 650; }
.gradlist-new-chat .chat-dialogues-item-content-title,
.gradlist-new-chat .chat-dialogues-item-content-message { overflow: hidden; color: #737d8c; white-space: nowrap; text-overflow: ellipsis; }
.gradlist-new-chat .chat-dialogues-item-date { margin-top: 4px; color: #9aa2ae; font-size: 12px; text-align: left; }
.gradlist-new-chat .chat-dialogues-item-content-count-messages { background: #2476f3; }
.gradlist-new-chat .chat-dialogues-items-empty {
  display: grid;
  min-height: 520px;
  margin: 0;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #7b8492;
}
.gradlist-chat-empty-icon { color: #2476f3; }
.gradlist-new-chat .chat-dialogue-container { height: min(680px, calc(100dvh - 180px)); padding: 20px; }
.gradlist-new-chat .actionOpenDialogues {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--color-primary) !important;
  background: transparent !important;
}
.gradlist-new-chat .actionOpenDialogues svg { flex: 0 0 28px; }
.gradlist-new-chat .chat-dialogue-item-menu {
  display: grid;
  min-width: 38px;
  min-height: 34px;
  place-items: center;
  border-radius: 9px;
  cursor: pointer;
}
.gradlist-new-chat .chat-dialogue-item-menu:hover { background: #f3f5f8; }

/* Keep message actions at the right edge; the popover is positioned in viewport coordinates. */
.gradlist-new-chat .gradlist-chat-pane .chat-dialogue-item-menu {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 4px;
  border: 0;
  color: #6b737e;
  background: transparent;
  box-shadow: none;
}
.gradlist-chat-pane .chat-dialogue-item-menu:focus-visible { outline: 2px solid #2467e9; outline-offset: 2px; }
.gradlist-chat-pane .chat-dialogue-item-menu svg { display: block; width: 24px; height: 24px; }
.gradlist-chat-pane .chat-dialogue-item-message-menu { order: 3; flex: 0 0 32px; margin: -5px -5px -5px 0; }
.gradlist-new-chat .gradlist-chat-pane .uni-dropdown-content.gradlist-chat-action-popover {
  position: fixed;
  z-index: 1200;
  right: auto !important;
  bottom: auto !important;
  /* Override the legacy mobile left:0 rule using the trigger's viewport bounds. */
  left: var(--chat-menu-left, 8px) !important;
  top: var(--chat-menu-top, 8px) !important;
  width: max-content;
  min-width: 150px;
  padding: 10px 0;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  color: #152332;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23,33,58,.14);
  overflow: auto;
}
.gradlist-chat-pane .gradlist-chat-action-popover .uni-dropdown-content-item {
  padding: 8px 18px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: 0;
  color: #152332;
  font: 400 14px/1.4 Inter, sans-serif;
  white-space: normal;
  cursor: pointer;
}
.gradlist-chat-pane .gradlist-chat-action-popover .uni-dropdown-content-item:hover,
.gradlist-chat-pane .gradlist-chat-action-popover .uni-dropdown-content-item:focus-visible { color: #2467e9; background: #edf4ff; outline: none; }
.gradlist-new-chat .chat-dialogue-container-header { padding-bottom: 16px; border-bottom: 1px solid #e8ecf2; }
.gradlist-new-chat .chat-dialogue-container-content { padding: 18px 4px; }
.gradlist-new-chat .chat-dialogue-item-message-text { padding: 11px 15px; border-radius: 14px; }
.gradlist-new-chat .item-message-from .chat-dialogue-item-message-text { color: #fff; background: #2476f3; }
.gradlist-new-chat .item-message-whom .chat-dialogue-item-message-text { color: var(--color-primary); background: #f0f3f7; }
.gradlist-new-chat .chat-dialogue-footer { align-items: center; gap: 10px; margin-top: 12px; }
.gradlist-new-chat .chat-dialogue-footer-action-1,
.gradlist-new-chat .chat-dialogue-footer-action-2 { margin-right: 0; }
.gradlist-new-chat .chat-dialogue-footer-action-textarea {
  min-height: 50px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #dce2ea;
  background: #f7f9fc;
}
.gradlist-new-chat .chat-dialogue-footer-action-attach,
.gradlist-new-chat .chat-dialogue-footer-action-send {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #2476f3;
  background: #edf4ff;
}
.gradlist-new-chat .chat-dialogue-footer-action-send { color: #fff; background: #2476f3; }
.gradlist-new-chat .chat-dialogue-footer-action-attach svg,
.gradlist-new-chat .chat-dialogue-footer-action-send svg { display: block; }

.profile-popup svg,
.profile-menu__action-icon svg,
.profile-menu__wallet-icon svg,
.profile-menu__business-icon svg,
.profile-menu__link svg { display: block; }
.gradlist-mobile-header__add { display: inline-flex; align-items: center; gap: 5px; }
.gradlist-mobile-header__add svg { flex: 0 0 18px; }

@media (max-width: 1000px) {
  .gradlist-account-grid { grid-template-columns: minmax(0, 1fr); }
  .gradlist-account-sidebar { display: none; }
  .gradlist-account-content { padding: 20px; }
}

@media (max-width: 768px) {
  .gradlist-new-home,
  .gradlist-new-page { padding-bottom: 76px; }
  .gradlist-mobile-navigation {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 66px;
    padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid #e1e6ee;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 28px rgba(19, 33, 53, .08);
    backdrop-filter: blur(12px);
  }
  .gradlist-header-actions { display: none; }
  .gradlist-mobile-navigation__link {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: #7b8492;
    font-size: 10px;
    line-height: 1.1;
  }
  .gradlist-mobile-navigation__link:hover,
  .gradlist-mobile-navigation__link.is-active { color: #2476f3 !important; }
  .gradlist-mobile-navigation__link svg { display: block; max-width: 26px; max-height: 26px; }
  .gradlist-mobile-navigation__link--create svg { max-width: 30px; max-height: 30px; }
  .gradlist-mobile-navigation__icon-wrap { position: relative; display: block; }
  .gradlist-mobile-navigation__badge {
    position: absolute;
    top: -5px;
    right: -8px;
    display: grid;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 9px;
    background: #ff4d5f;
  }
  .gradlist-new-auth .auth-section { padding: 30px 0 44px; }
  .gradlist-new-auth .auth-grid { gap: 28px; }
  .gradlist-new-auth .auth-motivation h1 { font-size: 34px; }
  .gradlist-new-auth .auth-card { padding: 28px 20px; border-radius: 16px; }
  .gradlist-new-auth .auth-card h4 { font-size: 24px; }
  .gradlist-account-page { padding: 18px 0 30px; }
  .gradlist-chat-page > .new-container { padding: 0 12px; }
  .gradlist-account-content { padding: 16px; border-radius: 12px; }
  .gradlist-account-title { margin-bottom: 16px; font-size: 24px; }
  .gradlist-new-chat .page-chat-container { min-height: calc(100dvh - 230px); }
  .gradlist-new-chat .chat-dialogues-items { min-height: calc(100dvh - 250px); }
  .gradlist-new-chat .chat-dialogue-container { height: calc(100dvh - 155px); padding: 14px; }
  .gradlist-new-chat .chat-dialogue-item-card-content-link-ad,
  .gradlist-new-chat .chat-dialogue-item-card-content-link-user,
  .gradlist-new-chat .chat-dialogue-item-card-content-link-user-name { font-size: 13px; }
  .gradlist-new-chat .chat-dialogue-footer-action-attach,
  .gradlist-new-chat .chat-dialogue-footer-action-send { width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .gradlist-mobile-navigation__link { font-size: 9px; }
  .gradlist-new-auth .auth-motivation { display: none; }
  .gradlist-new-auth .auth-card-wrapper { width: 100%; }
  .gradlist-new-auth .auth-card { padding: 24px 16px; }
  .gradlist-account-content { padding: 12px; }
  .gradlist-new-chat .chat-dialogues-item { padding: 10px; }
  .gradlist-new-chat .chat-dialogues-item-avatar { width: 52px; height: 52px; }
}
