:root {
  --app-height: 100vh;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --bg-0: #060f1d;
  --bg-1: #0b1f3a;
  --panel-bg: rgba(6, 20, 40, 0.85);
  --panel-line: rgba(92, 148, 214, 0.45);
  --text-main: #e7f1ff;
  --text-muted: #9fb9d8;
  --accent: #6ec5ff;
  --accent-2: #88ff89;
  --warn: #ffb957;
  --card-bg: rgba(26, 43, 72, 0.68);
  --card-border: rgba(104, 153, 212, 0.4);
  --btn-sbp: #3c8ac2;
  --btn-card: #51657d;
  --error: #ff95a7;
  --tg-bg-color: transparent;
  --tg-text-color: #e7f1ff;
  --tg-hint-color: #9fb9d8;
  --tg-button-color: #4f8fcc;
  --tg-button-text-color: #f2f8ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: "Times New Roman", Times, serif;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

body.tg-miniapp {
  color: var(--tg-text-color);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-1) 85%, var(--tg-bg-color) 15%), color-mix(in srgb, var(--bg-0) 85%, var(--tg-bg-color) 15%));
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-steam {
  background-image:
    linear-gradient(180deg, rgba(4, 11, 23, 0.62), rgba(3, 8, 18, 0.68)),
    radial-gradient(85% 75% at 20% 8%, rgba(78, 141, 214, 0.14), transparent 72%),
    radial-gradient(60% 62% at 86% 14%, rgba(44, 106, 183, 0.12), transparent 74%),
    url("/static/assets/bg/138601-videoigra-steam-kompyuternaya_igra-krug-liniya-1920x1080.jpg");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  filter: saturate(1.08) contrast(1.12);
  opacity: 0.97;
}

.bg-haze {
  background:
    radial-gradient(58% 44% at 12% 12%, rgba(176, 205, 248, 0.22), transparent 70%),
    radial-gradient(46% 38% at 88% 18%, rgba(130, 170, 229, 0.2), transparent 72%),
    radial-gradient(54% 44% at 50% 86%, rgba(172, 199, 235, 0.18), transparent 74%),
    radial-gradient(42% 32% at 48% 28%, rgba(162, 196, 240, 0.14), transparent 76%);
  filter: blur(30px);
  opacity: 0.38;
}

.bg-stars {
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.34), transparent 70%),
    radial-gradient(1px 1px at 45% 77%, rgba(150, 205, 255, 0.35), transparent 70%),
    radial-gradient(1px 1px at 78% 15%, rgba(255, 255, 255, 0.29), transparent 70%),
    radial-gradient(1px 1px at 88% 44%, rgba(150, 205, 255, 0.24), transparent 70%);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(35, 78, 130, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 78, 130, 0.2) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.1;
}

.bg-glow {
  background:
    radial-gradient(85% 60% at 15% 8%, rgba(88, 150, 255, 0.26), transparent 72%),
    radial-gradient(60% 60% at 92% 22%, rgba(34, 116, 208, 0.24), transparent 70%),
    radial-gradient(64% 70% at 72% 95%, rgba(14, 62, 122, 0.35), transparent 72%);
  opacity: 0.7;
}

.page {
  position: relative;
  min-height: var(--app-height);
  padding:
    max(20px, calc(14px + var(--safe-top)))
    max(12px, calc(10px + var(--safe-right)))
    max(20px, calc(14px + var(--safe-bottom)))
    max(12px, calc(10px + var(--safe-left)));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.topup-panel {
  width: min(960px, 100%);
  border: 1px solid rgba(111, 170, 236, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(5, 18, 36, 0.36), rgba(4, 13, 28, 0.3)),
    rgba(4, 15, 30, 0.24);
  box-shadow:
    0 16px 56px rgba(1, 8, 20, 0.44),
    inset 0 1px 0 rgba(170, 214, 255, 0.14);
  backdrop-filter: blur(14px) saturate(118%);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  padding: 16px;
}

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

.brand-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(114, 175, 240, 0.45);
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(31, 97, 164, 0.2);
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-kicker {
  margin: 0 0 5px;
  color: #9fc8f5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(24px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #ecf6ff;
  text-shadow: 0 0 24px rgba(108, 179, 255, 0.3);
}

.brand-subtitle {
  margin: 6px 0 0;
  color: #b4d0ef;
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 600;
}

.lead {
  margin: 8px 0 0;
  color: var(--warn);
  font-size: clamp(14px, 1.5vw, 22px);
  line-height: 1.34;
}

.guide-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
}

.topup-form {
  margin-top: 10px;
}

.inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.login-input-wrapper {
  position: relative;
}

.find-out-link {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #7dc8ff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 1;
}

.find-out-link:hover {
  color: #9bd8ff;
  text-decoration: underline;
}

.field-title {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(109, 162, 224, 0.62);
  background: rgba(4, 16, 32, 0.56);
  background-color: rgba(4, 16, 32, 0.56) !important;
  color: #f1f7ff;
  font-size: clamp(18px, 1.9vw, 28px);
  font-weight: 600;
  padding: 0 18px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

#rub-amount::-webkit-outer-spin-button,
#rub-amount::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#steam-login {
  padding-right: 96px;
}

#rub-amount[type="number"] {
  -moz-appearance: textfield;
}

input::placeholder {
  color: #7f9cc0;
}

input:focus {
  border-color: #7bc4ff;
  box-shadow: 0 0 0 3px rgba(64, 162, 246, 0.24);
}

input.field-error,
input.field-error:focus {
  border-color: rgba(255, 129, 145, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 120, 138, 0.22);
}

input[type="text"]:-webkit-autofill,
input[type="email"]:-webkit-autofill,
input[type="number"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="email"]:-webkit-autofill:hover,
input[type="number"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus,
input[type="email"]:-webkit-autofill:focus,
input[type="number"]:-webkit-autofill:focus {
  -webkit-text-fill-color: #f1f7ff !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(4, 16, 32, 0.56) inset !important;
  box-shadow: 0 0 0 1000px rgba(4, 16, 32, 0.56) inset !important;
  border: 1px solid rgba(109, 162, 224, 0.62) !important;
  background-color: transparent !important;
  caret-color: #f1f7ff;
  transition: background-color 9999s ease-in-out 0s;
}

input[type="text"]:-moz-autofill,
input[type="email"]:-moz-autofill,
input[type="number"]:-moz-autofill {
  box-shadow: 0 0 0 1000px rgba(4, 16, 32, 0.56) inset !important;
  -moz-text-fill-color: #f1f7ff !important;
  border: 1px solid rgba(109, 162, 224, 0.62) !important;
}

input[type="text"]:-internal-autofill-selected,
input[type="email"]:-internal-autofill-selected,
input[type="number"]:-internal-autofill-selected {
  background-color: rgba(4, 16, 32, 0.56) !important;
  color: #f1f7ff !important;
  -webkit-text-fill-color: #f1f7ff !important;
}

.limits-hint {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 16px;
}

.limits-hint.error {
  color: var(--error);
}

.credit-title {
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(94deg, rgba(44, 100, 35, 0.58), rgba(32, 89, 27, 0.46));
  color: var(--accent-2);
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 800;
  letter-spacing: 0.005em;
}

.rates-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rate-card {
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(26, 43, 72, 0.5);
  padding: 10px 14px 11px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rate-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d4e6ff;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

.flag-icon {
  width: 34px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(173, 212, 248, 0.35);
  object-fit: cover;
  flex-shrink: 0;
}

.region-code-main {
  color: #e6f2ff;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}

.region-name {
  color: #c9ddf4;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  font-weight: 700;
}

.rate-value {
  margin-top: 4px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(22px, 2.3vw, 33px);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.actions-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.action-btn {
  border: 0;
  border-radius: 12px;
  min-height: 56px;
  color: #e8f3ff;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.action-btn-sbp {
  background: linear-gradient(130deg, rgba(61, 143, 197, 0.72), rgba(78, 125, 175, 0.68));
}

.action-btn-card {
  background: linear-gradient(130deg, rgba(92, 107, 128, 0.72), rgba(79, 95, 117, 0.68));
}

.action-btn.active {
  box-shadow: 0 0 0 3px rgba(123, 196, 255, 0.25);
}

.action-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.status-message {
  margin-top: 10px;
  min-height: 24px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 14px;
}

.status-message.ok {
  background: rgba(27, 82, 49, 0.4);
  border-color: rgba(98, 205, 148, 0.42);
  color: #9ef5ca;
}

.status-message.error {
  background: rgba(109, 38, 53, 0.42);
  border-color: rgba(255, 137, 152, 0.4);
  color: #ffc0ca;
}

.faq-section {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid rgba(98, 149, 209, 0.32);
  background:
    linear-gradient(180deg, rgba(12, 29, 52, 0.65), rgba(8, 21, 39, 0.7)),
    radial-gradient(120% 140% at 80% 0%, rgba(78, 132, 202, 0.2), transparent 60%);
  padding: 12px;
}

.faq-section-toggle {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(109, 156, 212, 0.28);
  border-radius: 10px;
  background: rgba(62, 79, 106, 0.54);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #d8ebff;
  cursor: pointer;
  padding: 10px 14px;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

.faq-section-toggle:focus-visible {
  outline: 2px solid rgba(123, 196, 255, 0.72);
  outline-offset: 2px;
}

.faq-section-arrow {
  color: #cde4ff;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.faq-section.open .faq-section-arrow {
  transform: rotate(90deg);
}

.faq-title {
  display: block;
  margin: 0;
  color: #d8ebff;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, margin-top 0.25s ease;
  margin-top: 0;
}

.faq-section.open .faq-body {
  max-height: 2400px;
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  border-radius: 10px;
  border: 1px solid rgba(109, 156, 212, 0.28);
  background: rgba(62, 79, 106, 0.54);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: #e8f3ff;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
}

.faq-arrow {
  color: #cde4ff;
  font-size: 14px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 14px;
  color: #bdd4ee;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.42;
}

.faq-item.active .faq-answer {
  max-height: 2200px;
  padding: 0 14px 12px;
}

.faq-image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  border-radius: 9px;
  border: 1px solid rgba(112, 160, 216, 0.34);
}

.legal-zone {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.legal-card {
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(14, 30, 53, 0.72);
  padding: 12px;
}

.legal-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #dff0ff;
}

.legal-lines p {
  margin: 0 0 5px;
  color: #bfd6f0;
  font-size: 14px;
  line-height: 1.3;
}

.legal-lines .legal-section-title {
  margin-top: 2px;
  color: #d8e9fb;
  font-weight: 800;
}

.legal-contact-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
}

.contact-icon {
  width: 16px;
  height: 16px;
  opacity: 0.96;
  flex-shrink: 0;
}

.contact-label {
  color: #b8d2f0;
  font-size: 14px;
  font-weight: 700;
}

.contact-link {
  color: #7fd0ff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.contact-link:hover {
  color: #9fdcff;
}

.legal-hint {
  margin: 0 0 8px;
  color: #a7c0dd;
  font-size: 13px;
}

.doc-links {
  display: grid;
  gap: 8px;
}

.doc-link {
  width: fit-content;
  border: 0;
  background: none;
  color: #78cbff;
  text-decoration: underline;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.doc-link:hover {
  color: #95d8ff;
}

.bottom-legal {
  margin-top: 12px;
  color: #a9bed9;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.bottom-legal p {
  margin: 0;
}

.bottom-legal p + p {
  margin-top: 4px;
}

.bottom-legal-link {
  color: #d7e9ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bottom-legal-link:hover {
  color: #edf6ff;
}

.bottom-requisites {
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(140, 181, 226, 0.2);
}

.bottom-requisites .legal-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.bottom-requisites .legal-lines > * {
  margin: 0;
  color: #8ea9c9;
  font-size: 11px;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
}

.bottom-requisites .legal-lines > *:not(:last-child)::after {
  content: " • ";
  color: #6f89a8;
  margin: 0 6px;
}

.bottom-requisites .legal-lines .legal-section-title {
  color: #a5c1df;
  font-weight: 700;
}

.bottom-requisites .legal-contact-row {
  justify-content: flex-start;
  gap: 5px;
  margin: 0;
}

.bottom-requisites .contact-icon {
  display: none;
}

.bottom-requisites .contact-label,
.bottom-requisites .contact-link {
  font-size: 11px;
}

.bottom-requisites .contact-link {
  color: #95ceff;
}

.payment-logos {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.payment-logo {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.95;
  filter: drop-shadow(0 4px 8px rgba(1, 10, 22, 0.35));
}

.doc-modal[hidden] {
  display: none;
}

.doc-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.doc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 20, 0.72);
  backdrop-filter: blur(3px);
}

.doc-modal-dialog {
  position: relative;
  width: min(760px, calc(100% - 26px));
  max-height: calc(var(--app-height) - 34px);
  margin: 16px auto;
  border-radius: 14px;
  border: 1px solid var(--panel-line);
  background: #0b1f39;
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.5);
  padding: 16px 16px 14px;
  overflow: hidden;
}

.doc-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #cfe7ff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

#doc-modal-title {
  margin: 0 34px 12px 0;
  color: #f0f8ff;
  font-size: 22px;
  font-weight: 800;
}

.doc-modal-content {
  max-height: calc(var(--app-height) - 112px);
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(103, 153, 213, 0.35);
  background: rgba(5, 16, 31, 0.75);
  padding: 12px;
  color: #c5dbf3;
  font-size: 14px;
  line-height: 1.52;
  white-space: pre-wrap;
}

@media (max-width: 980px) {
  .rates-grid,
  .inputs-row,
  .actions-row,
  .legal-zone {
    grid-template-columns: 1fr;
  }

  .topup-panel {
    padding: 18px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo-wrap {
    width: 62px;
    height: 62px;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"] {
    min-height: 56px;
    font-size: clamp(20px, 6vw, 30px);
  }
}

@media (min-width: 1280px) {
  .topup-panel {
    zoom: 0.75;
  }
}

@media (max-width: 720px) {
  .topup-panel {
    border-radius: 16px;
    padding: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo-wrap {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  h1 {
    font-size: clamp(24px, 9vw, 34px);
  }

  .brand-subtitle {
    font-size: 14px;
  }

  .lead {
    font-size: clamp(15px, 5vw, 22px);
    line-height: 1.32;
  }

  .guide-link {
    font-size: 16px;
  }

  .field-title {
    font-size: 15px;
  }

  .find-out-link {
    right: 12px;
    font-size: 16px;
  }

  input[type="text"],
  input[type="email"],
  input[type="number"] {
    min-height: 48px;
    border-radius: 12px;
    font-size: clamp(18px, 7vw, 24px);
    padding: 0 13px;
  }

  .credit-title {
    margin-top: 16px;
    padding: 12px;
    font-size: clamp(16px, 5.3vw, 22px);
  }

  .rate-card {
    min-height: 90px;
    padding: 10px 12px 12px;
  }

  .rate-label {
    gap: 7px;
    font-size: 14px;
  }

  .flag-icon {
    width: 30px;
    height: 22px;
  }

  .region-code-main {
    font-size: 15px;
  }

  .region-name {
    font-size: 15px;
  }

  .rate-value {
    margin-top: 5px;
    font-size: clamp(24px, 8vw, 32px);
  }

  .action-btn {
    min-height: 54px;
    border-radius: 10px;
    font-size: clamp(15px, 5.4vw, 20px);
  }

  .faq-title {
    font-size: 15px;
  }

  .faq-question {
    font-size: 14px;
    padding: 10px 11px;
  }

  .faq-answer {
    font-size: 14px;
    line-height: 1.4;
  }

  .faq-image {
    margin-top: 8px;
  }

  .doc-modal-dialog {
    width: calc(100% - 14px);
    margin: 7px auto;
    padding: 12px 10px 10px;
    border-radius: 12px;
  }

  #doc-modal-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .doc-modal-content {
    max-height: calc(var(--app-height) - 92px);
    font-size: 13px;
    padding: 10px;
  }

  .legal-card h2 {
    font-size: 17px;
  }

  .legal-lines p,
  .contact-label,
  .contact-link {
    font-size: 13px;
  }

  .contact-icon {
    width: 14px;
    height: 14px;
  }

  .legal-hint {
    font-size: 12px;
  }

  .doc-link {
    font-size: 14px;
  }

  .bottom-legal {
    font-size: 11px;
    text-align: left;
  }

  .bottom-requisites .legal-lines p,
  .bottom-requisites .legal-lines > *,
  .bottom-requisites .contact-label,
  .bottom-requisites .contact-link {
    font-size: 10px;
  }

  .bottom-requisites .legal-lines {
    justify-content: flex-start;
  }

  .bottom-requisites .legal-contact-row {
    justify-content: flex-start;
  }

  .payment-logos {
    gap: 10px;
    margin-top: 4px;
  }

  .payment-logo {
    height: 22px;
  }
}
