/* Shared language navigation and logical alignment; the board keeps its original dimensions. */
html { overflow-y: scroll; scrollbar-gutter: stable; scrollbar-width: auto; scrollbar-color: #74407f #eee5d8; }
html::-webkit-scrollbar { width: 14px; }
html::-webkit-scrollbar-track { background: #eee5d8; }
html::-webkit-scrollbar-thumb { min-height: 48px; border: 3px solid #eee5d8; border-radius: 999px; background: #74407f; }
html::-webkit-scrollbar-thumb:hover { background: #4f2259; }
@media (max-width: 680px) {
  html { scrollbar-width: thin; }
  html::-webkit-scrollbar { width: 8px; }
  html::-webkit-scrollbar-thumb { border-width: 2px; }
}
.footer-languages { margin-top: 20px; color: #77624c; font-size: 13px; }
.footer-languages > summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.footer-languages nav { display: flex; flex-wrap: wrap; gap: 5px 20px; padding-top: 10px; }
.footer-languages a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-languages a[aria-current] { color: #914224; font-weight: 700; }
.language-menu a { display: flex; justify-content: space-between; align-items: center; gap: 20px; direction: ltr; text-align: left !important; }
.language-menu a [aria-hidden] { visibility: hidden; }
.language-menu a[aria-checked="true"] [aria-hidden] { visibility: visible; }
.language-menu a[aria-checked="true"] { background: #f0eefa; }
html[data-language-loading] [data-site-language] { cursor: progress; }
.toolbar[dir="rtl"] .site-name { justify-content: flex-end; }
[dir="rtl"] .guide-kicker { letter-spacing: 0; }
[dir="rtl"] .toc-navigation a { border-left: 0; border-right: 2px solid transparent; }
[dir="rtl"] .toc-navigation a[aria-current="location"] { border-right-color: #b56c34; border-radius: 4px 0 0 4px; }
[dir="rtl"] .toc-navigation .toc-sublist { margin: 1px 12px 7px 0; border-left: 0; border-right: 1px solid #e8e1d6; }
[dir="rtl"] .guide-section ul { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .guide-section li, [dir="rtl"] .legal-copy li { padding-left: 0; padding-right: 6px; }
[dir="rtl"] .guide-section ol > li { padding-left: 0; padding-right: 48px; }
[dir="rtl"] .guide-section ol > li::before { left: auto; right: 0; }
[dir="rtl"] .faq-answer { padding: 0 0 0 30px; }
[dir="rtl"] .legal-copy ul { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .legal-toc { border-left: 0; border-right: 3px solid #d5ac60; border-radius: 6px 0 0 6px; }
[dir="rtl"] .legal-toc ul { padding: 0; }
[dir="rtl"] .legal-rule { margin-left: auto; margin-right: 0; }
[dir="rtl"] .legal-copy th, [dir="rtl"] .legal-copy td, [dir="rtl"] .legal-copy caption { text-align: right; }
[dir="rtl"] .site-footer-play { margin-left: 0; margin-right: auto; }
[dir="rtl"] .site-footer-play span { margin-left: 0; margin-right: 5px; }
[dir="rtl"] .site-footer-privacy { text-align: right; }
[dir="rtl"] a[href^="mailto:"], [dir="rtl"] a[href^="tel:"], [dir="rtl"] code, [dir="rtl"] .site-footer-brand { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 600px) {
  [dir="rtl"] .guide-section li { padding-right: 3px; }
  [dir="rtl"] .guide-section ol > li { padding-right: 43px; }
  [dir="rtl"] .faq-answer { padding-left: 15px; }
  [dir="rtl"] .site-footer-play { margin-right: 0; }
}
@media (max-width: 680px) {
  .toolbar[dir="rtl"] .menu:nth-child(4) .dropdown { left: 0; right: auto; }
}
