/* Shared manual language navigation: native links work without JavaScript. */
.portal-header { position:relative; z-index:30; }
.portal-header .header-inner { min-height:76px; height:auto; }
.portal-header .brand { min-inline-size:0; flex-shrink:1; }
.brand-lockup { display:flex; align-items:center; gap:13px; min-inline-size:0; }
.brand-name { flex:none; white-space:nowrap; }
.brand-slogan { min-inline-size:0; padding-inline-start:13px; border-inline-start:1px solid var(--line); color:var(--muted); font-size:13px; font-weight:500; line-height:1.35; letter-spacing:normal; white-space:normal; }
.header-actions { display:flex; align-items:center; gap:24px; min-width:0; }
.portal-header .nav { margin:0; }
.language-picker { position:relative; color:var(--ink); font-size:13px; line-height:1.5; }
.language-picker summary { display:flex; align-items:center; gap:10px; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:9px; list-style:none; cursor:pointer; white-space:nowrap; }
.language-picker summary::-webkit-details-marker { display:none; }
.language-picker summary:focus-visible { outline:3px solid #c5f45a; outline-offset:3px; }
.language-picker[open] summary { border-color:#c5f45a; }
.language-chevron { color:#c5f45a; transition:transform .18s ease; }
.language-picker[open] .language-chevron { transform:rotate(180deg); }
.language-options { position:absolute; z-index:40; inset-block-start:calc(100% + 8px); inset-inline-end:0; display:grid; width:236px; max-width:calc(100vw - 40px); max-block-size:min(70vh,calc(100svh - 100px)); overflow-y:auto; overscroll-behavior:contain; padding:8px; border:1px solid #657452; border-radius:12px; background:#172019; box-shadow:0 16px 40px #0008; }
.language-options a { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:44px; padding:10px 12px; border-radius:6px; color:#edf2e7; font-weight:400; line-height:1.5; text-decoration:none; }
.language-options a:hover,.language-options a[aria-current] { background:#293821; color:#d2ff7a; }
.language-options a:focus-visible { outline:2px solid #c5f45a; outline-offset:-2px; }
.portal-header .fallback-nav { display:none; gap:24px; }
.footer-wordmark { color:#66715b; }
.footer-wordmark,bdi[dir="ltr"] { unicode-bidi:isolate; }
.support-form .button:disabled { cursor:not-allowed; opacity:.65; }
.game-language-info { margin:0 0 22px; padding-inline-start:14px; border-inline-start:2px solid #6c824b; font-size:12px; line-height:1.8; }
.game-language-info strong { color:#e1e9d6; font-weight:600; }
.game-language-info p { margin:3px 0 0; color:#b2bca9; }
.game-language-info .game-language-note { color:#d3dbca; }
.intro-copy,.product-copy,.game-overview,.policy,.support-form,.support-grid>div { min-width:0; }
.home-intro p { max-width:64ch; }
.page-hero h1,.home-intro h1 { overflow-wrap:anywhere; }
.policy,.support-grid { overflow-wrap:break-word; }
html:lang(ja),html:lang(ko),html:lang(zh) { line-break:strict; }
html:lang(ko) .game-lead,html:lang(ko) .policy { word-break:keep-all; overflow-wrap:anywhere; }
html:lang(ja) .home-intro h1,html:lang(ko) .home-intro h1 { line-height:1.25; letter-spacing:-.025em; }
html:lang(es) .home-intro h1,html:lang(pt-BR) .home-intro h1 { font-size:clamp(30px,3vw,42px); line-height:1.12; }
@media(max-width:1000px) {
  .portal-header .header-row,.portal-header .header-inner { min-height:68px; height:auto; gap:8px; flex-wrap:nowrap; }
  .portal-header .brand { font-size:20px; gap:8px; letter-spacing:-.6px; }
  .header-actions { gap:8px; }
  .language-picker { font-size:12px; }
  .language-picker summary { gap:7px; padding:7px 9px; }
  .portal-header .nav-toggle { flex-shrink:0; }
  .portal-header .nav { top:67px; }
  .portal-header .main-nav { flex-direction:row; gap:24px; width:auto; }
  .js .portal-header .nav { display:none; position:absolute; inset-inline:0; top:67px; padding:14px 20px; border-bottom:1px solid var(--line); background:var(--page); }
  .js .portal-header .nav-toggle { display:block; }
  .js .portal-header .nav.is-open { display:flex; inset-block-start:100%; }
  .portal-header .main-nav { flex-wrap:wrap; gap:8px 24px; }
  .portal-header .fallback-nav { display:flex; flex-wrap:wrap; padding-block:6px; }
  html:lang(es) .home-intro h1,html:lang(pt-BR) .home-intro h1 { font-size:clamp(27px,6.5vw,36px); }
  .footer-row nav { align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) { .language-chevron { transition:none; } }

/* Arabic mirrors reading and navigation while keeping artwork and brands intact. */
html[dir="rtl"] { font-family:Tahoma,Arial,"Noto Sans Arabic","Geeza Pro",sans-serif; }
html[dir="rtl"] body { text-align:start; }
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,
html[dir="rtl"] .game-eyebrow,html[dir="rtl"] .footer-links strong { letter-spacing:normal; }
html[dir="rtl"] .mono { font-family:inherit; letter-spacing:normal; text-transform:none; }
html[dir="rtl"] .home-intro h1 { font-size:clamp(30px,3.1vw,42px); line-height:1.5; }
html[dir="rtl"] .page-hero h1 { font-size:clamp(38px,5vw,72px); line-height:1.5; }
html[dir="rtl"] .game-overview h1,html[dir="rtl"] .product-copy h3 { line-height:1.4; }
html[dir="rtl"] .intro-art { right:auto; left:-10px; object-position:left bottom; }
html[dir="rtl"] .home-intro::after { background:linear-gradient(270deg,#101512 8%,#101512ed 31%,#10151200 66%); }
html[dir="rtl"] .heading-rule { margin-left:0; margin-right:8px; }
html[dir="rtl"] .art-label { left:auto; right:16px; }
html[dir="rtl"] .product-meta span + span::before,
html[dir="rtl"] .game-features li::before { margin-right:0; margin-left:10px; }
html[dir="rtl"] .game-guide ol { padding-left:0; padding-right:24px; }
html[dir="rtl"] .support-hints { border-left:0; border-right:2px solid var(--acid); }
html[dir="rtl"] .section-index b { margin-right:0; margin-left:16px; }
html[dir="rtl"] .faq-list summary { padding-inline:0 40px; }
html[dir="rtl"] .faq-list summary::after { right:auto; left:3px; }
html[dir="rtl"] .arrow { display:inline-block; transform:scaleX(-1); }
html[dir="rtl"] .footer-wordmark { direction:ltr; }
html[dir="rtl"] .field input,html[dir="rtl"] .field textarea { text-align:start; }
@media(max-width:760px) {
  .portal-header .brand { padding-block:4px; }
  .portal-header .header-actions { flex-shrink:0; }
  .brand-lockup { flex-direction:column; align-items:flex-start; gap:2px; }
  .brand-slogan { border:0; padding-inline-start:0; font-size:12px; line-height:1.25; }
  html[dir="rtl"] .home-intro h1 { font-size:clamp(28px,6vw,36px); }
}
