/* Shared navigation: quiet outer bar, centred capsule, icon-only preferences. */
body .header, body .header.rd-scrolled { top: 16px; width: min(1340px, calc(100% - 40px)); max-width: 1340px; min-height: 76px; display: grid; grid-template-columns: minmax(160px,1fr) auto minmax(160px,1fr); gap: 16px; align-items: center; padding: 12px 18px; border: 1px solid rgba(196,173,238,.21); border-radius: 24px; background: linear-gradient(115deg, rgba(18,15,34,.57), rgba(10,12,26,.43)); box-shadow: 0 12px 36px rgba(0,0,0,.16), inset 0 1px rgba(255,255,255,.07); backdrop-filter: blur(24px) saturate(135%); -webkit-backdrop-filter: blur(24px) saturate(135%); }
body .header::after { display: none; }
body.policy-page .header, body.policy-page .header.rd-scrolled { max-width: 1340px; }
body .mobile-nav { top: 104px; width: min(520px,calc(100% - 20px)); }
body .header .brand { min-width: 0; }
body .header .brand img.brand-lockup { display: block; width: 176px; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; filter: none; animation: none; transform: none; }
body .header .brand img.brand-compact { display: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; filter: none; animation: none; transform: none; }
body .panel-title img.panel-title-logo { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.rf-error-page > main.card .brand img { width: 184px; height: auto; padding: 0; border: 0; border-radius: 0; background: none; }
body .header .nav { display: flex; gap: 2px; align-items: center; justify-content: center; padding: 5px; border: 1px solid #c5b5e82b; border-radius: 999px; background: #ffffff09; }
body .header .nav a { padding: 10px 12px; border-radius: 999px; color: #d5cde0; font: 500 13px/1.3 Kanit, "Segoe UI", sans-serif; letter-spacing: .015em; text-transform: none; white-space: nowrap; }
body .header .nav a:hover, body .header .nav a:focus-visible { color: #fff; background: #b388f51a; }
body .header-actions { justify-self: end; display: flex; align-items: center; gap: 9px; margin: 0; }
body .header #authBtn { min-height: 42px; padding: 8px 12px; border: 1px solid #a889d32b; border-radius: 999px !important; background: #ffffff05; font-size: 11px !important; }
body .header #languageTrigger, body .header #currencyTrigger { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 10px; border: 1px solid #a889d32b; border-radius: 50%; background: #ffffff05; color: #d6cde3; box-shadow: none; }
body .header #languageTrigger:hover, body .header #currencyTrigger:hover, body .header [data-open="true"] > button { color: #fff; border-color: #ab83e5a6; background: #9f6bed1c; }
#languageTrigger > span:not(.language-chevron), #currencyTriggerValue { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
#languageTrigger > .language-chevron, #currencyTrigger > .language-chevron { display: none; }
body .header .language-globe, body .header .currency-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body .header .language-menu, body .header .currency-menu { inset-inline-start: auto; inset-inline-end: 0; width: max-content; min-width: 110px; max-width: min(240px,calc(100vw - 24px)); padding: 7px; border-color: #a889d347; border-radius: 15px; background: #100c1e; }
body .header .language-option, body .header .currency-option { min-height: 40px; padding-inline: 15px; font-size: 13px; white-space: nowrap; }
/* Policy table-of-contents must not force the single-column tablet grid wider. */
.policy-layout > * { min-width: 0; max-width: 100%; }
.policy-toc nav { max-width: 100%; overflow-x: auto; }
.currency-fee-note { margin: 0 0 20px; color: #bfb2d3; font: 400 13px/1.6 Kanit, "Segoe UI", sans-serif; }
.currency-fee-note[hidden] { display: none; }
body #accounts > .section-header { margin-bottom: 28px; }
body .accounts-last-updated { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 16px 0 0; padding: 7px 12px; border: 1px solid #b797df21; border-radius: 8px; color: #aaa1b9; background: #ffffff03; font-size: 12px; line-height: 1.65; }
body .accounts-last-updated time { color: #d1bedf; font-variant-numeric: tabular-nums; }
body .faq-list { gap: 12px; }
body .faq-list details { padding: 0; border-radius: 16px; }
body .faq-list summary { min-height: 68px; padding: 22px 24px; color: #e5deee; font: 600 clamp(17px,1.3vw,20px)/1.55 Kanit, "Segoe UI", sans-serif; letter-spacing: 0; }
body .faq-list .faq-answer { margin: 0; padding: 0 24px 24px; color: #b8b0c5; font-size: 15px; line-height: 1.85; }
body .faq-list details[open] summary { color: #d9baff; }
body .faq-list summary:focus-visible { outline: 2px solid #b694fa; outline-offset: -3px; border-radius: 16px; }
@media (max-width: 1240px) {
  body .header, body .header.rd-scrolled { grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; }
  body .header .nav { display: none; }
  body .header .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; justify-self: start; width: 42px; height: 42px; border-radius: 50%; }
}
@media (max-width: 560px) {
  body .mobile-nav { top: 82px; }
  body .header, body .header.rd-scrolled { top: 10px; width: calc(100% - 20px); gap: 8px; padding: 8px; min-height: 60px; }
  body .header .brand .name { font-size: .76rem; letter-spacing: .12em; }
  body .header #authBtn { display: none; }
  body .header .rd-brand-logo { width: 34px; height: 34px; flex-basis: 34px; }
  body .header .brand img { width: 34px; height: 34px; }
  body .header .brand img.brand-lockup { width: 132px; height: auto; }
  body .header-actions { gap: 5px; }
  body .header #languageTrigger, body .header #currencyTrigger { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 10px; }
  body .faq-list summary { padding: 18px; font-size: 17px; }
  body .faq-list .faq-answer { padding: 0 18px 20px; font-size: 14px; }
}
@media (max-width: 360px) {
  body .header .brand img.brand-lockup { display: none; }
  body .header .brand img.brand-compact { display: block; }
}
