.support-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background: #ffffff;
}

.support-shell {
  width: min(840px, 100%);
  max-height: calc(100dvh - 36px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.support-top,
.support-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link::before {
  content: "< ";
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  min-width: 44px;
  min-height: 32px;
  padding: 5px 9px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 6px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-btn.is-active {
  color: #fff;
  background: #111;
}

.support-main {
  min-height: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
}

.support-copy {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 8px;
  color: #145c3d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-copy h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.support-copy p:not(.eyebrow) {
  max-width: 360px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.method-switcher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 18px;
}

.method-tab {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.method-tab.is-active {
  color: #fff;
  background: #111;
}

.support-display {
  min-height: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fbfbfb;
}

.method-panel {
  display: none;
  height: 100%;
  min-height: 400px;
  padding: 16px;
}

.method-panel.is-active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 12px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-head span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #111;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.panel-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.1;
}

.qr-box {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
}

.qr-box img {
  display: block;
  width: min(100%, 260px);
  max-height: 270px;
  object-fit: contain;
}

.account-row {
  display: grid;
  gap: 2px;
}

.account-row span,
.bank-box span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-row strong {
  font-size: 1rem;
}

.plain-link,
.copy-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: #fff;
  background: #111;
  border: 2px solid #111;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.bank-box {
  align-self: center;
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
}

.bank-box strong {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.bank-box small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.copy-feedback {
  min-height: 1.2em;
  color: #145c3d;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.support-foot {
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .support-page {
    padding: 12px;
  }

  .support-shell {
    max-height: calc(100dvh - 24px);
    gap: 10px;
    padding: 14px;
  }

  .support-main {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lang-btn {
    min-width: 40px;
    min-height: 30px;
    padding: 4px 7px;
    font-size: 0.72rem;
  }

  .support-copy h1 {
    font-size: clamp(1.85rem, 11vw, 2.8rem);
  }

  .support-copy p:not(.eyebrow) {
    max-width: none;
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .method-switcher {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 12px;
  }

  .method-tab {
    min-height: 36px;
    padding: 7px 4px;
    font-size: 0.82rem;
    text-align: center;
  }

  .method-panel {
    min-height: 340px;
    padding: 12px;
  }

  .qr-box img {
    width: min(100%, 205px);
    max-height: 210px;
  }

  .support-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    font-size: 0.72rem;
  }
}

@media (max-height: 660px) {
  .support-shell {
    gap: 8px;
    padding: 12px;
  }

  .support-copy p:not(.eyebrow) {
    display: none;
  }

  .method-panel {
    min-height: 300px;
  }

  .qr-box img {
    max-height: 185px;
  }

  .support-foot {
    display: none;
  }
}
