:root {
  --color-bg: #121214;
  --color-header-bg: #17181e;
  --color-text: #ffffff;
  --color-accent: #f7a600;
  --color-accent-hover: #ffb020;
  --color-signup: #ff9c2e;
  --color-signup-hover: #ffb04d;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 56px;
  --subnav-h: 44px;
  --radius-pill: 100px;
  --transition: 0.15s ease;
  --container-max: 1550px;
}

.page {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #1e2329;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #17181e;
  overflow: visible;
}

.main {
  padding-top: var(--header-h);
}

.header__row {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: var(--header-h);
  overflow: visible;
}

.header__mid {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-left: 12px;
  flex-shrink: 0;
  overflow: visible;
}

.header__grow {
  flex: 1;
  min-width: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 22px;
  object-fit: contain;
}

.header__search {
  display: flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
}

.nav {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  justify-content: flex-start;
  margin-left: 0;
}

.nav__list {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  height: 100%;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
  padding: 0 2px;
}

.nav__item:not(.nav__item--mnt)::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0px;
  right: 6px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-signup);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.28s ease;
  pointer-events: none;
}

.nav__item:hover {
  background-color: #24252b;
}

.nav__item:not(.nav__item--mnt):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav__item--mnt:hover {
  background-color: transparent;
}

.nav__item--mnt {
  border-radius: 8px;
  overflow: hidden;
}

.nav__item--mnt::before,
.nav__item--mnt::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 2;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(94, 232, 220, 0) 0%, rgba(94, 232, 220, 0.88) 22%, rgba(94, 232, 220, 1) 50%, rgba(94, 232, 220, 0.88) 78%, rgba(94, 232, 220, 0) 100%);
}

.nav__item--mnt::before {
  top: 0;
}

.nav__item--mnt::after {
  bottom: 0;
}

.nav__item--mnt:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px 1px rgba(94, 232, 220, 0.65), 0 3px 14px 1px rgba(94, 232, 220, 0.45);
}

.nav__item--mnt:hover::after {
  opacity: 1;
  box-shadow: 0 0 10px 1px rgba(94, 232, 220, 0.65), 0 -3px 14px 1px rgba(94, 232, 220, 0.45);
}

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  min-height: var(--header-h);
  padding: 0 10px;
  cursor: pointer;
  border-radius: 0;
  background-color: transparent;
  transition: background var(--transition);
}

.nav__label {
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
  background: none;
  -webkit-text-fill-color: currentcolor;
  transition: color var(--transition), font-weight var(--transition), background var(--transition), -webkit-text-fill-color var(--transition);
}

.nav__item:not(.nav__item--mnt):hover .nav__label {
  font-weight: 400;
  color: transparent;
  background: linear-gradient(180deg, #ffd89a 0%, #ff9c2e 48%, #d97810 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  min-height: var(--header-h);
  padding: 0 10px;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
  border-radius: 0;
  background: none;
  -webkit-text-fill-color: currentcolor;
  transition: color var(--transition), background var(--transition), font-weight var(--transition), -webkit-text-fill-color var(--transition);
}

.nav__item:not(.nav__item--dropdown):not(.nav__item--mnt):hover .nav__link {
  color: transparent;
  background: linear-gradient(180deg, #ffd89a 0%, #ff9c2e 48%, #d97810 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.nav__chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition), transform 0.2s ease;
}

.nav__item--dropdown:hover .nav__chevron {
  color: var(--color-signup);
  transform: rotate(180deg);
}

.nav__mnt-icon {
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(from 210deg, #6b5cff, #ff4d8d, #f7a600, #00c896, #6b5cff);
}

.nav__item--mnt .nav__link {
  font-weight: 600;
  color: transparent;
  background: linear-gradient(90deg, #ff9c2e 0%, #c97eb8 45%, #5dd4cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__mnt-link {
  padding: 0 8px;
}

.nav__mnt-logo {
  display: block;
  width: auto;
  height: 20px;
  margin: 0 auto;
  object-fit: contain;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0s linear 0.12s;
  max-width: calc(100vw - 24px);
}

.nav__item--dropdown:hover .nav__dropdown {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.nav__dropdown.dropdown--align-end {
  left: auto;
  right: 0;
}

.dropdown__panel {
  width: min(308px, calc(100vw - 24px));
  min-width: 0;
  max-width: min(308px, calc(100vw - 24px));
  max-height: min(80vh, 720px);
  box-sizing: border-box;
  background: rgba(21, 23, 25, 0.9);
  padding: 12px 12px 16px 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #8b8c8f rgba(255, 255, 255, 0.08);
}

.dropdown__panel::-webkit-scrollbar {
  width: 8px;
}

.dropdown__panel::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.dropdown__panel::-webkit-scrollbar-button:single-button {
  width: 0;
  height: 0;
  display: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.dropdown__panel::-webkit-scrollbar-button:vertical:start:decrement,
.dropdown__panel::-webkit-scrollbar-button:vertical:end:increment,
.dropdown__panel::-webkit-scrollbar-button:horizontal:start:decrement,
.dropdown__panel::-webkit-scrollbar-button:horizontal:end:increment {
  width: 0;
  height: 0;
  display: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.dropdown__panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.dropdown__panel::-webkit-scrollbar-thumb {
  background: #8b8c8f;
  border-radius: 999px;
  border: 1px solid rgba(36, 37, 43, 0.9);
}

.dropdown__panel::-webkit-scrollbar-thumb:hover {
  background: #828996;
}

.dropdown--buy .dropdown__panel {
  width: min(350px, calc(100vw - 24px));
  min-width: 0;
  max-width: min(350px, calc(100vw - 24px));
}

.dropdown--trade .dropdown__panel {
  width: min(350px, calc(100vw - 24px));
  min-width: 0;
  max-width: min(350px, calc(100vw - 24px));
}

.dropdown--more .dropdown__panel {
  width: min(350px, calc(100vw - 24px));
  min-width: 0;
  max-width: min(350px, calc(100vw - 24px));
}

.dropdown__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.dropdown__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px;
  margin: 0;
  border-radius: 4px;
  transition: background var(--transition);
}

.dropdown__section-title {
  margin: 12px 8px 6px;
  font-size: 12px;
  font-weight: 400;
  color: #a7aab2;
}

.dropdown__section-title:first-child {
  margin-top: 4px;
}

.dropdown__row:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.dropdown__row--featured-soft {
  background-color: rgba(255, 255, 255, 0.06);
}

.dropdown__row--with-arrow {
  padding-right: 8px;
}

.dropdown__row-icon-img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.dropdown__row-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
}

.dropdown__row-icon svg {
  width: 22px;
  height: 22px;
}

.dropdown__row-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.dropdown__row-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  transition: color var(--transition);
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.dropdown__row:hover .dropdown__row-title,
.dropdown__row:hover .dropdown__row-fire {
  color: var(--color-signup);
}

.dropdown__row:hover .dropdown__row-arrow {
  color: var(--color-signup);
}

.dropdown__row-fire {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  vertical-align: center;
}

.dropdown__row-fire-img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  transform: translateY(2.5px);
}

.dropdown__row-desc {
  font-size: 12px;
  font-weight: 400;
  color: #848e9c;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.dropdown__row-arrow {
  align-self: center;
  margin-left: 8px;
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  opacity: 0.9;
}

.dropdown__row-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 13px;
  line-height: 12px;
  margin-left: 6px;
  padding: 4px 4px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  color: #17181e;
  background: linear-gradient(109.03deg, #ffb11a -0.46%, #f49225 103.1%);
}

.actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 8px;
}

.search {
  display: flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  height: 28px;
  padding: 0px 8px 0px 8px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #2b2f36;
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search:hover,
.search:focus-within {
  border-color: var(--color-signup);
}

.search__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.45);
}

.search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
}

.search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #666666;
  background-image:
    linear-gradient(45deg,
      transparent calc(50% - 0.65px),
      #313237 calc(50% - 0.65px),
      #313237 calc(50% + 0.65px),
      transparent calc(50% + 0.65px)),
    linear-gradient(-45deg,
      transparent calc(50% - 0.65px),
      #313237 calc(50% - 0.65px),
      #313237 calc(50% + 0.65px),
      transparent calc(50% + 0.65px));
  background-size: 5.5px 5.5px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.search__input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.actions__login {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--color-text);
  padding: 8px 4px;
  white-space: nowrap;
  transition: color var(--transition), opacity var(--transition);
}

.actions__login:hover {
  color: var(--color-signup);
  opacity: 1;
}

.actions__link {
  letter-spacing: 0.02em;
}

.actions__orders {
  font-size: 12px;
  font-weight: 500;
}

.actions__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transform-origin: 50% 50%;
  transition: transform 0.2s ease;
}

.actions__chevron-icon {
  display: block;
  width: 10px;
  height: 10px;
  object-fit: contain;
  opacity: 0.65;
  transition: filter var(--transition), opacity var(--transition);
}

.actions__link--dropdown:hover .actions__chevron {
  transform: rotate(180deg);
}

.actions__link--dropdown:hover .actions__chevron-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(70%) sepia(78%) saturate(1847%) hue-rotate(340deg) brightness(103%) contrast(102%);
}

@keyframes actions-signup-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

.actions__signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  color: #0d0d0f;
  background: var(--color-signup);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--transition);
  animation: actions-signup-pulse 1.6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.actions__signup:active {
  animation: none;
  transform: scale(0.96);
}

.actions__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.actions__download-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.actions__download-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 8px;
}

.actions__icon-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: none;
}

.actions__icon-img--download {
  width: 22px;
  height: 22px;
}

.actions__icon-btn:hover {
  color: var(--color-text);
  background: #24252b;
}

.actions__icon-btn:hover .actions__icon-img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(78%) saturate(1847%) hue-rotate(340deg) brightness(103%) contrast(102%);
}

.actions__download-wrap:hover .actions__download-menu,
.actions__download-wrap:focus-within .actions__download-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.actions__download-menu {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  z-index: 220;
  width: 186px;
  padding: 15px;
  border-radius: 10px;
  background: #25282C;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
}

.actions__download-qr {
  width: 100%;
  border-radius: 2px;
  display: block;
  object-fit: cover;
  background: #fff;
}

.actions__download-title {
  margin: 2px 0 0;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}

.actions__download-link {
  width: 100%;
  min-height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  background-color: var(--color-signup);
  transition: opacity var(--transition);
}

.actions__download-link:hover {
  background: #f6b03f;
}

.actions__notify {
  position: relative;
}

.actions__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #ff4d4f;
  border: 1px solid #17181e;
  color: #fff;
  font-size: 9px;
  font-weight: 400;
  line-height: 12px;
  text-align: center;
}

.actions__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.actions__avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__burger {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  cursor: pointer;
}

.header__burger-line {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.22s ease;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(340px, 88vw);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  padding: 14px 0 18px 18px;
  background: #2C2D2F;
  color: #fff;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  box-sizing: border-box;
  overflow-x: hidden;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.38);
}

.page.page--menu-open {
  overflow: hidden;
}

.mobile-menu__close {
  align-self: flex-end;
  width: 28px;
  height: 28px;
  margin-right: 18px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu__chrome {
  flex-shrink: 0;
  padding-right: 18px;
}

.mobile-menu__profile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 16px;
}

.mobile-menu__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}

.mobile-menu__profile-meta {
  flex: 1;
  min-width: 0;
}

.mobile-menu__profile-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mobile-menu__email {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.mobile-menu__badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #f7a600;
  background: rgba(247, 166, 0, 0.12);
  border: 1px solid rgba(247, 166, 0, 0.35);
}

.mobile-menu__uid-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.mobile-menu__uid {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.mobile-menu__copy-uid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #f7a600;
  cursor: pointer;
}


.mobile-menu__recent {
  margin-bottom: 20px;
}

.mobile-menu__recent-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 15px;
  font-weight: 500;
}

.mobile-menu__recent-name {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 15px;
}

.mobile-menu__account-cta {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 500;
  color: #f7a600;
  text-decoration: none;
}

.mobile-menu__account-cta-text {
  min-width: 0;
}

.mobile-menu__account-cta:hover {
  text-decoration: underline;
}

.mobile-menu__cta-arrow {
  flex-shrink: 0;
  display: block;
  opacity: 0.95;
}

.mobile-menu__quick {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.mobile-menu__quick-btn {
  flex: 1;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 2px solid #303135;
  border-radius: 30px;
  background: #28292D;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.mobile-menu__quick-btn:hover {
  border-color: #3d424c;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu__quick-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.mobile-menu__quick-btn img.mobile-menu__quick-icon {
  opacity: 1;
  display: block;
}

.mobile-menu__presets {
  list-style: none;
  margin: 0;
  padding: 5px 0;
  flex-shrink: 0;
  border-top: 2px solid #333436;
  border-bottom: 2px solid #333436 !important;
  width: 95%;
  border-bottom: none;
  margin-bottom: 0;
}

.mobile-menu__presets > li + li {
  border-top: none;
}

.mobile-menu__preset {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 0 2px 0 0;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.mobile-menu__preset--notify {
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu__preset--notify .mobile-menu__preset-label {
  flex: 0 1 auto;
  font-weight: 600;
}

.mobile-menu__preset:hover {
  color: #fff;
}

.mobile-menu__preset-label {
  flex: 1;
  min-width: 0;
}

.mobile-menu__preset-label--caps {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mobile-menu__preset-icon-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.mobile-menu__preset-icon {
  flex-shrink: 0;
  opacity: 0.95;
  display: block;
}

.mobile-menu__preset--notify .mobile-menu__preset-icon-wrap .mobile-menu__preset-badge {
  position: absolute;
  top: -3px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  box-sizing: border-box;
  border: 2px solid #17181e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__preset-badge {
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__preset-chevron {
  flex-shrink: 0;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
}

.mobile-menu__chrome-divider {
  height: 1px;
  margin: 10px 0 4px;
  background: #24262e;
  display: none;
}

.mobile-menu__nav {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #2C2D2F;
  scrollbar-width: thin;
  scrollbar-color: #4a4d55 transparent;
}

.mobile-menu__nav::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu__nav::-webkit-scrollbar-track {
  margin: 0;
  background: transparent;
}

.mobile-menu__nav::-webkit-scrollbar-thumb {
  background: #4a4d55;
  border-radius: 999px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-right: 18px;
  background-color: #2C2D2F;
}

.mobile-menu__list .nav__item {
  display: block;
  align-self: auto;
  padding: 0;
  border-bottom: 1px solid #81858C;
  background-color: #2C2D2F;
}

.mobile-menu__list .nav__item:hover,
.mobile-menu__list .nav__item--open {
  background-color: #17181e;
}

.mobile-menu__list .nav__item::after,
.mobile-menu__list .nav__item::before {
  display: none;
}

.mobile-menu__list .nav__trigger,
.mobile-menu__list .nav__link {
  width: 100%;
  min-height: 45px;
  padding: 0 0 0 2px;
  color: #fff;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
}

.mobile-menu__list .nav__trigger {
  display: flex;
  cursor: pointer;
}

.mobile-menu__list .nav__chevron {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.9);
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.22s ease, color 0.2s ease;
}

.mobile-menu__list .nav__item--dropdown:hover .nav__chevron {
  color: rgba(255, 255, 255, 0.9);
  transform: rotate(0deg);
}

.mobile-menu__list .nav__item--open>.nav__trigger .nav__label {
  color: #f7a600;
}

.mobile-menu__list .nav__item--open>.nav__trigger .nav__chevron {
  transform: rotate(180deg);
  color: #fff;
}

.mobile-menu__list .nav__item:not(.nav__item--open):hover .nav__label,
.mobile-menu__list .nav__item:not(.nav__item--open):hover .nav__link {
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentcolor;
}

.mobile-menu__list .nav__item--open:hover>.nav__trigger .nav__label {
  color: #f7a600;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentcolor;
}

.mobile-menu__list .nav__dropdown {
  position: static;
  visibility: hidden;
  opacity: 0;
  display: none;
  width: 100%;
  max-width: 100%;
  padding-top: 2px;
  transform: none;
  overflow-x: hidden;
  box-sizing: border-box;
  background: #2C2D2F;
}

.mobile-menu__list .nav__item--open>.nav__dropdown {
  display: block;
  visibility: visible;
  opacity: 1;
}

.mobile-menu__list .dropdown__panel {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  background-color: #2C2D2F;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0 0 8px;
  overflow-x: hidden;
  box-sizing: border-box;
}

.mobile-menu__list .dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  background: #2C2D2F;
}

.mobile-menu__list .dropdown__row {
  border-radius: 0;
  padding: 0 8px 0 20px;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  border-top: 0;
  box-sizing: border-box;
}

.mobile-menu__list .dropdown__row:hover {
  background: transparent;
}

.mobile-menu__list .dropdown__row-icon,
.mobile-menu__list .dropdown__row-desc,
.mobile-menu__list .dropdown__row-arrow,
.mobile-menu__list .dropdown__section-title {
  display: none;
}

.mobile-menu__list .dropdown__row-title {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mobile-menu__list .dropdown__row-chip,
.mobile-menu__list .dropdown__row-fire {
  display: none;
}

.mobile-menu__list .nav__item--mnt .nav__link {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentcolor;
}

.mobile-menu__footer {
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  max-width: 95%;
  box-sizing: border-box;
  margin-top: auto;
  border-top: 2px solid #333436;
  padding: 12px 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu__logout-row {
  flex-shrink: 0;
  padding: 8px 0px 0 0;
  margin-top: 0;
  border-top: none;
  margin-bottom: 10px;
  margin-top: 38px;
  width: 95%;
  border-top: 2px solid #333436;
}

.mobile-menu__logout {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e74c3c;
  text-decoration: none;
}

.mobile-menu__logout:hover {
  color: #ff6b6b;
}

.header__fabs {
  position: fixed;
  z-index: 360;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.header__fabs > button {
  pointer-events: auto;
}

.header__fabs > button.header__fab--floating {
  position: fixed;
  z-index: 361;
  right: auto;
  bottom: auto;
  margin: 0;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}

.header__fabs > button.header__fab--floating.header__fab--dragging {
  cursor: grabbing;
  transition: none !important;
  touch-action: none;
  user-select: none;
}

.page--menu-open .header__fabs {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu__fab-alarm {
  position: relative;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #e8eaed;
  border-radius: 50%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  touch-action: manipulation;
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
  line-height: 0;
  white-space: nowrap;
  flex-shrink: 0;
}


.mobile-menu__fab-alarm-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
  pointer-events: none;
}

.mobile-menu__fab-alarm:hover {
  filter: brightness(0.98);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu__fab-alarm:focus-visible {
  outline: 2px solid #f7a600;
  outline-offset: 2px;
}

.mobile-menu__support {
  position: relative;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  background: #f7a600;
  color: #1a1a1a;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 4px 14px rgba(247, 166, 0, 0.35);
  touch-action: manipulation;
  cursor: pointer;
  transition: opacity 0.2s ease, filter 0.15s ease;
  line-height: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-menu__support-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
  pointer-events: none;
}

.mobile-menu__support:hover {
  filter: brightness(1.05);
}

.mobile-menu__support:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.mobile-menu__lang {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.mobile-menu__download {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  border: 2px solid #303135;
  background-color: #28292D;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.subnav {
  background: #fff;
  border-bottom: 1px solid #eaecef;
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  overflow: visible;
  padding-top: 30px;
}

.subnav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  gap: 0;
  overflow: visible;
}

.subnav__left {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__left::-webkit-scrollbar {
  display: none;
}

.subnav__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  padding-left: 24px;
  overflow: visible;
}

.subnav__link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: #707a8a;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}

.subnav__link:hover {
  color: #1e2026;
}

.subnav__link--active,
.subnav__link--active:hover {
  color: var(--color-accent);
  font-weight: 600;
}

.subnav__link--active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
}

.subnav__util {
  font-size: 13px;
  color: #707a8a;
  white-space: nowrap;
  transition: color var(--transition);
}

.subnav__util:hover {
  color: #1e2026;
}

.subnav__util--orders {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.subnav__util-orders-text {
  position: relative;
  z-index: 0;
}

.subnav__orders-badge {
  position: absolute;
  top: -5px;
  right: -12px;
  z-index: 1;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.subnav__util-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.subnav__dropdown-wrap:hover .subnav__util-arrow {
  transform: rotate(180deg);
}

.subnav__dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.subnav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: #707a8a;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition);
}

.subnav__dropdown-wrap:hover .subnav__dropdown-trigger {
  color: #1e2026;
}

.subnav__dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  min-width: max(220px, 100%);
  width: max-content;
  max-width: min(320px, calc(100vw - 24px));
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  text-align: left;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.subnav__dropdown-wrap:hover .subnav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.subnav__dropdown-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}

.subnav__dropdown-link {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 400;
  color: #1e2026;
  text-decoration: none;
  line-height: 1.45;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.subnav__dropdown-link:hover,
.subnav__dropdown-link:focus-visible {
  outline: none;
  background: #f0f2f5;
  color: #1e2026;
}

.p2p {
  background: #fff;
  min-height: calc(100vh - var(--header-h) - var(--subnav-h));
  padding: 34px 0 48px;
}

.p2p__container {
  max-width: 1450px;
}

.p2p__title {
  font-size: 16px;
  font-weight: 600;
  color: #1e2026;
  margin-bottom: 14px;
}

.p2p-slider {
  position: relative;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eaecef;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  height: 85px;
}

.p2p-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p2p-slider__slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 64px;
  gap: 20px;
}

.p2p-slider__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p2p-slider__title {
  font-size: 22px;
  font-weight: 600;
  color: #1e2026;
  line-height: 1.3;
}

.p2p-slider__desc-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p2p-slider__desc {
  font-size: 14px;
  color: #121214;
  font-weight: 400;
  line-height: 1.45;
}

.p2p-slider__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 15px;
  border-radius: 10px;
  border: 0;
  flex-shrink: 0;
  background: var(--color-accent);
  color: #000000;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.p2p-slider__cta:hover {
  background: var(--color-accent-hover);
  transform: scale(1.07);
}

.p2p-slider__img {
  width: 82px;
  height: 67px;
  object-fit: contain;
  flex-shrink: 0;
}

.p2p-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 147, 26, 0.12);
  color: var(--color-accent);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.p2p-slider:hover .p2p-slider__arrow:not(:disabled) {
  opacity: 1;
}

.p2p-slider__arrow:not(:disabled):hover {
  background: #ff9c2e;
  color: #fff;
}

.p2p-slider__arrow:disabled {
  background: #f0f0f2;
  color: #c0c3cc;
  cursor: not-allowed;
  opacity: 0;
}

.p2p-slider:hover .p2p-slider__arrow:disabled {
  opacity: 1;
}

.p2p-slider__arrow--prev {
  left: 15px;
}

.p2p-slider__arrow--next {
  right: 15px;
}

.p2p-slider__dots {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
}

.p2p-slider__dot {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  border: 0;
  background: #dde0e6;
  padding: 0;
  cursor: pointer;
  transition: background 0.35s ease, width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.p2p-slider__dot--active {
  background: var(--color-accent);
  width: 26px;
}

.p2p-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  background: #fff;
  border-radius: 8px 8px 0 0;
  border: 1px solid #eaecef;
  border-bottom: 1px solid #eaecef;
  padding: 0 12px;
  height: 52px;
}

.p2p-tabs__buysell {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  padding: 0;
}

.p2p-tabs__bs {
  height: 36px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1e2026;
  background: transparent;
  border: 1.5px solid #eaecef;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.p2p-tabs__bs:hover {
  border-color: #c6cad2;
}

.p2p-tabs__bs--sell {
  background: transparent;
  color: #1e2026;
  border-color: #eaecef;
}

.p2p-tabs__bs--sell:hover {
  border-color: #c6cad2;
}

.p2p-tabs__bs--active.buy-active {
  color: #fff;
  background: #2ebd85;
  border-color: #2ebd85;
}

.p2p-tabs__bs--active.buy-active:hover {
  background: #26a574;
  border-color: #26a574;
}

.p2p-tabs__bs--active.sell-active {
  color: #fff;
  background: #f6465d;
  border-color: #f6465d;
}

.p2p-tabs__bs--active.sell-active:hover {
  background: #d63650;
  border-color: #d63650;
}

.p2p-tabs__divider {
  width: 1px;
  height: 20px;
  background: #eaecef;
  margin: 0 10px;
  flex-shrink: 0;
}

.p2p-tabs__coins {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  height: 100%;
}

.p2p-tabs__coin {
  height: 52px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 500;
  color: #707a8a;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color var(--transition), border-color var(--transition);
}

.p2p-tabs__coin--primary {
  color: #000;
}

.p2p-tabs__coin:hover:not(.p2p-tabs__coin--active) {
  color: #1e2026;
}

.p2p-tabs__coin--active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

.p2p-tabs__more {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #707a8a;
  white-space: nowrap;
  transition: color var(--transition);
}

.p2p-tabs__more:hover {
  color: var(--color-accent);
}


.p2p-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  background: #fff;
  padding: 12px 16px;
  border: 1px solid #eaecef;
  border-top: 0;
}

.p2p-filters__input-wrap {
  flex: 0 0 240px;
  position: relative;
  display: flex;
  align-items: center;
}

.p2p-filters__input {
  width: 100%;
  height: 36px;
  padding: 0 90px 0 12px;
  background: #fff;
  border: 1px solid #d0d4dc;
  border-radius: 6px;
  color: #1e2026;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.p2p-filters__input:focus {
  border-color: var(--color-accent);
}

.p2p-filters__input::placeholder {
  color: #aeb4bc;
}

.p2p-filters__currency {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-left: none;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: 500;
  color: #1e2026;
  white-space: nowrap;
  border-radius: 6px;
  transition: background var(--transition);
}

.p2p-filters__currency:hover {
  background: #f0f2f5;
}

.p2p-filters__currency svg {
  transition: transform 0.2s ease;
}

.p2p-filters__currency.active svg {
  transform: rotate(180deg);
}

.p2p-filters__select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #d0d4dc;
  border-radius: 6px;
  font-size: 13px;
  color: #1e2026;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--transition);
  user-select: none;
}

.p2p-filters__select:hover {
  border-color: #aeb4bc;
}

.p2p-filters__select.active {
  border-color: var(--color-signup);
}

.p2p-filters__select--borderless {
  border-color: transparent;
  background: transparent;
  padding: 0 8px;
}

.p2p-filters__select--borderless:hover {
  border-color: transparent;
  color: #000;
}

.p2p-filters__select--pill {
  background: #f5f6f8;
  border-color: #f5f6f8;
  border-radius: 6px;
  padding: 0 12px;
  color: #707a8a;
  font-size: 13px;
  font-weight: 400;
  max-width: 220px;
  overflow: hidden;
}

.p2p-filters__select--pill span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.p2p-filters__select--pill:hover {
  background: #e8eaef;
  border-color: #e8eaef;
  color: #707a8a;
}

.p2p-filters__select--pill.active {
  background: #e8eaef;
  border-color: #e8eaef;
}

.p2p-filters__select--pill .p2p-filters__select-arrow {
  transition: transform 0.2s ease;
}

.p2p-filters__select--pill.active .p2p-filters__select-arrow {
  transform: rotate(180deg);
}


.p2p-filters__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d0d4dc;
  border-radius: 6px;
  font-size: 13px;
  color: #1e2026;
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition), color var(--transition);
}

.p2p-filters__filter-btn:hover {
  border-color: #aeb4bc;
}

.p2p-filters__filter-btn--orange {
  border-color: transparent;
  background: transparent;
  color: #f7a600;
  font-weight: 500;
  padding: 0 8px;
  gap: 2px;
}

.p2p-filters__filter-btn--orange:hover {
  border-color: transparent;
  color: #d4900a;
}

.p2p-filters__filter-btn--orange svg {
  color: #f7a600;
}

.p2p-filters__filter-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p2p-filters__filter-badge {
  position: absolute;
  top: -8px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #f7a600;
  color: #000;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.p2p-filters__filter-badge:empty {
  display: none;
}


.p2p-warn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #707a8a;
  margin-bottom: 0;
  line-height: 1.5;
  background: #fff;
  padding: 8px 16px;
  border-bottom: 1px solid #eaecef;
  overflow: hidden;
}

.p2p-warn__icon {
  flex-shrink: 0;
}

.p2p-warn__ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.p2p-warn__ticker {
  display: flex;
  white-space: nowrap;
  animation: warnTicker 40s linear infinite;
  width: max-content;
}

.p2p-warn__ticker-text {
  padding-right: 80px;
  font-size: 14px;
  color: #121214;
}

@keyframes warnTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


.p2p-warn__link {
  color: #f7a600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.p2p-warn__link:hover {
  text-decoration: underline;
}

.p2p-table-wrap {
  background: #fff;
  border-radius: 0 0 8px 8px;
  border: 1px solid #eaecef;
  border-top: 0;
  overflow: visible;
  margin-bottom: 16px;
}

.p2p-table__head {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.8fr 1.6fr 1.2fr;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #eaecef;
}

.p2p-table__th {
  font-size: 12px;
  color: #707a8a;
  font-weight: 400;
}

.p2p-table__body {
  display: flex;
  flex-direction: column;
}

.p2p-table__empty {
  padding: 48px 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #707a8a;
}

.p2p-table__row {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.8fr 1.6fr 1.2fr;
  align-items: center;
  padding: 16px 20px;
  margin: 0 15px;
  border-bottom: 2px solid #f0f2f5;
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
}

.p2p-table__row:last-child {
  border-bottom: 0;
}

.p2p-table__row:hover {
  background: #fafafa;
}

.p2p-table__row--featured {
  border: 1px solid #f7a600;
  border-radius: 8px;
  margin: 16px 12px 4px;
  padding: 18px 16px;
  grid-template-columns: 2.2fr 1.2fr 1.8fr 1.6fr 1.2fr;
  background: rgba(247, 166, 0, 0.04);
  overflow: visible;
  gap: 6px;
}

.p2p-table__row--featured:hover {
  background: rgba(247, 166, 0, 0.07);
}

.p2p-table__featured-label {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 13px;
  font-weight: 500;
  color: #f7a600;
  background: #f7a6001f;
  padding: 3px 8px;
  border-radius: 0px 4px 4px 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  line-height: 1;
}

.p2p-table__featured-info {
  font-size: 13px;
  color: #f7a600;
  font-weight: 400;
}

.p2p-table__cell {
  display: flex;
  align-items: start;
}

.p2p-table__cell--user {
  display: grid;
  grid-template-columns: 25px 1fr;
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
}

.p2p-table__cell--price {
  gap: 4px;
  align-items: baseline;
}

.p2p-table__cell--limits {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.p2p-table__cell--action {
  justify-content: flex-end;
}

.p2p-table__cell--tags {
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  align-content: center;
}

.p2p-table__cell--payment {
  flex-wrap: wrap;
  gap: 5px;
  align-content: center;
}

.p2p-table__avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
}

.p2p-table__user-info {
  display: contents;
}

.p2p-table__username {
  font-size: 16px;
  font-weight: 600;
  color: #1e2026;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  grid-column: 2;
  grid-row: 1;
}

.p2p-table__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #2ebd85;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

.p2p-table__stats {
  display: block;
  font-size: 12px;
  color: #707a8a;
  line-height: 1.2;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 1px;
}

.p2p-table__time {
  display: inline-flex;
  font-size: 12px;
  color: #81858C;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  grid-column: 1 / -1;
  grid-row: 3;
}

.p2p-table__time-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 11px;
  height: 11px;
  cursor: pointer;
}

.p2p-table__time-icon img {
  display: block;
}

.p2p-table__time-tooltip {
  display: none;
  position: fixed;
  z-index: 9999;
  background: #e9edf2;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  padding: 8px 12px;
  width: 300px;
  font-size: 13px;
  color: #000;
  line-height: 1.6;
  pointer-events: none;
  white-space: normal;
}

.p2p-table__time-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #e9edf2;
}

.p2p-table__time-icon:hover .p2p-table__time-tooltip {
  display: block;
}

.p2p-table__price {
  font-size: 22px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-table__currency {
  font-size: 12px;
  color: #1e2026;
}

.p2p-table__available {
  font-size: 13px;
  font-weight: 500;
  color: #1e2026;
}

.p2p-table__limits {
  font-size: 12px;
  color: #1e2026;
  font-weight: 600;
}

.p2p-table__payment-method {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 12px;
  color: #1e2026;
  border: 1px solid #eaecef;
  white-space: nowrap;
}

.p2p-table__payment-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 12px;
  color: #1e2026;
  border: 1px solid #eaecef;
}

.p2p-table__buy-btn {
  height: 39px;
  padding: 0 20px;
  background: #20b26c;
  border: 0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.p2p-table__buy-btn:hover {
  background: rgba(46, 170, 110, 0.79);
  transform: translateY(-1px);
}

.p2p-table__buy-btn:active {
  transform: translateY(0);
}

.p2p-table__sell-btn {
  height: 36px;
  padding: 0 20px;
  background: #f6465d;
  border: 0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.p2p-table__sell-btn:hover {
  background: #d93c52;
  transform: translateY(-1px);
}


.p2p-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  border-radius: 0px 0px 4px 4px;
  padding: 16px 20px;
  border-top: 1px solid #f0f2f5;
  background: #fff;
}

.p2p-pagination__btn {
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 6px;
  background: #F5F7FA;
  border: none;
  font-size: 13px;
  color: #1e2026;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-weight: 400;
}

.p2p-pagination__btn:hover {
  background: #f5f5f5;
  border-color: #d5d8de;
}

.p2p-pagination__btn.p2p-pagination__active {
  background: #f7a600;
  border-color: #f7a600;
  color: #000;
  font-weight: 600;
}

.p2p-pagination__prev,
.p2p-pagination__next {
  font-size: 18px;
  color: #707a8a;
  border-color: #eaecef;
}

.p2p-pagination__prev:hover,
.p2p-pagination__next:hover {
  background: #f7a600;
  color: #000;
}

.p2p-pagination__prev.is-disabled:hover,
.p2p-pagination__next.is-disabled:hover {
  background: #F5F7FA;
  color: #707a8a;
}

.p2p-pagination__dots {
  font-size: 13px;
  color: #707a8a;
  padding: 0 4px;
  letter-spacing: 1px;
  user-select: none;
}

.p2p-order-room[hidden] {
  display: none !important;
}

.p2p-market-view[hidden] {
  display: none !important;
}

.p2p-seller-profile[hidden] {
  display: none !important;
}

html.p2p-boot-profile #p2pMarketView {
  display: none !important;
}

html.p2p-boot-profile #p2pSellerProfile[hidden] {
  display: block !important;
}

html.p2p-boot-profile .p2p {
  background: #f5f6f8;
}

.p2p.p2p--seller-page {
  background: #f5f6f8;
}

.p2p-seller-profile__hero {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eaecef;
  padding: 30px 28px 23px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.p2p-seller-profile__hero-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.p2p-seller-profile__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background: #000;
  position: relative;
}

.p2p-seller-profile__avatar--online::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ebd85;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.p2p-seller-profile__avatar--offline::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8cdd3;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.p2p-seller-profile__hero-main {
  flex: 1;
  min-width: 200px;
}

.p2p-seller-profile__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 10px;
}

.p2p-seller-profile__name {
  font-size: 20px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-seller-profile__link-action {
  font-size: 13px;
  color: var(--color-accent);
  text-decoration: none;
}

.p2p-seller-profile__link-action:hover {
  text-decoration: underline;
}

.p2p-seller-profile__link-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 2px;
  align-self: center;
  flex-shrink: 0;
  background: #dddddd;
}

.p2p-seller-profile__verifs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.p2p-seller-profile__verif-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.p2p-seller-profile__verif-item--accent {
  color: #2ebd85;
}

.p2p-seller-profile__verif-item--neutral {
  color: #81858c;
}

.p2p-seller-profile__verif-item--neutral .p2p-seller-profile__verif-icon {
  filter: brightness(0) saturate(100%) invert(58%) sepia(6%) saturate(312%) hue-rotate(177deg) brightness(94%) contrast(86%);
}

.p2p-seller-profile__verif-item--weak {
  opacity: 0.55;
}

.p2p-seller-profile__online {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #81858c;
}

.p2p-seller-profile__online--offline {
  opacity: 0.75;
}

.p2p-seller-profile__subscribe {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #d0d4dc;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1e2026;
  cursor: pointer;
}

.p2p-seller-profile__subscribe:hover {
  background: #f5f6f8;
}

.p2p-seller-profile__subscribe-star {
  flex-shrink: 0;
  color: #000;
}

.p2p-seller-profile__stats-wrap {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.p2p-seller-profile__stats {
  display: flex;
  flex: 1;
  gap: 20px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.p2p-seller-profile__stat-card {
  flex: 1 1 0;
  min-width: 148px;
  max-width: 243px;
  padding: 14px 14px 12px;
  border-radius: 10px;
  border: none;
  background: #f5f6f8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.p2p-seller-profile__stat-label {
  order: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #81858c;
  max-width: 200px;
  margin-bottom: 10px;
}

.p2p-seller-profile__stat-label--row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.p2p-seller-profile__stat-info {
  flex-shrink: 0;
  display: block;
  filter: brightness(0) saturate(100%) invert(58%) sepia(6%) saturate(312%) hue-rotate(177deg) brightness(94%) contrast(86%);
}

.p2p-seller-profile__stat-main {
  order: 1;
  font-size: 20px;
  font-weight: 600;
  color: #1e2026;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.p2p-seller-profile__stat-value-suffix {
  font-size: 0.66em;
  font-weight: 600;
  vertical-align: 0.00em;
}

.p2p-seller-profile__stat-sub {
  order: 2;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 15px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #81858c;
}

.p2p-seller-profile__stat-rating-row {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #81858c;
}

.p2p-seller-profile__stat-rating-row img {
  flex-shrink: 0;
}

.p2p-seller-profile__stat-dislike {
  margin-left: 6px;
}

.p2p-seller-profile__stats-scroll {
  flex-shrink: 0;
  width: 50px;
  min-height: 100%;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 8px;
  border: none;
  background: #f5f6f8;
  cursor: pointer;
  color: #81858c;
  transition: background 0.15s ease, color 0.15s ease;
}

.p2p-seller-profile__stats-scroll:hover {
  background: #eaecef;
  color: #1e2026;
}

.p2p-seller-profile__stats-scroll-ico {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.12em;
  color: #bcbcbc;
}


.p2p-seller-profile__bottom-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eaecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.p2p-seller-profile__tabs {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0 25px;
  border-bottom: 1px solid #eaecef;
  background: #fff;
}

.p2p-seller-profile__tab {
  padding: 28px 0 12px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #81858c;
  cursor: pointer;
}

.p2p-seller-profile__tab--active {
  color: #1e2026;
  border-bottom-color: #f7a600;
  font-weight: 700;
}

.p2p-seller-profile__tab-panel {
  background: #fff;
}

.p2p-seller-profile__section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eaecef;
  padding: 20px 20px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.p2p-seller-profile__bottom-card .p2p-seller-profile__section {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 23px 25px 14px;
}

.p2p-seller-reviews {
  padding: 25px 25px 12px;
}

.p2p-seller-reviews__summary {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 400;
  color: #81858c;
  line-height: 1.45;
}

.p2p-seller-reviews__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eaecef;
}

.p2p-seller-reviews__filter {
  padding: 6px 14px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #f0f2f5;
  color: #81858c;
  transition: background 0.15s ease, color 0.15s ease;
}

.p2p-seller-reviews__filter[data-review-filter='good'].p2p-seller-reviews__filter--active {
  background: #f7a6001f;
  color: #ff9c2e;
}

.p2p-seller-reviews__filter[data-review-filter='bad'].p2p-seller-reviews__filter--active {
  background: #f7a6001f;
  color: #ff9c2e;
}

.p2p-seller-reviews__filter:hover {
  filter: brightness(0.98);
}

.p2p-seller-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 40px;
}

.p2p-seller-reviews__loading,
.p2p-seller-reviews__empty {
  margin: 0;
  padding: 20px 0;
  font-size: 14px;
  color: #81858c;
  text-align: center;
}

.p2p-seller-reviews__item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f2f5;
}

.p2p-seller-reviews__item:last-child {
  border-bottom: 0;
}

.p2p-seller-reviews__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 1px;
  padding-right: 0;
}

.p2p-seller-reviews__main {
  flex: 1;
  min-width: 0;
}

.p2p-seller-reviews__name {
  font-size: 15px;
  font-weight: 700;
  color: #1e2026;
  line-height: 1.3;
  margin-bottom: 2px;
}

.p2p-seller-reviews__time {
  font-size: 12px;
  font-weight: 500;
  color: #81858cb3;
  margin-bottom: 10px;
}

.p2p-seller-reviews__msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.p2p-seller-reviews__thumb {
  flex-shrink: 0;
  margin-top: 2px;
}

.p2p-seller-reviews__thumb-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.p2p-seller-reviews__thumb-icon--like {
  width: 16px;
  height: 15px;
  background-color: #2ebd85;
  -webkit-mask-image: url('img/like-logo.svg');
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('img/like-logo.svg');
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

.p2p-seller-reviews__thumb-icon--dislike {
  width: 17px;
  height: 16px;
  background-color: #e92b44;
  -webkit-mask-image: url('img/dislike-logo.svg');
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('img/dislike-logo.svg');
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

.p2p-seller-reviews__text {
  font-size: 14px;
  font-weight: 500;
  color: #1e2026;
  line-height: 1.45;
}

@media (max-width: 470px) {
  .p2p-seller-reviews {
    padding: 16px 14px 8px;
  }

  .p2p-seller-reviews__summary {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .p2p-seller-reviews__filters {
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .p2p-seller-reviews__filter {
    padding: 5px 11px;
    border-radius: 5px;
    font-size: 13px;
  }

  .p2p-seller-reviews__loading,
  .p2p-seller-reviews__empty {
    padding: 14px 0;
    font-size: 13px;
  }

  .p2p-seller-reviews__item {
    gap: 10px;
    padding: 12px 0;
  }

  .p2p-seller-reviews__avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .p2p-seller-reviews__name {
    font-size: 14px;
  }

  .p2p-seller-reviews__time {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .p2p-seller-reviews__msg {
    gap: 8px;
  }

  .p2p-seller-reviews__thumb {
    margin-top: 1px;
  }

  .p2p-seller-reviews__thumb-icon--like {
    width: 14px;
    height: 13px;
  }

  .p2p-seller-reviews__thumb-icon--dislike {
    width: 15px;
    height: 14px;
  }

  .p2p-seller-reviews__text {
    font-size: 13px;
    line-height: 1.4;
  }
}

.p2p-seller-profile__section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-seller-profile__section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.p2p-seller-profile__section-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.p2p-seller-profile__table-wrap {
  overflow-x: auto;
}

.p2p-seller-profile__mini-head {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.8fr 1.5fr 1.1fr;
  gap: 8px;
  align-items: center;
  padding: 14px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #babec3;
  min-width: 720px;
  border-top: 1px solid #eaecef;
  border-bottom: 1px solid #eaecef;
}

.p2p-seller-profile__mini-head-action {
  justify-self: end;
  text-align: right;
}

.p2p-seller-profile__mini-head-sep {
  color: #babec3;
  margin: 0 4px;
  font-weight: 400;
}

.p2p-seller-profile__mini-head-limits {
  white-space: nowrap;
}

.p2p-seller-profile__mini-row.p2p-table__row {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.8fr 1.5fr 1.1fr;
  gap: 8px;
  margin: 0;
  padding: 20px 12px;
  min-width: 720px;
  align-items: center;
  border-bottom: 0;
  cursor: default;
}

.p2p-seller-profile__mini-row .p2p-seller-profile__cell-coin {
  grid-column: 1;
  grid-row: 1;
}

.p2p-seller-profile__mini-row .p2p-seller-profile__cell-price {
  grid-column: 2;
  grid-row: 1;
}

.p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits {
  grid-column: 3;
  grid-row: 1;
}

.p2p-seller-profile__mini-row .p2p-table__cell--payment {
  grid-column: 4;
  grid-row: 1;
}

.p2p-seller-profile__mini-row .p2p-table__cell--action {
  grid-column: 5;
  grid-row: 1;
  justify-self: end;
  justify-content: flex-end;
  width: 100%;
}

.p2p-seller-profile__mini-row.p2p-table__row:hover {
  background: transparent;
}

.p2p-seller-profile__modal-bridge {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p2p-seller-profile__cell-coin {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.p2p-seller-profile__coin-display {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.p2p-seller-profile__coin-icon-wrap {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #009393;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p2p-seller-profile__coin-icon-wrap img {
  margin-left: .3px;
}

.p2p-seller-profile__coin-name {
  font-size: 16px;
  font-weight: 500;
  color: #1e2026;
}

.p2p-seller-profile__cell-price.p2p-table__cell--price {
  align-items: flex-end;
  gap: 6px;
}

.p2p-seller-profile__mini-row .p2p-table__price {
  font-size: 22px;
  font-weight: 700;
  color: #1e2026;
  line-height: 1.1;
}

.p2p-seller-profile__mini-row .p2p-table__currency {
  font-size: 14px;
  font-weight: 700;
  color: #1e2026;
  line-height: 1;
  padding-bottom: 2px;
}

.p2p-seller-profile__cell-limits.p2p-table__cell--limits {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.p2p-seller-profile__limit-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 15px;
  line-height: 1.35;
}

.p2p-seller-profile__limit-label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: #999b9f;
}

.p2p-seller-profile__cell-limits .p2p-table__available,
.p2p-seller-profile__cell-limits .p2p-table__limits {
  font-size: 14px;
  font-weight: 700;
  color: #1e2026;
}


.p2p-order-room {
  padding-bottom: 40px;
}

.p2p-order-room__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: start;
}

.p2p-order-room__left {
  background: #fff;
  border-radius: 8px;
  padding: 0px 32px 28px 0px;
}

.p2p-order-room__h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1e2329;
  margin: 0 0 10px;
  line-height: 1.25;
}

.p2p-order-room__status-head {
  margin-bottom: 4px;
}

.p2p-order-room__deadline {
  margin: 0 0 16px;
  font-size: 14px;
  color: #707a8a;
  line-height: 1.5;
}

.p2p-order-room__deadline-text {
  display: inline;
}

.p2p-order-room__countdown {
  font-weight: 700;
  color: #f6465d;
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
}

.p2p-order-room__stepper {
  margin-top: 8px;
}

.p2p-order-room__stepper-grid {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 0;
  align-items: stretch;
}

.p2p-order-room__rail-cell--1 {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  padding-top: 3px;
}

.p2p-order-room__rail-line {
  width: 2px;
  flex: 1 1 auto;
  min-height: 32px;
  margin-top: 8px;
  background: #000;
  border-radius: 1px;
}

.p2p-order-room__rail-cell--2 {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 3px;
}

.p2p-order-room__step-body--1 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-bottom: 20px;
}

.p2p-order-room__step-body--2 {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.p2p-order-room__step-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.p2p-order-room__step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.p2p-order-room__step-head--plain {
  margin-bottom: 10px;
}

.p2p-order-room__step-label {
  font-size: 16px;
  font-weight: 700;
  color: #1e2329;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.p2p-order-room__trading-help {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #c99400;
  background: #fff;
  border: 1px solid #f0b90b;
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.p2p-order-room__trading-help:hover {
  background: #fffdf5;
}

.p2p-order-room__step-panel {
  padding-left: 0;
}

.p2p-order-room__seller-box {
  border: 1px solid #eaecef;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.p2p-order-room__seller-box-label {
  font-size: 14px;
  color: #707a8a;
}

.p2p-order-room__seller-box-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e2329;
}

.p2p-order-room__val--legal {
  font-weight: 700;
  color: #1e2329;
}

.p2p-order-room__val--order-no {
  font-weight: 700;
  color: #1e2329;
}

.p2p-order-room__dl--order-main {
  margin-bottom: 4px;
}

.p2p-order-room__dl--extra-meta {
  margin-top: 12px;
  padding-top: 4px;
}

.p2p-order-room__step-note {
  margin: 0;
  font-size: 14px;
  color: #707a8a;
  line-height: 1.55;
}

.p2p-order-room__more {
  margin-top: 4px;
}

.p2p-order-room__more-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 12px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1e2329;
  cursor: pointer;
  font-family: inherit;
}

.p2p-order-room__more-toggle:hover {
  color: #c99400;
}

.p2p-order-room__more-chevron {
  flex-shrink: 0;
  color: #707a8a;
  transition: transform 0.2s ease;
}

.p2p-order-room__more-toggle.is-open .p2p-order-room__more-chevron {
  transform: rotate(180deg);
}

.p2p-order-room__more-panel {
  padding-bottom: 8px;
  padding-top: 4px;
}

.p2p-order-room__dl--compact .p2p-order-room__row {
  padding-bottom: 10px;
}

.p2p-order-room__row--no-copy dd {
  justify-content: flex-end;
}

.p2p-order-room__cta-row {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 30px;
  max-width: 400px;
}

.p2p-order-room__btn {
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  line-height: 1.2;
}

.p2p-order-room__btn--primary {
  background: #ff9c2e;
  color: #1e2329;
}

.p2p-order-room__btn--primary:hover {
  filter: brightness(0.97);
}

.p2p-order-room__btn--ghost {
  background: #fff;
  color: #1e2329;
  border: 1px solid #ced1d5;
}

.p2p-order-room__btn--ghost:hover {
  background: #f9fafb;
}

.p2p-order-cancelled {
  margin-top: 6px;
}

.p2p-order-room__left--cancelled .p2p-order-room__status-head,
.p2p-order-room__left--cancelled .p2p-order-room__banner,
.p2p-order-room__left--cancelled .p2p-order-room__trade-title,
.p2p-order-room__left--cancelled .p2p-order-room__stepper,
.p2p-order-room__left--cancelled .p2p-order-room__cta-row {
  display: none !important;
}

.p2p-order-cancelled__title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
  color: #1e2329;
}

.p2p-order-cancelled__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #7b8088;
}

.p2p-order-cancelled__warn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff5df;
}

.p2p-order-cancelled__warn-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f4a000;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
}

.p2p-order-cancelled__warn p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #4f4a3b;
}

.p2p-order-cancelled__trade {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1e2329;
}

.p2p-order-cancelled__trade-verb {
  color: #21a367;
}

.p2p-order-cancelled__meta {
  margin: 0;
}

.p2p-order-cancelled__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 8px 12px;
  align-items: baseline;
  padding: 7px 0;
}

.p2p-order-cancelled__row dt {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #8a8f97;
}

.p2p-order-cancelled__val {
  margin: 0;
  text-align: right;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: #2f3440;
}

.p2p-order-cancelled__val--fiat {
  color: #23a267;
}

.p2p-order-cancelled__dispute {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: #2f3440;
  text-decoration: none;
}

.p2p-order-cancelled__dispute:hover {
  color: #1e2329;
}

.p2p-order-room__lead {
  font-size: 14px;
  color: #81858C;
  line-height: 1.55;
  margin: 0 0 18px;
  max-width: 520px;
}

.p2p-order-room__banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff9e6;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.p2p-order-room__banner-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0b90b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 1px;
}

.p2p-order-room__banner p {
  margin: 0;
  font-size: 13px;
  color: #000;
  line-height: 1.5;
}

.p2p-order-room__trade-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.3;
}

.p2p-order-room__trade-verb {
  color: #03a66d;
}

.p2p-order-room__trade-verb--sell {
  color: #f6465d;
}

.p2p-order-room__trade-coin {
  color: #1e2329;
}

.p2p-order-room__dl {
  margin: 0;
  padding: 0;
}

.p2p-order-room__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
}

.p2p-order-room__row:last-of-type {
  border-bottom: none;
}

.p2p-order-room__row dt {
  font-size: 14px;
  color: #707a8a;
  font-weight: 400;
  margin: 0;
  flex-shrink: 0;
}

.p2p-order-room__row dd {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
  min-width: 0;
}

.p2p-order-room__val {
  font-size: 15px;
  font-weight: 600;
  color: #1e2329;
}

.p2p-order-room__val--fiat {
  color: #03a66d;
  font-weight: 700;
}

.p2p-order-room__val--mono {
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.p2p-order-room__copy {
  flex-shrink: 0;
  border: 0;
  padding: 4px;
  background: transparent;
  color: #81858C;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p2p-order-room__copy:hover {
  color: #6d737b;
  background: #f5f6f8;
}

.p2p-order-room__dispute {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1e2329;
}

.p2p-order-room__dispute:hover {
  color: #ff9c2e;
}

.p2p-order-room__faq {
  margin-top: 65px;
  padding-top: 8px;
}

.p2p-order-room__faq-head {
  font-size: 16px;
  font-weight: 600;
  color: #1e2329;
  margin-bottom: 5px;
}

.p2p-order-room__faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 14px;
  color: #1e2329;
  cursor: pointer;
  border-bottom: 1px solid #f0f2f5;
}

.p2p-order-room__faq-toggle:hover {
  color: #ff9c2e;
}

.p2p-order-room__faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: #81858C;
}

.p2p-order-room__faq-toggle.is-open .p2p-order-room__faq-chevron {
  transform: rotate(180deg);
}

.p2p-order-room__faq-answer {
  font-size: 13px;
  color: #81858C;
  line-height: 1.55;
  padding: 12px 0 8px;
}

.p2p-order-room__chat {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  max-height: calc(100vh - 200px);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.p2p-order-room__chat-head {
  flex-shrink: 0;
  padding: 24px 26px 18px;
  border-bottom: 1px solid #f0f2f5;
}

.p2p-order-room__chat-seller {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.p2p-order-room__chat-seller-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p2p-order-room__chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p2p-order-room__chat-name {
  font-size: 15px;
  font-weight: 700;
  color: #1e2329;
  line-height: 1.3;
}

.p2p-order-room__chat-verified-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 22px;
}

.p2p-order-room__chat-verified-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.p2p-order-room__chat-verified-line {
  display: contents;
}

.p2p-order-room__chat-confirm-icon {
  flex-shrink: 0;
  width: 14px;
  height: auto;
  display: block;
}

.p2p-order-room__chat-verified-prefix {
  font-size: 12px;
  font-weight: 500;
  color: #81858C;
  line-height: 1.35;
  white-space: nowrap;
}

.p2p-order-room__chat-verified-legal {
  font-size: 12px;
  font-weight: 500;
  color: #81858C;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.p2p-order-room__chat-complaint {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: #ff9c2e;
  white-space: nowrap;
  margin-left: auto;
}

.p2p-order-room__chat-complaint:hover {
  text-decoration: underline;
}

.p2p-order-room__chat-body {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #c8cdd3 rgba(0, 0, 0, 0.04);
}

.p2p-order-room__chat-body::-webkit-scrollbar {
  width: 8px;
}

.p2p-order-room__chat-body::-webkit-scrollbar-track {
  background: rgba(241, 243, 245, 0.9);
  border-radius: 100px;
  margin: 6px 0;
}

.p2p-order-room__chat-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #dce0e5 0%, #b8bec7 100%);
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.p2p-order-room__chat-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #cfd4db 0%, #9ea5b0 100%);
  background-clip: padding-box;
}

.p2p-order-room__chat-ts {
  text-align: center;
  font-size: 12px;
  color: #81858C;
}

.p2p-order-room__msg {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
}

.p2p-order-room__msg--incoming {
  justify-content: flex-start;
}

.p2p-order-room__msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 2px;
}

.p2p-order-room__msg--incoming .p2p-order-room__bubble {
  border-radius: 8px 8px 8px 4px;
  background: #f0f2f5;
}

.p2p-order-room__bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 8px 8px 4px 8px;
  background: rgba(247, 166, 0, 0.15);
  font-size: 14px;
  color: #1e2329;
  line-height: 1.4;
}

.p2p-order-room__chat-photo {
  display: block;
  max-width: min(260px, 62vw);
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.p2p-order-room__msg-status {
  flex-shrink: 0;
  display: block;
  width: 15px;
  height: 11px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.p2p-order-room__chat-system {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: #f5f6f8;
  border-radius: 8px;
  font-weight: 500;
  font-size: 12px;
  color: #81858C;
  line-height: 1.45;
}

.p2p-order-room__chat-system img {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
}

.p2p-order-room__chat-input-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px;
  border-top: 1px solid #f0f2f5;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.p2p-order-room__chat-input {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  background: #fff;
  color: #1e2329;
  outline: none;
}

.p2p-order-room__chat-input::placeholder {
  color: #81858C;
}

.p2p-order-room__chat-input:focus {
  border-color: #d5d8de;
}

.p2p-order-room__chat-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f5f6f8;
  color: #1e2329;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.p2p-order-room__chat-icon-btn img {
  display: block;
  width: 16px;
  height: 16px;
}

.p2p-order-room__chat-icon-btn:hover {
  border-color: #d5d8de;
  background: #eef0f3;
  color: #1e2329;
}

.p2p-order-room__chat-file-input {
  display: none;
}

.p2p-select-menu {
  position: fixed;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d0d4dc;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #8b8c8f rgba(255, 255, 255, 0.08);
}

.p2p-select-menu::-webkit-scrollbar {
  width: 6px;
}

.p2p-select-menu::-webkit-scrollbar-thumb {
  background: #8b8c8f;
  border-radius: 999px;
}

.p2p-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

.p2p-select-menu__item {
  padding: 8px 10px;
  margin: 0 4px;
  font-size: 13px;
  color: #1e2026;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  transition: background 0.15s;
}

.p2p-select-menu__item:hover {
  background: #f0f2f5;
}

.p2p-select-menu__item.active {
  color: #2ebd85;
  font-weight: 600;
}

.p2p-currency-menu {
  min-width: 220px;
  padding: 0;
  overflow: hidden;
}

.p2p-currency-menu__search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f2f5;
}

.p2p-currency-menu__search-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.p2p-currency-menu__search {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #1e2026;
  background: transparent;
}

.p2p-currency-menu__search::placeholder {
  color: #aeb4bc;
}

.p2p-currency-menu__list {
  max-height: 280px;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #8b8c8f transparent;
}

.p2p-currency-menu__list::-webkit-scrollbar {
  width: 4px;
}

.p2p-currency-menu__list::-webkit-scrollbar-thumb {
  background: #c0c3cc;
  border-radius: 4px;
}

.p2p-currency-menu__list::-webkit-scrollbar-track {
  background: transparent;
}

.p2p-currency-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 4px;
  font-size: 13px;
  font-weight: 500;
  color: #1e2026;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}

.p2p-currency-menu__item:hover {
  background: #f0f2f5;
}

.p2p-currency-menu__item.active {
  background: #f0faf5;
  color: #2ebd85;
}

.p2p-currency-menu__empty {
  padding: 20px 14px;
  font-size: 13px;
  color: #aeb4bc;
  text-align: center;
}

.p2p-currency-menu__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

#currencyBadge {
  width: 18px;
  height: 18px;
  font-size: 8px;
}

.p2p-payment-menu {
  width: 290px;
  min-width: 290px;
  max-height: 520px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.p2p-payment-menu__search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
}

.p2p-payment-menu__search-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  background: #f5f6f8;
  border-radius: 8px;
  padding: 0 12px;
  border: 1.5px solid transparent;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.p2p-payment-menu__search-inner:focus-within {
  border-color: var(--color-accent);
  background: #fff;
}

.p2p-payment-menu__search-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.p2p-payment-menu__search-inner .p2p-payment-menu__search {
  background: transparent;
  padding: 0;
}

.p2p-payment-menu__search {
  flex: 1;
  height: 32px;
  padding: 0 10px;
  border: none;
  outline: none;
  font-size: 13px;
  color: #1e2026;
  background: #f5f6f8;
  border-radius: 6px;
}

.p2p-payment-menu__search::placeholder {
  color: #aeb4bc;
}

.p2p-payment-menu__all {
  display: flex;
  align-items: unset;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.12s;
  min-height: 44px;
  box-sizing: border-box;
}

.p2p-payment-menu__all:hover {
  background: #f0f2f5;
}

.p2p-payment-menu__all-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-payment-menu__divider {
  height: 1px;
  background: #f0f2f5;
  margin: 0;
}

.p2p-payment-menu__section {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 12px;
  color: #707a8a;
  font-weight: 500;
}

.p2p-payment-menu__list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c0c3cc transparent;
}

.p2p-payment-menu__list::-webkit-scrollbar {
  width: 4px;
}

.p2p-payment-menu__list::-webkit-scrollbar-thumb {
  background: #c0c3cc;
  border-radius: 4px;
}

.p2p-payment-menu__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 4px;
  min-height: 40px;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}

.p2p-payment-menu__item:hover {
  background: #f0f2f5;
}

.p2p-payment-menu__bar {
  width: 3px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.p2p-payment-menu__item-label {
  font-size: 13px;
  color: #1e2026;
  flex: 1;
}

.p2p-payment-menu__checkbox {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1.5px solid #d0d4dc;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  background: #fff;
  box-sizing: border-box;
}

.p2p-payment-menu__checkbox.checked {
  background: #f0b90b;
  border-color: #f0b90b;
}

.p2p-payment-menu__checkbox.checked::after {
  content: '';
  width: 11px;
  margin-bottom: 2px;
  height: 6px;
  border-left: 2px solid #1e2026;
  border-bottom: 2px solid #1e2026;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.p2p-payment-menu__footer {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #f0f2f5;
  background: #fff;
}

.p2p-payment-menu__confirm {
  flex: 1;
  height: 36px;
  border-radius: 20px;
  border: 0;
  background: var(--color-accent);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.p2p-payment-menu__confirm:hover {
  background: var(--color-accent-hover);
}

.p2p-payment-menu__reset {
  flex: 1;
  height: 36px;
  border-radius: 20px;
  border: 1.5px solid #d0d4dc;
  background: #fff;
  color: #1e2026;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.p2p-payment-menu__reset:hover {
  border-color: #aeb4bc;
  background: #f5f6f8;
}

.p2p-refresh-menu {
  min-width: 160px;
  padding: 6px 0;
}

.p2p-refresh-menu__item {
  padding: 8px 10px;
  margin: 0 4px;
  font-size: 13px;
  color: #1e2026;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}

.p2p-refresh-menu__item:hover {
  background: #f0f2f5;
}

.p2p-refresh-menu__item--accent {
  color: var(--color-accent);
  font-weight: 600;
}

.p2p-refresh-menu__item--accent:hover {
  background: #f0f2f5;
}

.p2p-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: transparent;
}

.p2p-filter-panel {
  position: fixed;
  width: 320px;
  max-width: calc(100vw - 16px);
  max-height: min(90vh, calc(100dvh - 32px));
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid #eaecef;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.p2p-filter-panel .p2p-filter-menu__body {
  flex: 1 1 auto;
  min-height: 0;
}

.p2p-filter-panel .p2p-payment-menu__footer {
  flex-shrink: 0;
  padding: 10px 12px;
  gap: 6px;
}

.p2p-filter-panel .p2p-payment-menu__confirm,
.p2p-filter-panel .p2p-payment-menu__reset {
  height: 34px;
  font-size: 13px;
}

.p2p-filter-menu.p2p-payment-menu {
  overflow: hidden;
}

.p2p-filter-menu__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c0c3cc transparent;
}

.p2p-filter-menu__body::-webkit-scrollbar {
  width: 4px;
}

.p2p-filter-menu__body::-webkit-scrollbar-thumb {
  background: #c0c3cc;
  border-radius: 4px;
}

.p2p-filter-panel__section {
  padding: 10px 12px 8px;
}

.p2p-filter-panel__section-title {
  font-size: 11px;
  color: #707a8a;
  font-weight: 500;
  margin-bottom: 8px;
}

.p2p-filter-panel__check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s;
}

.p2p-filter-panel__check-row:hover {
  background: #f0f2f5;
}

.p2p-filter-panel__check-label {
  font-size: 12px;
  color: #1e2026;
  display: flex;
  align-items: center;
  gap: 5px;
}

.p2p-filter-panel__icon {
  font-size: 13px;
}

.p2p-filter-panel__sort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.p2p-filter-panel__sort-btn {
  padding: 7px 8px;
  font-size: 11px;
  color: #1e2026;
  background: #f5f6f8;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  font-weight: 400;
  line-height: 1.3;
}

.p2p-filter-panel__sort-btn:hover {
  background: #eceef2;
}

.p2p-filter-panel__sort-btn.active {
  border-color: #f7a600;
  background: #f7a6001f;
  color: #f7a600;
  font-weight: 500;
}

.p2p-filter-panel__time-row {
  display: flex;
  gap: 6px;
}

.p2p-filter-panel__time-btn {
  flex: 1;
  padding: 7px 6px;
  font-size: 12px;
  color: #1e2026;
  background: #f5f6f8;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  font-weight: 400;
}

.p2p-filter-panel__time-btn:hover {
  background: #eceef2;
}

.p2p-filter-panel__time-btn.active {
  border-color: #f7a600;
  background: #f7a6001f;
  color: #f7a600;
  font-weight: 500;
}

.p2p-filter-menu .p2p-payment-menu__footer {
  padding: 10px 12px;
  gap: 6px;
}

.p2p-filter-menu .p2p-payment-menu__confirm,
.p2p-filter-menu .p2p-payment-menu__reset {
  height: 34px;
  font-size: 13px;
}

.p2p-trade-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.p2p-trade-modal {
  position: relative;
  width: min(880px, calc(100vw - 48px));
  max-height: min(620px, calc(100vh - 48px));
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eaecef;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.p2p-trade-modal__loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: inherit;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.p2p-trade-modal__loader--fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 10025;
  border-radius: 0;
  box-sizing: border-box;
}

html.p2p-trade-modal-loader-lock,
body.p2p-trade-modal-loader-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
  height: 100%;
}

.p2p-trade-modal__loader-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 156, 46, 0.22);
  border-top-color: #ff9c2e;
  border-right-color: #ff9c2e;
  animation: p2pTradeModalLoaderSpin 0.75s linear infinite;
  box-sizing: border-box;
}

.p2p-trade-modal__loader-text {
  font-size: 13px;
  font-weight: 500;
  color: #707a8a;
  letter-spacing: 0.02em;
}

@keyframes p2pTradeModalLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.p2p-trade-modal__left {
  padding: 40px 35px 20px 35px;
  background-color: #f5f6f8ba;
}

.p2p-trade-modal__seller {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.p2p-trade-modal__seller-main {
  flex: 1;
}

.p2p-trade-modal__seller-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.p2p-trade-modal__avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  padding-top: 2px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  position: relative;
}

.p2p-trade-modal__avatar::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ebd85;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.p2p-trade-modal__seller-name {
  font-size: 17px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-trade-modal__seller-arrow {
  color: #81858C;
  font-size: 18px;
  transform: translateY(-1px);
}

.p2p-trade-modal__seller-stats-row {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #81858C;
}

.p2p-trade-modal__seller-stats {
  font-size: 13px;
  color: #81858C;
  margin-top: 2px;
}

.p2p-trade-modal__seller-online {
  margin-top: 4px;
  color: #81858C;
  font-size: 14px;
}

.p2p-trade-modal__seller-badges {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.p2p-trade-modal__badges-under-avatar {
  margin-left: 0;
  margin-top: 4px;
}

.p2p-trade-modal__badges-under-avatar .p2p-trade-modal__seller-badges {
  margin-top: 6px;
}

.p2p-trade-modal__badge-item {
  color: #2ebd85;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.p2p-trade-modal__badge-item img {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
}

.p2p-trade-modal__seller-time {
  font-size: 13px;
  color: #81858C;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 2px;
}

.p2p-trade-modal__meta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p2p-trade-modal__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #474d57;
}

.p2p-trade-modal__meta-row>span {
  color: #81858C;
}

.p2p-trade-modal__meta-row b {
  color: #1e2026;
  font-weight: 600;
  text-align: right;
}

.p2p-trade-modal__meta-row--top {
  align-items: flex-start;
}

.p2p-trade-modal__pm {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 260px;
}

.p2p-trade-modal__pm-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: #e5e7eb83;
  border: 1px solid #eaecef;
  font-size: 12px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-trade-modal__maker {
  margin-top: 18px;
  padding-top: 10px;
}

.p2p-trade-modal__maker-title {
  color: #81858C;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
}

.p2p-trade-modal__maker p {
  margin: 0;
  color: #81858C;
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.p2p-trade-modal__maker-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-left: 8px;
}

.p2p-trade-modal__maker-row img {
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.95;
}

.p2p-trade-modal__maker-link {
  color: #f7a600;
}

.p2p-trade-modal__right {
  padding: 40px 35px 20px 35px;
}

.p2p-trade-modal__price-row {
  font-size: 17px;
  color: #1e2026;
  margin-bottom: 14px;
}

.p2p-trade-modal__price-row b {
  color: #2ebd85;
  font-size: 18px;
  font-weight: 700;
  margin: 0 4px;
}

.p2p-trade-modal__timer {
  color: #9b9da0;
  font-size: 17px;
}

.p2p-trade-modal__field-label {
  display: block;
  margin: 10px 0 6px;
  color: #81858C;
  font-size: 13px;
}

.p2p-trade-modal__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 10px;
  background: #f7f7f7;
  border: none;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.p2p-trade-modal__field-inlabel {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #121214;
  line-height: 1.2;
  margin-bottom: 10px;
}

.p2p-trade-modal__field-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 22px;
}

.p2p-trade-modal__pay-hint {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #e05449;
}

.p2p-trade-modal__pay-hint[hidden] {
  display: none !important;
}

.p2p-trade-modal__field--rub .p2p-trade-modal__field-icon-wrap,
.p2p-trade-modal__field--usdt .p2p-trade-modal__field-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.p2p-trade-modal__field--rub .p2p-trade-modal__field-icon-wrap {
  background: #84bd7b;
}

.p2p-trade-modal__field--usdt .p2p-trade-modal__field-icon-wrap {
  background: #009393;
}

.p2p-trade-modal__field-icon {
  display: block;
  object-fit: contain;
}

.p2p-trade-modal__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #1e2329;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  outline: none;
  padding: 0;
  box-shadow: none;
}

.p2p-trade-modal__field input::placeholder {
  color: #b7bdc6;
}

.p2p-trade-modal__field input[readonly] {
  cursor: default;
  color: #1e2329;
}

.p2p-trade-modal__field-suffix {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #474d57;
  padding: 0 2px 0 4px;
}

.p2p-trade-modal__field-all {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #f7a600;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 0 0 0 6px;
  margin: 0;
  cursor: pointer;
  box-shadow: none;
}

.p2p-trade-modal__field-all:hover {
  color: #d9a60a;
}

.p2p-trade-modal__field-all:focus-visible {
  outline: 2px solid #f0b90b;
  outline-offset: 2px;
  border-radius: 4px;
}

.p2p-trade-modal__dd {
  position: relative;
  margin-bottom: 14px;
}

.p2p-trade-modal__dd-trigger {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #eaecef;
  background: #f5f6f8;
  color: #1e2026;
  font-size: 14px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.p2p-trade-modal__dd-value {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  font-size: 13px;
  text-align: left;
}

.p2p-trade-modal__dd-value--placeholder {
  color: #81858c;
  font-weight: 500;
  font-size: 15px;

}

.p2p-trade-modal__dd-trigger:hover {
  border-color: #d5d8de;
  background: #f0f2f5;
}

.p2p-trade-modal__dd.open .p2p-trade-modal__dd-trigger {
  border-color: #f7a600;
  background: #fff;
}

.p2p-trade-modal__dd-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
}

.p2p-trade-modal__dd-arrow img {
  display: block;
  opacity: 0.75;
}

.p2p-trade-modal__dd.open .p2p-trade-modal__dd-arrow {
  transform: rotate(180deg);
}

.p2p-trade-modal__dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  background: #fff;
  border: 1px solid #eaecef;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.p2p-trade-modal__dd.open .p2p-trade-modal__dd-menu {
  display: block;
}

.p2p-trade-modal__dd-option {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 10px 12px;
  color: #1e2026;
  font-size: 14px;
  cursor: pointer;
}

.p2p-trade-modal__dd-option:hover {
  background: #f5f6f8;
}

.p2p-trade-modal__actions {
  display: flex;
  gap: 12px;
}

.p2p-trade-modal__confirm,
.p2p-trade-modal__cancel {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
}

.p2p-trade-modal__confirm {
  border: none;
  background: #f7a600;
  color: #000;
}

.p2p-trade-modal__confirm:disabled {
  border-color: #e5e7eb;
  background: #f7a50045;
  color: #81858cb4;
  cursor: not-allowed;
}

.p2p-trade-modal__cancel {
  border: 1px solid #d5d8de;
  background: #fff;
  color: #1e2026;
}

.p2p-trade-modal__note {
  margin-top: 10px;
  font-size: 12px;
  color: #81858C;
  line-height: 1.45;
}

.nav__indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--color-signup);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: left 0.2s ease, width 0.2s ease, opacity 0.15s ease;
}

/* Профиль продавца: popover у строки таблицы, не модалка по центру */
.p2p-profile-popover {
  position: fixed;
  z-index: 10028;
  left: 0;
  top: 0;
  width: min(392px, calc(100vw - 16px));
  max-height: min(90vh, 640px);
  overflow: visible;
  box-sizing: border-box;
  pointer-events: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.14)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}

.p2p-profile-modal {
  position: relative;
  width: 100%;
  max-height: inherit;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eaecef;
  box-shadow: none;
  padding: 22px 22px 18px;
}

.p2p-profile-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.p2p-profile-modal__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  position: relative;
}

.p2p-profile-modal__avatar--online::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ebd85;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.p2p-profile-modal__avatar--offline::after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8cdd3;
  border: 2px solid #fff;
  box-sizing: border-box;
}

.p2p-profile-modal__head-text {
  min-width: 0;
  flex: 1;
}

.p2p-profile-modal__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.p2p-profile-modal__name {
  font-size: 17px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-profile-modal__status {
  margin-top: 4px;
  font-size: 13px;
  color: #81858c;
}

.p2p-profile-modal__verifs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p2p-profile-modal__verif {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #2ebd85;
}

.p2p-profile-modal__verif img {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.p2p-profile-modal__overview {
  border: 1px solid #e6e8ea;
  border-radius: 10px;
  padding: 14px 14px 12px;
  margin-bottom: 16px;
  background: #fff;
}

.p2p-profile-modal__overview-title {
  font-size: 14px;
  font-weight: 600;
  color: #474d57;
  margin-bottom: 12px;
}

.p2p-profile-modal__stat {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 10px;
}

.p2p-profile-modal__stat:last-of-type {
  margin-bottom: 0;
}

.p2p-profile-modal__stat-label {
  color: #707a8a;
  line-height: 1.35;
  max-width: 58%;
}

.p2p-profile-modal__stat-val {
  text-align: right;
  font-weight: 600;
  color: #1e2026;
  white-space: nowrap;
}

.p2p-profile-modal__stat-unit {
  font-weight: 500;
  color: #474d57;
}

.p2p-profile-modal__rating-mini {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: -8px 0 12px;
  font-size: 12px;
  color: #707a8a;
}

.p2p-profile-modal__thumb {
  display: block;
  flex-shrink: 0;
  width: 17px;
  height: 18px;
  object-fit: contain;
}

.p2p-profile-modal__thumb.p2p-profile-modal__thumb--down {
  width: 17px;
  height: 19px;
}

.p2p-profile-modal__thumb--down {
  margin-left: 8px;
}

.p2p-profile-modal__thumb-num {
  font-weight: 500;
  color: #474d57;
}

.p2p-profile-modal__cta {
  width: 100%;
  padding: 12px 16px;
  border-radius: 25px;
  border: 1px solid #d0d4dc;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: #81858C;
  cursor: pointer;
}

.p2p-profile-modal__cta:hover {
  background: #f5f6f8;
}





.p2p-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10060;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #1e2026;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.p2p-toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1485px) {

  .header__search,
  .header .input__search {
    display: none;
  }
}

@media (max-width: 1415px) {
  :root {
    --subnav-h: 96px;
  }

  .subnav {
    padding-top: 20px;
  }

  .subnav__container {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 15px;
    padding-bottom: 8px;
  }

  .subnav__left {
    flex: none;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 1px;
  }

  .subnav__right {
    flex-shrink: 0;
    padding-left: 0;
    flex-wrap: wrap;
    justify-content: end;
    gap: 10px 22px;
    row-gap: 8px;
    margin-left: 9px;
  }

  .subnav__link {
    padding: 0 10px;
    font-size: 12px;
  }

  .subnav__link--active::after {
    left: 10px;
    right: 10px;
  }

  .subnav__util,
  .subnav__dropdown-trigger {
    font-size: 12px;
  }
}


@media (max-width: 1335px) {

  .header__mid {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 8px;
  }

  .header__grow {
    flex: 0 0 auto;
    min-width: 4px;
  }

  .header__nav .nav__list {
    overflow: visible;
  }

  .header__nav .nav__trigger,
  .header__nav .nav__link {
    padding-left: 5px;
    padding-right: 5px;
  }

  .header__nav .nav__label,
  .header__nav .nav__item:not(.nav__item--mnt) .nav__link {
    font-size: 14px;
  }

  .header__search.search {
    width: 112px;
    min-width: 112px;
    max-width: 112px;
  }

  .header__actions {
    margin-left: auto;
  }

  .actions__signup,
  .actions__login,
  .actions__avatar,
  .actions__notify,
  .actions__download-wrap,
  .actions>.actions__icon-btn:not(.header__burger) {
    display: none;
  }

  .header__burger {
    display: inline-flex;
  }

  .mobile-menu__list .dropdown__list {
    gap: 24px;
  }

  .mobile-menu__list .nav__dropdown {
    padding-top: 5px;
    padding-bottom: 6px;
  }

  .mobile-menu__list .nav__item {
    border: none;
  }

  .mobile-menu__list .nav__trigger,
  .mobile-menu__list .nav__link {
    font-weight: 500;
    font-size: 14px;
  }

  .mobile-menu__list .nav__link {
    min-height: 45px;
  }

  .nav__label {
    font-weight: 500;
  }

  .mobile-menu__lang {
    font-size: 14px;
    gap: 8px;
  }

  .mobile-menu__lang img {
    width: 18px;
    height: 18px;
  }

}

@media (max-width: 1200px) {
  .p2p-order-room__left {
    padding-right: 0;
    padding-top: 0;
  }
}

@media (max-width: 1191px) {
  .p2p-seller-profile__stats-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .p2p-seller-profile__stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 12px;
    overflow-x: visible;
    flex: none;
    width: 100%;
    padding-bottom: 0;
  }

  .p2p-seller-profile__stat-card {
    flex: none;
    min-width: 0;
    max-width: none;
    padding: 12px 12px 10px;
    border-radius: 8px;
  }

  .p2p-seller-profile__stat-label {
    max-width: none;
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .p2p-seller-profile__stat-label--row {
    margin-bottom: 8px;
  }

  .p2p-seller-profile__stat-main {
    font-size: 17px;
  }

  .p2p-seller-profile__stat-sub {
    margin-top: 6px;
    font-size: 11px;
    gap: 4px 12px;
  }

  .p2p-seller-profile__stat-rating-row {
    margin-top: 6px;
    font-size: 11px;
  }

  .p2p-seller-profile__stats-scroll {
    width: 100%;
    min-height: 52px;
    border-radius: 8px;
  }

  .p2p-seller-profile__stats-scroll-ico {
    font-size: 16px;
  }
}

@media (max-width: 1240px) {
  .p2p-seller-profile__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .p2p-seller-profile__mini-head,
  .p2p-seller-profile__mini-row.p2p-table__row {
    grid-template-columns:
      minmax(90px, 1.05fr)
      minmax(100px, 1.1fr)
      minmax(0, 1.75fr)
      minmax(220px, 1.45fr)
      minmax(136px, 1.15fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
    min-width: 700px;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--payment {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .p2p-seller-profile__mini-row .p2p-table__payment-method {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 1120px) {
  .p2p-seller-profile__mini-head,
  .p2p-seller-profile__mini-row.p2p-table__row {
    grid-template-columns:
      minmax(80px, 0.9fr)
      minmax(88px, 0.95fr)
      minmax(0, 1.45fr)
      minmax(188px, 1.2fr)
      minmax(124px, 1fr);
    column-gap: 8px;
    min-width: 620px;
  }

  .p2p-seller-profile__mini-head > span:nth-child(4) {
    text-align: center;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits {
    min-width: 0;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__limit-line {
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 1px;
    width: 100%;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__limit-label {
    font-size: 11px;
    line-height: 1.25;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__available,
  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__limits {
    font-size: 13px;
    line-height: 1.3;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--payment {
    justify-content: center;
    justify-self: stretch;
  }

  .p2p-seller-profile__mini-row .p2p-table__price {
    font-size: 19px;
  }

  .p2p-seller-profile__mini-row .p2p-table__currency {
    font-size: 13px;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__buy-btn,
  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__sell-btn {
    padding: 0 14px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 920px) {
  .p2p-seller-profile__mini-head,
  .p2p-seller-profile__mini-row.p2p-table__row {
    grid-template-columns:
      minmax(68px, 0.82fr)
      minmax(72px, 0.88fr)
      minmax(0, 1.28fr)
      minmax(128px, 1fr)
      minmax(100px, 0.92fr);
    column-gap: 6px;
    min-width: 520px;
  }

  .p2p-seller-profile__mini-head {
    padding: 8px 8px;
    font-size: 10px;
  }

  .p2p-seller-profile__mini-row.p2p-table__row {
    padding: 12px 8px;
  }

  .p2p-seller-profile__mini-head > span:nth-child(3) {
    line-height: 1.3;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__coin-icon-wrap {
    width: 22px;
    height: 22px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__coin-name {
    font-size: 14px;
  }

  .p2p-seller-profile__mini-row .p2p-table__price {
    font-size: 17px;
  }

  .p2p-seller-profile__mini-row .p2p-table__currency {
    font-size: 12px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__limit-label {
    font-size: 10px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__available,
  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__limits {
    font-size: 12px;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--payment {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    align-content: center;
  }

  .p2p-seller-profile__mini-row .p2p-table__payment-method {
    white-space: normal;
    text-align: center;
    padding: 3px 7px;
    font-size: 10px;
    line-height: 1.25;
    max-width: 100%;
    box-sizing: border-box;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__buy-btn,
  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__sell-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 765px) {
  .p2p-seller-profile__table-wrap {
    overflow-x: visible;
  }

  .p2p-seller-profile__mini-head {
    display: none;
  }

  .p2p-seller-profile__mini-row.p2p-table__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto;
    gap: 13px 12px;
    align-items: start;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 12px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-coin {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--action {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: auto;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-price {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
    width: 100%;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--payment {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-content: flex-start;
    justify-self: stretch;
    width: 100%;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
    flex-wrap: wrap;
    gap: 8px;
  }

  .p2p-seller-profile__mini-row .p2p-table__payment-method {
    font-size: 11px;
    padding: 4px 10px;
    text-align: center;
    white-space: normal;
  }

  .p2p-seller-profile__mini-row .p2p-table__price {
    font-size: 20px;
  }

  .p2p-seller-profile__mini-row .p2p-table__currency {
    font-size: 13px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__limit-line {
    width: 100%;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__limit-label {
    font-size: 11px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__available,
  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__limits {
    font-size: 13px;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__buy-btn,
  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__sell-btn {
    height: 36px;
    padding: 0 14px;
    font-size: 12px;
  }
}

@media (max-width: 750px) {
  .p2p-order-room__cta-row {
    width: 100%;
    max-width: 100%;
  }

  .p2p-order-room__btn--primary, .p2p-order-room__btn--ghost {
    width: 100%;
    padding: 12px 24px;
  }

}

@media (max-width: 730px) {
  .p2p-seller-profile__hero {
    padding: 20px 16px 16px;
  }

  .p2p-seller-profile__hero-top {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: start;
    margin-bottom: 16px;
  }

  .p2p-seller-profile__avatar {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .p2p-seller-profile__avatar--online::after,
  .p2p-seller-profile__avatar--offline::after {
    width: 10px;
    height: 10px;
  }

  .p2p-seller-profile__hero-main {
    flex: unset;
    min-width: 0;
  }

  .p2p-seller-profile__name-row {
    align-items: flex-start;
    gap: 8px 10px;
    margin-bottom: 8px;
  }

  .p2p-seller-profile__name {
    flex: 0 0 100%;
    font-size: 18px;
    line-height: 1.25;
  }

  .p2p-seller-profile__link-action {
    font-size: 12px;
  }

  .p2p-seller-profile__subscribe {
    margin-left: 0;
    align-self: start;
    padding: 7px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .p2p-seller-profile__verifs {
    gap: 6px 10px;
    margin-bottom: 6px;
  }

  .p2p-seller-profile__verif-item {
    font-size: 12px;
  }

  .p2p-seller-profile__online {
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .p2p-order-room__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .p2p-order-room__step-head {
    flex-wrap: wrap;
  }

  .p2p-order-room__trading-help {
    width: 100%;
    text-align: center;
  }

  .p2p-order-room__dispute {
    margin-top: 10px;
  }

  .p2p-order-room__faq {
    margin-top: 15px;
  }

  .p2p {
    padding-bottom: 10px;
  }

}

@media (max-width: 990px) {
  .p2p-tabs {
    flex-wrap: wrap;
    height: auto;
    min-height: 48px;
    padding: 8px 10px 10px;
    row-gap: 8px;
    align-items: center;
  }

  .p2p-tabs__buysell {
    gap: 5px;
  }

  .p2p-tabs__bs {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .p2p-tabs__divider {
    margin: 0 8px;
  }

  .p2p-tabs__coins {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c6cad2 transparent;
    gap: 0;
  }

  .p2p-tabs__coins::-webkit-scrollbar {
    height: 4px;
  }

  .p2p-tabs__coins::-webkit-scrollbar-thumb {
    background: #c6cad2;
    border-radius: 4px;
  }

  .p2p-tabs__coin {
    flex-shrink: 0;
    height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }

  .p2p-tabs__more {
    flex-shrink: 0;
    margin-left: 4px;
    margin-right: 4px;
    font-size: 12px;
  }

  .p2p-tabs__divider {
    display: none;
  }

}


@media (max-width: 880px) {
  .p2p-trade-modal__maker p {
    max-width: none;
    width: 100%;
  }

  .p2p-trade-modal__badge-item {
    font-size: 14px;
  }

  .p2p-trade-modal__left,
  .p2p-trade-modal__right {
    padding: 30px 30px 20px 30px;
  }

  .p2p-trade-modal__note {
    font-size: 13px;
  }

  .p2p-trade-modal {
    grid-template-columns: 1fr;
  }

  .p2p-trade-modal__left {
    border-right: 0;
    border-bottom: 1px solid #f0f2f5;
  }

}

@media (min-width: 876px) {
  .mobile-menu__nav {
    display: none;
  }
}

@media (max-width: 875px) {

  .header__mid,
  .header__grow {
    display: none;
  }

  .mobile-menu__nav {
    border-top: 2px solid #333436;
    width: 95%;
  }

  .mobile-menu__list .nav__trigger,
  .mobile-menu__list .nav__link {
    background-color: #2c2d2f;
  }

  .p2p-table__head {
    display: none;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row),
  .p2p-table__row--featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 10px 12px;
    align-items: center;
    padding: 32px 12px;
    margin: 0 8px;
  }

  .p2p-table__row--featured {
    padding-top: 36px;
    margin: 12px 6px 6px;
  }

  .p2p-table__featured-label {
    white-space: normal;
    text-align: right;
    line-height: 1.25;
    max-width: min(260px, calc(100% - 12px));
    top: 4px;
    right: 4px;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__cell--user {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__cell--action {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    align-self: start;
    margin-top: 5px;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__cell--price {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    flex-wrap: wrap;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__cell--limits {
    grid-column: 2;
    grid-row: 2;
    align-items: flex-end;
    text-align: right;
    min-width: 0;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__cell--limits .p2p-table__available,
  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__cell--limits .p2p-table__limits {
    text-align: right;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__cell--payment {
    grid-column: 1 / -1;
    grid-row: 3;
    padding-top: 4px;
    border-top: 1px solid #f0f2f5;
  }

  .p2p-table__row:not(.p2p-seller-profile__mini-row) .p2p-table__price {
    font-size: 18px;
  }

  .p2p-table__currency {
    font-size: 11px;
  }

  .p2p-table__payment-method {
    padding: 4px 8px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .p2p-table__buy-btn,
  .p2p-table__sell-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .p2p-table__username {
    font-size: 14px;
  }

  .p2p-table__stats,
  .p2p-table__time {
    font-size: 11px;
  }

  .p2p-slider {
    height: 85px;
  }

  .p2p-slider__track {
    height: 100%;
  }

  .p2p-slider__slide {
    padding: 8px 46px;
    gap: 12px;
  }

  .p2p-slider__body {
    gap: 2px;
  }

  .p2p-slider__title {
    font-size: 17px;
    line-height: 1.2;
  }

  .p2p-slider__desc {
    font-size: 12px;
    line-height: 1.3;
  }

  .p2p-slider__desc-row {
    gap: 6px;
  }

  .p2p-slider__img {
    width: 60px;
    height: 49px;
  }

  .p2p-slider__cta {
    width: 28px;
    height: 13px;
  }

  .p2p-slider__cta svg {
    width: 10px;
    height: 10px;
  }

  .p2p-slider__arrow {
    width: 26px;
    height: 26px;
  }

  .p2p-slider__arrow svg {
    width: 11px;
    height: 11px;
  }

  .p2p-slider__arrow--prev {
    left: 15px;
  }

  .p2p-slider__arrow--next {
    right: 15px;
  }

  .p2p-slider__dots {
    bottom: 5px;
  }

  .p2p-slider__dot {
    width: 14px;
  }

  .p2p-slider__dot--active {
    width: 20px;
  }

}


@media (max-width: 825px) {
  :root {
    --subnav-h: 152px;
  }

  .subnav .subnav__container.container {
    max-width: none;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  .subnav__left {
    flex-wrap: wrap;
    row-gap: 2px;
    column-gap: 0;
    overflow: visible;
    height: auto;
    min-height: 0;
    padding-bottom: 6px;
    align-content: flex-start;
    border-bottom: 1px solid #eaecef;
  }

  .subnav__link {
    height: auto;
    min-height: 38px;
    padding: 6px 8px;
    font-size: 12px;
    box-sizing: border-box;
  }

  .subnav__link--active::after {
    left: 8px;
    right: 8px;
  }

  .subnav__right {
    margin-left: 10px;
    padding-left: 0;
    padding-right: 0;
  }
}


@media (max-width: 800px) {
  .subnav__right {
    justify-content: start;
  }
}

@media (max-width: 785px) {
  .p2p-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
    align-items: stretch;
    padding: 10px 12px;
  }

  .p2p-filters__input-wrap {
    grid-column: 1;
    grid-row: 1;
    flex: none;
    width: 100%;
    max-width: none;
  }

  .p2p-filters > #paymentSelect {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-content: space-between;
  }

  .p2p-filters > #filterBtn {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    justify-content: start;
  }

  .p2p-filters > #refreshSelect {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-content: space-between;
  }

  .p2p-filters .p2p-filters__select--pill {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .p2p-slider {
    display: none;
  }
}

@media (max-width: 665px) {
  .p2p-tabs__coins {
    overflow: visible;
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 2px;
    align-content: flex-start;
  }

  .p2p-tabs__coin {
    height: auto;
    min-height: 38px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .p2p-tabs__more {
    margin-left: 0;
    margin-top: 2px;
    font-size: 11px;
    flex-basis: 100%;
    padding: 4px 0;
  }
}


@media (max-width: 625px) {
  .p2p-select-menu {
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
    max-height: min(280px, 52vh);
  }

  .p2p-select-menu__item {
    padding: 6px 8px;
    margin: 0 3px;
    font-size: 12px;
  }

  .p2p-currency-menu {
    min-width: 0;
    width: min(260px, calc(100vw - 16px));
  }

  .p2p-currency-menu__search-wrap {
    padding: 8px 10px;
    gap: 6px;
  }

  .p2p-currency-menu__search {
    font-size: 12px;
  }

  .p2p-currency-menu__list {
    max-height: min(220px, 40vh);
  }

  .p2p-currency-menu__item {
    padding: 6px 8px;
    margin: 0 3px;
    font-size: 12px;
    gap: 8px;
  }

  .p2p-currency-menu__badge {
    width: 24px;
    height: 24px;
  }

  .p2p-currency-menu__empty {
    padding: 14px 10px;
    font-size: 12px;
  }

  .p2p-payment-menu {
    width: min(290px, calc(100vw - 16px));
    min-width: 0;
    max-height: min(480px, 68vh);
    left: 265px;
  }

  .p2p-payment-menu__search-wrap {
    padding: 8px 10px;
  }

  .p2p-payment-menu__search-inner {
    min-height: 32px;
    padding: 0 10px;
    gap: 6px;
  }

  .p2p-payment-menu__search {
    height: 28px;
    font-size: 12px;
  }

  .p2p-payment-menu__all {
    padding: 8px 10px;
    min-height: 38px;
  }

  .p2p-payment-menu__all-label {
    font-size: 12px;
  }

  .p2p-payment-menu__section {
    padding: 6px 10px 3px;
    font-size: 11px;
  }

  .p2p-payment-menu__list {
    max-height: min(180px, 34vh);
  }

  .p2p-payment-menu__item {
    padding: 6px 8px;
    margin: 0 3px;
    min-height: 36px;
    gap: 8px;
  }

  .p2p-payment-menu__item-label {
    font-size: 12px;
  }

  .p2p-payment-menu__checkbox {
    width: 18px;
    height: 18px;
  }

  .p2p-payment-menu__footer {
    padding: 8px 10px;
    gap: 6px;
  }

  .p2p-payment-menu__confirm,
  .p2p-payment-menu__reset {
    height: 32px;
    font-size: 12px;
  }

  .p2p-refresh-menu {
    min-width: 0;
    width: min(200px, calc(100vw - 16px));
    padding: 4px 0;
  }

  .p2p-refresh-menu__item {
    padding: 6px 8px;
    margin: 0 3px;
    font-size: 12px;
  }

  .p2p-filter-menu.p2p-payment-menu {
    max-height: min(520px, calc(100dvh - 24px));
  }

  .p2p-filter-menu__body {
    max-height: min(420px, calc(100dvh - 120px));
  }

  .p2p-filter-panel__section {
    padding: 10px 12px 8px;
  }

  .p2p-filter-panel__section-title {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .p2p-filter-panel__check-row {
    padding: 5px 4px;
    gap: 8px;
  }

  .p2p-filter-panel__check-label {
    font-size: 12px;
  }

  .p2p-filter-panel__sort-grid {
    gap: 6px;
  }

  .p2p-filter-panel__sort-btn {
    padding: 7px 6px;
    font-size: 11px;
  }

  .p2p-filter-panel__time-row {
    gap: 6px;
  }

  .p2p-filter-panel__time-btn {
    padding: 7px 6px;
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .p2p-profile-popover {
    width: min(360px, calc(100vw - 20px));
    max-height: min(82vh, 520px);
  }

  .p2p-profile-modal {
    padding: 14px 14px 12px;
    border-radius: 10px;
  }

  .p2p-profile-modal__head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .p2p-profile-modal__avatar {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .p2p-profile-modal__avatar--online::after,
  .p2p-profile-modal__avatar--offline::after {
    width: 10px;
    height: 10px;
    right: 0;
    bottom: 0;
  }

  .p2p-profile-modal__name {
    font-size: 15px;
  }

  .p2p-profile-modal__status {
    font-size: 12px;
    margin-top: 2px;
  }

  .p2p-profile-modal__verifs {
    margin: 0 0 12px;
    gap: 8px;
  }

  .p2p-profile-modal__verif {
    font-size: 12px;
    gap: 4px;
  }

  .p2p-profile-modal__verif img {
    width: 13px;
    height: 13px;
  }

  .p2p-profile-modal__overview {
    padding: 10px 12px 8px;
    margin-bottom: 12px;
    border-radius: 8px;
  }

  .p2p-profile-modal__overview-title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .p2p-profile-modal__stat {
    font-size: 12px;
    margin-bottom: 8px;
    gap: 8px;
  }

  .p2p-profile-modal__stat-label {
    max-width: 62%;
  }

  .p2p-profile-modal__rating-mini {
    font-size: 11px;
    margin: -4px 0 8px;
    gap: 4px;
  }

  .p2p-profile-modal__thumb {
    width: 15px;
    height: 16px;
  }

  .p2p-profile-modal__thumb.p2p-profile-modal__thumb--down {
    width: 15px;
    height: 17px;
  }

  .p2p-profile-modal__thumb--down {
    margin-left: 6px;
  }

  .p2p-profile-modal__cta {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 20px;
  }

  .p2p-order-room__btn--primary, .p2p-order-room__btn--ghost {
    font-size: 14px;
  }

}

@media (max-width: 525px) {
  .p2p-order-room__chat-verified-row {
    align-items: end;
  }
}

@media (max-width: 520px) {
  .p2p-trade-modal-overlay {
    align-items: flex-end;
    padding: 0;
    padding-top: 12px;
  }

  .p2p-trade-modal {
    width: 100%;
    max-width: 100%;
    max-height: min(92vh, calc(100dvh - 12px));
    border-radius: 6px 6px 0px 0px;
    margin: 0;
    box-sizing: border-box;
  }

  .p2p-trade-modal__left,
  .p2p-trade-modal__right {
    padding: 16px 14px 14px;
  }

  .p2p-trade-modal__seller {
    gap: 10px;
  }

  .p2p-trade-modal__avatar {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .p2p-trade-modal__seller-name {
    font-size: 15px;
  }

  .p2p-trade-modal__seller-stats,
  .p2p-trade-modal__seller-online {
    font-size: 12px;
  }

  .p2p-trade-modal__seller-stats-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .p2p-trade-modal__seller-stats-row, .p2p-trade-modal__seller-online {
    margin-top: 0;
  }

  .p2p-trade-modal__meta {
    margin-top: 16px;
    gap: 8px;
  }

  .p2p-trade-modal__meta-row:not(.p2p-trade-modal__meta-row--top) {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 13px;
  }

  .p2p-trade-modal__meta-row:not(.p2p-trade-modal__meta-row--top) b {
    text-align: left;
  }

  .p2p-trade-modal__meta-row--top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
  }

  .p2p-trade-modal__meta-row--top .p2p-trade-modal__pm {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  .p2p-trade-modal__pm {
    max-width: 100%;
    justify-content: flex-start;
  }

  .p2p-trade-modal__maker {
    margin-top: 14px;
    padding-top: 8px;
  }

  .p2p-trade-modal__maker-title {
    font-size: 14px;
  }

  .p2p-trade-modal__maker p {
    font-size: 13px;
    line-height: 1.55;
  }

  .p2p-trade-modal__badge-item {
    font-size: 13px;
  }

  .p2p-trade-modal__price-row {
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.35;
  }

  .p2p-trade-modal__price-row b {
    font-size: 16px;
  }

  .p2p-trade-modal__timer {
    font-size: 15px;
    display: block;
    margin-top: 4px;
  }

  .p2p-trade-modal__field {
    padding: 10px 12px;
    margin-bottom: 10px;
  }

  .p2p-trade-modal__field-inlabel {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .p2p-trade-modal__field input {
    font-size: 15px;
  }

  .p2p-trade-modal__dd-trigger {
    height: 42px;
    font-size: 13px;
    padding: 0 10px;
  }

  .p2p-trade-modal__actions {
    flex-direction: column;
    gap: 10px;
  }

  .p2p-trade-modal__confirm,
  .p2p-trade-modal__cancel {
    width: 100%;
    height: 42px;
    font-size: 15px;
    padding: 12px;
    border-radius: 10px;
  }

  .p2p-trade-modal__note {
    font-size: 11px;
    margin-top: 8px;
  }

  .p2p {
    padding-bottom: 0;
    padding-top: 20px;
  }

  .mobile-menu__presets,
  .mobile-menu__logout-row {
    display: none;
  }

  .mobile-menu__close {
    width: 35px;
    height: 35px;
  }

  .header__fabs {
    display: none;
  }

}


@media (max-width: 500px) {
  .p2p-order-room__left {
    padding-bottom: 0;
  }

  .p2p-order-room__chat {
    border-radius: 10px;
  }

  .p2p-warn__ticker-text {
    font-size: 11px;
  }

}

@media (max-width: 485px) {
  .p2p-tabs__coins {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 4px;
    row-gap: 6px;
    overflow: visible;
  }

  .p2p-tabs__coin {
    flex: 0 0 calc((100% - 16px) / 5);
    width: calc((100% - 16px) / 5);
    max-width: calc((100% - 16px) / 5);
    min-width: 0;
    margin: 0;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .p2p-tabs__more {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 4px 0 0;
    padding: 8px 6px 6px;
    box-sizing: border-box;
    flex-basis: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }

  .p2p-tabs__more-top,
  .p2p-tabs__more-bot {
    display: block;
  }

  .p2p-order-room__step-label {
    font-size: 14px;
  }

  .p2p-order-room__cta-row {
    flex-direction: column;
    margin-top: 20px;
  }


}

@media (max-width: 475px) {
  .p2p-filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .p2p-filters > .p2p-filters__input-wrap {
    grid-column: 1 / -1;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    border: 1px solid #d0d4dc;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
  }

  .p2p-filters__input {
    width: 100%;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #f0f2f5;
    padding: 0 12px;
    height: 40px;
    box-sizing: border-box;
  }

  .p2p-filters__input-wrap:focus-within {
    border-color: var(--color-accent);
  }

  .p2p-filters__currency {
    position: static;
    transform: none;
    justify-content: center;
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
    border-radius: 0;
  }

  .p2p-filters > #paymentSelect {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .p2p-filters > #filterBtn {
    grid-column: 1;
    grid-row: 3;
  }

  .p2p-filters > #refreshSelect {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 435px) {
  .p2p-profile-popover {
    width: min(300px, calc(100vw - 16px));
    max-height: min(78vh, 480px);
  }

  .p2p-profile-modal {
    padding: 11px 11px 10px;
    border-radius: 8px;
  }

  .p2p-profile-modal__head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .p2p-profile-modal__avatar {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .p2p-profile-modal__avatar--online::after,
  .p2p-profile-modal__avatar--offline::after {
    width: 9px;
    height: 9px;
  }

  .p2p-profile-modal__name {
    font-size: 14px;
  }

  .p2p-profile-modal__status {
    font-size: 11px;
  }

  .p2p-profile-modal__verifs {
    margin: 0 0 10px;
    gap: 6px;
  }

  .p2p-profile-modal__verif {
    font-size: 11px;
    gap: 3px;
  }

  .p2p-profile-modal__verif img {
    width: 12px;
    height: 12px;
  }

  .p2p-profile-modal__overview {
    padding: 8px 9px 6px;
    margin-bottom: 10px;
    border-radius: 7px;
  }

  .p2p-profile-modal__overview-title {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .p2p-profile-modal__stat {
    font-size: 11px;
    margin-bottom: 6px;
    gap: 6px;
  }

  .p2p-profile-modal__stat-label {
    max-width: 65%;
    line-height: 1.3;
  }

  .p2p-profile-modal__stat-val {
    font-size: 11px;
  }

  .p2p-profile-modal__rating-mini {
    font-size: 10px;
    margin: -2px 0 6px;
    gap: 3px;
  }

  .p2p-profile-modal__thumb {
    width: 13px;
    height: 14px;
  }

  .p2p-profile-modal__thumb.p2p-profile-modal__thumb--down {
    width: 13px;
    height: 15px;
  }

  .p2p-profile-modal__thumb--down {
    margin-left: 4px;
  }

  .p2p-profile-modal__cta {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 18px;
  }

  .p2p-more-data-modal__body {
    padding: 0 12px 4px;
  }


}

@media (max-width: 425px) {

}

@media (max-width: 420px) {
  .p2p-filters > #filterBtn {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
  }

  .p2p-filters > #refreshSelect {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    height: auto;
    min-height: 40px;
    padding: 8px 10px;
    box-sizing: border-box;
    overflow: visible;
    align-items: center;
    font-size: 12px;
  }

  .p2p-filters > #refreshSelect #refreshLabel {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
  }

  .p2p-tabs__buysell {
    width: 100%;
  }

  .p2p-tabs__bs {
    width: 100%;
  }

  .subnav {
    padding-top: 10px;
  }

  .p2p-order-room {
    padding-bottom: 24px;
  }

  .p2p-order-room__left {
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
  }

  .p2p-order-room__h1 {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .p2p-order-room__lead {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
    max-width: none;
  }

  .p2p-order-room__banner {
    padding: 10px 12px;
    margin-bottom: 16px;
    gap: 8px;
  }

  .p2p-order-room__banner p {
    font-size: 12px;
  }

  .p2p-order-room__trade-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .p2p-order-room__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 12px;
  }

  .p2p-order-room__row dt {
    font-size: 12px;
  }

  .p2p-order-room__row dd {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    flex-wrap: wrap;
    gap: 2px;
  }

  .p2p-order-room__val {
    font-size: 14px;
  }

  .p2p-order-room__dispute {
    font-size: 14px;
    margin-top: 12px;
  }

  .p2p-order-room__faq {
    margin-top: 20px;
  }

  .p2p-order-room__faq-head {
    font-size: 15px;
  }

  .p2p-order-room__faq-toggle {
    font-size: 13px;
    padding: 8px 0;
    padding-top: 4px;
  }

  .p2p-order-room__faq-answer {
    font-size: 12px;
    padding: 10px 0 6px;
  }

  .p2p-pagination {
    justify-content: center;
  }

  .p2p-order-room__chat {
    min-height: 0;
    --p2p-chat-max-h: min(560px, calc(100dvh - 120px));
    height: var(--p2p-chat-max-h);
    max-height: var(--p2p-chat-max-h);
    container-type: size;
    container-name: p2p-order-chat;
  }

  .p2p-order-room__chat-head {
    padding: 12px 12px 10px;
  }

  .p2p-order-room__chat-seller {
    gap: 10px;
    align-items: flex-start;
  }

  .p2p-order-room__chat-seller-main {
    gap: 4px;
  }

  .p2p-order-room__chat-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .p2p-order-room__chat-name {
    font-size: 14px;
    line-height: 1.3;
    word-break: break-word;
  }

  .p2p-order-room__chat-verified-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 0;
    width: 100%;
  }

  .p2p-order-room__chat-verified-line {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .p2p-order-room__chat-verified-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 0 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
  }

  .p2p-order-room__chat-confirm-icon {
    width: 14px;
  }

  .p2p-order-room__chat-verified-prefix {
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .p2p-order-room__chat-verified-legal {
    font-size: 11px;
    line-height: 1.4;
    word-break: break-word;
    max-width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .p2p-order-room__chat-complaint {
    margin-left: 0;
    align-self: flex-start;
    font-size: 12px;
    line-height: 1.35;
    flex-shrink: 0;
    text-align: left;
    max-width: 100%;
  }

  .p2p-order-room__chat-body {
    flex: 1 1 0;
    min-height: 0;
    padding: 8px 10px;
    gap: 8px;
  }

  .p2p-order-room__chat-input-wrap {
    padding: 6px 10px;
    gap: 8px;
  }

  .p2p-order-room__chat-input {
    padding: 7px 10px;
    font-size: 14px;
  }

  .p2p-order-room__chat-icon-btn {
    width: 32px;
    height: 32px;
  }

  .mobile-menu__panel {
    width: min(320px, 84vw);
  }

  .p2p-seller-profile__hero {
    padding: 16px 12px 14px;
  }

  .p2p-seller-profile__hero-top {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px 10px;
    margin-bottom: 14px;
  }

  .p2p-seller-profile__avatar {
    grid-row: 1;
    grid-column: 1;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .p2p-seller-profile__hero-main {
    grid-row: 1;
    grid-column: 2;
  }

  .p2p-seller-profile__name {
    font-size: 16px;
  }

  .p2p-seller-profile__subscribe {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 18px;
  }

  .p2p-seller-profile__subscribe-star {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
}

@media (max-width: 400px) {
  .p2p-trade-modal-overlay {
    padding-top: 6px;
  }

  .p2p-trade-modal {
    max-height: min(96vh, calc(100dvh - 6px));
    border-radius: 6px 6px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .p2p-trade-modal__left,
  .p2p-trade-modal__right {
    padding: 12px 10px 10px;
  }

  .p2p-trade-modal__seller {
    gap: 8px;
  }

  .p2p-trade-modal__avatar {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .p2p-trade-modal__seller-name {
    font-size: 14px;
  }

  .p2p-trade-modal__seller-stats,
  .p2p-trade-modal__seller-online,
  .p2p-trade-modal__seller-time {
    font-size: 11px;
  }

  .p2p-trade-modal__seller-stats-row {
    gap: 6px 10px;
  }

  .p2p-trade-modal__meta {
    margin-top: 12px;
    gap: 6px;
  }

  .p2p-trade-modal__meta-row:not(.p2p-trade-modal__meta-row--top),
  .p2p-trade-modal__meta-row--top {
    font-size: 12px;
  }

  .p2p-trade-modal__pm-tag {
    height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .p2p-trade-modal__maker {
    margin-top: 10px;
    padding-top: 6px;
  }

  .p2p-trade-modal__maker-title {
    font-size: 13px;
  }

  .p2p-trade-modal__maker p {
    font-size: 12px;
    line-height: 1.5;
  }

  .p2p-trade-modal__badge-item {
    font-size: 12px;
  }

  .p2p-trade-modal__price-row {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .p2p-trade-modal__price-row b {
    font-size: 15px;
    word-break: break-word;
  }

  .p2p-trade-modal__timer {
    font-size: 13px;
    margin-top: -2px;
  }

  .p2p-trade-modal__field-label {
    font-size: 12px;
    margin: 8px 0 4px;
  }

  .p2p-trade-modal__field {
    padding: 8px 10px;
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .p2p-trade-modal__field-inlabel {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .p2p-trade-modal__field input {
    font-size: 14px;
  }

  .p2p-trade-modal__field-suffix {
    font-size: 13px;
  }

  .p2p-trade-modal__field-all {
    font-size: 12px;
  }

  .p2p-trade-modal__dd {
    margin-bottom: 10px;
  }

  .p2p-trade-modal__dd-trigger {
    height: 40px;
    font-size: 12px;
    padding: 0 8px;
  }

  .p2p-trade-modal__dd-value--placeholder {
    font-size: 13px;
  }

  .p2p-trade-modal__dd-option {
    padding: 8px 10px;
    font-size: 13px;
  }

  .p2p-trade-modal__actions {
    gap: 8px;
  }

  .p2p-trade-modal__confirm,
  .p2p-trade-modal__cancel {
    height: 40px;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px !important;
    border-radius: 999px;
  }

  .p2p-trade-modal__note {
    font-size: 10px;
    line-height: 1.4;
    margin-top: 6px;
  }

  .p2p-trade-modal__price-row {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .p2p-seller-profile__bottom-card .p2p-seller-profile__section {
    padding: 18px 23px 8px;
  }

  .p2p-seller-profile__section-head {
    font-size: 14px;
    margin-bottom: 16px;
    gap: 6px;
  }

  .p2p-seller-profile__section-icon {
    width: 18px;
    height: 18px;
  }

  .p2p-seller-profile__section-icon svg {
    width: 18px;
    height: 18px;
  }

  .p2p-seller-profile__mini-row.p2p-table__row {
    padding: 12px 10px;
    gap: 11px 10px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__coin-icon-wrap {
    width: 22px;
    height: 22px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__coin-name {
    font-size: 14px;
  }

  .p2p-seller-profile__mini-row .p2p-table__price {
    font-size: 17px;
  }

  .p2p-seller-profile__mini-row .p2p-table__currency {
    font-size: 11px;
    padding-bottom: 1px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__limit-label {
    font-size: 10px;
  }

  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__available,
  .p2p-seller-profile__mini-row .p2p-seller-profile__cell-limits .p2p-table__limits {
    font-size: 12px;
  }

  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__buy-btn,
  .p2p-seller-profile__mini-row .p2p-table__cell--action .p2p-table__sell-btn {
    height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .p2p-seller-profile__mini-row .p2p-table__payment-method {
    font-size: 10px;
    padding: 3px 8px;
  }
}

@media (max-height: 420px) {
  .p2p-order-room__chat {
    min-height: 0;
    --p2p-chat-max-h: min(560px, calc(100dvh - 40px), calc(100vh - 40px));
    height: var(--p2p-chat-max-h);
    max-height: var(--p2p-chat-max-h);
    container-type: size;
    container-name: p2p-order-chat;
  }

  .p2p-order-room__chat-head {
    padding: 8px 10px 8px;
  }

  .p2p-order-room__chat-seller {
    gap: 8px;
    align-items: flex-start;
  }

  .p2p-order-room__chat-seller-main {
    gap: 2px;
  }

  .p2p-order-room__chat-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .p2p-order-room__chat-name {
    font-size: 13px;
    line-height: 1.25;
  }

  .p2p-order-room__chat-verified-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-wrap: nowrap;
    min-height: 0;
    width: 100%;
  }

  .p2p-order-room__chat-verified-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 0 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .p2p-order-room__chat-verified-line {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  .p2p-order-room__chat-confirm-icon {
    width: 12px;
  }

  .p2p-order-room__chat-verified-prefix {
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
  }

  .p2p-order-room__chat-verified-legal {
    font-size: 10px;
    line-height: 1.35;
    word-break: break-word;
    max-width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .p2p-order-room__chat-complaint {
    font-size: 11px;
    margin-left: 0;
    align-self: flex-start;
    flex-shrink: 0;
    line-height: 1.3;
    text-align: left;
    max-width: 100%;
  }

  .p2p-order-room__chat-body {
    flex: 1 1 0;
    min-height: 0;
    padding: 6px 10px;
    gap: 6px;
  }

  .p2p-order-room__chat-ts {
    font-size: 10px;
  }

  .p2p-order-room__bubble {
    padding: 6px 10px;
    font-size: 12px;
  }

  .p2p-order-room__chat-system {
    padding: 6px 8px;
    font-size: 10px;
    line-height: 1.35;
    gap: 6px;
  }

  .p2p-order-room__chat-input-wrap {
    padding: 5px 8px;
    gap: 6px;
  }

  .p2p-order-room__chat-input {
    padding: 6px 10px;
    font-size: 13px;
  }

  .p2p-order-room__chat-icon-btn {
    width: 30px;
    height: 30px;
  }

  .p2p-order-room__chat-icon-btn img {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 435px) {
  .p2p-table__cell--user {
    min-width: 0;
  }

  .p2p-table__username {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .p2p-table__username::-webkit-scrollbar {
    display: none;
  }

  .p2p-table__username img {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    object-fit: contain;
    vertical-align: middle;
  }
}

@media (max-width: 385px) {
  .p2p-seller-profile__tab {
    font-size: 13px;
    padding-bottom: 7px;
  }
}

@container p2p-order-chat (max-height: 340px) {
  .p2p-order-room__chat-head {
    padding: 4px 8px 4px;
  }

  .p2p-order-room__chat-input-wrap {
    padding: 4px 8px;
  }
}

/* Модалка «Больше данных» (профиль продавца) */
.p2p-more-data-overlay {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.p2p-more-data-overlay[hidden] {
  display: none !important;
}

.p2p-more-data-modal {
  width: min(525px, calc(100vw - 48px));
  max-height: min(640px, calc(100vh - 48px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p2p-more-data-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 23px;
  flex-shrink: 0;
}

.p2p-more-data-modal__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1e2026;
}

.p2p-more-data-modal__close {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #9a9ca0;
  cursor: pointer;
  padding: 0 4px;
  margin: -4px 0;
}

.p2p-more-data-modal__close:hover {
  color: #1e2026;
}

.p2p-more-data-modal__body {
  padding: 0 28px 8px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.p2p-more-data-modal__inner {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 8px 14px 8px;
}

.p2p-more-data__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  align-items: baseline;
  padding: 10px 0;
}

.p2p-more-data__row:last-child {
  border-bottom: 0;
}

.p2p-more-data__label {
  font-size: 14px;
  font-weight: 400;
  color: #81858c;
  line-height: 1.35;
}

.p2p-more-data__value {
  font-size: 14px;
  font-weight: 700;
  color: #1e2026;
  text-align: right;
  line-height: 1.3;
}

.p2p-more-data__suffix {
  font-size: 0.58em;
  font-weight: 700;
}

.p2p-more-data__sub {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #81858c;
  margin-top: 0px;
}

.p2p-more-data__rating-extra {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 6px;
  margin-top: 0px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
}

.p2p-more-data__rating-extra .p2p-more-data__rating-ico {
  flex-shrink: 0;
  filter: brightness(0);
}

.p2p-more-data__rating-extra .p2p-more-data__rating-num {
  color: #81858c;
  font-weight: 400;
}

.p2p-more-data__dislike-ico {
  margin-left: 8px;
}

.p2p-more-data-modal__footer {
  padding: 14px 28px 20px;
  flex-shrink: 0;
}

.p2p-more-data-modal__ok {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 24px;
  background: #ff9c2e;
  font-size: 16px;
  font-weight: 700;
  color: #1e2026;
  cursor: pointer;
}

.p2p-more-data-modal__ok:hover {
  filter: brightness(0.98);
}

/* Модалка «Подтвердить платёж» (ордер) */
.p2p-confirm-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.p2p-confirm-pay-overlay[hidden] {
  display: none !important;
}

.p2p-confirm-pay {
  width: min(480px, calc(100vw - 40px));
  max-height: min(92vh, 720px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.p2p-confirm-pay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  flex-shrink: 0;
}

.p2p-confirm-pay__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e2026;
}

.p2p-confirm-pay__close {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #9a9ca0;
  cursor: pointer;
  padding: 0 4px;
  margin: -4px 0;
}

.p2p-confirm-pay__close:hover {
  color: #1e2026;
}

.p2p-confirm-pay__body {
  padding: 0 22px 12px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #c7ccd4 transparent;
}

.p2p-confirm-pay__body::-webkit-scrollbar {
  width: 8px;
}

.p2p-confirm-pay__body::-webkit-scrollbar-track {
  background: transparent;
}

.p2p-confirm-pay__body::-webkit-scrollbar-thumb {
  background: #c7ccd4;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.p2p-confirm-pay__body::-webkit-scrollbar-thumb:hover {
  background: #b4bac4;
  background-clip: padding-box;
}

.p2p-confirm-pay__warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8e8;
  border: 1px solid #ffe4b8;
  margin-bottom: 16px;
}

.p2p-confirm-pay__warn-ico {
  flex-shrink: 0;
  margin-top: 2px;
}

.p2p-confirm-pay__warn p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #8a5a00;
}

.p2p-confirm-pay__lead {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #1e2026;
}

.p2p-confirm-pay__card {
  background: #f5f6f8;
  border-radius: 12px;
  padding: 14px 14px 6px;
  margin-bottom: 18px;
}

.p2p-confirm-pay__method {
  font-size: 15px;
  font-weight: 700;
  color: #1e2026;
  padding-left: 10px;
  border-left: 3px solid #ff9c2e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.p2p-confirm-pay__dl {
  margin: 0;
}

.p2p-confirm-pay__row {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 8px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e8eaed;
}

.p2p-confirm-pay__row:last-of-type {
  border-bottom: 0;
}

.p2p-confirm-pay__row dt {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #81858c;
  line-height: 1.35;
}

.p2p-confirm-pay__row dd {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.p2p-confirm-pay__val {
  font-size: 14px;
  font-weight: 600;
  color: #1e2026;
  text-align: right;
  word-break: break-word;
}

.p2p-confirm-pay__val--mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.p2p-confirm-pay__copy {
  flex-shrink: 0;
  border: 0;
  padding: 4px;
  background: transparent;
  color: #81858c;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p2p-confirm-pay__copy:hover {
  color: #6d737b;
  background: rgba(255, 255, 255, 0.8);
}

.p2p-confirm-pay__upload-block {
  margin-bottom: 16px;
}

.p2p-confirm-pay__upload-label {
  font-size: 14px;
  font-weight: 600;
  color: #1e2026;
  margin-bottom: 10px;
}

.p2p-confirm-pay__file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.p2p-confirm-pay__upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #e0e2e6;
  border-radius: 24px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #1e2026;
  cursor: pointer;
}

.p2p-confirm-pay__upload-btn:hover {
  background: #f9fafb;
}

.p2p-confirm-pay__upload-plus {
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  color: #81858c;
}

.p2p-confirm-pay__upload-hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #81858c;
}

.p2p-confirm-pay__file-list {
  margin: 8px 0 0;
  font-size: 12px;
  color: #5a5d62;
  word-break: break-all;
}

.p2p-confirm-pay__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #1e2026;
  cursor: pointer;
}

.p2p-confirm-pay__check input {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #ff9c2e;
}

.p2p-confirm-pay__footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 14px 22px 20px;
  flex-shrink: 0;
  border-top: 1px solid #f0f1f3;
}

.p2p-confirm-pay__submit {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 24px;
  background: #ffcb8c;
  font-size: 15px;
  font-weight: 700;
  color: #9a9ca0;
  cursor: not-allowed;
}

.p2p-confirm-pay__submit:not(:disabled) {
  background: #ff9c2e;
  color: #1e2026;
  cursor: pointer;
}

.p2p-confirm-pay__submit:not(:disabled):hover {
  filter: brightness(0.98);
}

.p2p-confirm-pay__cancel {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid #e0e2e6;
  border-radius: 24px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: #1e2026;
  cursor: pointer;
}

.p2p-confirm-pay__cancel:hover {
  background: #f9fafb;
}

@media (max-width: 440px) {
  .p2p-confirm-pay-overlay {
    padding: 8px;
  }

  .p2p-confirm-pay {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 14px;
  }

  .p2p-confirm-pay__head {
    padding: 14px 14px 10px;
  }

  .p2p-confirm-pay__title {
    font-size: 16px;
  }

  .p2p-confirm-pay__close {
    font-size: 30px;
    padding: 0 2px;
  }

  .p2p-confirm-pay__body {
    padding: 0 14px 10px;
  }

  .p2p-confirm-pay__warn {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .p2p-confirm-pay__warn p {
    font-size: 12px;
  }

  .p2p-confirm-pay__lead {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .p2p-confirm-pay__card {
    border-radius: 12px;
    padding: 12px 10px 4px;
    margin-bottom: 14px;
  }

  .p2p-confirm-pay__method {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .p2p-confirm-pay__row {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    gap: 8px;
    padding: 9px 0;
  }

  .p2p-confirm-pay__row dt {
    font-size: 13px;
  }

  .p2p-confirm-pay__val {
    font-size: 14px;
  }

  .p2p-confirm-pay__upload-block {
    margin-bottom: 12px;
  }

  .p2p-confirm-pay__upload-label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .p2p-confirm-pay__upload-btn {
    padding: 9px 14px;
    font-size: 14px;
  }

  .p2p-confirm-pay__upload-hint {
    margin-top: 8px;
    font-size: 12px;
  }

  .p2p-confirm-pay__check {
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .p2p-confirm-pay__check input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }

  .p2p-confirm-pay__footer {
    position: sticky;
    bottom: 0;
    z-index: 1;
    gap: 8px;
    padding: 10px 12px 12px;
    background: #fff;
  }

  .p2p-confirm-pay__submit,
  .p2p-confirm-pay__cancel {
    padding: 11px 12px;
    border-radius: 22px;
    font-size: 13px;
  }
}

/* Модалка «Не оплачено» — предупреждение перед отменой */
.p2p-not-paid-hint-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.p2p-not-paid-hint-overlay[hidden] {
  display: none !important;
}

.p2p-not-paid-hint {
  width: min(500px, calc(100vw - 40px));
  max-height: min(90vh, 660px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.p2p-not-paid-hint__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 26px 14px;
  flex-shrink: 0;
}

.p2p-not-paid-hint__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #1e2026;
}

.p2p-not-paid-hint__close {
  flex-shrink: 0;
  border: 0;
  background: none;
  font-size: 34px;
  line-height: 1;
  color: #9a9ca0;
  cursor: pointer;
  padding: 0 6px;
  margin: -6px -4px 0 0;
}

.p2p-not-paid-hint__close:hover {
  color: #1e2026;
}

.p2p-not-paid-hint__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 19px 14px;
  flex-shrink: 0;
}

.p2p-not-paid-hint__col {
  border-radius: 14px;
  padding: 16px 14px 14px;
  min-width: 0;
}

.p2p-not-paid-hint__col--bad {
  background: #fff5f5;
}

.p2p-not-paid-hint__col--good {
  background: #f0fff4;
}

.p2p-not-paid-hint__col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.p2p-not-paid-hint__ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

.p2p-not-paid-hint__ico--bad {
  background: #e74c3c;
  color: #fff;
}

.p2p-not-paid-hint__ico--good {
  background: #2ebd85;
  color: #fff;
}

.p2p-not-paid-hint__col--bad .p2p-not-paid-hint__col-title {
  color: #c0392b;
}

.p2p-not-paid-hint__col--good .p2p-not-paid-hint__col-title {
  color: #1a9f6b;
}

.p2p-not-paid-hint__col-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.p2p-not-paid-hint__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.45;
  color: #2f3440;
}

.p2p-not-paid-hint__col--bad .p2p-not-paid-hint__list {
  color: #2f3440;
}

.p2p-not-paid-hint__col--good .p2p-not-paid-hint__list {
  color: #2f3440;
}

.p2p-not-paid-hint__list li {
  position: relative;
  padding-left: 18px;
}

.p2p-not-paid-hint__col--bad .p2p-not-paid-hint__list li::before,
.p2p-not-paid-hint__col--good .p2p-not-paid-hint__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  line-height: 1.15;
}

.p2p-not-paid-hint__col--bad .p2p-not-paid-hint__list li::before {
  color: #de4f43;
}

.p2p-not-paid-hint__col--good .p2p-not-paid-hint__list li::before {
  color: #25b980;
}

.p2p-not-paid-hint__list li + li {
  margin-top: 10px;
}

.p2p-not-paid-hint__note {
  margin: 0 26px 20px;
  font-size: 14px;
  line-height: 1.4;
  color: #3a3f47;
  font-weight: 400;
  padding-left: 14px;
  text-indent: -12px;
}

.p2p-not-paid-hint__footer {
  padding: 0 26px 24px;
  flex-shrink: 0;
}

.p2p-not-paid-hint__confirm {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: #ffa033;
  font-size: 16px;
  font-weight: 700;
  color: #1e2026;
  cursor: pointer;
}

.p2p-not-paid-hint__confirm:hover {
  filter: brightness(0.98);
}

/* Модалка выбора причины отмены ордера */
.p2p-cancel-reason-overlay {
  position: fixed;
  inset: 0;
  z-index: 10070;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.p2p-cancel-reason-overlay[hidden] {
  display: none !important;
}

.p2p-cancel-reason {
  width: min(620px, calc(100vw - 40px));
  max-height: min(92vh, 760px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.p2p-cancel-reason__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  flex-shrink: 0;
}

.p2p-cancel-reason__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #1e2026;
}

.p2p-cancel-reason__close {
  border: 0;
  background: none;
  font-size: 34px;
  line-height: 1;
  color: #9a9ca0;
  cursor: pointer;
  padding: 0 4px;
  margin: -4px -2px 0 0;
}

.p2p-cancel-reason__close:hover {
  color: #1e2026;
}

.p2p-cancel-reason__body {
  padding: 0 22px 20px;
  overflow: auto;
  min-height: 0;
}

.p2p-cancel-reason__warn {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff7e6;
}

.p2p-cancel-reason__warn-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f5b300;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  flex-shrink: 0;
}

.p2p-cancel-reason__warn p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #000;
}

.p2p-cancel-reason__lead {
  margin: 0 0 15px;
  font-size: 14px;
  font-weight: 600;
  color: #1e2026;
}

.p2p-cancel-reason__group {
  margin-bottom: 16px;
}

.p2p-cancel-reason__group-title {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 700;
  color: #1e2026;
}

.p2p-cancel-reason__options {
  background: #f4f4f4;
  border-radius: 8px;
  padding: 14px 12px;
}

.p2p-cancel-reason__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  cursor: pointer;
}

.p2p-cancel-reason__option + .p2p-cancel-reason__option {
  margin-top: 13px;
}

.p2p-cancel-reason__option input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #b9bdc4;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.p2p-cancel-reason__option input:checked {
  border-color: #f0a11a;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px #f0a11a;
}

.p2p-cancel-reason__guide-link {
  color: #f0a11a;
  font-weight: 600;
  text-decoration: none;
}

.p2p-cancel-reason__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.4;
  color: #3a3f47;
  cursor: pointer;
}

.p2p-cancel-reason__checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #ff9c2e;
}

.p2p-cancel-reason__footer {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.p2p-cancel-reason__btn {
  flex: 1;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 18px;
  font-weight: 700;
  border: 1px solid #e0e2e6;
  cursor: pointer;
}

.p2p-cancel-reason__btn--yes {
  border: 0;
  background: #ffcf92;
  color: #a58f64;
  cursor: not-allowed;
}

.p2p-cancel-reason__btn--yes:not(:disabled) {
  background: #ff9c2e;
  color: #1e2026;
  cursor: pointer;
}

.p2p-cancel-reason__btn--no {
  background: #fff;
  color: #1e2026;
}

.p2p-cancel-reason__complaint {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: #90949a;
}

.p2p-cancel-reason__complaint a {
  color: #f0a11a;
  text-decoration: none;
}

@media (max-width: 520px) {
  .p2p-not-paid-hint__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .p2p-not-paid-hint-overlay {
    padding: 8px;
  }

  .p2p-not-paid-hint {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    overflow-y: auto;
  }

  .p2p-not-paid-hint__head {
    padding: 16px 16px 10px;
  }

  .p2p-not-paid-hint__title {
    font-size: 16px;
  }

  .p2p-not-paid-hint__cols {
    gap: 10px;
    padding: 0 16px 10px;
  }

  .p2p-not-paid-hint__col {
    padding: 12px;
  }

  .p2p-not-paid-hint__note {
    margin: 0 16px 12px;
  }

  .p2p-not-paid-hint__footer {
    padding: 0 16px 14px;
  }

  .p2p-not-paid-hint__confirm {
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 440px) {
  .p2p-cancel-reason-overlay {
    padding: 8px;
  }

  .p2p-cancel-reason {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 14px;
  }

  .p2p-cancel-reason__head {
    padding: 14px 14px 10px;
  }

  .p2p-cancel-reason__title {
    font-size: 16px;
  }

  .p2p-cancel-reason__body {
    padding: 0 14px 12px;
  }

  .p2p-cancel-reason__warn {
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .p2p-cancel-reason__warn p,
  .p2p-cancel-reason__option,
  .p2p-cancel-reason__checkbox {
    font-size: 12px;
  }

  .p2p-cancel-reason__group-title {
    font-size: 14px;
  }

  .p2p-cancel-reason__option input,
  .p2p-cancel-reason__checkbox input {
    width: 18px;
    height: 18px;
  }

  .p2p-cancel-reason__btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .p2p-cancel-reason__complaint {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .p2p-profile-popover {
    transform: translateX(-13px);
  }
}

.orders-page {
  background: #f5f7fa;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}

.orders-screen-header {
  height: 74px;
  background: #fff;
  border-bottom: 1px solid #e9edf2;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.orders-screen-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.orders-screen-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.orders-screen-header__name {
  font-size: 20px;
  font-weight: 600;
  color: #1d2129;
  margin-bottom: 10px;
  line-height: 1;
}

.orders-screen-header__checks {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.orders-screen-header__check-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.orders-screen-header__check-item--ok {
  color: #2faf7d;
}

.orders-screen-header__check-item--muted {
  color: #9ea5b0;
}

.orders-screen-header__check-item img {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 12px;
}

.orders-screen-header__right {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #414a57;
  white-space: nowrap;
}

.orders-screen-header__toggle {
  width: 44px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #c8ced8;
  cursor: pointer;
  position: relative;
  transition: background-color .2s ease, border-color .2s ease;
}

.orders-screen-header__toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(18, 24, 32, .25);
  transition: transform .2s ease;
}

.orders-screen-header__toggle.is-active {
  background: #f5a524;
}

.orders-screen-header__toggle.is-active::after {
  transform: translateX(18.4px);
}

.orders-screen-header__toggle:focus-visible {
  outline: none;
  border-color: #f7a600;
}

.orders-screen-header__muted {
  color: #f5a524;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  padding-left: 10px;
}

.orders-screen-header__muted::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #cfd5de;
}

.orders-screen {
  display: flex;
  min-height: calc(100vh - 68px);
}

.orders-screen__sidebar {
  width: 250px;
  background: #fff;
  border-right: 1px solid #e9edf2;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.orders-screen__top-icon-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  cursor: pointer;
}


.orders-screen__menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  color: #353c48;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  position: relative;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, transform .16s ease, box-shadow .18s ease, color .18s ease;
}

.orders-screen__menu-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.orders-screen__menu-main img {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
}

.orders-screen__menu-item:hover {
  background: #f7f9fc;
  border-color: #e8edf5;
  box-shadow: none;
  transform: none;
}

.orders-screen__menu-item--active {
  background: #f1f3f6;
  border-color: #e6eaf0;
  color: #1e232d;
  padding-left: 16px;
}

.orders-screen__menu-item--active:hover {
  background: #f1f3f6;
  border-color: #e6eaf0;
  box-shadow: none;
  transform: none;
}

.orders-screen__menu-item--active::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: #f5a524;
}

.orders-screen__menu-badge {
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f04444;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 0 4px;
}

.orders-screen__menu-item--active .orders-screen__menu-badge {
  display: none !important;
}

.orders-screen__content {
  flex: 1;
  padding: 22px;
  padding-top: 25px;
}

.orders-screen__topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.orders-screen__burger-btn {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  background: transparent;
  color: #2f3947;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.orders-screen__burger-btn img {
  display: block;
  width: 18px;
  height: 12px;
}

.orders-screen__sidebar-close {
  display: none;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.orders-screen__sidebar-close img {
  display: block;
  width: 14px;
  height: 14px;
}

.orders-screen__sidebar-backdrop {
  display: none;
}

.orders-screen__page-title {
  margin: 0;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  color: #242a33;
}

.orders-screen__topbar-chips {
  display: flex;
  gap: 10px;
}

.orders-screen__chip {
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.orders-screen__chip--green {
  color: #32b78b;
  background: #e6f8ee;
  font-size: 15px;
}

.orders-screen__chip--beige {
  color: #484030;
  font-weight: 500;
  background: #f2ecde;
  font-size: 12px;
}

.orders-screen__chip img {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.orders-screen__add-btn {
  margin-left: auto;
  border: 1px solid #dfe4eb;
  background: transparent;
  color: #252b35;
  border-radius: 999px;
  padding: 6px 16px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.orders-screen__add-btn::before {
  content: '';
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.25c.414 0 .75.336.75.75v3.25H10c.414 0 .75.336.75.75s-.336.75-.75.75H6.75V10c0 .414-.336.75-.75.75s-.75-.336-.75-.75V6.75H2c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h3.25V2c0-.414.336-.75.75-.75z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.25c.414 0 .75.336.75.75v3.25H10c.414 0 .75.336.75.75s-.336.75-.75.75H6.75V10c0 .414-.336.75-.75.75s-.75-.336-.75-.75V6.75H2c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h3.25V2c0-.414.336-.75.75-.75z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.orders-screen__card {
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 16px;
  padding: 18px 20px 14px;
}

.orders-screen__tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid #eff2f7;
}

.orders-screen__tab {
  border: 0;
  background: none;
  padding: 10px 0;
  color: #8a93a1;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}

.orders-screen__tab--active {
  color: #111;
  border-bottom: 2px solid #f7a600;
}

.orders-screen__tab:hover {
  color: #2f3947;
}

.orders-screen__table-wrap {
  padding-top: 16px;
  
}

.orders-screen__table-head,
.orders-screen__row {
  display: grid;
  grid-template-columns: 1.35fr 1.6fr 1.3fr .8fr .65fr 1.1fr .8fr .9fr;
  gap: 12px;
  align-items: center;
}

.orders-screen__table-head {
  font-size: 12px;
  color: #98a1ad;
  padding: 0 0 5px;
}

.orders-screen__table-head span:first-child {
  padding-left: 10px;
}

.orders-screen__table-head span:last-child {
  text-align: right;
  padding-right: 8px;
}

.orders-screen__table-head span:nth-child(7) {
  padding-left: 10px;
}

.orders-screen__row > span:nth-child(7) {
  padding-left: 22px;
}

.orders-screen__row {
  font-size: 14px;
  color: #222b38;
  padding: 22px 16px;
  margin-top: 10px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fff;
  transition: background-color .16s ease;
}

.orders-screen__row:hover {
  background: #fafbfd;
}

.orders-screen__table-fade {
  animation: ordersFadeIn .18s ease;
}

.orders-screen__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.orders-screen__id {
  font-size: 14px;
  margin-left: -8px;
  letter-spacing: .2px;
}

.orders-screen__id-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 0;
}

.orders-screen__id-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
}

.orders-screen__copy-id {
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  color: #8f97a5;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.orders-screen__copy-id svg {
  width: 16px;
  height: 16px;
}

.orders-screen__copy-id:hover {
  background: #f3f6fa;
  color: #5f6775;
}

.orders-screen__copy-id.is-copied {
  color: #2fb986;
}

.orders-screen__type-side {
  color: #ef6d63;
  font-weight: 600;
}

.orders-screen__subline {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #8d97a5;
}

.orders-screen__subline--dark {
  color: #111;
}

.orders-screen__pay-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f5f6f8;
  color: #343b46;
}

.orders-screen__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  width: 100%;
}

.orders-screen__icon-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  color: #e1aa35;
  background: transparent;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.orders-screen__icon-btn img {
  display: block;
  width: 20px;
  height: 20px;
}

.orders-screen__empty {
  display: none;
  margin-bottom: 20px;
  margin-top: 50px;
  font-size: 15px;
  color: #8f97a3;
  text-align: center;
}

.orders-screen__pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 30px;
}

.orders-screen__page-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #eceff4;
  border-radius: 4px;
  background: #f7f8fb;
  color: #8f97a5;
  cursor: pointer;
}

.orders-screen__page-btn--active {
  background: #f5a524;
  border-color: #f5a524;
  color: #111;
}


@media (max-width: 1600px) {
  .orders-screen-header {
    padding: 0 14px;
    gap: 10px;
  }

  .orders-screen-header__left {
    min-width: 0;
  }

  .orders-screen-header__name {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .orders-screen-header__checks {
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .orders-screen-header__right {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 12px;
    gap: 7px;
    white-space: nowrap;
  }

  .orders-screen-header__muted {
    font-size: 12px;
  }

  .orders-screen__sidebar {
    width: 246px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .orders-screen__menu-item {
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .orders-screen__menu-main {
    gap: 8px;
  }

  .orders-screen__menu-item--active .orders-screen__menu-main {
    margin-left: 3px;
  }

  .orders-screen__content {
    padding: 18px;
    padding-top: 20px;
  }

  .orders-screen__card {
    padding: 16px 16px 12px;
  }

  .orders-screen__table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .orders-screen__table-head,
  .orders-screen__row {
    min-width: 1060px;
    grid-template-columns: 1.2fr 1.45fr 1.25fr .82fr .68fr 1fr .88fr .82fr;
    gap: 10px;
  }

  .orders-screen__tab {
    font-size: 14px;
  }
}

@media (max-width: 1550px) {
  .orders-screen__sidebar {
    width: 236px;
  }

  .orders-screen__content {
    padding: 16px;
    padding-top: 18px;
  }

  .orders-screen__topbar {
    gap: 10px;
    margin-bottom: 12px;
  }

  .orders-screen__page-title {
    font-size: 24px;
  }

  .orders-screen__topbar-chips {
    gap: 8px;
  }

  .orders-screen__chip {
    padding: 7px 9px;
    font-size: 13px;
  }

  .orders-screen__tab {
    font-size: 13px;
    padding: 9px 0;
  }

  .orders-screen__table-wrap {
    padding-top: 12px;
  }

  .orders-screen__table-head {
    font-size: 11px;
    padding: 0 14px 5px;
  }

  .orders-screen__row {
    font-size: 13px;
    padding: 18px 14px;
  }

  .orders-screen__id {
    margin-left: 0;
  }

  .orders-screen__table-head,
  .orders-screen__row {
    min-width: 1010px;
    gap: 9px;
  }

  .orders-screen__pay-tag {
    padding: 3px 7px;
    font-size: 12px;
  }

  .orders-screen__actions {
    gap: 4px;
  }
}

@media (max-width: 1540px) {
  .orders-screen__sidebar {
    width: 228px;
  }

  .orders-screen__topbar {
    flex-wrap: wrap;
    row-gap: 8px;
  }
}

@media (max-width: 1500px) {
  .orders-screen__table-wrap {
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .orders-screen__table-head,
  .orders-screen__row {
    min-width: 0;
    grid-template-columns: 1.15fr 1.45fr 1.35fr .7fr .55fr .9fr .75fr .65fr;
    gap: 10px;
  }

  .orders-screen__table-head {
    padding: 0 14px 5px;
    font-size: 11px;
  }

  .orders-screen__row {
    padding: 18px 14px;
    font-size: 13px;
  }

  .orders-screen__table-head span,
  .orders-screen__row > span {
    min-width: 0;
    white-space: normal;
  }

  .orders-screen__table-head span:nth-child(7),
  .orders-screen__row > span:nth-child(7) {
    text-align: center;
  }

  .orders-screen__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 1376px) {
  .orders-screen__row {
    margin-top: 5px;
  }
}

@media (max-width: 1360px) {
  .orders-screen__row {
    gap: 13px;
  }
}

@media (max-width: 1300px) {
  .orders-screen__table-head {
    display: none;
  }

  .orders-screen__subline {
    margin-top: 0;
  }

  .orders-screen__row > span:nth-child(7) {
    padding: 0;
  }

  .orders-screen__table-wrap {
    overflow: visible;
    width: 100%;
  }

  .orders-screen__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 16px;
    margin-top: 8px;
    padding: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .orders-screen__row > span {
    min-width: 0;
    justify-self: stretch;
    text-align: left;
  }

  .orders-screen__row > span:not(.orders-screen__actions) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    white-space: normal;
  }

  .orders-screen__subline {
    margin-top: -4px;
  }

  .orders-screen__row > span::before {
    font-size: 11px;
    line-height: 1.2;
    color: #98a1ad;
    font-weight: 600;
    text-align: left;
  }

  .orders-screen__id-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .orders-screen__id-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
  }

  .orders-screen__mono.orders-screen__id,
  .orders-screen__id-wrap .orders-screen__id {
    white-space: nowrap;
  }

  .orders-screen__row > span:nth-child(1)::before { content: "Тип"; }
  .orders-screen__row > span:nth-child(2)::before { content: "ID"; }
  .orders-screen__row > span:nth-child(3)::before { content: "Общее количество / Лимиты"; }
  .orders-screen__row > span:nth-child(4)::before { content: "Цена"; }
  .orders-screen__row > span:nth-child(5)::before { content: "Комиссия"; }
  .orders-screen__row > span:nth-child(6)::before { content: "Способ оплаты"; }
  .orders-screen__row > span:nth-child(7)::before { content: "Статус"; }

  .orders-screen__row > span:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .orders-screen__row > span:first-child::before {
    display: block;
    margin-bottom: 0;
  }

  .orders-screen__row > span:first-child .orders-screen__type {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
  }

  .orders-screen__row > span:first-child .orders-screen__type-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .orders-screen__row > span:first-child .orders-screen__subline {
    flex-basis: 100%;
  }

  .orders-screen__row > span:first-child .orders-screen__type-side {
    margin-right: 4px;
  }

  .orders-screen__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    gap: 8px;
  }

  .orders-screen__actions::before {
    content: "Действие";
    flex-basis: 100%;
    font-size: 11px;
    line-height: 1.2;
    color: #98a1ad;
    font-weight: 600;
    text-align: left;
  }
}

@media (max-width: 1120px) {
  .orders-screen__content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .orders-screen__card {
    padding-left: 10px;
    padding-right: 10px;
  }

  .orders-screen__row {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 990px) {
  .orders-screen-header__toggle {
    height: 18px;
  }

  .orders-screen-header__toggle::after {
    top: 2px !important;
  }
  
  .orders-screen__page-title {
    font-size: 23px;
  }

  .orders-screen-header {
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .orders-screen-header__left {
    flex: 1 1 420px;
  }

  .orders-screen-header__right {
    margin-left: 0;
    flex: 1 1 320px;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 6px;
    white-space: normal;
  }

  .orders-screen-header__muted {
    padding-left: 0;
  }

  .orders-screen-header__muted::before {
    display: none;
  }

  .orders-screen__topbar-chips {
    gap: 6px;
  }

  .orders-screen__chip {
    padding: 6px 8px;
    font-size: 12px;
  }

  .orders-screen__chip--green {
    font-size: 12px;
  }

  .orders-screen__chip--beige {
    font-size: 11px;
  }

  .orders-screen__add-btn {
    min-height: 30px;
    padding: 5px 12px;
    font-size: 11px;
  }
}

@media (max-width: 780px) {
  .orders-screen-header {
    padding-left: 12px;
    padding-right: 12px;
    row-gap: 6px;
  }

  .orders-screen-header__left {
    flex-basis: 100%;
  }

  .orders-screen-header__checks {
    white-space: normal;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .orders-screen-header__right {
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 8px 10px;
  }

  .orders-screen-header__right > span:first-child {
    flex-basis: 100%;
  }
}

@media (max-width: 1100px) {
  .orders-screen-header__toggle {
    width: 38px;
    height: 20px;
  }

  .orders-screen-header__toggle::after {
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
  }

  .orders-screen-header__toggle.is-active::after {
    transform: translateX(17px);
  }
}

@media (max-width: 1035px) {
  .orders-screen__topbar {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .orders-screen__card {
    padding-right: 12px;
    padding-left: 12px;
  }

  .orders-screen__add-btn {
    margin-left: 0;
    flex-basis: 100%;
    justify-content: center;
  }

  .orders-screen__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
  }
}

@media (max-width: 925px) {
  .orders-screen__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .orders-screen__row > span:nth-child(4) {
    margin-top: -21px;
  }

  .orders-screen__row > span:nth-child(2) {
    margin-top: -21px;
  }

}

@media (max-width: 675px) {
  .orders-screen__pagination {
    gap: 6px;
    margin-top: 15px;
    
  }

  .orders-screen__page-btn {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

@media (max-width: 670px) {
  .orders-screen-header__avatar {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .orders-screen__page-title {
    font-size: 20px;
  }

  .orders-screen-header__name {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .orders-screen__topbar-chips {
    gap: 5px;
  }

  .orders-screen__chip {
    padding: 4px 6px;
    font-size: 11px;
    gap: 4px;
  }

  .orders-screen__chip img {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }

  .orders-screen__chip--green,
  .orders-screen__chip--beige {
    font-size: 11px;
  }

  .orders-screen__row {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .orders-screen__row > span:nth-child(4) {
    margin-top: 0;
  }
  .orders-screen__row > span:nth-child(6) {
    margin-top: 0;
  }
  .orders-screen__row > span:nth-child(2) {
    margin-top: 0;
  }

}

@media (max-width: 620px) {
  .orders-page--sidebar-open {
    overflow: hidden;
  }

  .orders-screen__burger-btn {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .orders-screen__sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(18, 24, 32, .38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 299;
    border: 0;
    padding: 0;
  }

  .orders-screen__sidebar-backdrop.is-sidebar-open {
    opacity: 1;
    pointer-events: auto;
  }

  .orders-screen__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(290px, 86vw);
    z-index: 300;
    border-right: 1px solid #e9edf2;
    box-shadow: 6px 0 24px rgba(17, 23, 31, .16);
    transform: translateX(-102%);
    transition: transform .22s ease;
    overflow-y: auto;
  }

  .orders-screen__sidebar-close {
    display: inline-flex;
  }

  .orders-screen__sidebar.is-sidebar-open {
    transform: translateX(0);
  }
}

@media (max-width: 450px) {
  .orders-screen-header__avatar {
    width: 30px;
    height: 30px;
    font-size: 14px;
    flex: 0 0 30px;
    flex-shrink: 0;
  }

  .orders-screen-header__checks {
    row-gap: 5px;
  }

  .orders-screen-header__checks {
    font-weight: 500;
  }

}

@keyframes ordersFadeIn {
  from {
    opacity: .42;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}