/* Memory Save World: language switcher, language tip, Arabic font */
@font-face { font-family: 'Handjet UI'; src: url(/fonts/handjet-arabic.woff2) format('woff2'); font-weight: 100 900; font-display: swap; size-adjust: 118%;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
:root { --f-big: 'Press Start 2P', 'Handjet UI', 'Courier New', monospace; }
.lang-sw { display: flex; gap: 2px; margin: 0 6px 0 0; font: 700 15px/1 var(--f-ui); }
.lang-sw a { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; color: #fff; text-decoration: none; opacity: .65;
  border: 2px solid transparent; text-shadow: 0 2px 0 rgba(0,0,0,.7); }
.lang-sw a[aria-current] { opacity: 1; border-color: rgba(255,255,255,.55); background: rgba(0,0,0,.35); }
.lang-sw a:hover, .lang-sw a:focus-visible { opacity: 1; background: var(--acc); color: #000; text-shadow: none; }
@media (max-width: 520px) {
  .lang-sw a { min-width: 26px; height: 28px; padding: 0 3px; font-size: 14px; }
  .hx-social a { width: 32px; }
  .hx .hero-top .pill { display: none; }
}
.lang-tip { position: fixed; z-index: 120; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100% - 24px); padding: 8px 8px 8px 14px; background: #111; color: #fff; border: 2px solid var(--acc, #ffd400);
  font: 700 17px/1.2 var(--f-ui); box-shadow: 0 8px 0 rgba(0,0,0,.5); }
.lang-tip a { padding: 6px 12px; background: var(--acc, #ffd400); color: #000; text-decoration: none; }
.lang-tip button { width: 32px; height: 32px; border: 0; background: transparent; color: #fff; font: 700 20px var(--f-ui); cursor: pointer; }
.cur-seg button[data-cur="AED"] { letter-spacing: .02em; }
