:root {
  color-scheme: dark;
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #f4eee8;
  background: #101112;
  --muted: #bcb0a8;
  --line: #403833;
  --accent: #ff825f;
  --surface: #1a1b1d;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
:is(a, button, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq-symbols { position: absolute; overflow: hidden; pointer-events: none; }
.faq-icon {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq {
  width: min(760px, 100%);
  margin-inline: auto;
  padding: max(16px, env(safe-area-inset-top)) 14px calc(104px + env(safe-area-inset-bottom));
}

.faq-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  margin-block-end: 12px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #23211f;
  font-size: .875rem;
}

.faq-chevron { width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); }
[dir="rtl"] .faq-chevron { transform: rotate(225deg); }

.faq-feature {
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid #674337;
  border-radius: 22px;
  background: radial-gradient(ellipse at 0% 0%, #452b25, transparent 80%), #1d1a1b;
}

.faq-feature-heading { display: flex; align-items: center; gap: 14px; }
.faq-feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border: 1px solid #805541;
  border-radius: 15px;
  background: #3b2824;
  color: #ffd5c3;
}
.faq-feature-icon .faq-icon { width: 27px; height: 27px; }
.faq-feature :is(h1, h2) { margin: 0; font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.15; overflow-wrap: anywhere; }
.faq-feature p { max-width: 60ch; margin: 16px 0 20px; color: #d5c8c0; font-size: .94rem; line-height: 1.65; }

.faq-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--accent);
  color: #251611;
  font-size: .9rem;
  font-weight: 700;
}
.faq-join > span { min-width: 0; overflow-wrap: anywhere; }
.faq-join img { filter: brightness(0); }
.faq-community { margin-block-start: 12px; border-color: #4a403a; background: radial-gradient(ellipse at 100% 0%, #332a25, transparent 85%), var(--surface); }
.faq-community .faq-feature-icon { background: #302924; border-color: #5d4b3e; }
.faq-community .faq-join { background: #32261f; border-color: #a06a50; color: #ffd4bd; }

.faq-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-block-start: 12px; }
.faq-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.faq-panel h2 { margin: 0 0 14px; font-size: 1.05rem; overflow-wrap: anywhere; }
.faq-bank {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: #4d5945;
  background:
    radial-gradient(ellipse at 100% 0%, #74b9442e, transparent 70%),
    radial-gradient(ellipse at 0% 100%, #6e4e3324, transparent 65%),
    linear-gradient(120deg, #24251f, #1a211d 60%, #1f3023);
  box-shadow: inset 0 1px 0 #d4e8c510;
}
.faq-bank::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/img/decor/faq-freedom-ribbons.svg?v=20261121-1") right center / auto 120% no-repeat;
  pointer-events: none;
}
.faq-bank h2 { color: #f1f3e9; }
.faq-yoomoney {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: #58516e;
  background:
    radial-gradient(ellipse at 0% 5%, #4269b847, transparent 65%),
    radial-gradient(ellipse at 100% 100%, #a66d773d, transparent 65%),
    linear-gradient(155deg, #20283e, #191b2b 55%, #292338);
  box-shadow: inset 0 1px 0 #c9d8ff12;
}
.faq-yoomoney::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/img/decor/faq-support-orbits.svg?v=20261121-1") center / cover no-repeat;
  pointer-events: none;
}
.faq-yoomoney h2 { color: #f3f1ff; text-shadow: 0 1px 8px #10132366; }
.faq-yoomoney-widget { display: block; width: min(500px, 100%); height: 480px; margin-inline: auto; border: 0; border-radius: 12px; color-scheme: light; }
.faq-wallet, .faq-crypto-bot { border-color: #70503f; }
:is(.faq-wallet, .faq-crypto-bot) .faq-feature-heading h2 { min-width: 0; margin: 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.faq-crypto-bot .faq-join { display: flex; margin-block-start: 18px; }
.faq-wallet p { margin: 16px 0; color: var(--muted); font-size: .9rem; }
.faq-wallet-facts { display: grid; gap: 8px; margin: 0 0 12px; font-size: .82rem; }
.faq-wallet-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 11px 13px; border: 1px solid #403833; border-radius: 10px; background: #222222; }
.faq-wallet-facts dt { color: var(--muted); }
.faq-wallet-facts dd { margin: 0; font-weight: 650; }
.faq-wallet-facts > .faq-wallet-network-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; padding-block: 0; }
.faq-wallet-network-row:focus-within { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.faq-wallet-network { display: flex; justify-content: flex-end; min-width: 0; }
.faq-wallet-network select {
  appearance: none;
  min-width: 0;
  max-width: 100%;
  padding: 11px 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  text-align: end;
  cursor: pointer;
}
.faq-wallet-network select option { background: #222222; color: #f4eee8; }
.faq-wallet-trigger { display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: 100%; min-height: 42px; padding: 11px 0; border: 0; background: transparent; color: var(--accent); font: inherit; text-align: end; cursor: pointer; }
.faq-wallet-trigger > span { min-width: 0; }
.faq-wallet-trigger::after { content: ""; flex: none; width: 6px; height: 6px; margin: -3px 2px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.faq-wallet-trigger[aria-expanded="true"]::after { margin-block-start: 3px; transform: rotate(225deg); }
.faq-wallet-network :is(select, .faq-wallet-trigger):focus-visible { outline: none; }
.faq-wallet-options { position: absolute; z-index: 10; inset-inline: -1px; top: calc(100% + 7px); display: grid; gap: 3px; padding: 6px; border: 1px solid #805541; border-radius: 12px; background: #24211f; box-shadow: 0 12px 28px #0006; overflow-y: auto; overscroll-behavior: contain; }
.faq-wallet-options[hidden] { display: none; }
.faq-wallet-options.is-above { top: auto; bottom: calc(100% + 7px); }
.faq-wallet-option { display: flex; align-items: center; gap: 10px; min-height: 40px; width: 100%; padding: 10px; border: 0; border-radius: 7px; background: transparent; color: #f4eee8; font: inherit; text-align: start; cursor: pointer; }
.faq-wallet-option > span { flex: 1; min-width: 0; }
.faq-wallet-option[aria-selected="true"] { background: #443027; color: #ffb298; }
.faq-wallet-option[aria-selected="true"]::after { content: ""; flex: none; width: 5px; height: 9px; margin-inline: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.faq-wallet-option:hover, .faq-wallet-option:focus { outline: none; background: #594034; color: #fff2ea; }
.faq-wallet-address { padding: 14px; border: 1px solid #805541; border-radius: 12px; background: #2b211d; }
.faq-wallet-address code { display: block; margin-block-start: 7px; font-size: .9rem; line-height: 1.6; overflow-wrap: anywhere; user-select: all; }
.faq-wallet-copy { display: flex; width: 100%; margin-block-start: 14px; cursor: pointer; font-family: inherit; }
.faq-wallet > .faq-copy-status { min-height: 1.5em; margin-block-start: 6px; text-align: center; }
.faq-link, .faq-card-number {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid #393633;
  border-radius: 13px;
  background: #222222;
  font-size: .875rem;
}
.faq-link + .faq-link { margin-block-start: 8px; }
.faq-link > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.faq-card-number {
  --mastercard-red-x: calc(100% - 64px);
  --mastercard-gold-x: calc(100% - 36px);
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  gap: 10px;
  border-color: #805540;
  background:
    radial-gradient(circle 26px at var(--mastercard-red-x) 50%, #eb001b36 99%, transparent 100%),
    radial-gradient(circle 26px at var(--mastercard-gold-x) 50%, #f79e1b42 99%, transparent 100%),
    linear-gradient(115deg, #3a2427, #2b2420);
  box-shadow: inset 0 1px 0 #ffffff0a;
}
[dir="rtl"] .faq-card-number { --mastercard-red-x: 36px; --mastercard-gold-x: 64px; }
.faq-card-number > .faq-item-icon { width: 28px; height: 28px; color: #f4c7ad; }
.faq-card-number .faq-muted { color: #dbc3b5; }
.faq-card-number .faq-number { color: #fff4ec; }
.faq-card-number .faq-copy-number svg { flex: none; color: #f4c7ad; }
.faq-card-number .faq-copy-status { min-height: 1.5em; }
.faq-item-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: #d5b4a0; }
.faq-number-content { flex: 1; min-width: 0; }
.faq-muted { display: block; color: var(--muted); font-size: .76rem; }
.faq-number { display: block; font-size: .95rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.faq-copy-number {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 7px;
  min-height: 30px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.faq-copy-number svg { color: var(--muted); }
.faq-copy-status { display: block; color: #a0d7bb; font-size: .76rem; }
.faq-link-trailing {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  margin-inline-start: auto;
  border: 1px solid #4b413a;
  border-radius: 9px;
  color: #c5ae9e;
}
.faq-link-trailing .faq-icon { width: 15px; height: 15px; }
[dir="rtl"] .faq-link-trailing .faq-icon { transform: rotate(180deg); }

.faq-search-bot > summary { list-style: none; cursor: pointer; border-radius: 12px; }
.faq-search-bot > summary::-webkit-details-marker { display: none; }
.faq-search-bot > summary::marker { content: ""; }
.faq-search-bot .faq-search-bot-heading { flex: 1; min-width: 0; margin: 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.faq-search-bot[open] > summary .faq-link-trailing .faq-icon { transform: rotate(90deg); }
.faq-inline-guide { min-width: 0; padding-block-start: 1px; }
.faq-inline-guide p { margin: 16px 0; color: var(--muted); font-size: .9rem; line-height: 1.65; overflow-wrap: anywhere; }
.faq-inline-guide .faq-inline-prompt { margin-block-end: 8px; }
.faq-inline-example { container-type: inline-size; min-width: 0; padding: 11px 9px; border: 1px solid #805541; border-radius: 10px; background: #2b211d; }
.faq-inline-example code { display: block; width: fit-content; max-width: 100%; font: 600 .875rem/1.65 Arial, sans-serif; font-size: min(1rem, 6.2cqi); white-space: nowrap; color: #fff4ec; user-select: all; }

@media (hover: hover) {
  .faq-back:hover, .faq-link:hover { border-color: #a47763; }
  .faq-copy-number:hover, .faq-copy-number:hover svg { color: var(--accent); }
  .faq-join:hover { background: #ff9b7e; }
  .faq-community .faq-join:hover { background: #463023; }
}

@media (max-width: 520px) {
  .faq-join { display: flex; }
}

@media (max-width: 360px) {
  .faq-yoomoney { padding-inline: 10px; }
  .faq-yoomoney-widget { height: 510px; }
  .faq-search-bot > summary { gap: 10px; }
  .faq-search-bot .faq-search-bot-heading { font-size: 1.1rem; }
  .faq-card-number { gap: 8px; padding: 10px; }
  .faq-card-number > .faq-item-icon { width: 24px; height: 24px; }
  .faq-card-number .faq-copy-number { gap: 2px 6px; }
  .faq-card-number .faq-number { font-size: clamp(.78rem, 4.6vw, .95rem); }
  .faq-card-number .faq-copy-number svg { width: 14px; height: 14px; }
}

.faq-bottom-nav { position: fixed; z-index: 240; left: 50%; bottom: max(8px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(732px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 6px; border: 1px solid #49433e; border-radius: 18px; background: #1b1c1e; box-shadow: 0 10px 36px #0005; }
.faq-bottom-link { display: grid; grid-template-rows: 21px 1fr; justify-items: center; align-items: start; gap: 4px; min-width: 0; min-height: 52px; padding: 5px 2px; border: 1px solid transparent; border-radius: 12px; color: #aaa6a1; font-size: 11px; font-weight: 550; line-height: 1.2; text-align: center; }
.faq-bottom-link > span { max-width: 100%; overflow-wrap: anywhere; }
.faq-bottom-link :is(img, svg) { width: 21px; height: 21px; flex: none; }
.faq-bottom-link svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.faq-bottom-link.is-active { color: #ffd8c4; border-color: #80533f; background: #35261f; }
@media (min-width: 980px) {
  .faq-bottom-nav { bottom: 16px; }
  .faq-bottom-link { min-height: 54px; font-size: 12px; }
}
@media (max-width: 360px) {
  .faq-bottom-nav { gap: 2px; }
  .faq-bottom-link { font-size: 10px; padding-inline: 1px; }
  .faq-bottom-link > span { white-space: nowrap; overflow-wrap: normal; }
}
