/* دا فایل د مرستې پاڼې بڼه ټاکي، لکه رنګ، لیک، واټن او د تڼیو بڼه. */
/* Dit bestand bepaalt de vormgeving van de Support-pagina, zoals kleur, letters, afstand en knoppen. */

body.support-page {
  --green: #1b4d3e;
  --green-mid: #2f6b56;
  --green-soft: #e8f2ee;
  --gold: #8a6a12;
  --gold-soft: rgba(201, 162, 39, 0.16);
  --bg: #f4f6f5;
  --card: #ffffff;
  --text: #1a2e28;
  --muted: #5c6d66;
  --border: #e2e8e5;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(27, 77, 62, 0.07);
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", "Vazirmatn", sans-serif;
  overflow-x: clip;
}

html[lang="ps"] body.support-page,
html[lang="da"] body.support-page,
html[lang="ar"] body.support-page,
html[lang="ur"] body.support-page {
  font-family: "Sora", "Vazirmatn", sans-serif;
}

html[lang="ps"] body.support-page .support-wrap,
html[lang="ps"] body.support-page .support-wrap *:not(i):not(svg):not(path),
html[lang="da"] body.support-page .support-wrap,
html[lang="da"] body.support-page .support-wrap *:not(i):not(svg):not(path),
html[lang="ar"] body.support-page .support-wrap,
html[lang="ar"] body.support-page .support-wrap *:not(i):not(svg):not(path),
html[lang="ur"] body.support-page .support-wrap,
html[lang="ur"] body.support-page .support-wrap *:not(i):not(svg):not(path) {
  font-family: "Sora", "Vazirmatn", sans-serif !important;
}

/* Footer blijft Engels en wordt niet vertaald, dus altijd Sora. */
html[lang="ps"] body.support-page #hqFooter,
html[lang="ps"] body.support-page #hqFooter *:not(i):not(svg):not(path),
html[lang="da"] body.support-page #hqFooter,
html[lang="da"] body.support-page #hqFooter *:not(i):not(svg):not(path),
html[lang="ar"] body.support-page #hqFooter,
html[lang="ar"] body.support-page #hqFooter *:not(i):not(svg):not(path),
html[lang="ur"] body.support-page #hqFooter,
html[lang="ur"] body.support-page #hqFooter *:not(i):not(svg):not(path),
body.support-page[dir="rtl"] #hqFooter,
body.support-page[dir="rtl"] #hqFooter *:not(i):not(svg):not(path) {
  font-family: "Sora", sans-serif !important;
}

body.theme-dark.support-page {
  --green: #b7ddd0;
  --green-mid: #8fd0b4;
  --green-soft: rgba(45, 122, 125, 0.18);
  --gold: #e6c56a;
  --gold-soft: rgba(201, 162, 39, 0.16);
  --bg: #0f1714;
  --card: #16211c;
  --text: #e8f0ec;
  --muted: #a8bab3;
  --border: #24332c;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.theme-sepia.support-page {
  --green: #5b4632;
  --green-mid: #7b6550;
  --green-soft: rgba(91, 70, 50, 0.1);
  --bg: #f5ecd9;
  --card: #fffaf0;
  --text: #4b3a2a;
  --muted: #7b6550;
  --border: #dcc9ab;
}

.support-wrap {
  position: relative;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.support-back,
body.support-page .about-lang-btn {
  direction: ltr !important;
}

.support-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

body.theme-dark.support-page .support-back {
  color: #8fd0b4;
}

.support-back:hover {
  color: var(--green-mid);
}

body.support-page .about-lang-btn {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  color: #111827;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.support-hero,
.support-section,
.support-thanks {
  scroll-margin-top: 76px;
}

.support-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 40px 36px;
  border: 1px solid rgba(27, 77, 62, 0.1);
  border-radius: 28px;
  background: #f7faf8;
  text-align: center;
}

.support-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%231b4d3e' stroke-width='1'%3E%3Cpath d='M44 6 L54 28 L44 44 L34 28 Z'/%3E%3Cpath d='M44 44 L54 60 L44 82 L34 60 Z'/%3E%3Cpath d='M6 44 L28 34 L44 44 L28 54 Z'/%3E%3Cpath d='M44 44 L60 34 L82 44 L60 54 Z'/%3E%3Cpath d='M44 18 L50 28 L44 38 L38 28 Z'/%3E%3Ccircle cx='44' cy='44' r='3.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 88px 88px;
}

.support-hero > * {
  position: relative;
  z-index: 1;
}

body.theme-dark.support-page .support-hero {
  border-color: rgba(255, 255, 255, 0.08);
  background: #121c18;
}

body.theme-sepia.support-page .support-hero {
  border-color: #e4d5bb;
  background: #fbf6ec;
}

body.theme-dark.support-page .support-hero::before,
body.theme-sepia.support-page .support-hero::before {
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='1'%3E%3Cpath d='M44 6 L54 28 L44 44 L34 28 Z'/%3E%3Cpath d='M44 44 L54 60 L44 82 L34 60 Z'/%3E%3Cpath d='M6 44 L28 34 L44 44 L28 54 Z'/%3E%3Cpath d='M44 44 L60 34 L82 44 L60 54 Z'/%3E%3Cpath d='M44 18 L50 28 L44 38 L38 28 Z'/%3E%3Ccircle cx='44' cy='44' r='3.5'/%3E%3C/g%3E%3C/svg%3E");
}

.support-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(201, 162, 39, 0.18), 0 6px 16px rgba(27, 77, 62, 0.08);
}

.support-hero h1,
.support-section h2,
.support-thanks h2 {
  margin: 0;
  color: #1b4d3e;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.support-hero h1 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(2.35rem, 4.8vw, 3.45rem);
  line-height: 1.12;
}

.support-hero h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: #c9a227;
}

body.theme-dark.support-page .support-hero h1,
body.theme-dark.support-page .support-section h2,
body.theme-dark.support-page .support-thanks h2,
body.theme-dark.support-page .support-project h3,
body.theme-dark.support-page .support-uses h3 {
  color: #cfe8db;
}

.support-lead {
  max-width: 34rem;
  margin: 20px auto 0;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.55;
}

.support-intro,
.support-sub,
.support-prose p,
.support-project p,
.support-uses p,
.support-thanks p,
.support-pay-note {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.support-intro {
  max-width: 38rem;
  margin: 12px auto 0;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.support-btn,
.support-amount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.support-btn-primary {
  padding: 14px 28px;
  background: #1b4d3e;
  color: #fff;
}

.support-btn-primary:hover {
  background: #245c4a;
}

.support-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #1b4d3e;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.support-install:hover {
  background: #245c4a;
  color: #fff;
}

.support-btn-secondary {
  border-color: rgba(27, 77, 62, 0.22);
  background: transparent;
  color: #1b4d3e;
}

.support-btn-secondary:hover {
  border-color: #1b4d3e;
  background: rgba(255, 255, 255, 0.55);
}

body.theme-dark.support-page .support-btn-secondary {
  border-color: rgba(207, 232, 219, 0.28);
  color: #e7f4ee;
}

body.theme-dark.support-page .support-btn-primary,
body.theme-dark.support-page .support-install {
  background: #2f6b56;
}

body.theme-dark.support-page .support-btn-primary:hover {
  background: #3d7d66;
}

body.theme-dark.support-page .support-btn-secondary:hover {
  border-color: #e7f4ee;
  background: rgba(255, 255, 255, 0.04);
}

.support-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 34px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(27, 77, 62, 0.12);
  list-style: none;
}

.support-facts li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8em;
  padding: 0 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.support-facts li + li {
  border-inline-start: 1px solid rgba(27, 77, 62, 0.12);
}

body.theme-dark.support-page .support-facts,
body.theme-dark.support-page .support-facts li + li {
  border-color: rgba(255, 255, 255, 0.1);
}

.support-section {
  margin-top: 56px;
}

.support-section h2,
.support-thanks h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: #1b4d3e;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.support-section h2::before,
.support-thanks h2::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: #c9a227;
}

.support-sub {
  max-width: 40rem;
  margin: 12px 0 0;
}

.support-prose {
  max-width: 44rem;
  margin-top: 22px;
}

.support-prose p {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: 1.16rem;
  line-height: 1.85;
}

.support-prose p + p {
  margin-top: 1.15em;
}

.support-project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.support-project {
  min-width: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.support-project.is-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 22px;
  align-items: start;
  padding: 28px 28px 26px;
  background: rgba(27, 77, 62, 0.035);
}

.support-project:hover {
  border-color: rgba(27, 77, 62, 0.28);
  background: rgba(27, 77, 62, 0.04);
}

body.theme-dark.support-page .support-project.is-lead {
  background: rgba(255, 255, 255, 0.03);
}

body.theme-dark.support-page .support-project:hover {
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.support-mark,
.support-use i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--green-soft);
  color: #1b4d3e;
  font-size: 1rem;
}

.support-project.is-lead .support-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  font-size: 1.15rem;
}

body.theme-dark.support-page .support-mark,
body.theme-dark.support-page .support-use i {
  background: rgba(143, 208, 180, 0.12);
  color: #d7f3e8;
}

.support-project-body {
  min-width: 0;
}

.support-project-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.support-project-head h3 {
  margin: 0;
}

.support-project h3,
.support-uses h3 {
  margin: 0;
  color: #1b4d3e;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
}

.support-uses h3 {
  margin-top: 2px;
}

.support-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.support-status.is-available {
  background: #e7f3ec;
  color: #1b4d3e;
  border-color: rgba(27, 77, 62, 0.2);
}

.support-status.is-testing {
  background: #f8f1dc;
  color: #6d5310;
  border-color: rgba(138, 106, 18, 0.32);
}

.support-status.is-planned {
  background: rgba(27, 77, 62, 0.05);
  color: #3e524a;
  border-color: rgba(27, 77, 62, 0.18);
}

body.theme-dark.support-page .support-status.is-available {
  background: rgba(143, 208, 180, 0.16);
  color: #d7f3e8;
  border-color: rgba(143, 208, 180, 0.38);
}

body.theme-dark.support-page .support-status.is-testing {
  background: rgba(230, 197, 106, 0.16);
  color: #f3dc9a;
  border-color: rgba(230, 197, 106, 0.42);
}

body.theme-dark.support-page .support-status.is-planned {
  background: rgba(255, 255, 255, 0.05);
  color: #d5e3dc;
  border-color: rgba(255, 255, 255, 0.18);
}

body.theme-sepia.support-page .support-status.is-available {
  background: rgba(91, 70, 50, 0.1);
  color: #4e3b2a;
  border-color: rgba(91, 70, 50, 0.28);
}

body.theme-sepia.support-page .support-status.is-testing {
  background: rgba(138, 106, 18, 0.14);
  color: #6a5010;
  border-color: rgba(138, 106, 18, 0.36);
}

body.theme-sepia.support-page .support-status.is-planned {
  background: rgba(91, 70, 50, 0.06);
  color: #5c4634;
  border-color: rgba(91, 70, 50, 0.24);
}

.support-site {
  margin: 8px 0 0;
}

.support-site a {
  color: var(--green);
  font-weight: 700;
}

.support-project p,
.support-uses p {
  margin: 8px 0 0;
}

.support-note {
  margin-top: 6px;
  font-size: 0.92rem;
}

.support-uses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--border);
}

.support-use {
  min-width: 0;
  padding: 22px 20px 20px;
  background: #f6f8f7;
}

body.theme-dark.support-page .support-use {
  background: #13201b;
}

body.theme-sepia.support-page .support-use {
  background: #f8f1e4;
}

.support-use:hover {
  background: #eef3f0;
}

body.theme-dark.support-page .support-use:hover {
  background: #182820;
}

.support-notice,
.support-paypal,
.support-other,
.support-pay-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.support-notice {
  max-width: 44rem;
  margin-top: 16px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.support-pay {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 36px 40px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 24px;
  background: #1b4d3e;
  color: #f4faf7;
  text-align: center;
  box-shadow: none;
}

.support-pay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M44 6 L54 28 L44 44 L34 28 Z'/%3E%3Cpath d='M44 44 L54 60 L44 82 L34 60 Z'/%3E%3Cpath d='M6 44 L28 34 L44 44 L28 54 Z'/%3E%3Cpath d='M44 44 L60 34 L82 44 L60 54 Z'/%3E%3Ccircle cx='44' cy='44' r='3.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 88px 88px;
}

.support-pay > * {
  position: relative;
  z-index: 1;
}

.support-pay h2,
.support-thanks h2 {
  align-items: center;
  color: #fff;
}

.support-thanks h2 {
  color: #1b4d3e;
}

.support-pay .support-sub,
.support-pay .support-paypal,
.support-pay .support-other,
.support-pay .support-pay-note {
  color: rgba(244, 250, 247, 0.84);
}

.support-pay .support-sub {
  max-width: 36rem;
  margin-right: auto;
  margin-left: auto;
}

body.theme-sepia.support-page .support-pay {
  background: #5b4632;
  border-color: rgba(201, 162, 39, 0.4);
}

body.theme-dark.support-page .support-pay h2,
body.theme-dark.support-page .support-other strong {
  color: #fff;
}

body.theme-dark.support-page .support-pay .support-sub,
body.theme-dark.support-page .support-pay .support-paypal,
body.theme-dark.support-page .support-pay .support-other,
body.theme-dark.support-page .support-pay .support-pay-note {
  color: rgba(244, 250, 247, 0.86);
}

body.theme-sepia.support-page .support-hero h1,
body.theme-sepia.support-page .support-section h2,
body.theme-sepia.support-page .support-thanks h2,
body.theme-sepia.support-page .support-project h3,
body.theme-sepia.support-page .support-uses h3,
body.theme-sepia.support-page .support-btn-secondary {
  color: #5b4632;
}

body.theme-sepia.support-page .support-pay h2,
body.theme-sepia.support-page .support-amount {
  color: #fff;
}

body.theme-sepia.support-page .support-amount {
  color: #5b4632;
}

.support-pay a:focus-visible {
  outline-color: #e6c56a;
}

.support-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 460px;
  margin: 26px auto 0;
}

.support-amount {
  box-sizing: border-box;
  direction: ltr;
  min-height: 96px;
  padding: 16px 18px;
  background: #fff;
  color: #1b4d3e;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.support-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.support-paypal i {
  flex: 0 0 auto;
  color: #fff;
  font-family: "Font Awesome 6 Brands";
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.support-amount:hover {
  background: #fbf8f1;
  border-color: rgba(201, 162, 39, 0.85);
  color: #1b4d3e;
}

.support-other {
  max-width: 28rem;
  margin-right: auto;
  margin-left: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.support-other strong {
  display: inline-block;
  margin-top: 4px;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.support-pay-note {
  max-width: 38rem;
  margin-right: auto;
  margin-left: auto;
}

.support-thanks {
  margin-top: 56px;
  padding: 0 0 8px;
  background: none;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.support-thanks p {
  max-width: 36rem;
  margin: 14px auto 0;
}

body.support-page a:focus-visible,
body.support-page button:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}

html[dir="ltr"] body.support-page .support-wrap,
body.support-page:not(.page-lang-rtl):not([dir="rtl"]) .support-wrap {
  direction: ltr !important;
}

html[dir="rtl"] body.support-page .support-wrap,
body.support-page.page-lang-rtl .support-wrap,
body.support-page[dir="rtl"] .support-wrap {
  direction: rtl !important;
}

html[dir="rtl"] body.support-page .support-back,
body.support-page.page-lang-rtl .support-back,
body.support-page[dir="rtl"] .support-back {
  float: left !important;
}

html[dir="rtl"] body.support-page .support-hero,
body.support-page.page-lang-rtl .support-hero,
body.support-page[dir="rtl"] .support-hero {
  clear: both;
  text-align: center;
}

html[dir="rtl"] body.support-page .support-section h2,
html[dir="rtl"] body.support-page .support-sub,
html[dir="rtl"] body.support-page .support-prose,
html[dir="rtl"] body.support-page .support-project,
html[dir="rtl"] body.support-page .support-uses article,
html[dir="rtl"] body.support-page .support-notice,
html[dir="rtl"] body.support-page .support-pay,
body.support-page.page-lang-rtl .support-section h2,
body.support-page.page-lang-rtl .support-sub,
body.support-page.page-lang-rtl .support-prose,
body.support-page.page-lang-rtl .support-project,
body.support-page.page-lang-rtl .support-uses article,
body.support-page.page-lang-rtl .support-notice,
body.support-page.page-lang-rtl .support-pay,
body.support-page[dir="rtl"] .support-section h2,
body.support-page[dir="rtl"] .support-sub,
body.support-page[dir="rtl"] .support-prose,
body.support-page[dir="rtl"] .support-project,
body.support-page[dir="rtl"] .support-uses article,
body.support-page[dir="rtl"] .support-notice,
body.support-page[dir="rtl"] .support-pay {
  text-align: right;
}

html[dir="rtl"] body.support-page .support-hero,
html[dir="rtl"] body.support-page .support-thanks,
html[dir="rtl"] body.support-page .support-actions,
html[dir="rtl"] body.support-page .support-pay,
body.support-page.page-lang-rtl .support-hero,
body.support-page.page-lang-rtl .support-thanks,
body.support-page.page-lang-rtl .support-actions,
body.support-page.page-lang-rtl .support-pay,
body.support-page[dir="rtl"] .support-hero,
body.support-page[dir="rtl"] .support-thanks,
body.support-page[dir="rtl"] .support-actions,
body.support-page[dir="rtl"] .support-pay {
  text-align: center !important;
}

html[dir="rtl"] body.support-page .support-pay h2,
body.support-page.page-lang-rtl .support-pay h2,
body.support-page[dir="rtl"] .support-pay h2,
html[dir="rtl"] body.support-page .support-thanks h2,
body.support-page.page-lang-rtl .support-thanks h2,
body.support-page[dir="rtl"] .support-thanks h2 {
  align-items: center;
}

html[dir="rtl"] body.support-page .support-project p,
html[dir="rtl"] body.support-page .support-uses p,
html[dir="rtl"] body.support-page .support-prose p,
html[dir="rtl"] body.support-page .support-notice,
body.support-page.page-lang-rtl .support-project p,
body.support-page.page-lang-rtl .support-uses p,
body.support-page.page-lang-rtl .support-prose p,
body.support-page.page-lang-rtl .support-notice,
body.support-page[dir="rtl"] .support-project p,
body.support-page[dir="rtl"] .support-uses p,
body.support-page[dir="rtl"] .support-prose p,
body.support-page[dir="rtl"] .support-notice {
  unicode-bidi: plaintext;
}

.support-amounts,
.support-amount,
.support-other strong,
body.support-page .page-lang-menu,
body.support-page .page-lang-option {
  direction: ltr;
}

.page-lang-menu {
  position: fixed;
  z-index: 10080;
  padding: 18px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.page-lang-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 42px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-left: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  transform: rotate(45deg);
}

.page-lang-menu[hidden] {
  display: none !important;
}

.page-lang-menu-title,
.page-lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-lang-menu-title {
  margin-bottom: 14px;
  color: #1b4d3e;
  font-size: 1.05rem;
  font-weight: 750;
}

.page-lang-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-lang-option {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dce8e2;
  border-radius: 12px;
  background: transparent;
  color: #111827;
  font-family: "Sora", "Vazirmatn", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.page-lang-option.is-active {
  border-color: #b9dec9;
  background: #eaf7ef;
  color: #065f46;
}

.page-lang-check {
  display: none;
  margin-left: auto;
}

.page-lang-option.is-active .page-lang-check {
  display: inline-flex;
}

body.theme-dark .page-lang-menu {
  background: #16211c;
  color: #e8f0ec;
  border-color: #24332c;
}

body.theme-dark .page-lang-option {
  color: #e8f0ec;
  border-color: #24332c;
  background: transparent;
}

body.theme-dark .page-lang-option.is-active {
  background: rgba(45, 122, 125, 0.22);
  color: #d7f3e8;
}

@media (max-width: 700px) {
  .support-project-list,
  .support-project.is-lead,
  .support-uses {
    grid-template-columns: 1fr;
  }

  .support-hero {
    padding: 40px 18px 28px;
    border-radius: 20px;
  }

  .support-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.45rem);
  }

  .support-logo {
    width: 76px;
    height: 76px;
  }

  .support-facts {
    grid-template-columns: 1fr 1fr;
    gap: 12px 0;
    max-width: none;
  }

  .support-facts li + li {
    border-inline-start: 0;
  }

  .support-facts li:nth-child(even) {
    border-inline-start: 1px solid rgba(27, 77, 62, 0.12);
  }

  .support-facts li:nth-child(n + 3) {
    padding-top: 12px;
    border-top: 1px solid rgba(27, 77, 62, 0.12);
  }

  .support-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .support-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .support-section,
  .support-thanks {
    margin-top: 40px;
  }

  .support-pay {
    padding: 32px 18px 28px;
  }

  .support-amount {
    min-height: 92px;
    font-size: 1.25rem;
  }
}

@media (max-width: 950px) {
  .support-back {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    gap: 0;
    margin-bottom: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .support-back span {
    display: none;
  }
}

@media (max-width: 1366px) {
  .support-back {
    display: none !important;
  }

  body.support-page .about-lang-btn {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 10060 !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  }

  body.support-page .about-lang-btn span,
  body.support-page .about-lang-caret {
    display: none !important;
  }

  body.support-page .about-lang-btn i {
    font-size: 0.95rem !important;
  }
}

@media (min-width: 601px) and (max-width: 1366px) {
  body.support-page .about-lang-btn {
    top: 9px !important;
    right: 14px !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 18px !important;
    background: var(--card) !important;
    color: var(--text) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow) !important;
  }

  body.support-page .about-lang-btn i {
    font-size: 1.12rem !important;
    color: var(--text) !important;
  }
}

@media (max-width: 600px) {
  .support-wrap {
    width: calc(100% - 24px);
    padding-top: 12px;
    z-index: auto !important;
  }

  body.support-page .about-lang-btn {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 10080 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  .page-lang-menu {
    left: 50% !important;
    right: auto !important;
    width: min(320px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    transform: translateX(-50%) !important;
    box-sizing: border-box;
  }

  .page-lang-menu::before {
    display: none;
  }
}

@media (min-width: 901px) {
  body.support-page main.support-wrap {
    width: calc(100% - 48px) !important;
    max-width: 1100px !important;
    margin: 20px auto 40px !important;
    padding: 0 0 56px !important;
  }

  body.support-page .support-back {
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 50px !important;
    padding: 14px 22px !important;
    margin-bottom: 18px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    font-family: "Sora", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    float: none !important;
  }

  body.support-page .support-back i {
    color: #111827 !important;
    font-size: 16px !important;
  }

  body.support-page .about-lang-btn {
    top: 0 !important;
    right: 0 !important;
    height: 50px !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }
}

html[lang="ps"] body.support-page .support-hero h1,
html[lang="da"] body.support-page .support-hero h1,
html[lang="ar"] body.support-page .support-hero h1,
html[lang="ur"] body.support-page .support-hero h1 {
  max-width: 18em;
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  line-height: 1.75;
  letter-spacing: 0;
}

html[lang="ps"] body.support-page .support-section h2,
html[lang="ps"] body.support-page .support-thanks h2,
html[lang="ps"] body.support-page .support-project h3,
html[lang="ps"] body.support-page .support-uses h3,
html[lang="da"] body.support-page .support-section h2,
html[lang="da"] body.support-page .support-thanks h2,
html[lang="da"] body.support-page .support-project h3,
html[lang="da"] body.support-page .support-uses h3,
html[lang="ar"] body.support-page .support-section h2,
html[lang="ar"] body.support-page .support-thanks h2,
html[lang="ar"] body.support-page .support-project h3,
html[lang="ar"] body.support-page .support-uses h3,
html[lang="ur"] body.support-page .support-section h2,
html[lang="ur"] body.support-page .support-thanks h2,
html[lang="ur"] body.support-page .support-project h3,
html[lang="ur"] body.support-page .support-uses h3 {
  line-height: 1.75;
  letter-spacing: 0;
}

html[lang="ps"] body.support-page .support-wrap p,
html[lang="ps"] body.support-page .support-wrap li,
html[lang="da"] body.support-page .support-wrap p,
html[lang="da"] body.support-page .support-wrap li,
html[lang="ar"] body.support-page .support-wrap p,
html[lang="ar"] body.support-page .support-wrap li,
html[lang="ur"] body.support-page .support-wrap p,
html[lang="ur"] body.support-page .support-wrap li {
  font-size: 1.125rem;
  line-height: 2.08;
}

html[lang="ps"] body.support-page .support-prose p,
html[lang="da"] body.support-page .support-prose p,
html[lang="ar"] body.support-page .support-prose p,
html[lang="ur"] body.support-page .support-prose p {
  font-size: 1.28rem;
  line-height: 2.22;
}

html[lang="ps"] body.support-page .support-prose p + p,
html[lang="da"] body.support-page .support-prose p + p,
html[lang="ar"] body.support-page .support-prose p + p,
html[lang="ur"] body.support-page .support-prose p + p {
  margin-top: 1.35em;
}

html[lang="ps"] body.support-page .support-facts li,
html[lang="da"] body.support-page .support-facts li,
html[lang="ar"] body.support-page .support-facts li,
html[lang="ur"] body.support-page .support-facts li,
html[lang="ps"] body.support-page .support-status,
html[lang="da"] body.support-page .support-status,
html[lang="ar"] body.support-page .support-status,
html[lang="ur"] body.support-page .support-status {
  font-size: 0.95rem;
  line-height: 1.55;
}

html[lang="ps"] body.support-page .support-amount,
html[lang="da"] body.support-page .support-amount,
html[lang="ar"] body.support-page .support-amount,
html[lang="ur"] body.support-page .support-amount {
  font-size: 1.35rem;
  line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
  .support-page *,
  .support-page *::before,
  .support-page *::after {
    transition: none !important;
    animation: none !important;
  }
}
